logo       

Re: nfs root filesystem: msg#00130

linux.distributions.gumstix.general

Subject: Re: nfs root filesystem

John:

As far as I remember, current buildroots have all the networking drivers built as modules, and those modules are needed for nfs rooting.

The modularization is needed to support the varieties of gumstix out there (possibilities are no bt, no usb, no wifi), so you will have to build your favorites into your kernel and make sure that the equivalent of a MAC is known at boot time.

Make sure you track your linux 2.6.x .config file outside the buildroot so Craig's good work will not undo yours. :)

Albert.

John D. Blair wrote:

I'm trying to boot my gumstix with a nfs root filesystem. Has anybody
tried to do this? I can't get it working.

Here's what I'm trying:

First, I rebuilt my kernel so nfs was not a module anymore and installed
this on the flash on my gumstix.

Next, I try booting with the bootargs u-boot variable set to this:

console=ttyS0,115200n8 root=/dev/nfs ip=192.168.101.106 \
nfsroot=192.168.101.16:/home/gumstixroot reboot=cold,hard

I also set the serverip and ipaddr variables to the correct values.

I know the nfs server works, since I can mount it on the gumstix in
someplace other than root if I boot the gumstix from flash. I can even
use pivot_root to make the nfs filesystem into the root filesystem.

Here's the last few lines of the console:

IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,255)

Does anybody have any suggestions?

-john.





-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
gumstix-users mailing list
gumstix-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/gumstix-users




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise