[syslinux] RE: VFS: Cannot open root device, pxelinux nfsroot

Josef Siemes jsiemes at web.de
Fri Jun 14 03:26:06 PDT 2002


Hi,

<rob.vogel at hetnet.nl> schrieb am 13.06.02 11:12:02:
> I don't see that, but there are no errors about portmap or rpc either.

Then the kernel doesn't use nfsroot - either because it isn't compiled in,
or there's another reason for this.

> >Are you sure you have nfsroot in the kernel? Does the client get some IP address
> >in the kernel? Is the network card in the kernel (*fixed, not as a module!*)?
> Yes, I got Networking Options:
> TCP/IP networking (CONFIG_INET), IP: kernel level autoconfiguration (CONFIG_IP_PNP),
> IP: DHCP support (CONFIG_IP_PNP_DHCP)
> File Systems:
> /dev file system support (CONFIG_DEVFS_FS), Automatically mount at boot (CONFIG_DEVFS_MOUNT)
> Network File Systems:
> NFS file system support (CONFIG_NFS_FS), Root file system on NFS (CONFIG_ROOT_NFS)
> So that should cover it all.

Is the device driver in the kernel? Does it do IP Autoconfig? What does it tell you?
> 
> > on the machine where you are compiling the kernel, make /dev/nfs:
> > mknod /dev/nfs c 0 255
> > rdev <kernelimage> /dev/nfs
> 
> I did this ( I saw later it is not required, but) and now I get a differen error:
> 
> 	Sim 710: no NCR53C710 adapter found
> 	request_module[scsi_hostadapter]: root fs not mounted
> 	NET4: linux TCP/IP 1.0 for NET4.0
> 	IP Protocols: ICMP,UDP,TCP,IGMP
> 	IP: Routing cache bash table of 2048 buckets, 16Kbytes
> 	TCP: Hash tables configured 
> 	NET4: Unix domain sockets 1.0/SMP for linux NET4.0
> 	Root-NFS: no nfs server available, giving up
> 	VFS: Unable to mount fs via NFS, trying floppy

The IP-Config line is missing, also directly before the first NET-4 some messages
from the network card driver. So your kernel didn't find a network card, but
now tries to get its root-FS via NFS (since you forced it to do that).
This fails because it can't reach the NFS server (sure, there's no 'eth0' ...).

> I think 'rdev <kernelimage> /dev/nfs' is only used as default, if you don't override it with the kernel option: 

rdev sets the 'root='-parameter. It can't do anything about 'nfsroot='. Just forget
it, or look at the other posting about this.

Regards,

Josef

______________________________________________________________________________
FreeMail in der Premiumversion! Mit mehr Speicher, mehr Leistung, mehr 
Erlebnis und mehr Pramie. Jetzt unter http://club.web.de/?mc=021105




More information about the Syslinux mailing list