From owner-freebsd-usb@FreeBSD.ORG Sun Feb 5 02:02:24 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9729D106566B for ; Sun, 5 Feb 2012 02:02:24 +0000 (UTC) (envelope-from tony.lemmer@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 23A468FC0C for ; Sun, 5 Feb 2012 02:02:23 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so5540376wib.13 for ; Sat, 04 Feb 2012 18:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZehgzbScj3kM2QEDBdYDjNyKaqJluEyZ8u5WNqHcLNs=; b=elbtS/0GhfzE3BhfPKs1dFnyKWz0w/0CyNQDxsy48BlLKsdow7BumfdrhEehkM4mlM yBT+80/67HNElXw1tzlGEuu3TOVq0NYfqNn2kyPkRiUR0hIugYaE/w2Xp92dkdBPfcRU t2FMJOthJ6KwRezuiOo7CL1t5hijxtxo6N/pw= Received: by 10.180.108.232 with SMTP id hn8mr19816340wib.16.1328407342285; Sat, 04 Feb 2012 18:02:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.52.5 with HTTP; Sat, 4 Feb 2012 18:01:42 -0800 (PST) In-Reply-To: <201202020903.00508.hselasky@c2i.net> References: <201202011721.02039.hselasky@c2i.net> <201202020903.00508.hselasky@c2i.net> From: Anthony Lemmer Date: Sat, 4 Feb 2012 20:01:42 -0600 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: USB_ERR_TIMEOUT, then stuck @ mountroot X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2012 02:02:24 -0000 Sorry for taking so long to respond... I get the same messages and woes after trying to boot via DVD, after trying boot_delay and scsi_delay. I'll try compiling myself, later. On Thu, Feb 2, 2012 at 02:03, Hans Petter Selasky wrote: > On Wednesday 01 February 2012 23:04:04 Anthony Lemmer wrote: > > Hello Hans, > > > > Thank you for your assistance. > > > > Various Linux distros I've tried works on this machine via USB, of > course I > > assume by "broken" you just refer to the fact that BSD lacks the > shotgunned > > USB compatibility of more popular operating systems. > > > > Umass does not print any error messages. The only errors I get are > > regarding the following: > > > > usb_alloc_device: set addr 2 failed (USB_ERR_TIMEOUT) > > usbd_setup_device_desc: getting device descriptor failed > (USB_ERR_TIMEOUT). > > ugen0.2 @ usbus 0 (Disconnect) > > > > Then root waits/fails on USB1. > > > > Oh, another, single, error popped up: *run_interrupt_driven_hooks still > > waiting 60 seconds for xpt-config*. > > > > Regards, > > Anthony Lemmer > > Hi, > > That means the UMASS driver has not yet attached, and we are failing at a > much > earlier level. > > Could you try using an external USB HUB in between or buy a KINGSTON USB > memory stick which you could try as a reference? > > The timeout means the USB device is NAK-ing some important USB messages. > That > indidicates a firmware failure on the USB device! > > Regarding "Various Linux distros works with ...": The FreeBSD USB stack is > fully USB compliant. Some USB devices are never tested with anything, but > XP. > They assume certain timing and order of operation. I'm sorry to say, but if > your USB device fails at this point then I would guess it is also broken in > more ways and you should not use non-USB certified USB devices for > important > purposes like installing an OS. Does your USB device or package for this > device have the USB-LOGO like on the usb.org website? > > For your curosity, you can build a USB kernel with options USB_DEBUG and > then > play with the following sysctl, increasing, decreasing their values and > then > try to attach the USB device. > > hw.usb.pr_recovery_delay: 250 > hw.usb.pr_poll_delay: 50 > > --HPS > -- Anthony Lemmer, Systems, Network, & Information Engineer http://robobonobo.com (Coming Soon!) | (424) 253-6637