From owner-freebsd-current@FreeBSD.ORG Wed May 16 11:37:04 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEAC6106564A for ; Wed, 16 May 2012 11:37:04 +0000 (UTC) (envelope-from jwd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A6B028FC16; Wed, 16 May 2012 11:37:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4GBb4FF048141; Wed, 16 May 2012 11:37:04 GMT (envelope-from jwd@freefall.freebsd.org) Received: (from jwd@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4GBb3iY048140; Wed, 16 May 2012 11:37:03 GMT (envelope-from jwd) Date: Wed, 16 May 2012 11:37:03 +0000 From: John To: Hans Petter Selasky Message-ID: <20120516113703.GA37604@FreeBSD.org> References: <20120511005419.GA5643@FreeBSD.org> <201205110741.41137.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205110741.41137.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: usb problems on HP DL980G7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 11:37:04 -0000 ----- Hans Petter Selasky's Original Message ----- > On Friday 11 May 2012 02:54:19 John wrote: > > Hi Folks, > > > > We've been trying to bring freebsd up on a hp dl980g7 for awhile. > > Due to usb issues, we finally installed onto a revo card and > > installed it into the 980. The system consistently puts out the > > following messages: > > > > usbd_ctrl_transfer_setup: could not setup default USB transfer > > usb_alloc_device: set address 2 failed (USB_ERR_NOMEM, ignored) > > usbd_ctrl_transfer_setup: could not setup default USB transfer > > usbd_setup_device_desc: getting device descriptor at addr 2 failed, > > USB_ERR_NOMEM usbd_ctrl_transfer_setup: could not setup default USB > > transfer > > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_NOMEM, ignored) > > usbd_ctrl_transfer_setup: could not setup default USB transfer > > usbd_setup_device_desc: getting device descriptor at addr 2 failed, > > USB_ERR_NOMEM usbd_ctrl_transfer_setup: could not setup default USB > > transfer > > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_NOMEM, ignored) > > usbd_ctrl_transfer_setup: could not setup default USB transfer > > usbd_setup_device_desc: getting device descriptor at addr 2 failed, > > USB_ERR_NOMEM ugen0.2: at usbus0 (disconnected) > > uhub_reattach_port: could not allocate new device > > > > From dmesg: > > > > pci0: at device 20.0 (no driver > > attached) pcib12: at device 28.0 on pci0 > > pci3: on pcib12 > > pcib13: at device 28.4 on pci0 > > pci2: on pcib13 > > pci2: at device 0.0 (no driver attached) > > pci2: at device 0.2 (no driver attached) > > uhci0: port 0x3c00-0x3c1f irq 17 at device > > 0.4 on pci2 usbus0 on uhci0 > > uhci1: port 0x1000-0x101f irq > > 20 at device 29.0 on pci0 device_attach: uhci1 attach returned 12 > > uhci1: port 0x1020-0x103f irq > > 23 at device 29.1 on pci0 device_attach: uhci1 attach returned 12 > > uhci1: port 0x1040-0x105f irq > > 22 at device 29.2 on pci0 device_attach: uhci1 attach returned 12 > > uhci1: port 0x1060-0x107f irq > > 23 at device 29.3 on pci0 device_attach: uhci1 attach returned 12 > > ehci0: mem > > 0xa0300000-0xa03003ff irq 20 at device 29.7 on pci0 device_attach: ehci0 > > attach returned 12 > > > > Current - 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235137M > > > > Nothing connected to usb on this systems works. > > > > Full dmesg is here: > > http://people.freebsd.org/~jwd/dl980g7/dmesg.boot.html > > > > Any help is appreciated. > > Hi, > > If you compile a kernel with options USB_DEBUG, there are some tunables under > hw.usb which can set various USB related delays. Try to double all USB sysctls > having the keyword "delay". > > --HPS Hi, It turns out USB_DEBUG is already enabled in the GENERIC kernel config. # sysctl -a | grep usb | grep delay hw.usb.pr_recovery_delay: 250 hw.usb.pr_poll_delay: 50 Increased these to 500 and 100 respectively in /etc/sysctl.conf. After rebooting, the error still comes up regularly on the console. Is there anything else we should turn on/try? (and a usb keyboard still doesn't work) I didn't notice this near the top of the dmesg output previously. Could it be related? ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16 (20120420/tbfadt-662) Thanks, John