On 06/05/16(Fri) 01:13, Hrvoje Popovski wrote: > Hi, > > I've got > http://www.supermicro.com/products/motherboard/Xeon/D/X10SDV-TP8F.cfm > for my openbsd lab. Default BIOS settings for usb is USB3 and with that > settings i can't install openbsd on it, or boot installed openbsd. > I have installed openbsd with disabled USB3 ie. USB2, complie kernel > with USB_DEBUG, EHCI_DEBUG, XHCI_DEBUG, UHCI_DEBUG, enable USB3 in BIOS > and boot... this is screenshot.. > http://kosjenka.srce.hr/~hrvoje/openbsd/usb.jpg
Could you please tell me if the diff below solves your problem? Index: xhci_pci.c =================================================================== RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v retrieving revision 1.7 diff -u -p -r1.7 xhci_pci.c --- xhci_pci.c 2 Nov 2015 14:53:10 -0000 1.7 +++ xhci_pci.c 31 May 2016 16:36:14 -0000 @@ -258,8 +258,9 @@ xhci_pci_takecontroller(struct xhci_pci_ eec = -1; /* Synchronise with the BIOS if it owns the controller. */ - for (xecp = XHCI_HCC_XECP(cparams) << 2; xecp != 0; - xecp = XHCI_XECP_NEXT(eec) << 2) { + for (xecp = XHCI_HCC_XECP(cparams) << 2; + xecp != 0 && XHCI_XECP_NEXT(eec); + xecp += XHCI_XECP_NEXT(eec) << 2) { eec = XREAD4(&psc->sc, xecp); if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY) continue;