2003-11-19 17:42:56

by Tomasz Torcz

[permalink] [raw]
Subject: USB Ooops triggered by lsusb in 2.6.0-test9


After connecting Creative Optical Mouse:

hub 1-0:1.0: new USB device on port 2, assigned address 2
usb 1-2: config 0 descriptor??

Then I've run 'lsusb' (lsusb (usbutils) 0.11), it showed some
output. But kernel oopsed silently. I found in dmesg:

usbfs: process 1366 (lsusb) did not claim interface 0 before use
Unable to handle kernel NULL pointer dereference at virtual address 000000c4
printing eip:
d0a7726d
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<d0a7726d>] Not tainted
EFLAGS: 00010246
EIP is at usb_ifnum_to_if+0xd/0x40 [usbcore]
eax: ffffff34 ebx: c78930c0 ecx: 00000000 edx: 00000000
esi: 00000000 edi: 00000000 ebp: 00000000 esp: c2317ee8
ds: 007b es: 007b ss: 0068
Process lsusb (pid: 1366, threadinfo=c2316000 task=c89119a0)
Stack: c78930c0 00000000 00000000 d0a7d9b1 ffffff34 00000000 0000010b cb2e2d20
cb2e2d40 0001c8f4 efec7698 0000010b c2316000 caf1c000 c78930c0 cc53e200
00000000 cc549e40 d0a77490 ffffff34 00000000 00000000 cc53e224 d0a80b32
Call Trace:
[<d0a7d9b1>] usb_set_interface+0x21/0x180 [usbcore]
[<d0a77490>] usb_driver_release_interface+0x40/0x60 [usbcore]
[<d0a80b32>] releaseintf+0x82/0x90 [usbcore]
[<d0a80f6e>] usbdev_release+0xce/0xe0 [usbcore]
[<c01552ba>] __fput+0x10a/0x120
[<c01538c9>] filp_close+0x59/0x90
[<c0153961>] sys_close+0x61/0xa0
[<c010938b>] syscall_call+0x7/0xb

Code: 8b b0 90 01 00 00 0f b6 46 04 39 c1 7d 18 89 c3 8d 76 00 8b


My hardware is some via board:
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 44)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 1b)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 0e)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 0e)

Usb-related modules loaded:
Module Size Used by
uhci_hcd 29904 0
usbcore 97788 3 uhci_hcd

My .config attached.
--
Tomasz Torcz "Never underestimate the bandwidth of a station
[email protected] wagon filled with backup tapes." -- Jim Gray


Attachments:
(No filename) (2.21 kB)
.config (27.29 kB)
Download all attachments