Hi
I can't get my DM6446 to reach the login point ... again. I am fairly sure the NFS is the problem, but I can't find where exactly the error lies. I don't know if there should be any other text or comments in the exports file, but mine only contains the following line:
/home/andre/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
I use YaST's NFS server to check my settings as well, and the export directory, the Host Wild card (just *), and the options look right. But I cannot execute the /usr/sbin/exportfs -av command because it returns "no such file or directory" and I cannot find the exportfs file anywhere.
My U-boot args are:
bootdelay=3
baudrate=115200
filesize=13bf20
fileaddr=80700000
netmask=255.255.255.0
hostname=ProtocleaDVP
bootfile=uImage
nfshost=10.0.0.3
rootpath=/home/andre/workdir/filesys
setboot=setenv bootargs $(bootargs) davinci_end_mngr.ch0_mode=$(videostd)
bootcmd=bootm 0x2060000
ipaddr=10.0.0.6
bootargs=video=davincifb:vid0=0,2500K:vid1=0,2500K:osd=720x576x16,2025K:davinci_
enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal console=ttyS0,115200
n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=:/home/andre/workdir/filesys,nolock
mem=118M
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:53:ec
videostd=pal
But when I boot it, it returns the following (I only copied the last few lines):
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.6
IP-Config: Complete:
device=eth0, addr=10.0.0.6, mask=255.255.255.0, gw=10.0.0.2,
host=10.0.0.6, domain=, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
Looking up port of RPC 100003/2 on 0.0.0.0
RPC: sendmsg returned error 22
portmap: RPC call returned error 22
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 0.0.0.0
RPC: sendmsg returned error 22
portmap: RPC call returned error 22
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 22
mount: RPC call returned error 22
Root-NFS: Server returned error -22 while mounting /tftpboot/:/home/andre/workdi
r/filesys
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Can someone please help! I've seen a lot of similar problems discussed on this forum, but none seems to work for me. Is there another way of checking that the NFS on the HOST is running and working properly?
When I run /etc/init.d/nfs status, the system returns with:
Checking for mounted nfs shares (from /etc/fstab):idmapd not running unused
but when I restart the nfs with /sbin/service nfs restart, both the shutting down command as well as the starting command returns a "done", but I still cannot verify that it is on with the /etc/init.d/nfs status command.
Any ideas?
Thanks in advance!
Andre