Booting from /dev/mtdblock/0
jim at musenki.com
Sun Apr 28 22:28:35 EDT 2002
Its a one-line fix.
static release_t mtdblock_release(struct inode *inode, struct file *file)
struct mtdblk_dev *mtdblk;
DEBUG(MTD_DEBUG_LEVEL1, "mtdblock_release\n", inode);
if (inode == NULL)
John Weston writes:
> Have not got to the bottom of this yet, but having the same problem. We had
> a development board which worked fine using kernel version 2.4.3 but since
> updating to 2.4.18 we are now seeing the same problem.
> Does anyone know of any required patches for this?
> John Weston
> Mutada Shah wrote:
> > Hi,
> > I'm trying to boot from /dev/mtdblock/0 (root=/dev/mtdblock/0 in cmdline
> > options)
> > When I boot from nfs, I can mount /dev/mtdblock/0 no problem from
> > command line & unmount etc.
> > But if I pass it as the root= option, while booting it gets stuck.
> > With mtd debug level to 3 I see that it tries mtdblock_open twice...
> > which it shouldnt..
> > "mtdblock_open
> > ok
> > mtdblock_open
> > mtdblock_release"
> > Then it hangs here for a long time.
> > What could be the cause?
> > Murtada
> > ______________________________________________________
> > Linux MTD discussion mailing list
> > http://lists.infradead.org/mailman/listinfo/linux-mtd/
"Life begins when you can spend your spare time programming
instead of watching television." -- Cal Keegan
More information about the linux-mtd