Chinaunix

标题: 不知咋的 udevd --debug 出现error [打印本页]

作者: heyj6969    时间: 2010-06-17 11:10
标题: 不知咋的 udevd --debug 出现error
udevd --debug 出现错误
1276570446.280725 [3576] udev_ctrl_enable_receiving: bind failed: Address already in use
error binding control socket, seems udevd is already running
1276570446.280766 [3576] main: error binding control socket, seems udevd is already running
想查看调试内容也不行了,写的规则也没起作用
kill 掉  udev 要不行哦
急阿 求助大虾 !!!!!!!!!!!
作者: heyj6969    时间: 2010-06-17 13:09
没人么???????
作者: Shell_HAT    时间: 2010-06-17 13:23
kill -9杀不掉?
作者: heyj6969    时间: 2010-06-17 14:08
回复 3# Shell_HAT

$ps aux | grep udev
root       318  0.0  0.0   2312   792 ?        S    09:02   0:00 upstart-udev-bridge --daemon
root      3574  0.0  0.0   2492   780 ?        S<s  14:01   0:00 udevd --daemon
1000      3590  0.0  0.0   3548   900 pts/1    S+   14:06   0:00 grep --color=auto udev

udevd --daemon 这个它自己运行的呀
我udevd --debug,就出现上面的错误
作者: heyj6969    时间: 2010-06-18 09:06
请赐教    拜托了!!!
作者: ccjsj1    时间: 2010-06-18 09:26
是不是硬件出问题了?  tail /var/log/messages 有信息吗?
作者: heyj6969    时间: 2010-06-18 09:38
回复 6# ccjsj1


    有信息哦   

我在PC机上的,硬件应该不会有问题吧
作者: ccjsj1    时间: 2010-06-18 09:43
回复 7# heyj6969


    tail /var/log/messages 有相关的udev信息吗?贴出来看看 :)
作者: heyj6969    时间: 2010-06-18 09:45
回复 8# ccjsj1

~$ tail /var/log/messages
Jun 18 09:16:59 skywalker-desktop kernel: [  948.662349] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB2
Jun 18 09:16:59 skywalker-desktop kernel: [  948.662400] usbcore: registered new interface driver option
Jun 18 09:16:59 skywalker-desktop kernel: [  948.662403] option: v0.7.2:USB Driver for GSM modems
Jun 18 09:16:59 skywalker-desktop logger: usb_modeswitch: adding device ID 12d1:1001 to driver "option"
Jun 18 09:17:03 skywalker-desktop kernel: [  952.775862] scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jun 18 09:17:03 skywalker-desktop kernel: [  952.797840] sr1: scsi-1 drive
Jun 18 09:17:03 skywalker-desktop kernel: [  952.798650] sr 7:0:0:0: Attached scsi generic sg2 type 5
Jun 18 09:19:48 skywalker-desktop kernel: [ 1118.061055] Disabling lock debugging due to kernel taint
Jun 18 09:19:48 skywalker-desktop kernel: [ 1118.061693] CPU0: Temperature/speed normal
Jun 18 09:21:10 skywalker-desktop kernel: [ 1199.988150] Machine check events logged


就这些
作者: ccjsj1    时间: 2010-06-18 09:55
看不出什末来啊,dmesg | tail ,看下什末信息
作者: heyj6969    时间: 2010-06-18 09:59
回复 10# ccjsj1


    这样也貌似也没什么信息
~$ dmesg | tail
[ 2229.790680] CPU0: Temperature/speed normal
[ 2249.988017] Machine check events logged
[ 2605.380874] CPU1: Temperature above threshold, cpu clock throttled (total events = 25
[ 2605.381520] CPU1: Temperature/speed normal
[ 2699.988520] Machine check events logged
[ 2960.044596] CPU1: Temperature above threshold, cpu clock throttled (total events = 2170)
[ 2960.045240] CPU1: Temperature/speed normal
[ 3000.000016] Machine check events logged
[ 3294.436093] CPU0: Temperature above threshold, cpu clock throttled (total events = 7746)
[ 3294.436740] CPU0: Temperature/speed normal
作者: ccjsj1    时间: 2010-06-18 10:28
回复 11# heyj6969


    是啊,没什麽可用信息。 :《
作者: heyj6969    时间: 2010-06-18 10:40
回复 12# ccjsj1


    在板子上  出现 udevd --debug 这个进程,我KILL后 就可以   debug了
但在PC上 就只有
$ ps aux | grep udev
root       318  0.0  0.0   2312   868 ?        S    09:01   0:00 upstart-udev-bridge --daemon
root       327  0.0  0.0   2644   680 ?        S<s  09:01   0:00 udevd --daemon
root      1994  0.0  0.0   2640   720 ?        S<   09:17   0:00 udevd --daemon
root      1995  0.0  0.0   2640   648 ?        S<   09:17   0:00 udevd --daemon
1000      2746  0.0  0.0   3548   900 pts/1    S+   10:39   0:00 grep --color=auto udev


抓狂..............
作者: ccjsj1    时间: 2010-06-18 10:46
回复 13# heyj6969


    跟着抓狂。。。
作者: ccjsj1    时间: 2010-06-18 10:49
回复 13# heyj6969


    你是做嵌入式的吗?
作者: heyj6969    时间: 2010-06-18 10:58
回复 15# ccjsj1


   嗯嗯   

刚出来  还望大哥你以后多多指教呢
作者: ccjsj1    时间: 2010-06-18 11:02
回复 16# heyj6969


太谦虚了,这里的学习气氛挺好的。 等待高手解决问题。。。
作者: heyj6969    时间: 2010-06-19 10:55
等待 ING




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2