標籤:code tar get 使用 檔案 資料
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.寫到網卡的設定檔裡[[email protected] ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
加入
GATEWAY=192.168.1.2