From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 9 18:50:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0A3D106566B for ; Wed, 9 Dec 2009 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9231E8FC1B for ; Wed, 9 Dec 2009 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB9Io1q7088202 for ; Wed, 9 Dec 2009 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB9Io1bC088201; Wed, 9 Dec 2009 18:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 9 Dec 2009 18:50:01 GMT Resent-Message-Id: <200912091850.nB9Io1bC088201@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charles Owens Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0B91065692 for ; Wed, 9 Dec 2009 18:40:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C70438FC1A for ; Wed, 9 Dec 2009 18:40:51 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB9IepfB036042 for ; Wed, 9 Dec 2009 18:40:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB9IepWf036031; Wed, 9 Dec 2009 18:40:51 GMT (envelope-from nobody) Message-Id: <200912091840.nB9IepWf036031@www.freebsd.org> Date: Wed, 9 Dec 2009 18:40:51 GMT From: Charles Owens To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/141327: USB kbd not working with 7.1+PAE on IBM System x3550 M2 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 18:50:02 -0000 >Number: 141327 >Category: misc >Synopsis: USB kbd not working with 7.1+PAE on IBM System x3550 M2 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 09 18:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Charles Owens >Release: 7.1-RELEASE >Organization: Great Bay Software >Environment: FreeBSD dmz55.greatbaysoftware.com 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Tue Dec 8 09:54:44 EST 2009 muck@dmz55.greatbaysoftware.com:/usr/obj/usr/src/sys/DMZ55 i386 >Description: (Kernel conf is simply PAE) I'm having problems with the functioning of USB keyboards with an IBM System x3550 M2 (new quad core Xeon, 4 GB RAM). System has no PS/2 ports... so there's no alternative to a USB keyboard. With a FreeBSD 7.1 PAE-enabled kernel a USB keyboard will almost always not function (occasionally after a reboot it will work on some but not all ports). The error messages seen with usbdevs or in during boot might suggest some issue with USB bus initialization, except for this seemingly conflicting fact: an 'axe' USB NIC always works, plugged into any of the USB ports. It may be worth noting that we have four other hardware platforms (different IBM, HP, and OEM Intel) that do not exhibit this behavior (ie. PAE and USB seem okay with each other). Following are details for the system with a PAE-enable kernel. (To see same info for this system when running a non-PAE kernel, see http://docs.freebsd.org/cgi/mid.cgi?4B169F1F.8050100) >From dmidecode: System Information Manufacturer: IBM Product Name: IBM System x -[7946AC1]- Version: 00 #### #### usbdevs, with keyboard working on front USB ports only #### [root@dmz55 ~]# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Comfort Curve Keyboard 2000(0x00dd), Microsoft(0x045e), rev 1.73 Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered usbdevs: /dev/usb3: Input/output error usbdevs: /dev/usb4: Input/output error usbdevs: /dev/usb5: Input/output error Controller /dev/usb6: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: high speed, power 2 mA, config 2, IBM Composite Device-0(0x4012), IBM(0x04b3), rev 0.00 port 2 powered port 3 powered port 4 powered port 5 powered port 6 addr 3: high speed, power 450 mA, config 1, product 0x1a00(0x1a00), vendor 0x2001(0x2001), rev 10.01 #### #### usbdevs, with keyboard not working at all (more typical) #### dmz55# usbdevs -v usbdevs: /dev/usb0: Input/output error usbdevs: /dev/usb1: Input/output error Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered usbdevs: /dev/usb3: Input/output error usbdevs: /dev/usb4: Input/output error usbdevs: /dev/usb5: Input/output error Controller /dev/usb6: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: high speed, power 2 mA, config 2, IBM Composite Device-0(0x4012), IBM(0x04b3), rev 0.00 port 2 powered port 3 powered port 4 powered port 5 powered port 6 addr 3: high speed, power 450 mA, config 1, product 0x1a00(0x1a00), vendor 0x2001(0x2001), rev 10.01 Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-RELEASE-p8 #3: Thu Nov 19 15:24:03 EST 2009 muck@dmz55.greatbaysoftware.com:/usr/obj/usr/src/sys/DMZ55 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz (2000.08-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Stepping = 5 Features=0xbfebfbff Features2=0x9ce3bd AMD Features=0x28100000 AMD Features2=0x1 Cores per package: 8 Logical CPUs per core: 2 real memory = 6442450944 (6144 MB) avail memory = 4150349824 (3958 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x588-0x58b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 28 at device 1.0 on pci0 pci11: on pcib1 pci11: at device 0.0 (no driver attached) pci11: at device 0.1 (no driver attached) pcib2: irq 29 at device 2.0 on pci0 pci16: on pcib2 pci16: at device 0.0 (no driver attached) pci16: at device 0.1 (no driver attached) pcib3: irq 24 at device 3.0 on pci0 pci21: on pcib3 pcib4: irq 30 at device 7.0 on pci0 pci26: on pcib4 pci0: at device 16.0 (no driver attached) pci0: at device 16.1 (no driver attached) pci0: at device 17.0 (no driver attached) pci0: at device 17.1 (no driver attached) pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) pci0: at device 22.0 (no driver attached) pci0: at device 22.1 (no driver attached) pci0: at device 22.2 (no driver attached) pci0: at device 22.3 (no driver attached) pci0: at device 22.4 (no driver attached) pci0: at device 22.5 (no driver attached) pci0: at device 22.6 (no driver attached) pci0: at device 22.7 (no driver attached) uhci0: port 0x20a0-0x20bf irq 17 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x2080-0x209f irq 18 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0x9ba21400-0x9ba217ff irq 19 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: wrong number of companions (3 != 2) usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 6 ports with 6 removable, self powered pcib5: irq 16 at device 28.0 on pci0 pci1: on pcib5 mpt0: port 0x1000-0x10ff mem 0x9b910000-0x9b913fff,0x9b900000-0x9b90ffff irq 16 at device 0.0 on pci1 mpt0: [ITHREAD] mpt0: MPI Version=1.5.20.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 0 Active Volumes (2 Max) mpt0: 0 Hidden Drive Members (14 Max) pcib6: irq 16 at device 28.4 on pci0 pci6: on pcib6 pcib7: irq 16 at device 0.0 on pci6 pci7: on pcib7 vgapci0: mem 0x9a000000-0x9affffff,0x9b800000-0x9b803fff,0x9b000000-0x9b7fffff irq 16 at device 0.0 on pci7 uhci2: port 0x2060-0x207f irq 17 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb3: on uhci2 usb3: USB revision 1.0 usb3: root hub problem, error=4 uhci3: port 0x2040-0x205f irq 18 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 usb4: root hub problem, error=4 uhci4: port 0x2020-0x203f irq 19 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 usb5: root hub problem, error=4 ehci1: mem 0x9ba21000-0x9ba213ff irq 17 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub3: on usb6 uhub3: 6 ports with 6 removable, self powered ukbd0: on uhub3 kbd2 at ukbd0 uhid0: on uhub3 uhid1: on uhub3 umass0: on uhub3 umass1: on uhub3 axe0: on uhub3 axe0: AX88172, bufsz 1536, boundary 64 miibus0: on axe0 rlphy0: PHY 3 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto axe0: WARNING: using obsoleted if_watchdog interface axe0: WARNING: using obsoleted IFF_NEEDSGIANT flag axe0: Ethernet address: 00:80:c8:38:15:ff pcib8: at device 30.0 on pci0 pci31: on pcib8 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20f0-0x20ff,0x20e0-0x20ef irq 16 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci1: port 0x2108-0x210f,0x2124-0x2127,0x2100-0x2107,0x2120-0x2123,0x20d0-0x20df,0x20c0-0x20cf irq 21 at device 31.5 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 p4tcc3: on cpu3 cpu3: on acpi0 est3: on cpu3 p4tcc3: on cpu3 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd1: on uhub0 kbd3 at ukbd1 uhid2: on uhub0 Timecounters tick every 1.000 msec da0 at mpt0 bus 0 target 1 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing Enabled da0: 286102MB (585937500 512 byte sectors: 255H 63S/T 36472C) cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at mpt0 bus 0 target 2 lun 0 da1: Fixed Direct Access SCSI-5 device da1: 300.000MB/s transfers da1: Command Queueing Enabled da1: 286102MB (585937500 512 byte sectors: 255H 63S/T 36472C) SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! da2 at umass-sim1 bus 1 target 0 lun 0 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim1 bus 1 target 0 lun 1 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/da0s1a >How-To-Repeat: Install 7.1-RELEASE on system (IBM x3550 M2) and build and install a PAE enabled kernel. After most reboots, USB keyboard will be non-functional (occasionally seen to work on some USB ports). >Fix: >Release-Note: >Audit-Trail: >Unformatted: