Re: Help: kernel option root=/dev/nfs failing 2.6.10

From: Matthias-Christian Ott
Date: Wed Feb 16 2005 - 15:46:10 EST


Haven Skys wrote:

Thanks. Yes I have.
Here are a couple configuration options I have set:

CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y

CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_ROOT_NFS=y

Everything is textbook really. I followed several different examples and
still nothing works.


-----Original Message-----
From: linux-kernel-owner@xxxxxxxxxxxxxxx
[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of Matthias-Christian
Ott
Sent: Wednesday, February 16, 2005 11:09 AM
To: Haven Skys
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: Help: kernel option root=/dev/nfs failing 2.6.10

Haven Skys wrote:



I am attempting to create network bootable system with 2.6.10 and nfs and


am


having trouble.

I am using grub and the boot goes without a hitch until the kernel attempts
to use the commands I've sent.

<SNIP from grub.conf>
bootp
root (nd)
kernel (nd)/redhat-2.6.10/kernel root=/dev/nfs ip=bootp
nfsroot=10.0.120.1:/diskless/redhat-2.6.10/
baseos
</SNIP>

Network booting machine X does fine until. It attempts to open the root
device.

<SNIP>
VFS: Cannot open root device "nfs" or unknown-block(0,255) Please append a
correct "root=" boot option Kernel panic - not syncing: VFS: Unable to


mount


root fs on unknown-block(0,255) </SNIP>

It looks like the kernel isn't recognizing the virtual device /dev/nfs but
I've enabled all the NFS options and everything is compiled into the


kernel.


Any ideas?


Thanks
Haven






FrontBridge introduces Message Archive and Secure Email. Get leading


Enterprise Message Security services from FrontBridge. www.frontbridge.com.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/





Hi!
I did you follow the "tutorial" in Documentation/nfsroot.txt?

Matthias-Christian Ott
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



FrontBridge introduces Message Archive and Secure Email. Get leading Enterprise Message Security services from FrontBridge. www.frontbridge.com.






Your config looks good. Try to give the kernel the "nfsroot=" parameters and try to boot from the harddisk to see if the client really gets the bootp information correctly.

Matthias-Christian Ott
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/