Comment 251 for bug 355155

Revision history for this message
Chem. Imbalance (moonlightpastel-deactivatedaccount) wrote : Re: Clocksource tsc unstable leads to lockups in Ubuntu Jaunty

I think I found the solution to my freezing at the least.

I believe it is an issue with IRQ assignment and sharing.

Here are my /proc/interrupts and my lsusb:

[code]cat /proc/interrupts
           CPU0 CPU1 CPU2 CPU3
  0: 102 0 0 3 IO-APIC-edge timer
  1: 0 0 0 2 IO-APIC-edge i8042
  4: 0 0 0 1 IO-APIC-edge
  7: 1 0 0 0 IO-APIC-edge
  8: 0 0 0 1 IO-APIC-edge rtc0
  9: 0 0 0 0 IO-APIC-fasteoi acpi
 12: 0 0 0 4 IO-APIC-edge i8042
 14: 0 0 2 3582 IO-APIC-edge pata_amd
 15: 0 0 0 0 IO-APIC-edge pata_amd
 19: 0 0 0 3 IO-APIC-fasteoi ohci1394
 20: 0 0 0 477 IO-APIC-fasteoi ohci_hcd:usb3, nvidia
 21: 0 0 1 1660 IO-APIC-fasteoi ehci_hcd:usb2, HDA Intel
 22: 0 0 0 1 IO-APIC-fasteoi ehci_hcd:usb1
 23: 0 0 11 7448 IO-APIC-fasteoi ohci_hcd:usb4
2298: 0 0 58 50716 PCI-MSI-edge eth0
2299: 0 0 16 7431 PCI-MSI-edge ahci
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 22949 13508 10719 30490 Local timer interrupts
RES: 14107 7407 9277 7849 Rescheduling interrupts
CAL: 156 180 173 49 Function call interrupts
TLB: 1146 877 877 881 TLB shootdowns
SPU: 0 0 0 0 Spurious interrupts
ERR: 1
MIS: 0
[/code]

[code]lsusb
Bus 002 Device 004: ID 05ac:021d Apple, Inc.
Bus 002 Device 002: ID 05ac:1005 Apple, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 045e:00d1 Microsoft Corp. Optical Mouse with Tilt Wheel
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[/code]

Notice that nvidia is sharing an irq with my usb hub # 3.

I had my mouse plugged into usb hub 3 and I had freezing.
I simply moved my mouse to hub 4 and no more freezing.

It seems it is an irq problem for me.

Good luck all.