USB doesn't really work on my ThinkPad X40. It either panics or oopses
if I unplug a device or suspend/resume using APM.

I'm running standard kernel 2.6.5-rc3-mm4, but this has never
worked on any kernel back to 2.6.3. USB works more or less OK with
2.4.25, but I cannot run 2.4 thanks to suspend/resume issues.

If I have no devices plugged in, (including the internal USB
bluetooth module), everything works fine.

Applying the recent uhci-urb patch had no effect (on 2.6.5-rc3-mm3).


Please let me know what other tests I should run, or information
you need.



Here is a panic backtrace, from suspending/resuming with the bluetooth
module active:

(Even though it is tainted here, thanks to my wlan drivers, I get
 an identical call trace with an untainted kernel.)


Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c02113ad
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
CPU:    0
EIP:    0060:[<c02113ad>]     Tainted: PF  VLI
EFLAGS: 00010002    (2.6.5-rc3-mm4)
EIP is at urb_unlink+0x2d/0x80
eax: df2a93dc   ebx: 00000000   ecx: 00000000   edx: c0391000
esi: 00000246   edi: df2a93d4   ebp: c0363f40   esp: c0391f70
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c0391000 task=c02f4a80)
Stack: df2a93d4 c0363f40 de8c7800 c0211d05 c0391000 df2a93d4 e09477a9 deb1e500
       de8c7800 de8c79f4 c0363f40 e094780b de8c79d4 de8c7800 de8c79d4 c0363f40
       e0947959 c0391000 00000000 c0121686 de8c7800 00000001 00000000 00000009
Call Trace:
 [<c0211d05>] usb_hcd_giveback_urb+0x15/0x30
 [<e09477a9>] uhci_finish_urb+0x39/0x60 [uhci_hcd]
 [<e094780b>] uhci_finish_completion+0x3b/0x50 [uhci_hcd]
 [<e0947959>] uhci_irq+0xe9/0x160 [uhci_hcd]
 [<c0121686>] update_wall_time+0x16/0x40
 [<c0211d4e>] usb_hcd_irq+0x2e/0x60
 [<c0108290>] handle_IRQ_event+0x30/0x60
 [<c010864e>] do_IRQ+0xce/0x1b0
========================
 [<c01086dc>] do_IRQ+0x15c/0x1b0
 [<c02b0228>] common_interrupt+0x18/0x20
 [<e08da1ba>] apm_bios_call_simple+0x6a/0xd0 [apm]
 [<e08da348>] apm_do_idle+0x18/0x70 [apm]
 [<e08da475>] apm_cpu_idle+0xa5/0x150 [apm]
 [<e08da473>] apm_cpu_idle+0xa3/0x150 [apm]
 [<c0104c54>] cpu_idle+0x34/0x40
 [<c03648ef>] start_kernel+0x14f/0x170
 [<c03644d0>] unknown_bootoption+0x0/0x120

Code: 0c 89 7c 24 08 89 c7 89 1c 24 89 74 24 04 8b 40 10 85 c0 75 4c 9c 5e fa ba 00 f0 
ff ff 21 e2 ff 42 14 8d 47 08 8b 4f 08 8b 58 04 <89> 59 04 89 0b 89 40 04 8b 5f 14 89 
47 08 56 9d ff 4a 14 8b 42
 <0> Kernel panic: Fatal exception in interrupt
In interrupt handle - not syncing




Thanks,

Adam


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to