Hi,
I am getting the following error in my system
I have a root file system ar /home/rootfs
I dont know what is the problem. please help.
The Kernel is getting copied on target ; But root file system is not
getting mounted
using NFS.
The Kernel and the root file system is in the same machine
XX.YY.13.112.
IP-Config: Got DHCP answer from XX.YY.13.112, my address is XX.YY.13.65
IP-Config: Complete:
device=3Deth0, addr=3DXX.YY.13.65, mask=3D255.255.255.0,
gw=3D255.255.255.255,
host=3DXX.YY.13.65, domain=3D, nis-domain=3D(none),
bootserver=3DXX.YY.13.112, rootserver=3DXX.YY.13.112,
rootpath=3D/home/rootfs
Looking up port of RPC 100003/2 on XX.YY.13.112
Looking up port of RPC 100005/1 on XX.YY.13.112
Root-NFS: Server returned error -13 while mounting /home/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=3D" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)
File : /etc/exports looks like this
/home/rootfs (rw,no_root_squash,no_all_squash)
File:/etc/dhcpd.conf looks this this
ddns-update-style ad-hoc;
allow bootp;
subnet XX.YY.13.0 netmask 255.255.255.0 {
default-lease-time 1209600;
max-lease-time 31557600;
group {
host hello.i2.com {
hardware Ethernet 00:0E:99:XX:YY:ZZ;
fixed-address XX.YY.13.65;
option root-path "/home/rootfs";
}
}
}
I also face one more issue i am facing is:
i have 2 kernels (both of them 2.6.12) made out of the same
defconfig but compiled using 2 different tool chains.
For Kernel1:
If I specify bootargs=20
mem=3D30M console=3DttyS0,115200 rw root=3D/dev/nfs
nfsroot=3DXX.YY.13.112:/home/rootfs ip=3DXX.YY.13.65:XX.YY.13.112
it Works.
Otherwise it does not work ?.
For Kernel2:
Does not work with the above bootargs
Works Only if bootargs are mem=3D30M console=3DttyS0,115200 rw root=3D/dev/=
nfs=20
Please advice,
I dont know what the problem is ?.
How to analyse the problem and solve it ?.
Regards,
John
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs