NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/38959: sys/arch/x86/x86/mpacpi.c (1.59) breaks usb devices



>Number:         38959
>Category:       port-i386
>Synopsis:       sys/arch/x86/x86/mpacpi.c (1.59) breaks usb devices
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 15 16:50:00 +0000 2008
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.64
>Organization:
Not much
>Environment:
System: NetBSD NetBSD 4.99.64 i386
Architecture: i386
Machine: i386
>Description:
        A NetBSD-current/i386 kernel built from sources dated after the
        commit of revision 1.59 of sys/arch/x86/x86/mpacpi.c is unable to
        use USB devices.  A kernel from sources dated 2008-06-01 15:00 UTC
        (shortly before the commit of revision 1.59 of mpacpi.c) does not
        have this problem.
>How-To-Repeat:
        cd src
        cvs -q update -A -dP -D'2008-06-01 15:00 UTC'
        sh ./build.sh -u -U tools kernel=GENERIC

        boot the resulting kernel.  See it work.

        cd src
        cvs -q update -A -dP -D'2008-06-01 15:30 UTC'
        sh ./build.sh -u -U tools kernel=GENERIC

        boot the resulting kernel.  See it fail.

        For each attached USB device (a fingerprint reader built in to
        the laptop, or an external disk), there is a delay of about 60
        seconds, followed by an error message such as "uhub4: device
        problem, disabling port 1".  If an external USB disk drive
        is plugged in after the kernel boots, there are no messages at all,
        and the device is not attached.

        Here's a diff between the a good and bad dmesg (edited to remove
        timestamps and similar irrelevant differences):

--- dm.1500
+++ dm.1530
@@ -101,10 +101,10 @@
 pci3 at ppb2 bus 32
 pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x01)
-uhci0: interrupting at ioapic0 pin 20
+uhci0: interrupting at ioapic0 pin 16
 usb0 at uhci0: USB revision 1.0
 uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x01)
-uhci1: interrupting at ioapic0 pin 21
+uhci1: interrupting at ioapic0 pin 17
 usb1 at uhci1: USB revision 1.0
 uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x01)
 uhci2: interrupting at ioapic0 pin 18
@@ -113,7 +113,7 @@
 uhci3: interrupting at ioapic0 pin 19
 usb3 at uhci3: USB revision 1.0
 ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x01)
-ehci0: interrupting at ioapic0 pin 20
+ehci0: interrupting at ioapic0 pin 16
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
 usb4 at ehci0: USB revision 2.0
@@ -184,11 +184,6 @@
 acpibat0: battery info: Hewlett-Packard, LIon, Primary 01725 2006/04/29
 acpibat1: battery info: Hewlett-Packard, LIon, Travel 00189 2008/01/02
 acpiacad0: AC adapter offline.
-uhub5 at uhub4 port 1: vendor 0x0424 product 0x2503, class 9/0, rev 2.00/0.01, 
addr 2
-uhub5: multiple transaction translators
-uhub5: 3 ports with 0 removable, self powered
-ubt0 at uhub5 port 1
-ubt0: Broadcom Corp HP Integrated Module, rev 2.00/1.00, addr 3
 wd0 at atabus0 drive 0: <Hitachi HTS542520K9SA00>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
@@ -200,8 +195,7 @@
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2
 cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
-ugen0 at uhub5 port 2
-ugen0: vendor 0x08ff Fingerprint Sensor, rev 1.10/6.21, addr 4
+uhub4: device problem, disabling port 1
 Kernelized RAIDframe activated
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio1 at pad0: half duplex
        
>Fix:
        Unknown



Home | Main Index | Thread Index | Old Index