亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: ldd3的short的讀寫(xiě)都是255,問(wèn)題在哪里? [打印本頁(yè)]

作者: oatt    時(shí)間: 2009-02-26 13:28
標(biāo)題: ldd3的short的讀寫(xiě)都是255,問(wèn)題在哪里?
無(wú)論往/dev/short0中寫(xiě)入什么,讀出的都是255,不知道問(wèn)題出在哪里了?
[root@MagicLinux short]# ./short_load
[root@MagicLinux short]# tail /var/log/messages
Feb 26 13:00:48 MagicLinux pppoe[2540]: PPP session is 2089 (0x829)
Feb 26 13:00:51 MagicLinux pppd[2537]: Remote message: 0;User(z1367055) Authenticate OK, Request
Accept by hb.cn
Feb 26 13:00:51 MagicLinux pppd[2537]: PAP authentication succeeded
Feb 26 13:00:51 MagicLinux pppd[2537]: local  IP address 59.174.146.232
Feb 26 13:00:51 MagicLinux pppd[2537]: remote IP address 59.174.144.1
Feb 26 13:00:51 MagicLinux pppd[2537]: primary   DNS address 202.110.190.6
Feb 26 13:00:51 MagicLinux pppd[2537]: secondary DNS address 202.103.44.150
Feb 26 13:04:23 MagicLinux su(pam_unix)[2653]: session opened for user root by (uid=500)
Feb 26 13:24:22 MagicLinux kernel: Trying to free nonexistent resource <dc808fc0-dc808fc7>
Feb 26 13:25:27 MagicLinux kernel: short: can't get assigned irq 7
[root@MagicLinux short]# ls  /dev/short*
/dev/short0   /dev/short1   /dev/short2   /dev/short3   /dev/short4   /dev/short5   /dev/short6   /dev/short7   /dev/shortint
/dev/short0p  /dev/short1p  /dev/short2p  /dev/short3p  /dev/short4p  /dev/short5p  /dev/short6p  /dev/short7p  /dev/shortprint
/dev/short0s  /dev/short1s  /dev/short2s  /dev/short3s  /dev/short4s  /dev/short5s  /dev/short6s  /dev/short7s
[root@MagicLinux short]#


[root@MagicLinux short]# echo -n "2" > /dev/short0
[root@MagicLinux short]# dd if=/dev/short0 bs=1 count=1 |od -t u1
1+0 records in
1+0 records out
1 byte (1 B) copied, 3.4e-05 seconds, 29.4 kB/s
0000000 255
0000001
[root@MagicLinux short]# echo -n "ertg" > /dev/short0
[root@MagicLinux short]# dd if=/dev/short0 bs=1 count=1 |od -t u1
1+0 records in
1+0 records out
1 byte (1 B) copied, 3.5e-05 seconds, 28.6 kB/s
0000000 255
0000001
[root@MagicLinux short]#




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2