From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 06:17:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1510116A4CE; Sun, 29 Feb 2004 06:17:24 -0800 (PST) Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1886F43D1F; Sun, 29 Feb 2004 06:17:23 -0800 (PST) (envelope-from scott@fishballoon.org) Received: from llama.fishballoon.org ([81.104.195.124]) by mta06-svc.ntlworld.comESMTP <20040229141721.VAVJ10498.mta06-svc.ntlworld.com@llama.fishballoon.org>; Sun, 29 Feb 2004 14:17:21 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.30; FreeBSD) id 1AxRkv-000BeJ-Nx; Sun, 29 Feb 2004 14:17:21 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.11/8.12.11/Submit) id i1TEHK5S000475; Sun, 29 Feb 2004 14:17:20 GMT (envelope-from scott) Date: Sun, 29 Feb 2004 14:17:20 +0000 From: Scott Mitchell To: Julian Elischer Message-ID: <20040229141720.GA447@tuatara.fishballoon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE i386 cc: stable@freebsd.org cc: hackers@freebsd.org Subject: Re: HEADSUP.. USB MFC coming.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 14:17:24 -0000 On Fri, Feb 27, 2004 at 05:54:18PM -0800, Julian Elischer wrote: > > I plan to commit the MFC at http://www.josef-k.net/freebsd/ > (the latest one) in the next couple of days. If you really care about > USB in 4.10 you might do well to test this on your equipment, > ESPECIALLY if you have unusual devices. Let me know of both successes > and failures please.. If I hear nothing I won't know if it's because > no-one tested it or it was just without problems.. Hi Julian, The usb.ko module failed to load with these patches (usb_allocmem undefined). Adding usb_mem.c to SRCS in /sys/modules/usb/Makefile seems to fix this - my USB mouse, flash reader and cheap-ass 'pen drive' all appear to be working as before. One strange thing though - booting from my usual kernel (which loads most things from modules) I get some extra whining when the USB ports are being probed: uhci0: port 0xd800-0xd81f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 umass0: Generic Mass Storage Device, rev 1.10/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 umass1: DMI MultiFlash, rev 1.10/1.00, addr 3 uhci1: port 0xdc00-0xdc1f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub1: port error, restarting port 1 uhub1: port error, giving up port 1 ugen0: LEGO Group LEGO USB Tower, rev 1.10/1.00, addr 2 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. Booting from a GENERIC built from the same sources, I don't get any of the 'port error' messages: uhci0: port 0xd800-0xd81f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered umass0: Generic Mass Storage Device, rev 1.10/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass1: DMI MultiFlash, rev 1.10/1.00, addr 3 uhci1: port 0xdc00-0xdc1f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ugen0: LEGO Group LEGO USB Tower, rev 1.10/1.00, addr 2 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. This doesn't seems to have any effect on whether things work or not though, other than the umass devices coming up on different SCSI busses if I don't load USB from the module, but I think that has always been the case. Otherwise it looks good. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon