mtdblock_ro and ext2 yields panic: block not locked

Eugene Surovegin ebs at innocent.com
Wed Oct 23 13:15:00 EDT 2002


At 08:49 AM 10/23/2002, you wrote:

>The panic comes via the INIT_REQUEST macro in mtdblock_request, but
>only after half a dozen requests or so.  The requests appear to be
>associated with the execve at the end of the kernel boot process.
>
>I also get this with yesterday's CVS.
>
>Ideas?  I don't think this is an MTD problem per se, but I'm stumped
>nonetheless.


mtdblock_ro is buggy. It uses nr_sectors instead current_nr_sectors while 
processing request.

I sent a patch to MTD maintainer several weeks ago - nothing happened.

Thanks,


  Eugene Surovegin <mailto:ebs at innocent.com>





More information about the linux-mtd mailing list