From owner-freebsd-current@FreeBSD.ORG Tue Jun 26 12:04:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FE4516A46D for ; Tue, 26 Jun 2007 12:04:09 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 6ADCE13C4BF for ; Tue, 26 Jun 2007 12:04:09 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=BX0lCmfUFGqAQo13kKn/033InQZ2onju30zPpaDvtIex1faFOAprXxcs7JYoIy70rbYybZwxXDCsbVTN/KeN4DWm6aPu5ppiuvMJoHW5ylMRZdGElNy73lhCiKiN5LZdnrWSpUrTDXHMehvikR1gWMrzXFpZxIGn6XgE/aAL3AF4dygJskOSz+hfOm4EQTTogkmOEujF8DINelZ8joQB8bxF3jK0xxL4v1Rj/8R2rw7vfToc7QO+aQzupoQU5/Tv; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1I39mC-0003T7-R5; Tue, 26 Jun 2007 12:04:08 +0000 Received: from atlas.clue.co.za ([10.0.0.18] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1I39lT-0002rJ-FP; Tue, 26 Jun 2007 12:03:23 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I39lS-0009NM-8R; Tue, 26 Jun 2007 14:03:22 +0200 To: Hans Petter Selasky From: Ian FREISLICH In-Reply-To: Message from Hans Petter Selasky of "Tue, 26 Jun 2007 13:22:15 +0200." <200706261322.15766.hselasky@c2i.net> X-Attribution: BOFH Date: Tue, 26 Jun 2007 14:03:22 +0200 Message-Id: Cc: freebsd-current@freebsd.org Subject: Re: USB mouse works again in current!!! 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: Tue, 26 Jun 2007 12:04:09 -0000 Hans Petter Selasky wrote: > Hi Ian, > > Debugging Host Controller Halted is not so easy. It usually means that > the DMA memory corrupted. I gathered it's not that easy. The controller that breaks is this one: uhci3@pci0:29:3: class=0x0c0300 card=0x72708086 chip=0x27cb8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3: port 0x4040-0x405f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] uhci3: LegSup = 0x1010 usb3: on uhci3 usb3: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered > Have you tried my new USB stack, popularly called HPS USB stack ? No, I'm going to try that now. I'm assuming it's: http://www.turbocat.net/~hselasky/usb4bsd/ I tried building 1.6.1, but I got the following: ===> axe (all) cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -D_KERNEL -DKLD_MODULE -std=c 99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/APPLE/ opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-gr owth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sy s/APPLE -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dno w -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-e xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast -qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/axe /../../dev/usb/if_axe.c In file included from @/dev/usb2/usb.h:49, from @/dev/usb/usb.h:1, from /usr/src/sys/modules/axe/../../dev/usb/if_axe.c:93: @/dev/usb2/usb_port.h:292:1: warning: "msleep" redefined In file included from /usr/src/sys/modules/axe/../../dev/usb/if_axe.c:71: @/sys/systm.h:307:1: warning: this is the location of the previous definition /usr/src/sys/modules/axe/../../dev/usb/if_axe.c:717:65: error: macro "usb_add_ta sk" passed 3 arguments, but takes just 2 /usr/src/sys/modules/axe/../../dev/usb/if_axe.c: In function 'axe_tick': /usr/src/sys/modules/axe/../../dev/usb/if_axe.c:717: error: 'usb_add_task' undec lared (first use in this function) /usr/src/sys/modules/axe/../../dev/usb/if_axe.c:717: error: (Each undeclared ide ntifier is reported only once /usr/src/sys/modules/axe/../../dev/usb/if_axe.c:717: error: for each function it appears in.) *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error So I'm trying the latest. > And what kind of platform are you using? It's an Apple MacBook Pro. Ian -- Ian Freislich