Hi again. On Thu, 2005-12-22 at 13:49, Alan Stern wrote: > On Thu, 22 Dec 2005, Nigel Cunningham wrote: > > > 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. > > What evidence do you have that this is related to the USB mouse?
Ok. Having come home again, I've been able to do more testing. While it appears to be the usb mouse from watching service usb start, I obviously didn't do the modprobes & rmmods manually before, because it turns out to be uhci_hcd, not usb_mouse that controls whether the messages appear: Dec 22 18:58:37 desktop su(pam_unix)[2037]: session opened for user root by (uid=0) Dec 22 19:01:39 desktop kernel: USB Universal Host Controller Interface driver v2.3 Dec 22 19:01:39 desktop kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 17 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.0: detected 2 ports Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.0: irq 17, io base 0x0000cc00 Dec 22 19:01:39 desktop kernel: usb usb1: Product: UHCI Host Controller Dec 22 19:01:39 desktop kernel: usb usb1: Manufacturer: Linux 2.6.15-rc6 uhci_hcd Dec 22 19:01:39 desktop kernel: usb usb1: SerialNumber: 0000:00:1d.0 Dec 22 19:01:39 desktop kernel: hub 1-0:1.0: USB hub found Dec 22 19:01:39 desktop kernel: hub 1-0:1.0: 2 ports detected Dec 22 19:01:39 desktop kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 18 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.1: detected 2 ports Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.1: irq 18, io base 0x0000d000 Dec 22 19:01:39 desktop kernel: usb usb2: Product: UHCI Host Controller Dec 22 19:01:39 desktop kernel: usb usb2: Manufacturer: Linux 2.6.15-rc6 uhci_hcd Dec 22 19:01:39 desktop kernel: usb usb2: SerialNumber: 0000:00:1d.1 Dec 22 19:01:39 desktop kernel: hub 2-0:1.0: USB hub found Dec 22 19:01:39 desktop kernel: hub 2-0:1.0: 2 ports detected Dec 22 19:01:39 desktop kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 16 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.2: detected 2 ports Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.2: irq 16, io base 0x0000d400 Dec 22 19:01:39 desktop kernel: usb usb3: Product: UHCI Host Controller Dec 22 19:01:39 desktop kernel: usb usb3: Manufacturer: Linux 2.6.15-rc6 uhci_hcd Dec 22 19:01:39 desktop kernel: usb usb3: SerialNumber: 0000:00:1d.2 Dec 22 19:01:39 desktop kernel: hub 3-0:1.0: USB hub found Dec 22 19:01:39 desktop kernel: hub 3-0:1.0: 2 ports detected Dec 22 19:01:39 desktop kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 17 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.3: UHCI Host Controller Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.3: detected 2 ports Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4 Dec 22 19:01:39 desktop kernel: uhci_hcd 0000:00:1d.3: irq 17, io base 0x0000d800 Dec 22 19:01:39 desktop kernel: usb usb4: Product: UHCI Host Controller Dec 22 19:01:39 desktop kernel: usb usb4: Manufacturer: Linux 2.6.15-rc6 uhci_hcd Dec 22 19:01:39 desktop kernel: usb usb4: SerialNumber: 0000:00:1d.3 Dec 22 19:01:39 desktop kernel: hub 4-0:1.0: USB hub found Dec 22 19:01:39 desktop kernel: hub 4-0:1.0: 2 ports detected Dec 22 19:01:39 desktop kernel: usb 1-2: new low speed USB device using uhci_hcd and address 2 Dec 22 19:01:39 desktop kernel: unexpected IRQ trap at vector 99 Dec 22 19:01:39 desktop last message repeated 909 times [...] Dec 22 19:01:45 desktop kernel: unexpected IRQ trap at vector 99 Dec 22 19:01:45 desktop last message repeated 14 times Dec 22 19:01:45 desktop kernel: ACPI: PCI interrupt for device 0000:00:1d.1 disabled Dec 22 19:01:45 desktop kernel: unexpected IRQ trap at vector 99 Dec 22 19:01:45 desktop kernel: uhci_hcd 0000:00:1d.0: remove, state 1 Dec 22 19:01:45 desktop kernel: usb usb1: USB disconnect, address 1 Dec 22 19:01:45 desktop kernel: unexpected IRQ trap at vector 99 Dec 22 19:01:45 desktop kernel: usb 1-2: USB disconnect, address 2 Dec 22 19:01:45 desktop kernel: unexpected IRQ trap at vector 99 Dec 22 19:01:45 desktop last message repeated 97 times Dec 22 19:01:45 desktop kernel: uhci_hcd 0000:00:1d.0: USB bus 1 deregistered Dec 22 19:01:45 desktop kernel: ACPI: PCI interrupt for device 0000:00:1d.0 disabled Dec 22 19:04:25 desktop kernel: Kernel logging (proc) stopped. Dec 22 19:04:25 desktop kernel: Kernel log daemon terminating. This is with uhci_hcd alone loaded and then unloaded. There are nearly 40,000 lines of dmesg in between! > At what point during the resume procedure do these messages appear? Only while uhci_hcd is loaded. > Can you provide a useful system log for the suspend and resume? > > Do you get anything more useful if you set CONFIG_USB_DEBUG on? This is with it enabled. If you're looking for anything in particular in those 40,000 lines, I'll happily search. Regards, Nigel > Alan Stern > > > > ------------------------------------------------------- > 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