From owner-freebsd-hardware@freebsd.org Thu Feb 15 05:24:44 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 F0613F225E1 for ; Thu, 15 Feb 2018 05:24:43 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FA7B8313F for ; Thu, 15 Feb 2018 05:24:43 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-it0-x233.google.com with SMTP id 140so8488012iti.0 for ; Wed, 14 Feb 2018 21:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eWGqh0h5wJUzbB80JzeqQGUSOKrTP6ZDlMekoY30s3Y=; b=lWy1M+9pS/9l5O5rHFkkuJPRd0zsQexuOD9ciC51aJoP5aJcLiQI0ss27BhmhkYHxw 8xZGZzjxgb9FZZvTwA3iw1qKBiFKO57qquOw4N2WcnBSM+8iv2WXNMY0+EY2GiI15Lmz cdmZf0IDnd/ZI0vM0gGgztDlIBoB0Gy0pdGqjEyBnv2n8Arqf8IKQSlOQhKw6RqnxRw9 pNsk2mL3m/3ZqAweKTeNIHHolZxLIKEZFdEH+j+dvFgE0MNhXNCT22sekxBzW9yOyotT ZESfuKmBALL7fYvqQ2UOK1u0pKmNUqlZoS3T0fENCYdqCrOehBFhTXNVpvSip69zqVlw IPYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eWGqh0h5wJUzbB80JzeqQGUSOKrTP6ZDlMekoY30s3Y=; b=i3ZIaiJGSqP9aTX7g0+6QYYnm92T6w+KW76rIuWnhsXTMtrgIKiblXs4vW3FvWGe+W VRIrxQsfjCgob49WPwVT4XPrkFZ5OZTAFGpHGrORcmp0tkocLF623B38/wUcxIZyV0FG fX5/wGogxT4Gi9Pa2T+PE9QOqlc0eMgk/agaM3YQEI7Limgh4X8j8kd1RZbFwpOVfyuA rClTmTgmxaIQGLK2/a+6AWVplNVwg3SPjiocyPOzVwBQreF//NwwuqnOdGpcrBiEyrAC SOOuVED9T8Fp7agTabQ/PsXFZ+DbnO1dsTlbfo1ZdHJNbG0Rdw/JqM7aLdiOGNjvIhrr +tpg== X-Gm-Message-State: APf1xPBDYfDUn7LBmRN6pgAzuARd8Ozc1zuLlZH8J0QoveNXnDHTicHG WMuYeG1ez/8/nKG2Pl0FWAxMHmGMGjDVn8wRqXyxtA== X-Google-Smtp-Source: AH8x226APZu43D7UpKiIk8w08JEd3Z2YWWgipGgjh/NK5tH4vs6B4EW5ERFYCLu1smE0Ec4dX9bkMG+vsFvFwDV+ves= X-Received: by 10.36.227.71 with SMTP id d68mr719372ith.57.1518672282446; Wed, 14 Feb 2018 21:24:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.225.66 with HTTP; Wed, 14 Feb 2018 21:24:41 -0800 (PST) In-Reply-To: <29e9db2f-800d-acbc-1aec-7b2170a571de@selasky.org> References: <2dd2f1e1-dd3f-5e38-5873-81394633799b@selasky.org> <62462b68-2fb9-4e8a-c473-9c1ea9096f09@selasky.org> <78c5b059-ac39-8946-81f5-3e6ec75d6c39@selasky.org> <29e9db2f-800d-acbc-1aec-7b2170a571de@selasky.org> From: Lee Brown Date: Wed, 14 Feb 2018 21:24:41 -0800 Message-ID: Subject: Re: Dell R630 unable to detect USB, can't boot To: freebsd-usb@freebsd.org, freebsd-hardware@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Thu, 15 Feb 2018 05:24:44 -0000 q On Wed, Feb 14, 2018 at 4:33 AM, Hans Petter Selasky wrote: > 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. > > > As I only have the hardware replacement level of support and FreeBSD isn't on their list of certified OS's, I'm probably best spending my time debugging this issue. I do find it curious that the loader is able to work the USB hardware but not the kernel. Once I figure out how to capture the kernel output, I'll crank up the debugging and post back here.