mount問題,內存問題。。。

記錄一下最近搞定的幾個問題tcp

issue 1: 執行nfs mount,出現Segmentation fault
# /bin/mount -t nfs -o nolock,tcp,rw,nfsvers=3 192.168.4.7:/home/skyworth/workspace /mnt/
Segmentation fault
#
解答:由於kernel command line中沒有激活eth0,好比加上ip=dhcp能夠解決此問題

issue 2: 修改了ini文件後,升級程序啓動後死機
解答:升級程序使用地址 uVRAMHD_start = 0x1000000 做爲顯存地址。而實際應該是0x21000000(由於以前未加上bank基地址). 0x1000000沒有被規劃而將可以被內核使用,只是修改ini文件以前沒有凸顯該問題,修改以後凸顯了。事實上修改以前的升級運行彷佛不太正常,主要表如今大文件製做的如squashfs包,升級死機。

issue 3: mount "nfs:server is not responding,still trying"
經過板子mount到我那臺192.168.4.73的機器,進行文件拷貝老是死機,報上面的提示。
執行的mount命令以下:
mount -t nfs -o nolock,tcp,rw,nfsvers=3 192.168.4.73:/home/skyworth/workspace/release mnt/

修改爲以下命令解決了這個問題:
# mount -t nfs -o nolock,rw,nfsvers=3,rsize=1024,wsize=1024 192.168.4.73:/home/skyworth/workspace/release mnt/
或者
# mount -t nfs -o nolock,rw,nfsvers=3,rsize=61440,wsize=61440 192.168.4.73:/home/skyworth/workspace/release mnt/

網上對這類問題可能是說,PC和嵌入式用udp做爲nfs的協議有問題,應該用tcp。而這裏好像恰好相反。


 ide

相關文章
相關標籤/搜索