over-current condition放着不管会出什么事?

CPU/显卡/打印机/USB设备等硬件问题
回复
flac
帖子: 408
注册时间: 2009-05-29 15:21

over-current condition放着不管会出什么事?

#1

帖子 flac » 2017-04-01 21:48

这两天开机的时候总会显示:
[ 1.384046] usb usb1-port1: over-current condition
[ 1.592045] usb usb1-port4: over-current condition
[ 1.800048] usb usb1-port6: over-current condition
[ 2.008096] usb usb1-port8: over-current condition
[ 2.216037] usb usb2-port1: over-current condition
[ 2.424048] usb usb3-port2: over-current condition
[ 2.632069] usb usb4-port2: over-current condition
[ 2.840029] usb usb5-port2: over-current condition

请问这是怎么回事?是软件问题还是硬件问题?
系统是debian8。

这两天apt-get upgrade更新过系统。
井且因为新版firefox用不了alsa,所以装了「pulseaudio」这个软件包。
有关系吗? :em01
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: over-current condition放着不管会出什么事?

#2

帖子 poloshiao » 2017-04-02 9:21

[ 1.384046] usb usb1-port1: over-current condition
... 中間略
[ 2.840029] usb usb5-port2: over-current condition
1. 也許是這個原因
https://bbs.archlinux.org/viewtopic.php ... 5#p1447795
It really means that your device is drawing more current from the port than it negotiated for.

2. 使用下述圖形程式 usbview 詳細查看 你的 USB 裝置情況
2-1. 按一下 alt + F2
輸入 gksudo usbview
2-1-1. 第一次使用 gksudo 需要先安裝 gksu 套件

3. 若需要進一步討論 請提供更詳細的訊息
3-0. 安裝 pastebinit
sudo apt-get install pastebinit
3-1. sudo journalctl --no-pager | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
http://paste.ubuntu.com/xxxxxxx 貼上來

3-2. 把下面指令 複製 貼進終端機 執行 把結果直接 選取/複製 貼上來
3-2-1. uname -a
3-2-2. sudo lspci -knn
3-2-3. sudo lshw -short | grep USB
3-2-4. sudo lshw -numeric -businfo | grep USB
3-2-5. sudo lsusb -t
3-2-6. lsmod
3-2-7. sudo cat /sys/kernel/debug/usb/devices
flac
帖子: 408
注册时间: 2009-05-29 15:21

Re: over-current condition放着不管会出什么事?

#3

帖子 flac » 2017-04-02 15:01

2. 使用下述圖形程式 usbview 詳細查看 你的 USB 裝置情況
2-1. 按一下 alt + F2
輸入 gksudo usbview
2-1-1. 第一次使用 gksudo 需要先安裝 gksu 套件
UHCI Host Controller
Manufacturer: Linux 3.16.0-4-686-pae uhci_hcd
Serial Number: 0000:00:1d.3
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 0 / 900 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 1.10
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1d6b
Product Id: 0001
Revision Number: 3.16

Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 0mA

Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 00
Protocol: 00
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 2
Interval: 255ms


UHCI Host Controller
Manufacturer: Linux 3.16.0-4-686-pae uhci_hcd
Serial Number: 0000:00:1d.2
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 0 / 900 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 1.10
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1d6b
Product Id: 0001
Revision Number: 3.16

Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 0mA

Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 00
Protocol: 00
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 2
Interval: 255ms


UHCI Host Controller
Manufacturer: Linux 3.16.0-4-686-pae uhci_hcd
Serial Number: 0000:00:1d.1
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 0 / 900 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 1.10
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1d6b
Product Id: 0001
Revision Number: 3.16

Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 0mA

Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 00
Protocol: 00
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 2
Interval: 255ms


EHCI Host Controller
Manufacturer: Linux 3.16.0-4-686-pae ehci_hcd
Serial Number: 0000:00:1d.7
Speed: 480Mb/s (high)
Number of Ports: 8
Bandwidth allocated: 0 / 800 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 2.00
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1d6b
Product Id: 0002
Revision Number: 3.16

Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 0mA

Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 00
Protocol: 00
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 4
Interval: 256ms


UHCI Host Controller
Manufacturer: Linux 3.16.0-4-686-pae uhci_hcd
Serial Number: 0000:00:1d.0
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 0 / 900 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 1.10
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1d6b
Product Id: 0001
Revision Number: 3.16

Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 0mA

Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 00
Protocol: 00
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 2
Interval: 255ms

3. 若需要進一步討論 請提供更詳細的訊息
3-0. 安裝 pastebinit
sudo apt-get install pastebinit
3-1. sudo journalctl --no-pager | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
http://paste.ubuntu.com/xxxxxxx 貼上來
http://paste.debian.net/925571/
3-2. 把下面指令 複製 貼進終端機 執行 把結果直接 選取/複製 貼上來
3-2-1. uname -a
Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) i686 GNU/Linux
3-2-2. sudo lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 10)
Subsystem: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0]
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 10)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: i915
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 2 [8086:27d2] (rev 01)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: uhci_hcd
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: lpc_ich
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: ata_piix
00:1f.2 IDE interface [0101]: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] [8086:27c0] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: i801_smbus
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: r8169

3-2-3. sudo lshw -short | grep USB
/0/100/1d bus NM10/ICH7 Family USB UHCI Controller #1
/0/100/1d.1 bus NM10/ICH7 Family USB UHCI Controller #2
/0/100/1d.2 bus NM10/ICH7 Family USB UHCI Controller #3
/0/100/1d.3 bus NM10/ICH7 Family USB UHCI Controller #4
/0/100/1d.7 bus NM10/ICH7 Family USB2 EHCI Controller

3-2-4. sudo lshw -numeric -businfo | grep USB
pci@0000:00:1d.0 bus NM10/ICH7 Family USB UHCI Controller #1 [8086:27C8]
pci@0000:00:1d.1 bus NM10/ICH7 Family USB UHCI Controller #2 [8086:27C9]
pci@0000:00:1d.2 bus NM10/ICH7 Family USB UHCI Controller #3 [8086:27CA]
pci@0000:00:1d.3 bus NM10/ICH7 Family USB UHCI Controller #4 [8086:27CB]
pci@0000:00:1d.7 bus NM10/ICH7 Family USB2 EHCI Controller [8086:27CC]

3-2-5. sudo lsusb -t
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M

3-2-6. lsmod
Module Size Used by
cpufreq_powersave 12422 0
cpufreq_stats 12694 0
cpufreq_userspace 12477 0
cpufreq_conservative 13872 0
i915 766751 2
iTCO_wdt 12727 0
iTCO_vendor_support 12585 1 iTCO_wdt
snd_hda_codec_realtek 62056 1
snd_hda_codec_generic 58021 1 snd_hda_codec_realtek
snd_hda_intel 26023 0
ppdev 16686 0
video 17763 1 i915
drm_kms_helper 44450 1 i915
drm 207686 4 i915,drm_kms_helper
evdev 17136 14
snd_hda_controller 26262 1 snd_hda_intel
snd_hda_codec 93797 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
serio_raw 12737 0
lpc_ich 16616 0
mfd_core 12537 1 lpc_ich
pcspkr 12531 0
i2c_i801 16845 0
i2c_algo_bit 12647 1 i915
snd_hwdep 12906 1 snd_hda_codec
snd_pcm 78128 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 26149 1 snd_pcm
snd 55101 7 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
rng_core 12645 0
shpchp 30673 0
i2c_core 36838 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
soundcore 12890 2 snd,snd_hda_codec
parport_pc 26004 0
parport 35213 2 ppdev,parport_pc
tpm_infineon 16748 0
tpm_tis 17063 0
tpm 26879 2 tpm_tis,tpm_infineon
button 12824 1 i915
processor 27590 0
p4_clockmod 12502 0
speedstep_lib 12463 1 p4_clockmod
fuse 81592 1
autofs4 34865 2
ext4 442557 1
crc16 12327 1 ext4
mbcache 17027 1 ext4
jbd2 72964 1 ext4
sg 25573 0
sd_mod 43684 3
crc_t10dif 12399 1 sd_mod
crct10dif_generic 12517 1
crct10dif_common 12340 2 crct10dif_generic,crc_t10dif
sr_mod 21568 0
cdrom 46828 1 sr_mod
ata_generic 12450 0
ata_piix 29371 2
psmouse 93505 0
ehci_pci 12464 0
uhci_hcd 38948 0
ehci_hcd 64933 1 ehci_pci
libata 161908 2 ata_generic,ata_piix
scsi_mod 164132 4 sg,libata,sd_mod,sr_mod
usbcore 171098 3 uhci_hcd,ehci_hcd,ehci_pci
usb_common 12408 1 usbcore
r8169 58875 0
mii 12595 1 r8169
fan 12601 0
thermal 17343 0
thermal_sys 27122 4 fan,video,thermal,processor
floppy 56098 0

3-2-7. sudo cat /sys/kernel/debug/usb/devices
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 3.16
S: Manufacturer=Linux 3.16.0-4-686-pae uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 3.16
S: Manufacturer=Linux 3.16.0-4-686-pae uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 3.16
S: Manufacturer=Linux 3.16.0-4-686-pae uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.16
S: Manufacturer=Linux 3.16.0-4-686-pae ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 3.16
S: Manufacturer=Linux 3.16.0-4-686-pae uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: over-current condition放着不管会出什么事?

#4

帖子 poloshiao » 2017-04-03 9:22

http://paste.debian.net/925571/
sudo journalctl --no-pager | pastebinit
Apr 02 14:11:50 debian systemd[1]: Startup finished in 2.522s (kernel) + 33.305s (userspace) = 35.828s.
Apr 02 14:11:59 debian kernel: usb usb3-port2: over-current condition
Apr 02 14:12:01 debian kernel: usb usb2-port6: over-current condition
Apr 02 14:12:08 debian kernel: usb usb2-port4: over-current condition
Apr 02 14:12:08 debian kernel: usb usb2-port6: over-current condition
Apr 02 14:12:10 debian kernel: usb usb4-port2: over-current condition
Apr 02 14:12:10 debian kernel: usb usb2-port1: over-current condition
Apr 02 14:12:10 debian kernel: usb usb2-port4: over-current condition
Apr 02 14:12:10 debian kernel: usb usb2-port6: over-current condition
...中間省略
Apr 02 14:13:05 debian kernel: usb usb4-port2: over-current condition
Apr 02 14:13:05 debian kernel: usb usb3-port2: over-current condition
Apr 02 14:17:01 debian CRON[839]: pam_unix(cron:session): session opened for user root by (uid=0
0. 發生在開機初始化程序完成開始載入圖形界面時 使用者 root
0-1. 幾乎所有的 USB 界面 及 Port 都會發生
<待續>
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: over-current condition放着不管会出什么事?

#5

帖子 科学之子 » 2017-04-03 9:55

flac 写了:新版firefox用不了alsa
用不了指的是什么意思?
我看到楼主的帖子,特意debian8试过更新了一下firefox并且重启了机器;
我用的就是alsa,可以正常播放声音
或者您说的alsa是什么?

另外直觉告诉我upgrade升级的包多所以出现故障的概率也多
应该仅升级自己需要升级的包(当然前提是不关心安全更新之类)
如果新的Debian Stable发布了,感觉更好方法是用debootstrap安装新系统到一个目录去然后修改initramfs从目录启动
参见:
man initramfs-tools
flac
帖子: 408
注册时间: 2009-05-29 15:21

Re: over-current condition放着不管会出什么事?

#6

帖子 flac » 2017-04-03 10:43

科学之子 写了:
flac 写了:新版firefox用不了alsa
用不了指的是什么意思?
我看到楼主的帖子,特意debian8试过更新了一下firefox并且重启了机器;
我用的就是alsa,可以正常播放声音
或者您说的alsa是什么?

另外直觉告诉我upgrade升级的包多所以出现故障的概率也多
应该仅升级自己需要升级的包(当然前提是不关心安全更新之类)
如果新的Debian Stable发布了,感觉更好方法是用debootstrap安装新系统到一个目录去然后修改initramfs从目录启动
参见:
man initramfs-tools
我用的是firefox官方编译的版本,最新版52在播放网页上的声音文件时,会提示需要安装pulseaudio才能播放。
然后我搜了一下,网上说最新版的firefox已不再支持alsa。 :em06
flac
帖子: 408
注册时间: 2009-05-29 15:21

Re: over-current condition放着不管会出什么事?

#7

帖子 flac » 2017-04-03 13:18

我的debian装了 基本系统 + X + dwm窗口管理器
系统啟动后,在tty下,准备输入用户名和密码登录的时候,会不断地显示:
[ 14.484019] usb usb3-port2: over-current condition
[ 14.692019] usb usb2-port1: over-current condition
[ 14.900021] usb usb5-port2: over-current condition
...
这些信息。

系统运行大概1小时左右,输入dmesg,里面多了这一条信息:
[ 2707.166136] perf interrupt took too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
再过1小时左右,输入dmesg,又多了以下信息:
[ 5800.184054] usb usb1-port8: over-current condition
[ 5800.392058] usb usb1-port1: over-current condition
[ 5800.600019] usb usb1-port4: over-current condition
[ 5800.808018] usb usb1-port6: over-current condition
[ 5801.016031] usb usb1-port8: over-current condition
[ 5801.224029] usb usb2-port1: over-current condition
[ 5801.432025] usb usb4-port2: over-current condition
[ 5801.640041] usb usb5-port2: over-current condition
[ 5801.848020] usb usb3-port2: over-current condition

昨晚看到硬盘灯时不时会闪,于是输入dmesg,结果里面不断地在输出:
[ 5800.184054] usb usb1-port8: over-current condition
[ 5800.392058] usb usb1-port1: over-current condition
[ 5800.600019] usb usb1-port4: over-current condition
...
过了很长一段时间才停止。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: over-current condition放着不管会出什么事?

#8

帖子 poloshiao » 2017-04-03 20:39

uname -a
Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) i686 GNU/Linux
输入dmesg,里面多了这一条信息:
[ 2707.166136] perf interrupt took too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
1. 參閱
https://bbs.archlinux.org/viewtopic.php?id=187636
dmesg: perf interrupt took too long...

2. 追蹤這個 Bug Report 看看 : (目前沒看到問題已經解決)
https://lists.debian.org/debian-kernel/ ... 00210.html
[ 826.031726] perf interrupt took too long (2534 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 1212.389822] perf interrupt took too long (5007 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: over-current condition放着不管会出什么事?

#9

帖子 poloshiao » 2017-04-04 8:51

uname -a
Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) i686 GNU/Linux
http://paste.debian.net/925571/
sudo journalctl --no-pager | pastebinit
Apr 02 14:11:50 debian systemd[1]: Startup finished in 2.522s (kernel) + 33.305s (userspace) = 35.828s.
Apr 02 14:11:59 debian kernel: usb usb3-port2: over-current condition
...中間省略
Apr 02 14:13:05 debian kernel: usb usb3-port2: over-current condition
Apr 02 14:17:01 debian CRON[839]: pam_unix(cron:session): session opened for user root by (uid=0
1. https://bugs.debian.org/cgi-bin/bugrepo ... bug=801324
Oct 4 12:13:14 edwards kernel: [ 1.876043] usb usb4-port7: over-current condition
Oct 7 07:26:52 edwards kernel: [ 1.856044] usb usb2-port7: over-current condition
Oct 8 17:59:40 edwards kernel: [ 1.876041] usb usb2-port7: over-current condition
Oct 8 18:16:07 edwards kernel: [ 1.872039] usb usb1-port7: over-current condition
sudo lspci -knn
00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 10)
Subsystem: Foxconn International, Inc. Device [105b:0ded]
Kernel driver in use: i915
2. https://bugs.debian.org/cgi-bin/bugrepo ... bug=801324
[ 24.124774] [drm] Initialized i915 1.6.0 20150522 for 0000:00:02.0 on minor 0
[ 24.326326] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 24.326330] i915 0000:00:02.0: registered panic notifier
系统啟动后,在tty下,准备输入用户名和密码登录的时候,会不断地显示:
3. 建議
3-1. 在 tty1 新建一個能夠使用 sudo 的新帳號 例如 mynewusername (你自己命新名稱取代)
3-1-1. sudo useradd -d /home/mynewusername -s /bin/bash -m mynewusername
3-1-2. sudo passwd mynewusername
3-1-3. sudo usermod -a -G sudo mynewusername
3-1-4. 重開機 再以 mynewusername 登入 tty1 或 tty7 (圖形界面) 看看有沒有改善

4. 如果還有相同問題 請再貼文
flac
帖子: 408
注册时间: 2009-05-29 15:21

Re: over-current condition放着不管会出什么事?

#10

帖子 flac » 2017-04-05 0:03

十分感谢帮助!!!

我打算在另一个分区安装archlinux,看会不会有相同的问题

archlinux不支持i686,放弃。
在另一个分区再装debian,问题依旧。

目前U盘也可以正常使用。用久U盘会不会坏掉啊? :em20

而且我的电脑只要插上U盘,开机啟动时,在BIOS的画面会死机。
问题是我的电脑机箱上的「重啟」按纽失效,每次死机都要关闭电源,再重新打开才能解决。折腾不起啊 :em06
回复