Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 11:37:03 +0000
From:      John <jwd@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: usb problems on HP DL980G7
Message-ID:  <20120516113703.GA37604@FreeBSD.org>
In-Reply-To: <201205110741.41137.hselasky@c2i.net>
References:  <20120511005419.GA5643@FreeBSD.org> <201205110741.41137.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
----- 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: <Unknown> at usbus0 (disconnected)
> > uhub_reattach_port: could not allocate new device
> > 
> >    From dmesg:
> > 
> > pci0: <base peripheral, interrupt controller> at device 20.0 (no driver
> > attached) pcib12: <ACPI PCI-PCI bridge> at device 28.0 on pci0
> > pci3: <ACPI PCI bus> on pcib12
> > pcib13: <ACPI PCI-PCI bridge> at device 28.4 on pci0
> > pci2: <ACPI PCI bus> on pcib13
> > pci2: <base peripheral> at device 0.0 (no driver attached)
> > pci2: <base peripheral> at device 0.2 (no driver attached)
> > uhci0: <UHCI (generic) USB controller> port 0x3c00-0x3c1f irq 17 at device
> > 0.4 on pci2 usbus0 on uhci0
> > uhci1: <Intel 82801JI (ICH10) USB controller USB-A> port 0x1000-0x101f irq
> > 20 at device 29.0 on pci0 device_attach: uhci1 attach returned 12
> > uhci1: <Intel 82801JI (ICH10) USB controller USB-B> port 0x1020-0x103f irq
> > 23 at device 29.1 on pci0 device_attach: uhci1 attach returned 12
> > uhci1: <Intel 82801JI (ICH10) USB controller USB-C> port 0x1040-0x105f irq
> > 22 at device 29.2 on pci0 device_attach: uhci1 attach returned 12
> > uhci1: <Intel 82801JI (ICH10) USB controller USB-F> port 0x1060-0x107f irq
> > 23 at device 29.3 on pci0 device_attach: uhci1 attach returned 12
> > ehci0: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120516113703.GA37604>