Current-Users archive

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

Re: USB Issues in 7.1_STABLE



In Message <58FB8A80.7000100%netbsd.org@localhost>,
   Nick Hudson <skrll%netbsd.org@localhost>wrote:

=>On 04/22/17 13:57, Gary Duzan wrote:
=>>     Booting from the installer image, I noticed a couple of USB related
=>> issues. First, the boot menu wouldn't recognize my USB keyboard;
=>> I had to hit ENTER on my PS/2 keyboard to get the boot to continue.
=>> Then the boot process stopped after probing usb1 (see dmesg below),
=>> only continuing after I pressed a key on the PS/2 keyboard. It
=>> seemed like my USB devices worked after that, but I didn't do any
=>> additional testing.
=>>
=>>     Is there anything I can do to help diagnose the problem?
=>
=>xhci  debug output please
=>
=>http://www.netbsd.org/docs/kernel/#usb-debugging

   All I see different is the kbd probe and hub ordering. (See diff
below.) I should correct myself about the boot menu: the USB keyboard
doesn't work on that with my March 27 7.1_STABLE bootloader, either,
so the only real concern is the boot hang.

--- installer-dmesg.txt	2017-04-22 08:28:59.000000000 -0400
+++ dmesg-usbdebug	2017-04-22 14:44:43.000000000 -0400
@@ -4,10 +4,10 @@
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
-NetBSD 7.1_STABLE (GENERIC) #40: Fri Apr 21 08:45:52 EDT 2017
+NetBSD 7.1_STABLE (GENERIC) #42: Sat Apr 22 14:36:24 EDT 2017
 	root%bldr.6net.duzan.org@localhost:/usr/build/netbsd-7/obj/usr/build/netbsd-7/src/sys/arch/amd64/compile/GENERIC
 total memory = 12028 MB
-avail memory = 11661 MB
+avail memory = 11657 MB
 kern.module.path=/stand/amd64/7.1/modules
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
@@ -44,7 +44,6 @@
 midi0 at pcppi1: PC speaker
 sysbeep0 at pcppi1
 FDC0 (PNP0700) at acpi0 not configured
-pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 EXPL (PNP0C02) at acpi0 not configured
 MEM (PNP0C01) at acpi0 not configured
 acpiwmi0 at acpi0 (AOD, PNP0C14-0): ACPI WMI Interface
@@ -52,9 +51,6 @@
 ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-646)
 ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
 attimer1: attached to pcppi1
-pckbd0 at pckbc1 (kbd slot)
-pckbc1: using irq 1 for kbd slot
-wskbd0 at pckbd0: console keyboard
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0: vendor 0x1022 product 0x9601 (rev. 0x00)
@@ -177,6 +173,10 @@
 amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family10h)
 pchb4 at pci0 dev 24 function 4: vendor 0x1022 product 0x1204 (rev. 0x00)
 isa0 at pcib0
+pckbc0 at isa0 port 0x60-0x64
+pckbd0 at pckbc0 (kbd slot)
+pckbc0: using irq 1 for kbd slot
+wskbd0 at pckbd0: console keyboard
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 acpicpu0 at cpu0: ACPI CPU
 acpicpu0: C1: HLT, lat   0 us, pow     0 mW
@@ -200,10 +200,10 @@
 uhub3: 5 ports with 5 removable, self powered
 uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub4: 5 ports with 5 removable, self powered
-uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
-uhub5: 5 ports with 5 removable, self powered
-uhub6 at usb6: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
-uhub6: 2 ports with 2 removable, self powered
+uhub5 at usb6: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
+uhub5: 2 ports with 2 removable, self powered
+uhub6 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
+uhub6: 5 ports with 5 removable, self powered
 uhub7 at usb7: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub7: 4 ports with 4 removable, self powered
 ahcisata0 port 0: device present, speed: 6.0Gb/s
@@ -241,7 +241,7 @@
 cd0 at atapibus0 drive 0: <ASUS    DRW-24B1ST, , 1.01> cdrom removable
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 cd0(ahcisata0:4:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
-uhub9 at uhub5 port 1:  USB2.0 Hub, class 9/0, rev 2.00/77.63, addr 2
+uhub9 at uhub6 port 1:  USB2.0 Hub, class 9/0, rev 2.00/77.63, addr 2
 uhub9: single transaction translator
 uhub9: 4 ports with 4 removable, self powered
 umass0 at uhub8 port 1 configuration 1 interface 0

=>
=>> xhci0 at pci2 dev 0 function 0: vendor 0x1033 product 0x0194 (rev. 0x03)
=>> xhci0: interrupting at ioapic0 pin 17
=>> xhci0: xHCI version 0.96
=>> usb0 at xhci0: USB revision 3.0
=>> usb1 at xhci0: USB revision 2.0
=>> [boot pauses here]
=>
=>
=>Not sure NEC controllers are working yet, although does HEAD do any better?

   It has been a while since I tried, but the result was similar,
which was why I held off switching to -current. Getting USB3 working
would be awesome, but initially I'd settle for the driver not being
troublesome. Again, if there is anything I can do to help, let me
know.

				Gary


=>Thanks,
=>Nick
=>
=>


Home | Main Index | Thread Index | Old Index