[syslinux] Switchroot: mount failed: 22, Kernel panic - not syncing: Attempted tp kill init!
Kosolapov Dmitry
dk at farpost.com
Fri Apr 14 09:12:06 PDT 2006
> LABEL C 2.6.16-sk
> MENU LABEL ^c. 2.6.16-sk
> KERNEL vmlinuz-2.6.16-sk
> APPEND console=ttyS0,115200n81 root=/dev/nfs
> nfsroot=192.168.42.1:/nfshost/soekris
> nfsaddrs=192.168.42.100:192.168.42.1:192.168.42.1:255.255.255.0:soekris:eth0
> panic=5
>
> (I imagine this could be shorter, more implied parameter, yes/no ?)
>
> FWIW, the nfsroot docs imply that you cannot put the nfs-root modules in
> an initrd. This seems an over-simplification of the truth;
> why wouldnt all the nfs* modules, in an initrd, work properly ?
> Anyone ever tried it ? (I havent yet, someday)
Thanks for your recomendations.
I've followed them. Now my config:
LABEL linux
KERNEL vmlinuz-2.6.16
APPEND root=/dev/nfs
nfsroot=192.168.4.110:/clients/192.168.4.100/root
nfsaddr=192.168.4.100:192.168.4.110:192.168.4.97:255.255.255.224:dk1.loc:eth0
But the problem isn't fixed. Now I get:
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)
dmesg logs at the server:
nfsd: last server has exited
nfsd: unexporting all filesystems
RPC: failed to contact portmap (errno -5).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
But NFS-servers is configured and started, portmap is started.
Thanks for advance.
More information about the Syslinux
mailing list