logo       

Re: nfs root filesystem: msg#00134

linux.distributions.gumstix.general

Subject: Re: nfs root filesystem

Make sure your network driver is not a module either.

On Mon, 2005-07-11 at 21:09 -0700, 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.
>
> -j.
>
> 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
--
David Mandala <davidm at them dot com>
www.them.com/~davidm Public Key id: 45B2D952
Murphy TX, 75094 214.774.2569 HO 972.693.4007 C

Attachment: signature.asc
Description: This is a digitally signed message part

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

News | FAQ | advertise