Re: 2.6.17-rc4-mm1 nfsroot build err, looks related to klibc

From: Jim Cromie
Date: Wed May 17 2006 - 03:11:52 EST

H. Peter Anvin wrote:
Adrian Bunk wrote:
On Mon, May 15, 2006 at 09:11:15PM -0700, H. Peter Anvin wrote:
Jim Cromie wrote:
Im getting nfsroot build error on 2 configs, both carried forward
>from good rc4 and from rc3-mm1 builds.
turning off nfsroot fixes the err.

Could you throw me your configs, so I can try to reproduce it here?

The problem is:


A (compile-only) .config exhibiting this error is attached.

Yeah, OK, problem recovered; total thinko on my part -- I forgot to remove the in-kernel nfsroot code. Just setting CONFIG_ROOT_NFS=n will work just fine; right now kinit doesn't depend on the configuration (another buglet for my list), so if you set CONFIG_ROOT_NFS=n the kernel will compile *and* nfsroot should still work.


Ok, it built clean, but broke on boot.

Running ipconfig
IP-Config: argc == 3
argv[1]: '-n'
argv[2]: 'nfsaddrs='
IP-Config: parse_device: "nfsaddrs=192.168.4[ 58.550017] eth0: DSPCFG accepted after 0 usec.
[ 58.555452] eth0: link up.
[ 58.558221] eth0: Setting full-duplex based on negotiated link capability.
IP-Config: opt #0: ''
IP-Config: opt #1: ''
IP-Config: opt #2: ''
IP-Config: opt #3: ''
IP-Config: opt #4: 'soekris'
IP-Config: opt #5: 'eth0'
IP-Config: eth0 hardware address 00:00:24:c2:46:c8 mtu 1500
IP-Config: eth0 guessed broadcast address
IP-Config: eth0 guessed nameserver address
IP-Config: eth0 complete (from
address: broadcast: netmask:
gateway: [ 58.616298] Kernel panic - not syncing: Attempted to kill init!
dns0 : 192.[ 58.622750] 168.42.1 dns<0>Rebooting in 5 seconds..1 :
host : soekris
rootserver: rootpath:
kinit: do_mounts
kinit: name_to_dev_t(/dev/nfs) = dev(0,255)
kinit: root_dev = dev(0,255)
NFS-Root: mounting console=ttyS0,115200n81 on /root with options 'none'
kinit: need a server
Checking for init: /sbin/init
Checking for init: /bin/init
Checking for init: /etc/init
Checking for init: /bin/sh
kinit: init not found!

POST: 0123456789bcefghipajklnopq,,,tvwxy

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at