明远智睿技术论坛

标题: 怀疑是硬件问题,一直打印这种提示。 [打印本页]

作者: 钟宇泉    时间: 2020-2-26 11:00
标题: 怀疑是硬件问题,一直打印这种提示。
root@imx6ull14x14evk:~# usb 1-1.1: USB disconnect, device number 45
RTL871X: rtw_ndev_uninit(wlan0) if1
usb 1-1.1: new high-speed USB device number 48 using ci_hdrc
bFWReady == _FALSE call reset 8051...
RTL871X: hal_com_config_channel_plan chplan:0x23
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ec:3d:fd:fe:10:c9
usb 1-1.1: USB disconnect, device number 48
RTL871X: rtw_ndev_uninit(wlan0) if1
usb 1-1.1: new high-speed USB device number 49 using ci_hdrc
bFWReady == _FALSE call reset 8051...
RTL871X: hal_com_config_channel_plan chplan:0x23
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ec:3d:fd:fe:10:c9
usb 1-1.1: USB disconnect, device number 49
RTL871X: rtw_ndev_uninit(wlan0) if1
usb 1-1.1: new high-speed USB device number 50 using ci_hdrc
usb 1-1.1: device not accepting address 50, error -71
usb 1-1.1: new high-speed USB device number 52 using ci_hdrc
bFWReady == _FALSE call reset 8051...
RTL871X: hal_com_config_channel_plan chplan:0x23
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ec:3d:fd:fe:10:c9
usb 1-1.1: USB disconnect, device number 52
RTL871X: rtw_ndev_uninit(wlan0) if1
usb 1-1.1: new high-speed USB device number 53 using ci_hdrc
bFWReady == _FALSE call reset 8051...
RTL871X: hal_com_config_channel_plan chplan:0x23
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ec:3d:fd:fe:10:c9
usb 1-1.1: USB disconnect, device number 53
RTL871X: rtw_ndev_uninit(wlan0) if1
usb 1-1.1: new high-speed USB device number 54 using ci_hdrc
bFWReady == _FALSE call reset 8051...
RTL871X: hal_com_config_channel_plan chplan:0x23
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ec:3d:fd:fe:10:c9


看log,感觉是WIFI 还是USB的hub芯片哪不对了。因为wifi测试的时候,连接、PING百度都是 OK的 。但过一会不管就会出现这个。看着像是USB端口连接了

接下来我输入WIFI测试命令
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
==> rtl8188e_iol_efuse_patch
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@imx6ull14x14evk:~# RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
RTL871X: start auth
RTL871X: auth success, start assoc
RTL871X: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
RTL871X: assoc success
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: set pairwise key camid:4, addr:8c:53:c3:97:5f:86, kid:0, type:AES
RTL871X: set group key camid:5, addr:8c:53:c3:97:5f:86, kid:1, type:TKIP
udhcpc -i wlan0 //到这步都好的
udhcpc (v1.24.1) started
Sending discover...
Sending select for 192.168.31.126...
Lease of 192.168.31.126 obtained, lease time 43200
/etc/udhcpc.d/50default: Adding DNS 192.168.31.1
root@imx6ull14x14evk:~# usb 1-1.1: USB disconnect, device number 56    //然后又出现这个了
RTL871X: rtw_cmd_thread: DriverStopped(False) SurpriseRemoved(True) break at line 581
RTL871X: rtw_ndev_uninit(wlan0) if1
RTL871X: rtw_dev_unload: driver not in IPS

ping -I wlan0 www.baidu.com -c 2 -w 4  //就ping不通了   这里主要是我复制命令慢了点,快一些的话,就会再上面那个信息出来前。就能ping通了。但是上面的出现后,情况就和下面的一样了
ping: bad address 'wlan0'

root@imx6ull14x14evk:~# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf  //然后测试命令也用不来了
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
root@imx6ull14x14evk:~# udhcpc -i wlan0
udhcpc: SIOCGIFINDEX: No such device
root@imx6ull14x14evk:~#

希望可以获得一些提示。





作者: 钟宇泉    时间: 2020-2-26 11:14


可能是usbhub有问题,这次我板子重启后插上一个U盘  过一会就开始了,新的断开 连接  的循环

root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~# usb 1-1.3: new high-speed USB device number 17 using ci_hdrc
usb 1-1.3: new high-speed USB device number 18 using ci_hdrc
usb 1-1.3: new high-speed USB device number 19 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1.3:1.0
scsi 0:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk

root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~# usb 1-1.3: USB disconnect, device number 19
usb 1-1.3: new high-speed USB device number 109 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host1: usb-storage 1-1.3:1.0
scsi 1:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 1:0:0:0: Attached scsi generic sg0 type 0
usb 1-1.3: USB disconnect, device number 109
sd 1:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
sd 1:0:0:0: [sda] Sense not available.
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI removable disk
udevd[363]: inotify_add_watch(6, /dev/sda, 10) failed: No such file or directory
udevd[368]: inotify_add_watch(6, /dev/sda, 10) failed: No such file or directory
usb 1-1.3: new high-speed USB device number 110 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host2: usb-storage 1-1.3:1.0
scsi 2:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 2:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] No Caching mode page found
sd 2:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
usb 1-1.3: USB disconnect, device number 110
usb 1-1.3: new high-speed USB device number 111 using ci_hdrc
usb 1-1.3: new high-speed USB device number 112 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host3: usb-storage 1-1.3:1.0
scsi 3:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 3:0:0:0: Attached scsi generic sg0 type 0
usb 1-1.3: USB disconnect, device number 112
sd 3:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
sd 3:0:0:0: [sda] Sense not available.
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] No Caching mode page found
sd 3:0:0:0: [sda] Assuming drive cache: write through
sd 3:0:0:0: [sda] Attached SCSI removable disk
udevd[368]: inotify_add_watch(6, /dev/sda, 10) failed: No such file or directory
udevd[368]: inotify_add_watch(6, /dev/sda, 10) failed: No such file or directory
usb 1-1.3: new high-speed USB device number 113 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host4: usb-storage 1-1.3:1.0
scsi 4:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 4:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 4:0:0:0: [sda] Attached SCSI removable disk
usb 1-1.3: USB disconnect, device number 113
usb 1-1.3: new high-speed USB device number 114 using ci_hdrc
usb 1-1.3: device not accepting address 114, error -71
usb 1-1.3: new high-speed USB device number 121 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host5: usb-storage 1-1.3:1.0
scsi 5:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 5:0:0:0: Attached scsi generic sg0 type 0
sd 5:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 5:0:0:0: [sda] Write Protect is off
sd 5:0:0:0: [sda] No Caching mode page found
sd 5:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 5:0:0:0: [sda] Attached SCSI removable disk
usb 1-1.3: USB disconnect, device number 121
scsi 5:0:0:0: rejecting I/O to offline device
scsi 5:0:0:0: [sda] killing request
scsi 5:0:0:0: rejecting I/O to offline device
scsi 5:0:0:0: [sda] killing request
scsi 5:0:0:0: rejecting I/O to dead device
scsi 5:0:0:0: rejecting I/O to dead device
scsi 5:0:0:0: [sda] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
scsi 5:0:0:0: [sda] CDB: Read(10) 28 00 00 0f ee 00 00 00 f0 00
blk_update_request: I/O error, dev sda, sector 1043968
scsi 5:0:0:0: [sda] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
scsi 5:0:0:0: [sda] CDB: Read(10) 28 00 00 0f ee f0 00 00 08 00
blk_update_request: I/O error, dev sda, sector 1044208
Buffer I/O error on dev sda1, logical block 127936, async page read
udevd[368]: inotify_add_watch(6, /dev/sda1, 10) failed: No such file or directory
usb 1-1.3: new high-speed USB device number 122 using ci_hdrc
usb 1-1.3: new high-speed USB device number 127 using ci_hdrc
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host6: usb-storage 1-1.3:1.0
scsi 6:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg0 type 0
sd 6:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 6:0:0:0: [sda] Write Protect is off
sd 6:0:0:0: [sda] No Caching mode page found
sd 6:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 6:0:0:0: [sda] Attached SCSI removable disk

root@imx6ull14x14evk:~#



作者: 软件01    时间: 2020-2-26 21:23
钟宇泉 发表于 2020-2-26 11:14
可能是usbhub有问题,这次我板子重启后插上一个U盘  过一会就开始了,新的断开 连接  的循环

root@imx6u ...

EK140P的开发板嘛
作者: 钟宇泉    时间: 2020-2-27 10:00
软件01 发表于 2020-2-26 21:23
EK140P的开发板嘛

是自己设计的底板。
作者: 钟宇泉    时间: 2020-2-27 11:06
软件01 发表于 2020-2-26 21:23
EK140P的开发板嘛

核心板是256-256 140p 工业版 IMX6ULL核心板
作者: 软件01    时间: 2020-2-27 12:00
钟宇泉 发表于 2020-2-27 11:06
核心板是256-256 140p 工业版 IMX6ULL核心板

检查一下usb电源是否稳
作者: 钟宇泉    时间: 2020-2-27 13:00
本帖最后由 钟宇泉 于 2020-2-27 13:11 编辑
软件01 发表于 2020-2-27 12:00
检查一下usb电源是否稳

嗯嗯,这边因为疫情在家没有设备。这批板子准备做小批量了。忽然发现这个问题,目前我这边已经下单购买相关设备到家。
请问是否还会有别的情况会导致,这个问题之前我也没遇到。
USB的这块电路原理图是按照官方的原理图来的。

作者: 软件01    时间: 2020-2-28 08:55
钟宇泉 发表于 2020-2-27 13:00
嗯嗯,这边因为疫情在家没有设备。这批板子准备做小批量了。忽然发现这个问题,目前我这边已经下单购买相 ...

hub芯片看看是否有焊接好,还有USB的供电都检测一下
作者: 钟宇泉    时间: 2020-3-8 17:19
软件01 发表于 2020-2-28 08:55
hub芯片看看是否有焊接好,还有USB的供电都检测一下

问题解决了几天前解决了,今天来补充一下,确实是焊接问题




欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/) Powered by Discuz! X3.2