明远智睿技术论坛

 找回密码
 立即注册
搜索
查看: 9551|回复: 8
打印 上一主题 下一主题

怀疑是硬件问题,一直打印这种提示。

[复制链接]

30

主题

78

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
跳转到指定楼层
楼主
发表于 2020-2-26 11:00:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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:~#

希望可以获得一些提示。




回复

使用道具 举报

30

主题

78

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
沙发
 楼主| 发表于 2020-2-26 11:14:26 | 只看该作者


可能是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:~#


回复 支持 反对

使用道具 举报

36

主题

745

帖子

2872

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2872
板凳
发表于 2020-2-26 21:23:46 | 只看该作者
钟宇泉 发表于 2020-2-26 11:14
可能是usbhub有问题,这次我板子重启后插上一个U盘  过一会就开始了,新的断开 连接  的循环

root@imx6u ...

EK140P的开发板嘛
回复 支持 反对

使用道具 举报

30

主题

78

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
地板
 楼主| 发表于 2020-2-27 10:00:40 | 只看该作者

是自己设计的底板。
回复 支持 反对

使用道具 举报

30

主题

78

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
5#
 楼主| 发表于 2020-2-27 11:06:58 | 只看该作者

核心板是256-256 140p 工业版 IMX6ULL核心板
回复 支持 反对

使用道具 举报

36

主题

745

帖子

2872

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2872
6#
发表于 2020-2-27 12:00:30 | 只看该作者
钟宇泉 发表于 2020-2-27 11:06
核心板是256-256 140p 工业版 IMX6ULL核心板

检查一下usb电源是否稳
回复 支持 反对

使用道具 举报

30

主题

78

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
7#
 楼主| 发表于 2020-2-27 13:00:45 | 只看该作者
本帖最后由 钟宇泉 于 2020-2-27 13:11 编辑
软件01 发表于 2020-2-27 12:00
检查一下usb电源是否稳

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

使用道具 举报

36

主题

745

帖子

2872

积分

管理员

Rank: 9Rank: 9Rank: 9

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

hub芯片看看是否有焊接好,还有USB的供电都检测一下
回复 支持 反对

使用道具 举报

30

主题

78

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
9#
 楼主| 发表于 2020-3-8 17:19:09 | 只看该作者
软件01 发表于 2020-2-28 08:55
hub芯片看看是否有焊接好,还有USB的供电都检测一下

问题解决了几天前解决了,今天来补充一下,确实是焊接问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|明远智睿  

GMT+8, 2024-5-5 16:38 , Processed in 0.059680 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表