Fixing USB after powerpc resume

Francesco Accattapà callipeo at libero.it
Mon Mar 21 10:48:39 CST 2005


Il giorno lun, 21/03/2005 alle 12.00 +0100, Martin Pitt ha scritto: 

> This reloads the USB host controller modules, which makes USB devices
> work fine again. Can other ppc users please check this? Does USB work
> for you after resume out of the box? If not, does a script like the
> above one help?

On my system (an iBook G4), suspending with a USB mouse plugged in will
cause a kernel panic even with that script. I've reported the full
message below (it is hand-copied, so be warned :-)), but maybe I would
better compile a kernel with debug info. Let me know if I can help in
any way.

------------------------------------------------------------------------
hda: Enabling Ultra DMA 5
hdc: MDMA, cycleTime: 120, accessTime: 90, recTime: 30
hdc: Set MDMA timing for mode 2, reg: 0x00011d26
hdc: Enabling MultiWord DMA 2
adb: stargint probe task...
adb devices: [2] c4 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2,handler 1
ADB mouse at 3, handler set to 4 (trackpad)
adb: finished probe task...
eth0: suspending, WakeOnLan disabled
radeonfb (0000:00:10.0): suspending to state: 3...
HID1, before: 8040ec80
radeonfb (0000:00:10.0): resuming from state: 3...
PCI: Enabling device 0000:00:10.0 (0000 -> 0003)
HID1, after: 8040ec80
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer errorr ack signal
Ooops: machine check, sig: 7 [#1]
NIP: F233D4FC LR: F23693B8 SP: EDADFBD0 REGS: edadfb20 TRAP: 0200   Not
tainted
MSR: 00149030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = efb9e130[4533] 'pbbuttonsd' THREAD: edade000
Last syscall: 54
GPR00: F228400C EDADFBD0 EFB9E130 E03B4400 EDADFCA0 EDADFCA0 F233E390
E03B4400
GPR08: EFFFE810 DD70F000 EDADE000 C02DC12C 2FB9E300 10026BF4 100C0000
100A0000
GPR16: 00000000 100D7408 28222482 100C0000 100D6F28 100D6AE8 10001180
1000BF58
GPR24: C0260000 F233E390 C1ECFA20 00000000 EDADFCA0 1351E32F E03B4400
F2284000
NIP [f233d4fc] ohci_irq+0x48/0x1dc [ohci_hcd]
LR [f23693b8] usb_hcd_irq+0x54/0x94 [usbcore]
Call trace: 
 [f23693b8] usb_hcd_irq+0x54/0x94 [usbcore]
 [c003a768] handle_IRQ_event+0x54/0xb0
 [c003a8e4] __do_IRQ+0x120/0x168
 [c0005a6c] do_IRQ+0x50/0x98
 [c0004a18] ret_from_except+0x0/0x1c
 [c003abb0] setup_irq+0xd4/0x138
 [c003ad98] request_irq+0x94/0xc8
 [f236dec0] usp_hcd_pci_resume+0x7c/0x114 [usbcore]
 [c00bb6f8] pci_device_resume+0x4c/0x50
 [c012433c] resume_device+0x44/0x4c
 [c0124474] dpm_resume+0x130/0x148
 [c01244c4] device_resume+0x38/0x78
 [c02bc9a4] 0xc02bc9a4
 [c02bcea0] c02bcea0
 [c02bd6e0] c02bd6e0
Kernel panic - not syncing: Aiee, killing interrupt handler!
 <0>Rebooting in 180 seconds..
------------------------------------------------------------------------




More information about the ubuntu-devel mailing list