public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* RE: lilo and mtd ans doc
@ 2001-09-04 13:43 Patrick Allaire
  2001-09-04 15:48 ` David Woodhouse
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Patrick Allaire @ 2001-09-04 13:43 UTC (permalink / raw)
  To: David Woodhouse, Patrick Allaire; +Cc: linux-mtd

I have tried what you have told me but it does not seem to change a thing
!!! The systems is still hanging on "Kernel panic : VFS: Unable to mount
root fs on 03:05" !!!!!!!!!

Where does it find the information to search 03:05 to boot ? I did compile
the kernel on /dev/hda5 !!! Is there a place in the kernel config where I
could specify the boot device ? Is this information stored in boot.b-mtd (I
dont think so) ? In the /boot/map ??? the last one is generated by lilo ? no
? so it should not contain /dev/hda5 information since I run lilo-mtd from a
floppy the HD was removed !

I have added those two lines to my lilo.conf :

prompt
timeout=50

Then I have tried what you told me. When I boot ... I write :

lilo: s append="root=/dev/nftla1"


For your question about why I am using /dev/nftla1 instead of /dev/nftla ...
its because on our final product we will have multiple partitions.

Thank you !


Patrick Allaire
mailto:pallaire@gameloft.com
If you can see it, but it's not there, it's virtual. 
If you can't see it, but it is there, it's hidden. 
It you can't see it and it isn't there, it's gone.



> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2@infradead.org]
> Sent: August 31, 2001 5:37 PM
> To: Patrick Allaire
> Cc: linux-mtd@lists.infradead.org
> Subject: Re: lilo and mtd ans doc 
> 
> 
> 
> 
> pallaire@gameloft.com said:
> > Kernel Panic : VFS: unable to mount root fs on 03:05 
> 
> Er, that's /dev/hda5. It's not trying to mount the DiskOnChip at all.
> Try append="root=/dev/nftla1" instead of just root=/dev/nftla1
> 
> LILO sucks like that.
> 
> BTW, how many partitions do you have on the DiskOnChip? If 
> only one, why 
> are you wasting space on partitions rather than just using a 
> filesystem on 
> /dev/nftla ?
> 
> --
> dwmw2
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: lilo and mtd ans doc
@ 2001-09-06 13:11 Patrick Allaire
  0 siblings, 0 replies; 7+ messages in thread
From: Patrick Allaire @ 2001-09-06 13:11 UTC (permalink / raw)
  To: David Woodhouse, Patrick Allaire; +Cc: linux-mtd

in the mtd cvs download --> /mtd/patches there is a lilo-mtd.tar.gz ! inside
this file there is a lilo-mtd allready compiled and a lilo21-mtd-patch ...
should I recompile lilo our I should use the one that is there ? ... I am
currently using the precompiled one.

Patrick Allaire
mailto:pallaire@gameloft.com
If you can see it, but it's not there, it's virtual. 
If you can't see it, but it is there, it's hidden. 
It you can't see it and it isn't there, it's gone.



> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2@infradead.org]
> Sent: August 31, 2001 5:37 PM
> To: Patrick Allaire
> Cc: linux-mtd@lists.infradead.org
> Subject: Re: lilo and mtd ans doc 
> 
> 
> 
> 
> pallaire@gameloft.com said:
> > Kernel Panic : VFS: unable to mount root fs on 03:05 
> 
> Er, that's /dev/hda5. It's not trying to mount the DiskOnChip at all.
> Try append="root=/dev/nftla1" instead of just root=/dev/nftla1
> 
> LILO sucks like that.
> 
> BTW, how many partitions do you have on the DiskOnChip? If 
> only one, why 
> are you wasting space on partitions rather than just using a 
> filesystem on 
> /dev/nftla ?
> 
> --
> dwmw2
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* lilo and mtd ans doc
@ 2001-08-31 20:52 Patrick Allaire
  2001-08-31 21:37 ` David Woodhouse
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Allaire @ 2001-08-31 20:52 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have finaly accepted that this driver is working with linux 2.4 !!! Wow
its more easy that way ... I can now compile without any problems the kernel
with DOC2000 support and Nftl !!! Now I can see the DOC, I can write to it,
I can read from it ... the only thing left is :

I cant boot from my DOC2000 ! There is a lilo.conf (listed below) on the
chip. I have run the lilo-mtd with the good boot.b-mtd {lilo-mtd -C
/etc/lilo.conf -r /mnt}. Every thing look fine, I see the "Patched LILO for
M-Systems DiskOnChip 2000   added s*" that is my label. When I boot with
only the DOC, the kernel get loaded, I see the DOC partition : "Partition
check : nftla1" ... but then it does not find the root fs :

Kernel Panic : VFS: unable to mount root fs on 03:05


is it the fault of :

lilo-mtd ?
boot.b-mtd ?
map ?

if so where do I get them ? I have taken those on the mtd CVS ! execpt from
map wich i didnt find anywhere.


************************************
lilo.conf
************************************
boot=/dev/nftla
map=/boot/map
install=/boot/boot.b-mtd
vga=extended
image=/boot/bzImage
label=s
root=/dev/nftla1
read-write

************************************
/dev/nftla* on the DOC
************************************
brw-r--r--    1 root     root     93,   0 Aug 28  2001 nftla
brw-r--r--    1 root     root     93,   1 Aug 28  2001 nftla1
brw-r--r--    1 root     root     93,   2 Jul  8 09:29 nftla2
brw-r--r--    1 root     root     93,   3 Jul  8 09:29 nftla3
brw-r--r--    1 root     root     93,   4 Jul  8 09:29 nftla4
brw-r--r--    1 root     root     93,   5 Jul  8 09:29 nftla5
brw-r--r--    1 root     root     93,   6 Jul  8 09:29 nftla6


thank you all !!


Patrick Allaire
mailto:pallaire@gameloft.com
If you can see it, but it's not there, it's virtual. 
If you can't see it, but it is there, it's hidden. 
It you can't see it and it isn't there, it's gone.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-09-06 13:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-04 13:43 lilo and mtd ans doc Patrick Allaire
2001-09-04 15:48 ` David Woodhouse
2001-09-04 16:14 ` Vipin Malik
2001-09-04 18:43 ` Karl Hammar
  -- strict thread matches above, loose matches on Subject: below --
2001-09-06 13:11 Patrick Allaire
2001-08-31 20:52 Patrick Allaire
2001-08-31 21:37 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox