PROBLEM: System hangs when USB Camera is turned on.
DESCRIPTION: Display freezes, Caps lock and Scoll lock LEDs flash on the keyboard, cannot ping the system, manual power reset is required. 100% reproducible by connecting supported USB camera (HP 315), turning on the camera, and waiting a few seconds.
KEYWORDS: usb kernel
KERNEL VERSION: Linux version 2.4.20-19.9 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #2 Sun Aug 17 01:14:00 EDT 2003
OUTPUT OF SYSLOG:
Aug 17 15:49:28 morpheus kernel: hub.c: new USB device 00:1f.4-1,
assigned address 3 Aug 17 15:49:28 morpheus kernel: usb.c: USB device 3 (vend/prod
0x3f0/0x6102) is not claimed by any active driver.
Aug 17 15:49:31 morpheus /etc/hotplug/usb.agent: Setup usb-storage
for USB product 3f0/6102/100
Aug 17 15:49:31 morpheus kernel: Initializing USB Mass Storage driver...
Aug 17 15:49:31 morpheus kernel: usb.c: registered new driver
usb-storage
Aug 17 15:49:31 morpheus kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Aug 17 15:49:31 morpheus kernel: Vendor: HP Model: USB
CAMERA Rev: 1.00
Aug 17 15:49:31 morpheus kernel: Type: Direct-Access ANSI SCSI revision: 02
Aug 17 15:49:31 morpheus kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Aug 17 15:49:31 morpheus kernel: SCSI device sda: 15537 512-byte
hdwr sectors (8 MB)
Aug 17 15:49:31 morpheus kernel: sda: Write Protect is off
Aug 17 15:49:31 morpheus kernel: sda: sda1
Aug 17 15:49:31 morpheus kernel: USB Mass Storage support registered.
Aug 17 15:49:56 morpheus ntpd[1217]: kernel time discipline status
change 41
Aug 17 15:50:26 morpheus kernel: usb.c: USB disconnect on device
00:1f.4-1 address 3
***The above line is the last item logged via syslog before the crash
PROCESSOR INFORTMATION: (from /proc/cpuinfo)
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Pentium(R) 4 CPU 1.80GHz stepping : 2 cpu MHz : 1794.567 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 3578.26
MODULE INFORMATION: (from /proc/modules)
sg 36524 0 (autoclean) usb-storage 74528 0 emu10k1 69064 0 (autoclean) ac97_codec 14568 0 (autoclean) [emu10k1] sound 74228 0 (autoclean) [emu10k1] soundcore 6436 7 (autoclean) [emu10k1 sound] sd_mod 13516 0 (autoclean) sr_mod 18168 0 (autoclean) parport_pc 19076 1 (autoclean) lp 9028 0 (autoclean) parport 37056 1 (autoclean) [parport_pc lp] iptable_filter 2444 0 (autoclean) (unused) ip_tables 15096 1 [iptable_filter] autofs 13268 0 (autoclean) (unused) e100 54596 1 ide-scsi 12208 0 scsi_mod 107576 5 [sg usb-storage sd_mod sr_mod ide-scsi] ide-cd 35680 0 cdrom 33760 0 [sr_mod ide-cd] keybdev 2976 0 (unused) mousedev 5556 1 hid 22276 0 (unused) input 5888 0 [keybdev mousedev hid] usb-uhci 26412 0 (unused) usbcore 79072 1 [usb-storage hid usb-uhci] ext3 70784 6 jbd 51924 6 [ext3]
LOADED DRIVER AND HARWARE INFORMATION: (from /proc/ioports, and /proc/iomem)
0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 dcd0-dcdf : Intel Corp. 82801BA/BAM SMBus ec40-ec7f : Intel Corp. 82557/8/9 [Ethernet Pro 100] ec40-ec7f : e100 ec80-ecbf : Ensoniq ES1370 [AudioPCI] ecd8-ecdf : Creative Labs SB Live! MIDI/Game Port ece0-ecff : Creative Labs SB Live! EMU10k1 ece0-ecff : EMU10K1 ff60-ff7f : Intel Corp. 82801BA/BAM USB (Hub #2) ff60-ff7f : usb-uhci ff80-ff9f : Intel Corp. 82801BA/BAM USB (Hub #1) ff80-ff9f : usb-uhci ffa0-ffaf : Intel Corp. 82801BA IDE U100 ffa0-ffa7 : ide0 ffa8-ffaf : ide1
00000000-0009ffff : System RAM 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000cb800-000ccfff : Extension ROM 000cd000-000cffff : Extension ROM 000f0000-000fffff : System ROM 00100000-1ff76fff : System RAM 00100000-002538bb : Kernel code 002538bc-0034ebc3 : Kernel data 1ff77000-1ff78fff : ACPI Non-volatile Storage 1ff79000-1fffffff : reserved e0000000-efffffff : Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) f0000000-f7ffffff : PCI Bus #01 f3f80000-f3ffffff : nVidia Corporation NV20 [GeForce3] f4000000-f7ffffff : nVidia Corporation NV20 [GeForce3] fc000000-fdffffff : PCI Bus #01 fc000000-fcffffff : nVidia Corporation NV20 [GeForce3] fe100000-fe1fffff : Intel Corp. 82557/8/9 [Ethernet Pro 100] fe100000-fe1fffff : e100 fe2ff000-fe2fffff : Intel Corp. 82557/8/9 [Ethernet Pro 100] fe2ff000-fe2fffff : e100 fec00000-fec0ffff : reserved fee00000-fee0ffff : reserved ffb00000-ffffffff : reserved
PCI INFORMATION: (lspci -vv)
00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04) Subsystem: Dell Computer Corporation: Unknown device 010c Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M] Capabilities: [a0] AGP version 2.0 Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2,x4 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 Memory behind bridge: fc000000-fdffffff Prefetchable memory behind bridge: f0000000-f7ffffff BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=64 I/O behind bridge: 0000e000-0000efff Memory behind bridge: fe100000-fe3fffff BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04) (prog-if 80 [Master]) Subsystem: Dell Computer Corporation: Unknown device 010c Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Region 4: I/O ports at ffa0 [size=16]
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04) (prog-if 00 [UHCI]) Subsystem: Dell Computer Corporation: Unknown device 010c Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin D routed to IRQ 11 Region 4: I/O ports at ff80 [size=32]
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 04) Subsystem: Dell Computer Corporation: Unknown device 010c Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin B routed to IRQ 10 Region 4: I/O ports at dcd0 [size=16]
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04) (prog-if 00 [UHCI]) Subsystem: Dell Computer Corporation: Unknown device 010c Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin C routed to IRQ 9 Region 4: I/O ports at ff60 [size=32]
01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3] (rev a3) (prog-if 00 [VGA]) Subsystem: nVidia Corporation: Unknown device 0087 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (1250ns min, 250ns max) Interrupt: pin A routed to IRQ 3 Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at f4000000 (32-bit, prefetchable) [size=64M] Region 2: Memory at f3f80000 (32-bit, prefetchable) [size=512K] Expansion ROM at 80000000 [disabled] [size=64K] Capabilities: [60] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [44] AGP version 2.0 Status: RQ=31 SBA- 64bit- FW- Rate=x1,x2,x4 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
02:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07) Subsystem: Creative Labs CT4780 SBLive! Value Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (500ns min, 5000ns max) Interrupt: pin A routed to IRQ 3 Region 0: I/O ports at ece0 [size=32] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME-
02:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07) Subsystem: Creative Labs Gameport Joystick Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 Region 0: I/O ports at ecd8 [size=8] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME-
02:08.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] Subsystem: Unknown device 4942:4c4c Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (3000ns min, 32000ns max) Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at ec80 [size=64]
02:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (2000ns min, 14000ns max), cache line size 10 Interrupt: pin A routed to IRQ 11 Region 0: Memory at fe2ff000 (32-bit, non-prefetchable) [size=4K] Region 1: I/O ports at ec40 [size=64] Region 2: Memory at fe100000 (32-bit, non-prefetchable) [size=1M] Expansion ROM at fe300000 [disabled] [size=1M] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME-
SCSI INFORMATION: (from /proc/scsi/scsi)
Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: _NEC Model: NR-7800A Rev: 1.0B Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: USB CAMERA Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02
OTHER RELEVANT INFORMATION:
(from /proc/bus/usb/devices)
Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: _NEC Model: NR-7800A Rev: 1.0B Type: CD-ROM ANSI SCSI revision: 02 T: Bus=02 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.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff60 C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 8 Ivl=255ms T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=03f0 ProdID=6102 Rev= 1.00 S: Manufacturer=HP S: Product=USB DIGITAL CAMERA C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0c12 ProdID=0005 Rev= 0.01 S: Manufacturer=Zeroplus S: Product=PS Vibration Feedback Converter C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=16ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc=236/900 us (26%), #Int= 2, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff80 C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=046d ProdID=c504 Rev=13.10 S: Manufacturer=Logitech S: Product=USB Receiver C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 50mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
(snipped from dmesg)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 00:57:43 Aug 17 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xff80, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:1f.4
PCI: Setting latency timer of device 00:1f.4 to 64
usb-uhci.c: USB UHCI at I/O 0xff60, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:1f.2-1, assigned address 2
input0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb1:2.0
input1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb1:2.1
hub.c: new USB device 00:1f.4-2, assigned address 2
input2: USB HID v1.10 Joystick [Zeroplus PS Vibration Feedback Converter ] on usb2:2.0
usb-uhci.c: ENXIO 84000280, flags 0, urb c2209480, burb c2209580
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 9 ret -6
usb-uhci.c: ENXIO 84000280, flags 0, urb c2209480, burb c2209580
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
usb-uhci.c: ENXIO 84000280, flags 0, urb c2209480, burb c2209580
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel