Bug 9042 - MEMSETOOBSEL mtd ioctl not implemented in the kernel
Summary: MEMSETOOBSEL mtd ioctl not implemented in the kernel
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Flash/Memory Technology Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: David Woodhouse
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 17:06 UTC by Deepak Saxena
Modified: 2008-09-24 07:15 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.latest
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Deepak Saxena 2007-09-19 17:06:44 UTC
Most recent kernel where this bug did not occur: Unknown
Distribution:
Hardware Environment: All
Software Environment: 
Problem Description:

See 

http://lists.infradead.org/pipermail/linux-mtd/2007-June/018682.html

and the continuation of the discussion at

http://lists.infradead.org/pipermail/linux-mtd/2007-July/018922.html

for details. In summary, commit ff268fb8791cf18df536113355d7184007c269d9
removed the MEMSETOOBSEL ioctl() but the MTD tools (nandwrite) still use 
it. MEMGETOOBSEL is still in the kernel, so either this is a kernel bug and MEMGETOOBSEL should be added, or the tool needs to be rewritten to not
use the ioctls and MEMGETOOBSEL needs to be deleted from the kernel.

Filling a bug b/c the email thread died and this is an obvious bug.
Comment 1 Deepak Saxena 2007-09-19 17:08:18 UTC
> MEMGETOOBSEL is still in the kernel, so either this is a kernel bug and
> MEMGETOOBSEL should be added, or the tool needs to be rewritten to not
  s/MEMGETOOBSEL/MEMSETOOBSEL/
> use the ioctls and MEMGETOOBSEL needs to be deleted from the kernel.

Note You need to log in before you can comment on or make changes to this bug.