From owner-freebsd-hardware@freebsd.org Wed Feb 14 12:36:04 2018 Return-Path: Delivered-To: freebsd-hardware@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0647DF1EADB; Wed, 14 Feb 2018 12:36:04 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9643474F60; Wed, 14 Feb 2018 12:36:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6ACEB26009E; Wed, 14 Feb 2018 13:35:56 +0100 (CET) Subject: Re: Dell R630 unable to detect USB, can't boot To: Lee Brown , freebsd-usb@freebsd.org, freebsd-hardware@freebsd.org References: <2dd2f1e1-dd3f-5e38-5873-81394633799b@selasky.org> <62462b68-2fb9-4e8a-c473-9c1ea9096f09@selasky.org> <78c5b059-ac39-8946-81f5-3e6ec75d6c39@selasky.org> From: Hans Petter Selasky Message-ID: <29e9db2f-800d-acbc-1aec-7b2170a571de@selasky.org> Date: Wed, 14 Feb 2018 13:33:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 12:36:04 -0000 On 02/13/18 23:00, Lee Brown wrote: > On Tue, Feb 13, 2018 at 12:56 PM, Hans Petter Selasky > wrote: > >> On 02/13/18 19:52, Lee Brown wrote: >> >>> On Tue, Feb 13, 2018 at 6:00 AM, Hans Petter Selasky >>> wrote: >>> >>> On 02/13/18 14:45, Hans Petter Selasky wrote: >>>> >>>> On 02/04/18 23:47, Lee Brown wrote: >>>>> >>>>> Booting FreeBSD11.1-RELENG from a USB stick, loader works fine keyboard >>>>>> allows selection, kernel loads and starts OK, gets as far as detecting >>>>>> USB >>>>>> devices and stops there. imgur for a >>>>>> screenshot. Tried safe mode same occurrence. >>>>>> >>>>>> CDROM is via a USB, so that's a no go and I've not had luck booting >>>>>> UEFI >>>>>> iSCSI nor PXE yet, so I'm stuck without a keyboard (no PS/2 connectors) >>>>>> or >>>>>> essentially any boot media. >>>>>> >>>>>> For reference Xen 7.2 is running fine so at first blush it's not faulty >>>>>> hardware. >>>>>> USB3 mode on and off (ie force USB2) in the BIOS makes no difference. >>>>>> All Firmwares current. >>>>>> >>>>>> Any suggestions on how to move forward with this? I tried turning on >>>>>> verbose mode, but I'm not sure how to capture that nor where to look. >>>>>> >>>>>> >>>>>> Hi, >>>>> >>>>> USB_ERR_TIMEOUT might be an indication of a PCI IRQ issue. >>>>> >>>>> >>>>> Try to set: >>>> >>>> hw.usb.xhci.use_polling=1 >>>> >>>> from the loader as a temporary quirk. Then try to dump information about >>>> IRQ's like "vmstat -i" "dmesg" and so on. >>>> >>>> --HPS >>>> >>>> Thanks Hans, but unfortunately that made no difference. Here's my full >>>> >>> loader.conf >>> >>> vfs.mountroot.timeout="10" >>> boot_multicons="YES" >>> boot_serial="YES" >>> comconsole_speed="115200" >>> console="comconsole,efi" >>> kern.cam.boot_delay="10000" >>> hw.usb.xhci.use_polling=1 >>> >> >> Did you enable USB 3.0 in the BIOS when trying this? >> >> --HPS >> >> It was configured with USB3.0 OFF > I just toggled it ON, same result. > > I verified the sysctl polling value from the loader before booting Hi, I suggest you bring this issue up with Dell customer support. Further, maybe Linux XHCI / EHCI has a quirk for Dell R630. Alternativly you can try to debug the XHCI/EHCI debug prints on your own. If you get a timeout it means something is not communicating like expected in the XHCI/EHCI DMA descriptors. --HPS