From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 12:09:46 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C12E106564A for ; Wed, 24 Dec 2008 12:09:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id D8E818FC12 for ; Wed, 24 Dec 2008 12:09:45 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=pgw_eo6bRDYA:10 a=JgwOP_QsqSoA:10 a=-yN5AZUMb9atFq9HRkgA:9 a=4ZIbzy2pMAtqzLhOIJEA:7 a=Xea3PW68OnJIJ09iyS3dtiMbMegA:4 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 998555714; Wed, 24 Dec 2008 12:09:42 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 24 Dec 2008 12:12:02 +0100 User-Agent: KMail/1.9.7 References: <20081222214010.GA18389@elvis.mu.org> <747dc8f30812240236q13be1abdo58ced0f4faab8d29@mail.gmail.com> In-Reply-To: <747dc8f30812240236q13be1abdo58ced0f4faab8d29@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812241212.02913.hselasky@c2i.net> Cc: Renato Botelho , Alfred Perlstein , current@freebsd.org Subject: Re: HEADSUP usb2 (usb4bsd) to become default in 2 weeks. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 12:09:46 -0000 On Wednesday 24 December 2008, Renato Botelho wrote: > On Mon, Dec 22, 2008 at 7:40 PM, Alfred Perlstein wrote: > > We're going to usher in the New Year with a new usb stack. > > > > Now is the time to test, test, test. > > > > It is also the time to point out anything missing from usb2 that > > is in usb1. > > > > In two weeks, on Jan 3rd I will switch the GENERIC kernel to use > > usb2. > > > > The old usb code will remain in case there is any fallout. > > > > Depending on how this trial goes we will hopefully move to the new > > stack entirely within a few weeks after bug reports start dying > > down. > > Alfred, > > I tried a build yesterday with a fresh -current (Revision: 186431), > after boot I couldn't have my usb keyboard (Sun Type 7 Unix) working. > > I've collected these lines from messages, and i would like to know > what i can do to give you necessary information to fix this. > > Dec 23 14:48:35 botelhor kernel: Trying to mount root from ufs:/dev/ad4s1a > Dec 23 14:48:35 botelhor kernel: usb2_alloc_device:1417: set address 2 > failed (ignored) > Dec 23 14:48:35 botelhor kernel: usb2_alloc_device:1452: getting > device descriptor at addr 2 failed! > Dec 23 14:48:35 botelhor kernel: uhub_reattach_port:401: could not > allocate new device! > Dec 23 14:48:39 botelhor lpd[1090]: lpd startup: logging=0 > Dec 23 14:48:40 botelhor kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 > Dec 23 14:48:40 botelhor kernel: fuse4bsd: compiled against kernel > config /usr/obj/usr/src/sys/GARGA > Dec 23 14:49:05 botelhor kernel: usb2_alloc_device:1417: set address 2 > failed (ignored) > Dec 23 14:49:05 botelhor kernel: usb2_alloc_device:1452: getting > device descriptor at addr 2 failed! > Dec 23 14:49:05 botelhor kernel: uhub_reattach_port:401: could not > allocate new device! > > Here is the same lines with current usb stack: > > Dec 23 14:52:23 botelhor kernel: uhub5: class 9/0, rev 2.00/1.04, addr 2> on uhub3 > Dec 23 14:52:23 botelhor kernel: uhub5: 4 ports with 3 removable, bus > powered Dec 23 14:52:23 botelhor kernel: ums0: class 0/0, rev 1.10/51.27, addr 3> on uhub5 > Dec 23 14:52:23 botelhor kernel: ums0: 3 buttons and Z dir. > Dec 23 14:52:23 botelhor kernel: ukbd0: Keyboard, class 0/0, rev 2.00/1.04, addr 4> on uhub5 > Dec 23 14:52:23 botelhor kernel: kbd2 at ukbd0 > > Thanks Hi, I have made some patches for this kind of issues which are not yet in -current. You can try to fetch the latest from: svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/src/sys/dev cp -r usb2 /sys/dev/ make -C /sys/modules/usb2 clean all install --HPS