From owner-freebsd-usb@FreeBSD.ORG Tue Dec 27 14:24:31 2011 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 0EFD61065675 for ; Tue, 27 Dec 2011 14:24:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8DAD78FC17 for ; Tue, 27 Dec 2011 14:24:30 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 55331971; Tue, 27 Dec 2011 15:24:28 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 27 Dec 2011 15:22:04 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EF9D06C.9060501@chillt.de> In-Reply-To: <4EF9D06C.9060501@chillt.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201112271522.04637.hselasky@c2i.net> Cc: Bartosz Fabianowski Subject: Re: umass regression 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: Tue, 27 Dec 2011 14:24:31 -0000 On Tuesday 27 December 2011 15:04:28 Bartosz Fabianowski wrote: > Hi list > > I recently upgraded my amd64 box from 8-STABLE to 9-STABLE. I noticed > that after the upgrade, two of my umass devices fail to attach. > > The first device is a 4th generation iPod running Rockbox. Under > 8-STABLE, the iPod's 20GB had drive would show up as /dev/da1. Now, I > get the following dmesg output and no umass devices: > > ugen1.7: at usbus1 > umass1: addr 7> on usbus1 > umass1: could not setup required transfers, USB_ERR_NO_PIPE > device_attach: umass1 attach returned 6 > > The second device is a Garmin Dakota 20 running stock Garmin firmware. > Under 8-STABLE, the Garmin shows up as /dev/da1 and /dev/da2, the first > representing the device's internal memory, the second its microSD card. > Under 9-STABLE, I only get /dev/da1 and the following dmesg output: > > ugen1.8: at usbus1 > umass1: > on usbus1 > da1 at umass-sim1 bus 1 scbus4 target 0 lun 0 > da1: Removable Direct Access SCSI-5 device > da1: 1.000MB/s transfers > da1: 934MB (1912832 512 byte sectors: 64H 32S/T 934C) > > All my other umass devices work just fine, including a USB key that I > always have plugged in as /dev/da0 and many other USB keys and USB hard > drives. > > The issue is annoying enough that I am willing to invest time and effort > into debugging it... but I would like to know where to look. Any ideas? > I still have my 8-STABLE install around, so I can do some comparisons > and regression testing. Hi, 9-stable has not been MFC'ed yet. Could you try to use a 10-current kernel with 9-stable? USB code should be the same! --HPS