On Saturday, September 29, 2012 7:37:00 PM UTC-7, Andrei wrote:
> Hi All,
> I am having some issues using NFS as a file system and I would like your
> input.
> I tried mounting the nfs share on another linux box with no issues.
> 1. Building the kernel.
> I built the kernel and enabled NFS and booting from it as well as the
> smsc95xx driver to be compiled into the kernel rather than a module.
> I am using U-boot to boot the zImage from the SDcard. The boot arguments
> for the kernel are as follows:
> set bootargs console=ttyO2,115200n8 console=tty0
> smsc95xx.macaddr=86:63:11:5e:60:86 root=/dev/nfs rw
> nfsroot=192.168.0.5:/panda_fs ip=192.168.0.12 rootdelay=2
> I have pasted what seems to be the important bit of the boot output.
> [ 3.402679] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
> [ 3.412292] usb 1-1: New USB device strings: Mfr=0, Product=0,
> SerialNumber=0
> [ 3.422760] hub 1-1:1.0: USB hub found
> [ 3.429290] hub 1-1:1.0: 5 ports detected
> [ 3.451416] mmc1: card claims to support voltages below the defined
> range. These will be ignored.
> [ 3.484100] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
> [ 3.493347] mmc1: new SDIO card at address 0001
> [ 3.719146] usb 1-1.1: new high-speed USB device number 3 using
> ehci-omap
> [ 3.844421] usb 1-1.1: New USB device found, idVendor=0424,
> idProduct=ec00
> [ 3.854034] usb 1-1.1: New USB device strings: Mfr=0, Product=0,
> SerialNumber=0
> [ 123.258056] IP-Config: Guessing netmask 255.255.255.0
> [ 123.265777] IP-Config: Complete:
> [ 123.271392] device=usb0, addr=192.168.0.12, mask=255.255.255.0,
> gw=255.255.255.255,
> [ 123.281982] host=192.168.0.12, domain=, nis-domain=(none),
> [ 123.290557] bootserver=255.255.255.255, rootserver=192.168.0.5,
> rootpath=
> [ 428.679992] VFS: Unable to mount root fs via NFS, trying floppy.
> [ 428.688964] VFS: Cannot open root device "nfs" or unknown-block(2,0)
> [ 428.697998] Please append a correct "root=" boot option; here are the
> available partitions:
> [ 428.711456] b300 15558144 mmcblk0 driver: mmcblk
> [ 428.719451] b301 65536 mmcblk0p1
> 00000000-0000-0000-0000-000000000000
> [ 428.732208] b302 15491072 mmcblk0p2
> 00000000-0000-0000-0000-000000000000
> [ 428.744995] Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> If I set the bootargs ip to dhcp, the kernel output becomes
> [ 123.242462] Sending DHCP requests ...... timed out!
> [ 203.469940] IP-Config: Retrying forever (NFS root)...
> [ 203.478088] ADDRCONF(NETDEV_UP): usb0: link is not ready
> [ 323.508087] Sending DHCP requests ...... timed out!
> [ 398.969848] IP-Config: Retrying forever (NFS root)...
> If I look in my router DHCP lease table, I do not see an entry for the mac
> address I specified. Also during the boot process, if I try to ping the
> address of the board, I do not get a reply
> Any ideas would very much be appreciated.
> Thanks.