Skip to contentSkip to conversation

New: freeze under load - system partialy continues working but no response on keyboard/mouse

linux-usb-devel Andrew Morton 1 participant 1 message Mar 11, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

I think this one might be an ACPI problem?

Begin forwarded message:

Date: Fri, 11 Mar 2005 11:29:36 -0800
From: David Brownell <david-b-yBeKhBN/[email protected]>
To: linux-usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Andrew Morton <[email protected]>, stryhal-GXikQ/[email protected]
Subject: Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 4325] New: freeze under load - system partialy continues working but no response on keyboard/mouse

Quoted 11 lines · Andrew Morton

http://bugme.osdl.org/show_bug.cgi?id=4325
...

HID: (in non conflicting port)
usb 3-1.1: new low speed USB device using ohci_hcd and address 3 usb 3-1.2: new low speed USB device using ohci_hcd and address 4
input: USB HID v1.00 Mouse [KYE Genius USB Wheel Mouse] on usb-0000:00:02.1-1.1
input: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-0000:00:02.1-1.2

Quoted 7 lines

interrupts:

              0:    4440474    IO-APIC-edge  timer                             

2: 0 XT-PIC cascade
3: 1193 IO-APIC-edge NVidia nForce2
****** probably the problem ?? ******
5: 27926 IO-APIC-edge ohci1394, ohci_hcd:usb2, eth0

I assume otherwise, since it said above that the device is on "usb3"!

Quoted 4 lines

*************************************

  8:      27042    IO-APIC-edge  rtc                                           
  9:          0          XT-PIC  ehci_hcd:usb1                                 
 11:      59151    IO-APIC-edge  libata, ohci_hcd:usb3

One thing that seems fairly obviously broken is the assignment of the OHCI hardware to an edge triggered IRQ. So far as I know, all OHCI controllers are level triggered. And FWIW I have an NF2 box here, which assigns OHCI to IRQs #20 and #22, EHCI to IRQ #22, and eth0 (forcedeth) to share IRQ #22 ... all level triggered..

Quoted 7 lines
 14:         19    IO-APIC-edge  ide0                                          
 15:       4506    IO-APIC-edge  ide1                                          
 19:     200000   IO-APIC-level  radeon@PCI:2:0:0                              
NMI:          0                                                                
LOC:    4440242                                                                
ERR:          0                                                                
MIS:          0

So basically this looks like whatever is setting up your IRQs is borked ...

Related issue, I think that the Linux IRQ framework needs much better handling of level vs edge stuff. It should be possible for drivers to specify level triggering (vs rising edge, falling edge, etc); they know what the hardware does, better than any generic infrastructure. The fact that it's even possible to get the wrong type of IRQ triggering says to me that the API is deficient. (Another thing saying that is noticing that ARM needs API extensions in that area.)

- Dave

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click