From owner-freebsd-current@FreeBSD.ORG Fri Dec 26 11:14:17 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 3DE6B1065674; Fri, 26 Dec 2008 11:14:17 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id B51968FC0C; Fri, 26 Dec 2008 11:14:16 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so2392844qwb.7 for ; Fri, 26 Dec 2008 03:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=IQvfhUG5n1NWpH/nJLth9vIhJpaVH5NZvkd+1xou8xc=; b=hOzNcF8mr/xLQdtXYg4FW0gYJ62vFcfqXvZwP3poQKTqT/Jo07fkBJG0ChOUZFWFV2 BWI1Ec4T7HmPkFljjPEGNPOxmkbLD8gWr1/X3+GBykp0nmtVKVTGCIlWwmrbhbI1x0Pv RUekbId6Il3sX/qY2vanplR5++Hm0QAk2+bek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SRPJTDgPBnohSf96vz8STsyFKegm8gSEsLZqDhMz1bTQq98oxivjmQI7g6N1ZRo3i/ za8/kqBr3xHtlNCeDV7c6mU5rDwFEblh3F8zslE3nDkiGS4hTYa7h0hpuvr1vtUNlGBZ 1TfnW63DI6X3hQon56BrAK1EenjvZr2KubQT4= Received: by 10.215.39.15 with SMTP id r15mr9653837qaj.99.1230290055287; Fri, 26 Dec 2008 03:14:15 -0800 (PST) Received: by 10.214.244.18 with HTTP; Fri, 26 Dec 2008 03:14:15 -0800 (PST) Message-ID: <747dc8f30812260314u7b2a3c17t8faf3fe09808aea3@mail.gmail.com> Date: Fri, 26 Dec 2008 09:14:15 -0200 From: "Renato Botelho" To: "Hans Petter Selasky" In-Reply-To: <747dc8f30812241058md9f782j64e192dc735dbaff@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081222214010.GA18389@elvis.mu.org> <747dc8f30812240236q13be1abdo58ced0f4faab8d29@mail.gmail.com> <200812241212.02913.hselasky@c2i.net> <747dc8f30812241058md9f782j64e192dc735dbaff@mail.gmail.com> Cc: freebsd-current@freebsd.org, current@freebsd.org, Alfred Perlstein 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: Fri, 26 Dec 2008 11:14:17 -0000 On Wed, Dec 24, 2008 at 4:58 PM, Renato Botelho wrote: > On Wed, Dec 24, 2008 at 9:12 AM, Hans Petter Selasky wrote: >> 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 > > I still had problems, I'll collect more details on Friday and > send you. Here are my /var/log/messages: http://pastebin.com/f6c28d7ca I still have problems with my keyboard. BTW, I added a #include of usb2_ioctl.h to fix lack of USB_SHORT_XFER_OK definition, could it cause any problems? Thanks -- Renato Botelho