|
Re: nfs root filesystem: msg#00177linux.distributions.gumstix.general
Keep in mind you need to enable the other options in the kernel config specifically for root over nfs. Craig Casey On 7/12/05, Craig Hughes <craig@xxxxxxxxxxx> wrote: > On Jul 11, 2005, at 9:09 PM, John D. Blair wrote: > > > Yeah, I already rebuilt my kernel so nfs is not a module. I've > > confirmed that I've built it correctly, too... when I boot off the > > kernel using flash and mount an nfs drive, it doesn't show the nfs > > driver loaded. This is correct since its not compiled as a module. > > not just NFS though -- also need to build-in smc91x and all the TCP/ > IP stuff NFS needs. > > C > > > > On Mon, 2005-07-11 at 22:44 -0400, albertd wrote: > > > >> 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 > >> _______________________________________________ > >> 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 > > _______________________________________________ > > 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 > _______________________________________________ > 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> |
|---|---|---|
| Previous by Date: | Re: other filesystems on MMC: 00177, Jérôme Multrier |
|---|---|
| Next by Date: | Re: Re: sound APIs/programming: 00177, Craig Casey |
| Previous by Thread: | Re: nfs root filesystemi: 00177, Craig Hughes |
| Next by Thread: | RFID tracking and gumstix: 00177, Jon Thompson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |