Hi Ben.

On Thu, 2005-12-22 at 09:15, Benjamin Herrenschmidt wrote:
> On Thu, 2005-12-22 at 08:04 +1000, Nigel Cunningham wrote:
> > Hi.
> > 
> > Originally sent to LKML, but Greg said this is the place...
> > 
> > I have a HT box with USB mouse support built as modules. Beginning with
> > 2.6.15-rc5 (maybe slightly earlier) a suspend/resume cycle makes the USB
> > mouse get in an invalid state, such that I get a gazillion messages in
> > the logs saying "unexpected IRQ trap at vector 99", or in some
> > alternately a hard hang. No work around found yet.
> > 
> > I can provide the kconfig and anything else you'd like, but won't be
> > able to test patches until I'm home again this evening.
> 
> It's a suspend to disk cycle or to ram ? Do you get those IRQs when you
> move the mouse or all the time ? What is irq 99 normally on your
> system ?

Suspend to disk.

I don't normally see interrupt 99 in use. Here's the current
/proc/interrupts, having not suspended:

less /proc/interrupts 
           CPU0       CPU1       
  0:    4265783          0    IO-APIC-edge  timer
  1:      24182          0    IO-APIC-edge  i8042
  8:          1          0    IO-APIC-edge  rtc
  9:          1          0   IO-APIC-level  acpi
 14:          1          0    IO-APIC-edge  ide0
 16:     247532          0   IO-APIC-level  libata, uhci_hcd:usb3, eth0
 17:     296865          0   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb4
 18:          0          0   IO-APIC-level  uhci_hcd:usb2
 19:         28          0   IO-APIC-level  bttv0
 20:     226763          0   IO-APIC-level  ath0
 21:          0          0   IO-APIC-level  Intel ICH5
NMI:          0          0 
LOC:    4265702    4265701 
ERR:          0
MIS:          0

I'm not at home at the moment, so I can't verify that it is irq 99 that
it says, but I'm pretty sure. I can check again this evening if you
like.

The messages are continually generated.

> I wonder if that's beause we should do the USB early handoff again on
> wakeup from sleep...

If you want me to try a patch when I get home, I'm more than willing.
Rebooting is slow! I want to be able to suspend again!

Nigel

> Ben.
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
-- 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to