저는 VAIO 노트북에서 Debian Jessie 8.5 64비트를 사용하고 있습니다. 내 시스템에서 이것을 실행 하면 dmesg
다음과 같은 결과가 나타납니다.
[ 1031.025538] usb 1-1.2: new high-speed USB device number 62 using ehci-pci
[ 1031.293612] usb 1-1.2: new high-speed USB device number 63 using ehci-pci
[ 1031.561688] usb 1-1.2: new high-speed USB device number 64 using ehci-pci
[ 1031.829732] usb 1-1.2: new high-speed USB device number 65 using ehci-pci
[ 1032.097848] usb 1-1.2: new high-speed USB device number 66 using ehci-pci
[ 1032.365915] usb 1-1.2: new high-speed USB device number 67 using ehci-pci
[ 1032.633993] usb 1-1.2: new high-speed USB device number 68 using ehci-pci
위의 메시지는 숫자가 127에 도달한 다음 다시 시작되면서 영원히 반복됩니다.
광마우스 외에는 연결된 USB가 없는데 USB를 빼도 메시지가 바뀌거나 멈추지 않습니다.
원인은 무엇입니까? 이런 일이 발생하지 않도록 하려면 어떻게 해야 합니까? 하드웨어 문제라고 생각하는데, 그렇다면 오류 메시지가 표시되어야 합니까?
다음은 lspci
명령의 출력입니다.
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series]
02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
03:00.1 System peripheral: Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller]
03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
04:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] (rev 11)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation 1st Generation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation 1st Generation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation 1st Generation Core Processor Reserved (rev 02)
lsusb
출력 은 다음 과 같습니다 .
Bus 002 Device 003: ID 04b3:310c IBM Corp. Wheel Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0c45:6409 Microdia Webcam
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
업데이트: 분명히 문제를 일으키는 USB 장치는 Microdia 웹캠입니다 0c45:6409
. 위는 lsusb
장치가 인식되었을 때 표시되는 내용이지만 "USB 장치 발견" 루프가 발생하면 웹캠이 없습니다. 한동안 사용하지 않았고 문제도 발견한 적이 없었기 때문에 처음에는 이 점을 눈치채지 못했습니다. 분명히 시스템이 장치를 인식할 때도 있고 그렇지 않을 때도 있습니다. 다시 시작해도 전혀 도움이 되지 않았으며 분명히 완전히 무작위였습니다. 왜 이런 일이 발생하는지 아직 잘 모르겠습니다. 앞으로 이 동작이 다시 발생하는지 아니면 어떻게든 안정화되는지 살펴보겠습니다.
답변1
그냥 덜 강력한 장치의 플러그를 뽑았습니다. 카드리더기 입니다
lsusb
플러그를 뽑기 전과 후:
$ lsusb
Bus 002 Device 012: ID 22d9:2767
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 09da:c10a A4Tech Co., Ltd.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 09da:c10a A4Tech Co., Ltd.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
로그의 홍수가 중지되었습니다.