Bug 9813 - [IRQ routing?] usb mouse broken on X20 (intermittent)
Summary: [IRQ routing?] usb mouse broken on X20 (intermittent)
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 07:16 UTC by clayton
Modified: 2009-07-28 16:49 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.24
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (17.67 KB, text/plain)
2008-05-11 07:58 UTC, clayton
Details

Description clayton 2008-01-25 07:16:43 UTC
Latest working kernel version: 
Earliest failing kernel version: 
Distribution: Debian
Hardware Environment: IBM Thinkpad X20
Software Environment: 
Problem Description:

On my Thinkpad X20, frequently after booting my usb mouse responds in a
very sluggish and jumpy manner, making it basically unuseable. At the
same time, the stick mouse (which I hate using) works normally.

This has been going on for a while, at least the last couple of kernels.

Sometimes I can restore function by unplugging and replugging the USB
mouse, but not reliably, and even then, after replugging it will not
respond at all for some great length of time until some unknown event
causes it to come to life.

Steps to reproduce:

-- Package-specific info:
** Version:
Linux version 2.6.23-1-686 (Debian 2.6.23-2) (maks@debian.org) (gcc version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #1 SMP Fri Dec 21 13:57:07 UTC 2007

** cmdline:
root=/dev/hda2 ro resume=/dev/hda4 
** Not tainted

** Kernel log:
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
ACPI: PCI Interrupt 0000:00:08.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
firewire_ohci: Added fw-ohci device 0000:00:08.2, OHCI version 1.0
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
usb 1-1: new full speed USB device using uhci_hcd and address 2
hda: IC25N030ATCS04-0, ATA DISK drive
Marking TSC unstable due to: possible TSC halt in C2.
Time: acpi_pm clocksource has been installed.
Clocksource tsc unstable (delta = -1880422397 ns)
hda: selected mode 0x42
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
SCSI subsystem initialized
libata version 2.21 loaded.
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=62016/15/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 hda4
 hda3: <netbsd: hda5 hda6bad subpartition - ignored
bad subpartition - ignored
 >
usb 1-1: configuration #1 chosen from 1 choice
Attempting manual resume
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 2 ports detected
usb 1-1.2: new low speed USB device using uhci_hcd and address 3
usb 1-1.2: configuration #1 chosen from 1 choice
input: PC Speaker as /class/input/input1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Yenta: CardBus bridge found at 0000:00:08.0 [1014:0184]
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000410
Yenta: CardBus bridge found at 0000:00:08.1 [1014:0184]
Linux agpgart interface v0.102
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
Real Time Clock Driver v1.12ac
pccard: PCMCIA card inserted into slot 0
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 64M @ 0xf8000000
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
piix4_smbus 0000:00:07.3: IBM system detected; this module may corrupt your serial eeprom! Refusing to load module!
piix4_smbus: probe of 0000:00:07.3 failed with error -1
IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /class/input/input2
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
input: Lid Switch as /class/input/input4
ACPI: Lid Switch [LID]
input: Sleep Button (CM) as /class/input/input5
ACPI: Sleep Button (CM) [SLPB]
pnp: Device 00:0c activated.
parport_pc 00:0c: reported by Plug and Play ACPI
parport0: PC-style at 0x3bc, irq 7 [PCSPP,TRISTATE]
input: Video Bus as /class/input/input6
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
ACPI: AC Adapter [AC] (on-line)
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
ACPI: Battery Slot [BAT0] (battery absent)
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
usbcore: registered new interface driver hiddev
input: USB Mouse as /class/input/input7
input: USB HID v1.10 Mouse [USB Mouse] on usb-0000:00:07.2-1.2
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
eth1: Atmel at76c50x. Version 0.98. MAC 00:30:bd:d0:16:d0
Adding 322208k swap on /dev/hda4.  Priority:-1 extents:1 across:322208k
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
fuse init (API version 7.8)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (5120 buckets, 20480 max)
eth1: no IPv6 routers present
uhci_hcd 0000:00:07.2: Unlink after no-IRQ?  Controller is probably using the wrong IRQ.
scim-launcher[3307]: segfault at b737c232 eip b737c232 esp bf8936cc error 4
ADDRCONF(NETDEV_UP): eth1: link is not ready
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present

** Loaded modules:
Module                  Size  Used by
nf_conntrack_ftp        8960  0 
nf_conntrack_irc        6808  0 
ipt_REJECT              4544  4 
ipt_LOG                 5984  7 
xt_limit                2688  7 
xt_state                2496  35 
xt_tcpudp               3168  28 
nf_conntrack_ipv4      17448  35 
nf_conntrack           62056  4 nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
nfnetlink               5816  2 nf_conntrack_ipv4,nf_conntrack
iptable_filter          3008  1 
ip_tables              13220  1 iptable_filter
x_tables               14308  6 ipt_REJECT,ipt_LOG,xt_limit,xt_state,xt_tcpudp,ip_tables
ipv6                  242788  19 
ext3                  121544  0 
jbd                    55368  1 ext3
vfat                   12256  0 
fat                    48540  1 vfat
fuse                   41876  1 
dm_crypt               12840  0 
dm_snapshot            16932  0 
dm_mirror              21632  0 
dm_mod                 52640  3 dm_crypt,dm_snapshot,dm_mirror
ide_cd                 36384  0 
cdrom                  32608  1 ide_cd
atmel_cs                7232  1 
atmel                  32740  1 atmel_cs
usbhid                 27232  0 
hid                    26944  1 usbhid
tsdev                   8160  0 
battery                12296  0 
ac                      5636  0 
pcmcia                 37388  1 atmel_cs
firmware_class          9472  2 atmel,pcmcia
video                  18608  0 
output                  3840  1 video
parport_pc             34020  0 
parport                34088  1 parport_pc
button                  8336  0 
psmouse                36368  0 
i2c_piix4               8524  0 
intel_agp              23348  1 
rtc                    12984  0 
serio_raw               6724  0 
i2c_core               23264  1 i2c_piix4
agpgart                31624  1 intel_agp
yenta_socket           24908  4 
rsrc_nonstatic         11904  1 yenta_socket
pcmcia_core            37076  4 atmel_cs,pcmcia,yenta_socket,rsrc_nonstatic
shpchp                 31028  0 
pci_hotplug            28128  1 shpchp
pcspkr                  3264  0 
evdev                   9472  5 
ext2                   60104  1 
mbcache                 8320  2 ext3,ext2
ide_disk               16544  3 
ata_generic             7588  0 
libata                113488  1 ata_generic
scsi_mod              136684  1 libata
piix                    8932  0 [permanent]
firewire_ohci          16640  0 
generic                 4804  0 [permanent]
floppy                 54820  0 
uhci_hcd               23056  0 
firewire_core          39072  1 firewire_ohci
crc_itu_t               2208  1 firewire_core
3c59x                  41416  0 
mii                     5344  1 3c59x
ide_core              112484  4 ide_cd,ide_disk,piix,generic
usbcore               130568  3 usbhid,uhci_hcd
thermal                15580  0 
processor              34696  1 thermal
fan                     5092  0 

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 64
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: <access denied>

00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 128
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: f4100000-f5ffffff
	Prefetchable memory behind bridge: 30000000-300fffff
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+

00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
	Region 4: I/O ports at 1800 [size=16]

00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01) (prog-if 00 [UHCI])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Interrupt: pin D routed to IRQ 11
	Region 4: I/O ports at 1820 [size=32]

00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin ? routed to IRQ 9

00:08.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c478 [1180:0478] (rev a0)
	Subsystem: IBM ThinkPad A30p (2653-64G) [1014:0184]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 168
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 20000000-23fff000 (prefetchable)
	Memory window 1: 24000000-27fff000
	I/O window 0: 00001400-000014ff
	I/O window 1: 00001c00-00001cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

00:08.1 CardBus bridge [0607]: Ricoh Co Ltd RL5c478 [1180:0478] (rev a0)
	Subsystem: IBM ThinkPad A30p (2653-64G) [1014:0184]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 168
	Interrupt: pin B routed to IRQ 11
	Region 0: Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
	Memory window 0: 28000000-2bfff000 (prefetchable)
	Memory window 1: 2c000000-2ffff000
	I/O window 0: 00002800-000028ff
	I/O window 1: 00002c00-00002cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

00:08.2 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C522 IEEE 1394 Controller [1180:0522] (prog-if 10 [OHCI])
	Subsystem: IBM ThinkPad A30p (2653-64G) [1014:01cf]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (500ns min, 1000ns max)
	Interrupt: pin C routed to IRQ 11
	Region 0: Memory at f4011000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>

00:0a.0 Ethernet controller [0200]: 3Com Corporation 3c556B CardBus [Tornado] [10b7:6056] (rev 20)
	Subsystem: 3Com Corporation Unknown device [10b7:6356]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (2500ns min, 2500ns max)
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 2000 [size=256]
	Region 1: Memory at f4011c00 (32-bit, non-prefetchable) [size=128]
	Region 2: Memory at f4011800 (32-bit, non-prefetchable) [size=128]
	[virtual] Expansion ROM at 30100000 [disabled] [size=128K]
	Capabilities: <access denied>

00:0a.1 Communication controller [0780]: 3Com Corporation Mini PCI 56k Winmodem [10b7:1007] (rev 20)
	Subsystem: 3Com Corporation Unknown device [10b7:6159]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 2400 [size=256]
	Region 1: Memory at f4012400 (32-bit, non-prefetchable) [size=256]
	Region 2: Memory at f4012000 (32-bit, non-prefetchable) [size=128]
	Capabilities: <access denied>

00:0b.0 Multimedia audio controller [0401]: Cirrus Logic Crystal CS4281 PCI Audio [1013:6005] (rev 01)
	Subsystem: IBM Unknown device [1014:0183]
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f4010000 (32-bit, non-prefetchable) [size=4K]
	Region 1: Memory at f4000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Rage Mobility P/M AGP 2x [1002:4c4d] (rev 64) (prog-if 00 [VGA])
	Subsystem: IBM Unknown device [1014:0182]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 66 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: I/O ports at 3000 [size=256]
	Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
	[virtual] Expansion ROM at 30000000 [disabled] [size=128K]
	Capabilities: <access denied>



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.23-1-686 depends on:
ii  initramfs-tools [linux-initr 0.91d       tools for generating an initramfs
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo
Comment 1 Anonymous Emailer 2008-01-25 09:18:13 UTC
Reply-To: akpm@linux-foundation.org

> On Fri, 25 Jan 2008 07:16:49 -0800 (PST) bugme-daemon@bugzilla.kernel.org
> wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=9813
> 
>            Summary: usb mouse broken on X20 (intermittent)
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.24
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@kroah.com
>         ReportedBy: ckoeni@gmail.com
>                 CC: ckoeni@gmail.com
> 
> 
> Latest working kernel version: 
> Earliest failing kernel version: 
> Distribution: Debian
> Hardware Environment: IBM Thinkpad X20
> Software Environment: 
> Problem Description:
> 
> On my Thinkpad X20, frequently after booting my usb mouse responds in a
> very sluggish and jumpy manner, making it basically unuseable. At the
> same time, the stick mouse (which I hate using) works normally.
> 
> This has been going on for a while, at least the last couple of kernels.
> 
> Sometimes I can restore function by unplugging and replugging the USB
> mouse, but not reliably, and even then, after replugging it will not
> respond at all for some great length of time until some unknown event
> causes it to come to life.
> 
> Steps to reproduce:
> 
> -- Package-specific info:
> ** Version:
> Linux version 2.6.23-1-686 (Debian 2.6.23-2) (maks@debian.org) (gcc version
> 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #1 SMP Fri Dec 21 13:57:07 UTC
> 2007
> 
> ** cmdline:
> root=/dev/hda2 ro resume=/dev/hda4 
> ** Not tainted
> 
> ** Kernel log:
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a National Semiconductor PC87306
> ACPI: PCI Interrupt 0000:00:08.2[C] -> Link [LNKC] -> GSI 11 (level, low) ->
> IRQ 11
> firewire_ohci: Added fw-ohci device 0000:00:08.2, OHCI version 1.0
> PIIX4: IDE controller at PCI slot 0000:00:07.1
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:pio, hdd:pio
> Probing IDE interface ide0...
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> hda: IC25N030ATCS04-0, ATA DISK drive
> Marking TSC unstable due to: possible TSC halt in C2.
> Time: acpi_pm clocksource has been installed.
> Clocksource tsc unstable (delta = -1880422397 ns)
> hda: selected mode 0x42
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> SCSI subsystem initialized
> libata version 2.21 loaded.
> hda: max request size: 128KiB
> hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=62016/15/63, UDMA(33)
> hda: cache flushes not supported
>  hda: hda1 hda2 hda3 hda4
>  hda3: <netbsd: hda5 hda6bad subpartition - ignored
> bad subpartition - ignored
>  >
> usb 1-1: configuration #1 chosen from 1 choice
> Attempting manual resume
> hub 1-1:1.0: USB hub found
> hub 1-1:1.0: 2 ports detected
> usb 1-1.2: new low speed USB device using uhci_hcd and address 3
> usb 1-1.2: configuration #1 chosen from 1 choice
> input: PC Speaker as /class/input/input1
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> Yenta: CardBus bridge found at 0000:00:08.0 [1014:0184]
> Yenta: ISA IRQ mask 0x04b8, PCI irq 11
> Socket status: 30000410
> Yenta: CardBus bridge found at 0000:00:08.1 [1014:0184]
> Linux agpgart interface v0.102
> Yenta: ISA IRQ mask 0x04b8, PCI irq 11
> Socket status: 30000006
> Real Time Clock Driver v1.12ac
> pccard: PCMCIA card inserted into slot 0
> agpgart: Detected an Intel 440BX Chipset.
> agpgart: AGP aperture is 64M @ 0xf8000000
> piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
> piix4_smbus 0000:00:07.3: IBM system detected; this module may corrupt your
> serial eeprom! Refusing to load module!
> piix4_smbus: probe of 0000:00:07.3 failed with error -1
> IBM TrackPoint firmware: 0x0e, buttons: 3/3
> input: TPPS/2 IBM TrackPoint as /class/input/input2
> input: Power Button (FF) as /class/input/input3
> ACPI: Power Button (FF) [PWRF]
> input: Lid Switch as /class/input/input4
> ACPI: Lid Switch [LID]
> input: Sleep Button (CM) as /class/input/input5
> ACPI: Sleep Button (CM) [SLPB]
> pnp: Device 00:0c activated.
> parport_pc 00:0c: reported by Plug and Play ACPI
> parport0: PC-style at 0x3bc, irq 7 [PCSPP,TRISTATE]
> input: Video Bus as /class/input/input6
> ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
> ACPI: AC Adapter [AC] (on-line)
> cs: IO port probe 0x100-0x3af: clean.
> cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
> cs: IO port probe 0x820-0x8ff: clean.
> cs: IO port probe 0xc00-0xcf7: clean.
> cs: IO port probe 0xa00-0xaff: clean.
> cs: IO port probe 0x100-0x3af: clean.
> cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
> cs: IO port probe 0x820-0x8ff: clean.
> cs: IO port probe 0xc00-0xcf7: clean.
> ACPI: Battery Slot [BAT0] (battery absent)
> cs: IO port probe 0xa00-0xaff: clean.
> cs: memory probe 0xa0000000-0xa0ffffff: clean.
> pcmcia: registering new device pcmcia0.0
> usbcore: registered new interface driver hiddev
> input: USB Mouse as /class/input/input7
> input: USB HID v1.10 Mouse [USB Mouse] on usb-0000:00:07.2-1.2
> usbcore: registered new interface driver usbhid
> drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
> eth1: Atmel at76c50x. Version 0.98. MAC 00:30:bd:d0:16:d0
> Adding 322208k swap on /dev/hda4.  Priority:-1 extents:1 across:322208k
> device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
> dm-devel@redhat.com
> fuse init (API version 7.8)
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> ip_tables: (C) 2000-2006 Netfilter Core Team
> Netfilter messages via NETLINK v0.30.
> nf_conntrack version 0.5.0 (5120 buckets, 20480 max)
> eth1: no IPv6 routers present
> uhci_hcd 0000:00:07.2: Unlink after no-IRQ?  Controller is probably using the
> wrong IRQ.
> scim-launcher[3307]: segfault at b737c232 eip b737c232 esp bf8936cc error 4
> ADDRCONF(NETDEV_UP): eth1: link is not ready
> ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
> eth1: no IPv6 routers present
> 
> ** Loaded modules:
> Module                  Size  Used by
> nf_conntrack_ftp        8960  0 
> nf_conntrack_irc        6808  0 
> ipt_REJECT              4544  4 
> ipt_LOG                 5984  7 
> xt_limit                2688  7 
> xt_state                2496  35 
> xt_tcpudp               3168  28 
> nf_conntrack_ipv4      17448  35 
> nf_conntrack           62056  4
> nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
> nfnetlink               5816  2 nf_conntrack_ipv4,nf_conntrack
> iptable_filter          3008  1 
> ip_tables              13220  1 iptable_filter
> x_tables               14308  6
> ipt_REJECT,ipt_LOG,xt_limit,xt_state,xt_tcpudp,ip_tables
> ipv6                  242788  19 
> ext3                  121544  0 
> jbd                    55368  1 ext3
> vfat                   12256  0 
> fat                    48540  1 vfat
> fuse                   41876  1 
> dm_crypt               12840  0 
> dm_snapshot            16932  0 
> dm_mirror              21632  0 
> dm_mod                 52640  3 dm_crypt,dm_snapshot,dm_mirror
> ide_cd                 36384  0 
> cdrom                  32608  1 ide_cd
> atmel_cs                7232  1 
> atmel                  32740  1 atmel_cs
> usbhid                 27232  0 
> hid                    26944  1 usbhid
> tsdev                   8160  0 
> battery                12296  0 
> ac                      5636  0 
> pcmcia                 37388  1 atmel_cs
> firmware_class          9472  2 atmel,pcmcia
> video                  18608  0 
> output                  3840  1 video
> parport_pc             34020  0 
> parport                34088  1 parport_pc
> button                  8336  0 
> psmouse                36368  0 
> i2c_piix4               8524  0 
> intel_agp              23348  1 
> rtc                    12984  0 
> serio_raw               6724  0 
> i2c_core               23264  1 i2c_piix4
> agpgart                31624  1 intel_agp
> yenta_socket           24908  4 
> rsrc_nonstatic         11904  1 yenta_socket
> pcmcia_core            37076  4 atmel_cs,pcmcia,yenta_socket,rsrc_nonstatic
> shpchp                 31028  0 
> pci_hotplug            28128  1 shpchp
> pcspkr                  3264  0 
> evdev                   9472  5 
> ext2                   60104  1 
> mbcache                 8320  2 ext3,ext2
> ide_disk               16544  3 
> ata_generic             7588  0 
> libata                113488  1 ata_generic
> scsi_mod              136684  1 libata
> piix                    8932  0 [permanent]
> firewire_ohci          16640  0 
> generic                 4804  0 [permanent]
> floppy                 54820  0 
> uhci_hcd               23056  0 
> firewire_core          39072  1 firewire_ohci
> crc_itu_t               2208  1 firewire_core
> 3c59x                  41416  0 
> mii                     5344  1 3c59x
> ide_core              112484  4 ide_cd,ide_disk,piix,generic
> usbcore               130568  3 usbhid,uhci_hcd
> thermal                15580  0 
> processor              34696  1 thermal
> fan                     5092  0 
> 
> ** PCI devices:
> 00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX
> Host
> bridge [8086:7190] (rev 03)
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort+ >SERR- <PERR-
>         Latency: 64
>         Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: <access denied>
> 
> 00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
> bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
>         Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 128
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
>         I/O behind bridge: 00003000-00003fff
>         Memory behind bridge: f4100000-f5ffffff
>         Prefetchable memory behind bridge: 30000000-300fffff
>         Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort+ <SERR- <PERR-
>         BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
> 
> 00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110]
> (rev 02)
>         Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
> 
> 00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE
> [8086:7111] (rev 01) (prog-if 80 [Master])
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64
>         Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable)
> [disabled] [size=8]
>         Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
> [disabled] [size=1]
>         Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable)
> [disabled] [size=8]
>         Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
> [disabled] [size=1]
>         Region 4: I/O ports at 1800 [size=16]
> 
> 00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB
> [8086:7112] (rev 01) (prog-if 00 [UHCI])
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64
>         Interrupt: pin D routed to IRQ 11
>         Region 4: I/O ports at 1820 [size=32]
> 
> 00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113]
> (rev 03)
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Interrupt: pin ? routed to IRQ 9
> 
> 00:08.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c478 [1180:0478] (rev a0)
>         Subsystem: IBM ThinkPad A30p (2653-64G) [1014:0184]
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 168
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
>         Memory window 0: 20000000-23fff000 (prefetchable)
>         Memory window 1: 24000000-27fff000
>         I/O window 0: 00001400-000014ff
>         I/O window 1: 00001c00-00001cff
>         BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
>         16-bit legacy interface ports at 0001
> 
> 00:08.1 CardBus bridge [0607]: Ricoh Co Ltd RL5c478 [1180:0478] (rev a0)
>         Subsystem: IBM ThinkPad A30p (2653-64G) [1014:0184]
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 168
>         Interrupt: pin B routed to IRQ 11
>         Region 0: Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
>         Memory window 0: 28000000-2bfff000 (prefetchable)
>         Memory window 1: 2c000000-2ffff000
>         I/O window 0: 00002800-000028ff
>         I/O window 1: 00002c00-00002cff
>         BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
>         16-bit legacy interface ports at 0001
> 
> 00:08.2 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C522 IEEE 1394 Controller
> [1180:0522] (prog-if 10 [OHCI])
>         Subsystem: IBM ThinkPad A30p (2653-64G) [1014:01cf]
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (500ns min, 1000ns max)
>         Interrupt: pin C routed to IRQ 11
>         Region 0: Memory at f4011000 (32-bit, non-prefetchable) [size=2K]
>         Capabilities: <access denied>
> 
> 00:0a.0 Ethernet controller [0200]: 3Com Corporation 3c556B CardBus [Tornado]
> [10b7:6056] (rev 20)
>         Subsystem: 3Com Corporation Unknown device [10b7:6356]
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (2500ns min, 2500ns max)
>         Interrupt: pin A routed to IRQ 11
>         Region 0: I/O ports at 2000 [size=256]
>         Region 1: Memory at f4011c00 (32-bit, non-prefetchable) [size=128]
>         Region 2: Memory at f4011800 (32-bit, non-prefetchable) [size=128]
>         [virtual] Expansion ROM at 30100000 [disabled] [size=128K]
>         Capabilities: <access denied>
> 
> 00:0a.1 Communication controller [0780]: 3Com Corporation Mini PCI 56k
> Winmodem
> [10b7:1007] (rev 20)
>         Subsystem: 3Com Corporation Unknown device [10b7:6159]
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Interrupt: pin A routed to IRQ 11
>         Region 0: I/O ports at 2400 [size=256]
>         Region 1: Memory at f4012400 (32-bit, non-prefetchable) [size=256]
>         Region 2: Memory at f4012000 (32-bit, non-prefetchable) [size=128]
>         Capabilities: <access denied>
> 
> 00:0b.0 Multimedia audio controller [0401]: Cirrus Logic Crystal CS4281 PCI
> Audio [1013:6005] (rev 01)
>         Subsystem: IBM Unknown device [1014:0183]
>         Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at f4010000 (32-bit, non-prefetchable) [size=4K]
>         Region 1: Memory at f4000000 (32-bit, non-prefetchable) [size=64K]
>         Capabilities: <access denied>
> 
> 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Rage Mobility
> P/M AGP 2x [1002:4c4d] (rev 64) (prog-if 00 [VGA])
>         Subsystem: IBM Unknown device [1014:0182]
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping+ SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 66 (2000ns min), Cache Line Size: 32 bytes
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
>         Region 1: I/O ports at 3000 [size=256]
>         Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
>         [virtual] Expansion ROM at 30000000 [disabled] [size=128K]
>         Capabilities: <access denied>
> 
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (990, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages linux-image-2.6.23-1-686 depends on:
> ii  initramfs-tools [linux-initr 0.91d       tools for generating an
> initramfs
> ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel
> mo
> 
> 
> -- 
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
Comment 2 Natalie Protasevich 2008-04-22 00:09:25 UTC
Can you please attach your /proc/interrupts, and dmesg.
Thanks.
Comment 3 clayton 2008-05-11 07:56:18 UTC
$ cat /proc/interrupts
           CPU0
  0:     153919    XT-PIC-XT        timer
  1:        883    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  3:      27139    XT-PIC-XT        eth1
  4:          3    XT-PIC-XT
  5:          2    XT-PIC-XT
  6:          5    XT-PIC-XT        floppy
  7:          2    XT-PIC-XT        parport0
  8:          2    XT-PIC-XT        rtc
  9:        200    XT-PIC-XT        acpi
 10:          2    XT-PIC-XT
 11:     100000    XT-PIC-XT        uhci_hcd:usb1, firewire_ohci, yenta, yenta
 12:      49751    XT-PIC-XT        i8042
 14:      18213    XT-PIC-XT        ide0
NMI:          0   Non-maskable interrupts
LOC:          0   Local timer interrupts
RES:          0   Rescheduling interrupts
CAL:          0   function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0
MIS:          0
Comment 4 clayton 2008-05-11 07:58:22 UTC
Created attachment 16098 [details]
dmesg

USB mouse is broken as of the boot that I make this attachment.
Comment 5 Natalie Protasevich 2008-06-02 15:52:28 UTC
I would try enabling lapic (it says it's disabled by BIOS for some reason) and booting in APIC mode. It appears to be interrupt conflict with IRQ11, it is hard to say which device since all PCI devices on IRQ11 in PIC mode. You can try pci=noacpi also.
cc-ing to Len, appears to be ACPI related.
Comment 6 clayton 2008-06-05 04:26:29 UTC
I tried "lapic", "pci=noacpi", and "lapic pci=noacpi", the mouse failed
to work on the next boot in all cases, and the dmesg contained a
suggest to add "irqpoll" to the options.

I then tried the options "lapic pci=noacpi irqpoll" and "lapic
irqpoll", and in both cases the mouse worked on the next boot. I am
inclined to think that this is the fix, but since the problem was never
100% repeatable, I would have to give it some time before I am sure.

If it breaks again with these new options, I will let you know.
Comment 7 Jiri Kosina 2008-06-05 09:04:08 UTC
Does only "irqpoll" make it work by any chance?
Comment 8 clayton 2008-07-11 22:09:08 UTC
Yes it does work with only "irqpoll". I have been using it for a while now and it seems to work consistently.

Note You need to log in before you can comment on or make changes to this bug.