[1] Kernel oops generated when I try to access my USB camera

[2] If I try to access my digital camera, using gphoto2, an "oops" is generated. Here's what I did:

[EMAIL PROTECTED] usb-debug]# lspci | grep -i usb
00:14.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)

[EMAIL PROTECTED] usb-debug]# lsusb
Bus 001 Device 001: ID 0000:0000

# now I turn the cam on

[EMAIL PROTECTED] usb-debug]# lsusb
Bus 001 Device 002: ID 0919:0100 Tiger Electronics Fast Flicks Digital Camera
Bus 001 Device 001: ID 0000:0000


# dmesg give me this:
hub 1-0:1.0: port 2, status 101, change 1, 12 Mb/s
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc
hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 1-0:1.0: new USB device on port 2, assigned address 2
usb 1-2: new device strings: Mfr=0, Product=0, SerialNumber=0
drivers/usb/core/usb.c: usb_hotplug
usb 1-2: config 0 descriptor??

# Now try to access the camera.
[EMAIL PROTECTED] usb-debug]# gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
Argus DC-2200                  usb:

# This gives me the following in dmesg, and an oops (attached)
hub 1-0:1.0: port 2, status 100, change 3, 12 Mb/s
usb 1-2: USB disconnect, address 2
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
printing eip:
c016fc95
*pde = 36b3e067
*pte = 00000000

# The USB system then goes into a permenant suspend/wakeup loop:
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
drivers/usb/host/uhci-hcd.c: 6420: wakeup_hc


Note 1: Things work fine with a 2.4.22 kernel, so gphoto2, the hotplugging scripts and the hardware are not to blame
Note 2: This oops is repeatable
Note 3: This camera chipset is used by a number of cams, including Tiger FastFlicks, Argus DC-2200, Oregon Scientific DShot II and FujiFilm @xia ix-100


[3] usb

[4] Linux version 2.6.0-test8 ([EMAIL PROTECTED]) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)) #1 SMP Tue Oct 21 11:43:27 BST 2003

[5] oops and ksymoops output attached. I've not done this before, so let me know if and how I have cocked this up, and I can try again

System information follows. Essentially it's an up-to-date Gentoo system on dual CPU Intel hardware

[7.1] [EMAIL PROTECTED] linux]# sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux portnoy.phuq.co.uk 2.6.0-test8 #1 SMP Tue Oct 21 11:43:27 BST 2003 i686 Pentium III (Katmai) GenuineIntel GNU/Linux

Gnu C 3.2.3
Gnu make 3.80
util-linux 2.11z
mount 2.11z
module-init-tools 0.9.12
e2fsprogs 1.33
nfs-utils 1.0.3
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 3.1.9
Net-tools 1.60
Kbd 1.06
Sh-utils 5.0
Modules Loaded snd_mixer_oss uhci_hcd snd_es18xx snd_pcm snd_page_alloc snd_opl3_lib snd_timer snd_hwdep snd_mpu401_uart snd_rawmidi snd usbcore ufs


[7.2] [EMAIL PROTECTED] linux]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 596.964
cache size : 512 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 mmx fxsr sse
bogomips : 1179.64


processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 596.964
cache size : 512 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 mmx fxsr sse
bogomips : 1187.84


[7.3] [EMAIL PROTECTED] linux]# cat //proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0213-0213 : ISAPnP
0220-022f : ES18xx
02f8-02ff : serial
0376-0376 : ide1
0388-0389 : OPL2/3 (left)
038a-038b : OPL2/3 (right)
03c0-03df : vga+
03f8-03ff : serial
0800-0807 : ES18xx - CTRL
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
5000-5fff : PCI Bus #01
 5000-50ff : 0000:01:00.0
6000-60ff : 0000:00:0b.0
 6000-60ff : sym53c8xx
6400-641f : 0000:00:0c.0
 6400-641f : e100
6420-643f : 0000:00:14.2
 6420-643f : uhci_hcd
6440-644f : 0000:00:14.1
 6440-6447 : ide0
 6448-644f : ide1
f800-f83f : 0000:00:14.3
fc00-fc1f : 0000:00:14.3


[EMAIL PROTECTED] linux]# cat //proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c8000-000cbfff : Extension ROM 000f0000-000fffff : System ROM 00100000-3fffffff : System RAM 00100000-0035b560 : Kernel code 0035b561-004452ff : Kernel data 50000000-500fffff : PCI Bus #01 50000000-50003fff : 0000:01:00.0 54000000-57ffffff : PCI Bus #01 54000000-57ffffff : 0000:01:00.0 58000000-580fffff : 0000:00:0c.0 58000000-580fffff : e100 58100000-58100fff : 0000:00:0b.0 58100000-58100fff : sym53c8xx 58200000-582000ff : 0000:00:0b.0 58200000-582000ff : sym53c8xx 58300000-58300fff : 0000:00:0c.0 58300000-58300fff : e100 58400000-58400fff : 0000:00:0e.0 58500000-58500fff : 0000:00:0e.1 5c000000-5fffffff : 0000:00:00.0 fec00000-fecfffff : reserved fee00000-feefffff : reserved fff80000-ffffffff : reserved

[7.4] [EMAIL PROTECTED] linux]# lspci -vvv
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
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: Memory at 5c000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA+ AGP+ 64bit- FW- Rate=x1


00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
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
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 50000000-500fffff
Prefetchable memory behind bridge: 54000000-57ffffff
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+


00:0b.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 04)
Subsystem: LSI Logic / Symbios Logic: Unknown device 1000
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 (4250ns min, 16000ns max), cache line size 08
Interrupt: pin A routed to IRQ 21
Region 0: I/O ports at 6000 [size=256]
Region 1: Memory at 58200000 (32-bit, non-prefetchable) [size=256]
Region 2: Memory at 58100000 (32-bit, non-prefetchable) [size=4K]


00:0c.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05)
Subsystem: Compaq Computer Corporation NC3161 Fast Ethernet NIC (embedded, WOL)
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: 66 (2000ns min, 14000ns max), cache line size 08
Interrupt: pin A routed to IRQ 20
Region 0: Memory at 58300000 (32-bit, prefetchable) [size=4K]
Region 1: I/O ports at 6400 [size=32]
Region 2: Memory at 58000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled] [size=1M]
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-


00:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
Subsystem: Hauppauge computer works Inc. WinTV Series
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: 66 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 19
Region 0: Memory at 58400000 (32-bit, prefetchable) [size=4K]


00:0e.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
Subsystem: Hauppauge computer works Inc. WinTV Series
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: 66 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 19
Region 0: Memory at 58500000 (32-bit, prefetchable) [size=4K]


00:14.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
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:14.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
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 4: I/O ports at 6440 [size=16]


00:14.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
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
Interrupt: pin D routed to IRQ 19
Region 4: I/O ports at 6420 [size=32]


00:14.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
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 ? routed to IRQ 9


01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 SM/4x AGP 4x (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Xpert 99/Xpert 2000
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: 66 (2000ns min), cache line size 08
Interrupt: pin A routed to IRQ 22
Region 0: Memory at 54000000 (32-bit, prefetchable) [size=64M]
Region 1: I/O ports at 5000 [size=256]
Region 2: Memory at 50000000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2,x4
Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x1
Capabilities: [5c] 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-







------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to