This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

8127 ipnc挂载nfs的问题



我用的是3.8版本的RDK,没做任何修改,直接编译,使用ubifs的方式可以运行,但挂载nfs则出现

TimeOut occure in boot_proc.

Program exit.

具体log如下:

[m3vpss ] 6208: CAMERA: Start in progress !!!
[m3vpss ] 6208: CAMERA: Start Done !!!

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org DM8127_IPNC ttyO0

Arago 2011.09 DM8127_IPNC ttyO0

DM8127_IPNC login: root (automatic login)
[m3vpss ] CT: 1000, 3dlut index:0

[host]
Application Run Completed
[m3vpss ] 6332: CAMERA: Fields = 2 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)
root@DM8127_IPNC:~#
[host] ITT server task running !!!

[host]
ITT ittServer_run

[host] ITT Server Message initialization successful

[host]
ITT capture task created

[host] DCC server Message ques is open succefully

[host] Setting cmd <1> in message <40bb5100>

[host] Posting message <40bb5100> in QId <20002>
[m3vpss ] Command 1 recived from HOST A8

[host] Response from M3 is : 1
[m3vpss ] Command 2 recived from HOST A8
[m3vpss ] New DCC data of size <33603>
[m3video] Channel:1 inputframerate:30 targetfps:60
[m3vpss ] Call to VNF_LINK_CMD_UPDATE_DCC 536870980

[host] Response from M3 is : 1

[host] Default parameters were sent sucessfully

[host] Server Socket created with ID <22>
[m3video] Channel:0 inputframerate:60 targetfps:60
[m3video] Channel:2 inputframerate:60 targetfps:5
mkdosfs 3.0.12 (29 Oct 2011)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
There is 1 reserved sector.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is d2e3abdd, no volume label.
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 80 [67%] [40.00dB] [on]
Front Right: Capture 80 [67%] [40.00dB] [on]
[m3vpss ] 8444: DISPLAY: Stop in progress !!!

Venc not supported!!
[m3vpss ] 8510: DISPLAY: Stop Done !!!
[m3vpss ] 8513: DISPLAY: Start in progress !!!
queue id:0
[m3vpss ] 8563: DISPLAY: Start Done !!!
[m3vpss ] 8563: DISPLAY: SDDAC(SEC1): 1340 fps, Latency (Min / Max) = ( 4 / 107 ), Callback Interval (Min / Max) = ( 33 / 34 ) !!!

[host] VNF MESSAGE RECIEVED: (Enable:0) (Mode:5) (Strength:0) (EnableTNF:0) (EnableSNF:0)

[host]
Channel Selected: 0
[host]
Channel Selected: 0,rate control = 0 [m3vpss ] 8496: VNF:
[m3vpss ] EnableSNF current SNF 1 => new 0!!!
[m3vpss ] NSF: EnableSNF 0 current mode 0!!!

[host]

========== Stream FrameRate1 = 30 =================

[host]
Channel Selected: 0
[host]
Channel Selected: 0
[host]
Channel Selected: 0
[host]
Channel Selected: 0,packet size = 100
[host]
Channel Selected: 0,encPreset = 0
[host]
Channel Selected: 0,enable = 0
[host]
Channel Selected: 1
[host]
Channel Selected: 1,rate control = 0 [m3vpss ] 8497: VNF:
[m3vpss ] EnableTNF current TNF 1 => new 0!!!
[m3vpss ] NSF: EnableTNF 0 current mode 1!!!
[m3vpss ] CT: 6032, 3dlut index:3
[m3vpss ] framerateParams->FrameRate = 30

[host]
Channel Selected: 1
[host]
Channel Selected: 1
[host]
Channel Selected: 1
[host]
Channel Selected: 1,packet size = 100
[host]
Channel Selected: 1,encPreset = 0
[host]
Channel Selected: 1,enable = 0
[host]
Channel Selected: 2
[host]
Channel Selected: 2,rate control = 2
[host] MJPEG in Rate Control OFF Mode
Check_device_version : DEVICE VER = 1 !!
[m3video] Channel:0 inputframerate:30 targetfps:30
[m3video] Channel:2 inputframerate:30 targetfps:5
[m3video] ENCLINK: new targetbitrate to set:10000000
[m3video] ENCLINK: new targetframerate to set:30000
[m3video] ENCLINK: new intraFrameInterval to set:30,new maxPicSizeRatioI to set = 960
[m3video] ENCLINK: new QP I Param to set:10 36 -1
[m3video] ENCLINK: new QP P Param to set:10 40 28
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 95 [80%] [47.50dB] [on]
Front Right: Capture 95 [80%] [47.50dB] [on]
Check_device_version : DEVICE VER = 1 !!
[m3video] ENCLINK: new PacketSize Param to set:100
[m3video] ENCLINK: new Encode Preset Param to set:0
[m3video] ENCLINK: new rate control algorithm to set:0
[m3video] Channel:1 inputframerate:30 targetfps:30
[m3video] JPGLINK: new targetframerate to set:5000 for bitrate 100000
[m3video] JPGLINK: new QP Param to set:1 51 80
[m3video] JPGLINK: new qualityFactor Param to set:80
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 101 [80%] [-13.00dB]
Front Right: Playback 101 [80%] [-13.00dB]
[m3video] JPGLINK: new rate control algorithm to set:2 for bitrate: 100000

[host]
Force IDR on Channel: 0
[host]
Force IDR on Channel: 1 [m3video] JPGLINK: Run time parameters changed 0
[m3video] ENCLINK: new targetbitrate to set:2000000
[m3video] ENCLINK: new targetframerate to set:30000
[m3video] ENCLINK: new intraFrameInterval to set:30,new maxPicSizeRatioI to set = 960
[m3video] ENCLINK: new QP I Param to set:10 36 -1
[m3video] ENCLINK: new QP P Param to set:10 40 28
SystemInit success
Schedule manager init success
[m3video] ENCLINK: new PacketSize Param to set:100
Dmva Schedule manager init success
[m3video] ENCLINK: new Encode Preset Param to set:0
[m3video] ENCLINK: new rate control algorithm to set:0
[m3video] Channel:2 inputframerate:30 targetfps:5
umount: can't umount /mnt/mmc: Invalid argument
killall: dhcpcd: no process killed
rm: cannot remove '/var/run/dhcpcd-eth0.pid': No such file or directory
TimeOut occure in boot_proc.
Program exit.

将文件系统打包成ubifs烧到flash中运行则一切正常,在网上看到很多人碰到类似的问题,但没有一个确定的解决方案

根据网上的信息,已经试过以下几种解决方法,都无效:

 

  1. SDK只能使用DHCP方式挂载NFS,静态IP无法挂载。                已经使用dhcp
  2. 重新编译烧写uboot和内核。                              已经烧写过多次
  3. Flash_eraseall /dev/mtd5。                                        没有效果
  4. IP地址是否正确。                                                       IP是使用dhcp的方式,确认在同一网段,而且从log上看已经成功挂载nfs,只是在启动app后出现问题
  5. SDK编译选项默认为64位,更改成32位后重新编译。               没有效果
  6. 确定uboot配置是否与内核一致。                    确认过,都是工作在FULL_FEATURE模式
  7. 使用SDK原版filesys。                            直接将filesys_ipnc_dm81xx.tar.gz解压后未修改的filesys挂载,问题依旧(timeout连续打印两次)
  8. 确定文件系统是否正确。                     将filesys打包成ubifs文件烧写到flash中再运行,则一切正常
  9. Nfs文件系统确定挂载成功,只要不启动app,在nfs操作一切正常
  10. 有人说需要改Rules.mk .                      我在里面只找到FS_CFG  := ubifs看上去有点关系,但改成nfs后编译不成功
  11. 有人说改程序默认的IP地址与DHCP服务器同网段。               不知道是指什么地方,我把system_default.h里面的默认IP改掉了,没效果

貌似很多人都是重新编译然后烧写内核解决的,但我已经试过很多次了,都不行