Skip to contentSkip to conversation

mtdblock_ro and ext2 yields panic: block not locked

DISCUSSION Eugene Surovegin 3 participants 3 messages Oct 23, 2002 – Oct 30, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · you

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:[email protected]>

#1 lore raw
Quoted 1 line · Eugene Surovegin

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

Hmm. David appears to be _very_ unavaillable currently. Does anyone know what is causing it?

Jörn

Signature · 4 lines
The competent programmer is fully aware of the strictly limited size of
his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the plague. 
-- Edsger W. Dijkstra
#2 lore raw
Quoted 2 lines · [email protected] said:

Hmm. David appears to be _very_ unavaillable currently. Does anyone
know what is causing it?

Life. :)

The fact that Red Hat have actually been expecting me to _work_ recently rather than just playing all the time doesn't help either. I hope to find the time to clean up the current CVS and submit it to Linus and Marcelo fairly soon, and then I want to merge the new partition code too.

Eugene -- please could you send me a SSH public key; I'll give you an account and you can commit the patch. It looked sane to me IIRC and if you commit it yourself I know who to blame anyway if it's not :)

--
dwmw2