Booting from /dev/mtdblock/0
John Weston
jweston at securenet.com.au
Sun Apr 28 21:15:47 EDT 2002
Hi again,
Pardon my last message. Having looked up the mail archive found the solution
there. Seems to be a problem calling the invalidate_device function call in
the mtdblock.c code.
Seems like I had better look harder next time.
Thanks anyway.
John Weston
John Weston wrote:
> G'day,
>
> 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?
>
> Thanks
>
> 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1122 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20020429/4f99c584/attachment.bin
More information about the linux-mtd
mailing list