Skip to contentSkip to conversation

mtdblock read only device broken?

DISCUSSION Brian Murphy 3 participants 5 messages Feb 10, 2003 – Feb 11, 2003

lore
Share & tools
lore
#0 lore raw

Is the mtd read only block device broken in general or is it only for mips that it doesn't work?

Is it sheduled for removal / fixing or is it just forgotten because everyone in the know uses the read / write driver which works.

The warning in the config option help for the read only driver seems to imply that it is much more reliable to use it than the caching R/W driver, hence the fact that I bothered looking at it at all, perhaps this recommendation should at least be changed.

/Brian

#1 lore raw
Quoted 2 lines · Brian Murphy

Is the mtd read only block device broken in general or is it only for mips that it doesn't work?

It was broken during the block device overhaul and nobody bothered to fix it up. I've now merged my latest code to Marcelo and most of the changes from Linus' tree back into my own -- I should get round to the next step of actually sending it to Linus some time in the next few weeks.

Signature · 1 line
dwmw2
#2 lore raw
Quoted 7 lines · David Woodhouse
Quoted 3 lines · Brian Murphy

Is the mtd read only block device broken in general or is it only for mips that it doesn't work?

Quoted 8 lines

It was broken during the block device overhaul and nobody bothered to fix it up. I've now merged my latest code to Marcelo and most of the changes from Linus' tree back into my own -- I should get round to the next step of actually sending it to Linus some time in the next few weeks.

Thanks, can I download and test it from somewhere?

/Brian

#3 lore raw
Quoted 1 line · Brian Murphy

Thanks, can I download and test it from somewhere?

:pserver:[email protected]:/home/cvs

module mtd, password anoncvs.

I'm not entirely convinced the block device drivers work in 2.5 at the moment. I was holding off on fixing them up, to let the 2.5 code actually settle down, and to see if those who changed the core code would fix up the drivers accordingly. My merge from Linus' tree recently was more focussed on things which were relevant for a merge to 2.4, rather than merging back to Linus -- that's my next task.

Signature · 1 line
dwmw2
#4 lore raw
Quoted 6 lines · David Woodhouse

I'm not entirely convinced the block device drivers work in 2.5 at the moment. I was holding off on fixing them up, to let the 2.5 code actually settle down, and to see if those who changed the core code would fix up the drivers accordingly. My merge from Linus' tree recently was more focussed on things which were relevant for a merge to 2.4, rather than merging back to Linus -- that's my next task.

mtdblock / mtdblock_ro should be fine; I haven't had problems with them here in 2.5.60. Do you have any specific concerns about these two?

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html