ti 81xx 系列的 timeout搞死人啊 种类繁多
坑爹啊!!
今天终于找出了8127的一种以个timeout bug情况,妹的这个问题坑了我将近两个月,xxxx,
这里我想说下情况,有些地方可能设计公司商业机密,会有和谐:
1.这个timeout 首先是不间断的出现,
2.无论你怎么换文件系统,都没用
3.有时候只能重新添加ipnc_rdk_mcfw.out这一块的a8到dsp端linkcontrol消息代码才有用,
4.为了解决这个问题,妹的,搞了我一个通宵,还不算加班,都没弄出来。
5.害死人啊
最后无意中调dsp端的算法,看是否有没加载licens.dat证书,发现了这个问题,就是去掉opt/ipnc下的证书就会出现int ApproPollingMsg()死循环一直等待ipnc_rdk_mcfw.out的消息轮训
回复为ret>0的消息,yyyyy。。。,是multich_tristream_fullfeature.c的读取文件证书没找到,读取失败,阻塞在那里没连接上dsp导致
解决办法:
给读取失败文件做出判断!!!
教训:
读文件没小事,所有的细节都的最初判断,哪怕是冗余的,首先的保证功能上和逻辑上是走通的!
还有main.c中的system_server这个执行文件,一直都不到nand下的证书,fuck
system("chmod 777 ../../mnt/nand/license.dat");
system("cp /mnt/nand/license.dat ./");
还有看门狗放在bit流中不一定靠谱,外发布出来数据流一样导致应用无法进行,虽然有数据帧
l->startx = 79 ,p_Rol->starty = 34 ,p_Rol_endx = 1860 ,p_Rol->endy = 1065approdrvmsg.c:pdetectplr->startX = 79
[c6xdsp ] va_plrparam.startx = 79 ,starty = 34 ,endx = 1860 ,endy = 1065
[m3vpss ] in set osdprm
gcentrv_sysinfo.m_tArea.m_tStratPos.m_iX = 20
gcentrv_sysinfo.m_iDelay = 2000
mp4bitrate = 4000000
[host]
Channel Selected: 0bitrate: 4000000
gcentrv_sysinfo.m_tArea.m_iFrameRate = 30
sdk_ipnc_thread: msgrcv ready again
[m3video] Channel:0 inputframerate:30 targetfps:30
[m3video] ENCLINK: new targetbitrate to set:4000000
[m3video] ENCLINK: new targetframerate to set:30000
[m3video] Channel:2 inputframerate:30 targetfps:5
#### set gio19
TimeOut occure in boot_proc.
Program exit.
TimeOut occure in boot_proc.
Program exit.
#### clr gio19
#### set gio19
#### clr gio19
Kill queue id:0
Creat queue id:229376
queue id:229376
[25/Jun/2014:13:59:53 +0000] boa: server version Boa/0.94.13
[25/Jun/2014:13:59:53 +0000] boa: server built Jun 26 2014 at 16:41:42.
[25/Jun/2014:13:59:53 +0000] boa: starting server pid=427, port 80
SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
"End of file or no input: Network is unreachable"
Detail: [no detail]
SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
"End of file or no input: Network is unreachable"
Detail: [no detail]
#### set gio19
SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
"End of file or no input: Network is unreachable"
Detail: [no detail]
SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
"End of file or no input: Network is unreachable"
Detail: [no detail]
#### clr gio19
#### set gio19
[host] MCFW_IPCBITS: Callback function:App_ipcBitsInCbFxn
[host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:INFO: periodic print..#### clr gio19
#### set gio19
#### clr gio19
#### set gio19
#### clr gio19
route add default gw 添加默认网关,重起后消失
在SUSE 下,我们可以很方便的使用YAST命令配置IP,默认网关DNS等.但在CENTOS下是没有YAST命令的,在使用route add default gw 添加默认网关重启服务器后,配置信息会消失.有两种解决的办法
1.写到/etc/rc.local中(这个文件是个链接文件,实际上是/etc/rc.d/rc.local
route add default gw 192.168.1.2
2.写到网卡的配置文件里[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
加入
GATEWAY=192.168.1.2
8127 timeout!!! 搞死人啊,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/pengkunfan/p/3810632.html