本帖最后由 turnip_gray 于 2013-1-12 01:30 编辑
风之紫 发表于 2013-1-12 00:57
昨天看错了,ping 的不是raspberry, 绿灯一直以不稳定频率的闪,路由器端找不到它,估计没获取到ip,错误还是 ...
LZ的log从头看的话
第一次出现那个error的地方是:
Dec 16 19:50:07 raspberrypi kernel: [ 2.553303] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
Dec 16 19:50:07 raspberrypi kernel: [ 2.562414] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 16 19:50:07 raspberrypi kernel: [ 2.573682] hub 1-1:1.0: USB hub found
Dec 16 19:50:07 raspberrypi kernel: [ 2.579994] hub 1-1:1.0: 3 ports detected
Dec 16 19:50:07 raspberrypi kernel: [ 2.863173] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
Dec 16 19:50:07 raspberrypi kernel: [ 2.973519] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Dec 16 19:50:07 raspberrypi kernel: [ 2.982871] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 16 19:50:07 raspberrypi kernel: [ 2.996887] smsc95xx v1.0.4
Dec 16 19:50:07 raspberrypi kernel: [ 3.002111] ERROR::dwc_otg_hcd_urb_enqueue:477: Not connected
Dec 16 19:50:07 raspberrypi kernel: [ 3.002122]
Dec 16 19:50:07 raspberrypi kernel: [ 3.014264] ERROR::dwc_otg_hcd_urb_enqueue:477: Not connected
Dec 16 19:50:07 raspberrypi kernel: [ 3.014276]
Dec 16 19:50:07 raspberrypi kernel: [ 3.026337] smsc95xx 1-1.1:1.0: (unregistered net_device): usbnet_get_endpoints failed: -19
Dec 16 19:50:07 raspberrypi kernel: [ 3.103117] usb 1-1: USB disconnect, device number 2
Dec 16 19:50:07 raspberrypi kernel: [ 3.110470] usb 1-1.1: USB disconnect, device number 3
Dec 16 19:50:07 raspberrypi kernel: [ 3.273113] Indeed it is in host mode hprt0 = 00021501
Dec 16 19:50:07 raspberrypi kernel: [ 3.513052] usb 1-1: new high-speed USB device number 4 using dwc_otg
Dec 16 19:50:07 raspberrypi kernel: [ 3.522175] Indeed it is in host mode hprt0 = 00001101
Dec 16 19:50:07 raspberrypi kernel: [ 3.743377] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
Dec 16 19:50:07 raspberrypi kernel: [ 3.752569] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 16 19:50:07 raspberrypi kernel: [ 3.781098] hub 1-1:1.0: USB hub found
Dec 16 19:50:07 raspberrypi kernel: [ 3.793180] hub 1-1:1.0: 3 ports detected
Dec 16 19:50:07 raspberrypi kernel: [ 4.083240] usb 1-1.1: new high-speed USB device number 5 using dwc_otg
Dec 16 19:50:07 raspberrypi kernel: [ 4.221111] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Dec 16 19:50:07 raspberrypi kernel: [ 4.240269] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 16 19:50:07 raspberrypi kernel: [ 4.270337] smsc95xx v1.0.4
Dec 16 19:50:07 raspberrypi kernel: [ 4.275710] ERROR::dwc_otg_hcd_urb_enqueue:477: Not connected
Dec 16 19:50:07 raspberrypi kernel: [ 4.275722]
Dec 16 19:50:07 raspberrypi kernel: [ 9.108296] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Dec 16 19:50:07 raspberrypi kernel: [ 9.313030] smsc95xx 1-1.1:1.0: (unregistered net_device): usbnet_get_endpoints failed: -110
Dec 16 19:50:07 raspberrypi kernel: [ 9.326158] smsc95xx: probe of 1-1.1:1.0 failed with error -110
Dec 16 19:50:07 raspberrypi kernel: [ 9.603880] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
这之前貌似已经识别出鼠标了(有个ps/2神马的,话说,显示器都没有,接鼠标干嘛,建议把所有外设都拔掉。就留电源、网线、SD卡)- -!
然后这段:
Dec 16 19:50:09 raspberrypi ifplugd(eth0)[1493]: Exiting.
Dec 16 19:50:10 raspberrypi kernel: [ 27.863374] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
Dec 16 19:50:10 raspberrypi kernel: [ 27.863403] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 16 19:50:10 raspberrypi kernel: [ 27.873356] hub 1-1:1.0: USB hub found
Dec 16 19:50:10 raspberrypi kernel: [ 27.873514] hub 1-1:1.0: 3 ports detected
Dec 16 19:50:10 raspberrypi ntpd[1889]: ntpd
4.2.6p5@1.2349-o Fri May 18 20:30:57 UTC 2012 (1)
Dec 16 19:50:10 raspberrypi ntpd[1890]: proto: precision = 1.000 usec
Dec 16 19:50:10 raspberrypi ntpd[1890]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Dec 16 19:50:10 raspberrypi ntpd[1890]: Listen normally on 1 lo 127.0.0.1 UDP 123
Dec 16 19:50:10 raspberrypi ntpd[1890]: peers refreshed
Dec 16 19:50:10 raspberrypi ntpd[1890]: Listening on routing socket on fd #18 for interface updates
Dec 16 19:50:10 raspberrypi ntpd[1890]: restrict: error in address '::' on line 38. Ignoring...
Dec 16 19:50:10 raspberrypi ntpd[1890]: restrict: error in address '::1' on line 42. Ignoring...
Dec 16 19:50:10 raspberrypi ntpd[1890]: Deferring DNS for 0.debian.pool.ntp.org 1
Dec 16 19:50:10 raspberrypi ntpd[1890]: Deferring DNS for 1.debian.pool.ntp.org 1
Dec 16 19:50:10 raspberrypi ntpd[1890]: Deferring DNS for 2.debian.pool.ntp.org 1
Dec 16 19:50:10 raspberrypi ntpd[1890]: Deferring DNS for 3.debian.pool.ntp.org 1
Dec 16 19:50:10 raspberrypi ntpd[1897]: signal_no_reset: signal 17 had flags 4000000
Dec 16 19:50:10 raspberrypi kernel: [ 28.173176] usb 1-1.1: new high-speed USB device number 11 using dwc_otg
Dec 16 19:50:10 raspberrypi kernel: [ 28.273569] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Dec 16 19:50:10 raspberrypi kernel: [ 28.273612] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 16 19:50:10 raspberrypi kernel: [ 28.276842] smsc95xx v1.0.4
Dec 16 19:50:10 raspberrypi kernel: [ 28.338664] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:fa:e8:6f
Dec 16 19:50:10 raspberrypi ifplugd(eth0)[1928]: ifplugd 0.28 initializing.
Dec 16 19:50:10 raspberrypi ifplugd(eth0)[1928]: Using interface eth0/B8:27:EB:FA:E8:6F with driver <smsc95xx> (version: 22-Aug-2005)
Dec 16 19:50:10 raspberrypi ifplugd(eth0)[1928]: Using detection mode: SIOCETHTOOL
Dec 16 19:50:10 raspberrypi ifplugd(eth0)[1928]: Initialization complete, link beat not detected.
Dec 16 19:50:11 raspberrypi kernel: [ 29.189778] ERROR::dwc_otg_hcd_urb_enqueue:477: Not connected
可以看见已经开始ntp了(联网获取时间,而且已经获取成功了,不过为啥是2012年5月18- -!)
接下来的log已经没有 raspberrypi kernel:的前缀了,貌似说明内核已经正常启动,进入更上层的启动了。
不过后面又出一个dwc_otg的error。然后,又回到了kernel的启动阶段- -!
然后就这么不断重复下去了……
所以仍然高度怀疑是电源的问题——电源不够,比如带的usb设备多(加了无源的hub或者插了机械硬盘神马的),貌似就会重启。
建议LZ只插SD卡、电源、网线(反正也没显示器,要鼠标神马的也没用),
然后把LOG都清掉(或者重新刷一遍干净系统)
用1A或者以上电源再来试。
然后再看log……