TI中文支持网
TI专业的中文技术问题搜集分享网站

DM368 NFS 启动的问题

我用的是Appro DM368的开发板,基于Appro的 IPNC RDK 5.0版本编译了一个内核,然后配置开发板NFS启动

重启后,输出了一堆的东西

Error: SemWait: Invalid Semaphore handler
Error: SemRelease: Invalid Semaphore handler
Check_device_version : DEVICE VER = 1 !!
./av_server.out DM368 NTSC TI2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &

^C[ 8.412767] nfs: server 192.168.1.139 not responding, still trying
[ 8.419177] nfs: server 192.168.1.139 not responding, still trying
[ 35.532748] nfs: server 192.168.1.139 not responding, still trying
[ 134.972765] nfs: server 192.168.1.139 not responding, still trying
[ 134.979181] nfs: server 192.168.1.139 not responding, still trying
[ 134.985575] nfs: server 192.168.1.139 not responding, still trying
[ 18.602396] nfs: server 192.168.1.139 OK
[ 18.606887] nfs: server 192.168.1.139 OK
[ 18.611003] nfs: server 192.168.1.139 OK
[ 18.615387] nfs: server 192.168.1.139 OK
[ 18.619760] nfs: server 192.168.1.139 OK
[ 18.624146] nfs: server 192.168.1.139 OK
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
Starting internet superserver: inetd.

DM365MM Init Successful
AVSERVER UI: Initializing.
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory
[ 19.472516] CMEMK Error: ioctl: no heap available in block 0
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAP failed: -1
DRV LDC: GetConfig 0004 0x0
[ 19.507324] des_generic: disagrees about version of symbol module_layout
insmod: error inserting '/opt/ipnc/modules/des_generic.ko': -1 Invalid module format
[ 19.599760] md5: disagrees about version of symbol module_layout
insmod: error inserting '/opt/ipnc/modules/md5.ko': -1 Invalid module format
[ 19.752583] CMEMK Error: Failed to find a pool which fits 28672
CMEM Error: getP[ 19.769876] CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
ool: Failed to get a pool fittin[ 19.779524] CMEMK Error: get_phys: get_user_pages() failed: -14
g a size 28672
[ 19.790418] CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
CMEM Error: getP[ 19.802445] CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
hys: Failed to get physical addr[ 19.812664] CMEMK Error: get_phys: get_user_pages() failed: -14
ess of 0
[ 19.831020] CMEMK Error: FREE: Failed to convert virtual 0x0 to physical
CMEM Error: free: failed to free 0
ERROR (alg.c|ALG_sysInit|86): VICP Protocol regn failed
ERROR (avServerApi.c|AVSERVER_init|628): ALG_sysInit()
ERROR (avServerUi.c|UI_start|85): AVSERVER_init()
[ 20.106783] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
[ 20.245363] Loading iSCSI transport class v2.0-870.
[ 20.572960] iscsi: registered transport (tcp)
[ 20.674610] musb-hdrc: version 6.0, peripheral, debug=0
[ 20.910340] musb-hdrc musb-hdrc: dma type: dma-cppi3
[ 20.960708] musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12
ApproDrvInit: 10
ApproDrvInit: 8
queue id:131076
ApproDrvInit: 9
queue id:131076
ApproDrvInit: 2
queue id:131076
ApproDrvInit: 6
queue id:131076
queue id:131076
[ 21.186513] loop: module loaded
[ 21.265461] tun: Universal TUN/TAP device driver, 1.6
[ 21.270835] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 21.345136] console [netcon0] enabled
[ 21.349187] netconsole: network logging started
[ 21.450925] PPP generic driver version 2.4.2
[ 21.488496] PPP Deflate Compression module registered
insmod: can't read '/opt/ipnc/modules/sbull.ko': No such file or directory
mkdosfs 2.11 (12 Mar 2005)
queue id:0
TimeOut occure in boot_proc.
Program exit.
[ 34.190925] nfs: server 192.168.1.139 not responding, still trying
[ 37.840909] nfs: server 192.168.1.139 not responding, still trying
[ 80.270918] nfs: server 192.168.1.139 not responding, still trying
[ 83.890927] nfs: server 192.168.1.139 not responding, still trying
^Ccaught SIGINT: shutting down
Error: Memory return Invalid
ApproDrvExit: 6
caught SIGINT: shutting down
Error: Memory return Invalid
ApproDrvExit: 2
caught SIGINT: shutting down
Error: Memory return Invalid
ApproDrvExit: 8
caught SIGINT: shutting down
Error: Memory return Invalid
ApproDrvExit: 9
caught SIGINT: shutting down
Error: Memory return Invalid
ApproDrvExit: 10
^C^C^C^C^C^C[ 40.923043] nfs: server 192.168.1.139 not responding, still trying
[ 84.186177] nfs: server 192.168.1.139 OK
[ 84.190577] nfs: server 192.168.1.139 OK
[ 84.194684] nfs: server 192.168.1.139 OK
[ 84.199071] nfs: server 192.168.1.139 OK
INIT: Entering runlevel: 5
Starting telnet daemon.
Starting syslogd/klogd: done

然后才进入到 login 

但是输入root 回车后,又显示下面的东西

[ 21.249486] PHY: 0:01 – Link is Down
[ 23.249333] PHY: 0:01 – Link is Up – 100/Full
[ 140.129113] nfs: server 192.168.1.139 not responding, still trying
[ 7.252118] nfs: server 192.168.1.139 not responding, still trying
[ 19.012116] nfs: server 192.168.1.139 not responding, still trying
[ 19.152141] nfs: server 192.168.1.139 not responding, still trying

有没有人帮我解释一下是什么原因导致的啊,我的NFS server 跟开发板连的一个交换机

kooking:

nfs连接不好,一般是网络拥塞、服务器过载或者网卡丢包,nfs是udp协议,你换tcp试试:

nfsroot=xx.xx.xx.xx:/rootfs,proto=tcp,nfsvers=3,nolock

orlando chen:

回复 kooking:

我在bootargs 加入了如下参数

mem=48M console=ttyS1,115200n8 noinitrd rw root=/dev/nfs nfsroot=$(nfshost):$(rootpath), intr, nolock, rsize=1024, wsize=1024, proto=tcp, nfsvers=3 ip=192.168.1.140:192.168.1.139:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:02:3A:58

已经指定了tcp协议传输,但是结果还是一样

kooking:

回复 orlando chen:

可以用一台小交换机连接host和board,如果是因为网络原因,这样应该就没有问题。

还有可能就是host环境有问题,换一台host试试

jayson jang:

我有遇到过,是由于自己的服务器IP与网络内另一台PC的IP一样,导致NFS失败,可以改下host的IP试试

jayson jang:

回复 orlando chen:

把serverip设置成配置文件中的IP了?

赞(0)
未经允许不得转载:TI中文支持网 » DM368 NFS 启动的问题
分享到: 更多 (0)