Skip to contentSkip to conversation

Oops in 2.6.1-rc1-mm2

DISCUSSION andreamrl 2 participants 2 messages Jan 8, 2004

lore
Share & tools
lore

andreamrl

author
#0 lore raw

When i stop to messing around with a sane backend and i disconnect the power cord of my USB scanner, system generates a kernel oops (kernel 2.6.1-rc1-mm2).
I attach the oops log hoping be useful.

Merello Andrea
[email protected]

usb 3-2: USB disconnect, address 3

Unable to handle kernel NULL pointer dereference at virtual address 0000001e
 printing eip:
f18a624c
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
CPU:    0
EIP:    0060:[<f18a624c>]    Tainted: PF  VLI
EFLAGS: 00010292

EIP is at disconnect_scanner+0x2c/0x6d [scanner]
eax: e8367780 ebx: e8367794 ecx: f18a6220 edx: 00000005
esi: 00000000 edi: ee7f9440 ebp: f18a9dbc esp: efd41e44
ds: 007b es: 007b ss: 0068
Process khubd (pid: 5, threadinfo=efd40000 task=eff8e040)

Stack: e8367780 f18a9e38 e8367780 f18a9ea0 c02b8a0b e8367780 e8367780 e8367794
       e8367794 f18a9ec0 c0240e94 e8367794 e83677c0 ee7f947c ee7f9468 f18a5ba7
       e8367794 e8367780 ee7f947c f18a9dcc 00000000 00000000 c020afe8 ee7f947c
Call Trace:
 [<c02b8a0b>] usb_unbind_interface+0x7b/0x80
 [<c0240e94>] device_release_driver+0x64/0x70
 [<f18a5ba7>] destroy_scanner+0x77/0xd0 [scanner]
 [<c020afe8>] kobject_cleanup+0x98/0xa0
 [<c02b8a0b>] usb_unbind_interface+0x7b/0x80
 [<c0240e94>] device_release_driver+0x64/0x70
 [<c0241008>] bus_remove_device+0x78/0xc0
 [<c023fe9c>] device_del+0x6c/0xa0
 [<c02bef3f>] usb_disable_device+0x6f/0xb0
 [<c02b92ab>] usb_disconnect+0xbb/0x110
 [<c02bba6f>] hub_port_connect_change+0x32f/0x340
 [<c02bb353>] hub_port_status+0x43/0xb0
 [<c02bbdb8>] hub_events+0x338/0x3a0
 [<c02bbe4d>] hub_thread+0x2d/0xf0
 [<c0357a86>] ret_from_fork+0x6/0x14
 [<c011dba0>] default_wake_function+0x0/0x20
 [<c02bbe20>] hub_thread+0x0/0xf0
 [<c0109009>] kernel_thread_helper+0x5/0xc

Code: ec 10 8b 44 24 14 89 5c 24 08 89 74 24 0c 8d 58 14 8b 73 78 c7 44 24 04 38 9e 8a f1 89 04 24 e8 ab a4 a1 ce c7 43 78 00 00 00 00 <80> 7e 1e 00 75 2e 85 f6 74 17 8d 46 3c 8b 5c 24 08 8b 74 24 0c
#1 lore raw
Quoted 4 lines · andreamrl

When i stop to messing around with a sane backend and i disconnect the power cord of my USB scanner, system generates a kernel oops (kernel 2.6.1-rc1-mm2).
I attach the oops log hoping be useful.

There seems to be a bug in the scanner driver, a number of people have reported this :(

This driver isn't needed at all, just use xsane which uses libusb/usbfs to talk to the scanner. That way no more oopses :)

Also, try sending this to the scanner driver maintainer, he's usually quite responsive about these kinds of issues.

thanks,

greg k-h