From owner-freebsd-usb@FreeBSD.ORG Tue Feb 9 08:14:18 2010 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 01A241065670 for ; Tue, 9 Feb 2010 08:14:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5791A8FC12 for ; Tue, 9 Feb 2010 08:14:16 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=K6eD4Y9wjscA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=6I5d2MoRAAAA:8 a=Tn8wesJlGQKdWkN52ikA:9 a=SgQzIn_IK54U1cjM_zgA:7 a=Hfv8XMKmTx1S6-3oBHCRZ1u-qwUA:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1168669664; Tue, 09 Feb 2010 09:14:15 +0100 From: Hans Petter Selasky To: "George 'Nephrite' Potapov" Date: Tue, 9 Feb 2010 09:12:49 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201002070939.o179dnkv062218@www.freebsd.org> <201002071959.59001.hselasky@c2i.net> <20100209105102.088e568e.nephrite@inbox.ru> In-Reply-To: <20100209105102.088e568e.nephrite@inbox.ru> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002090912.49573.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/143634: Jetflash USB flash stick fails to mount 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, 09 Feb 2010 08:14:18 -0000 On Tuesday 09 February 2010 08:51:02 George 'Nephrite' Potapov wrote: > On Sun, 7 Feb 2010 19:59:58 +0100 > > Hans Petter Selasky wrote: > > Hi, > > > > Do the following patches make any difference on your system? > > > > http://p4web.freebsd.org/chv.cgi?CH=174455 > > > > http://perforce.freebsd.org/chv.cgi?CH=174455 > > Hello. > > If I apply that patch to my system it just fails to build: > > == cut == > /usr/src/sys/dev/usb/controller/ehci.c: In function 'ehci_init': > /usr/src/sys/dev/usb/controller/ehci.c:265: error: 'EHCI_SCFLG_LOSTINTRBUG' > undeclared (first use in this function) > /usr/src/sys/dev/usb/controller/ehci.c:265: error: (Each undeclared > identifier is reported only once > /usr/src/sys/dev/usb/controller/ehci.c:265: error: for each function it > appears in.) /usr/src/sys/dev/usb/controller/ehci.c: In function > 'ehci_device_ctrl_enter': /usr/src/sys/dev/usb/controller/ehci.c:2299: > error: expected declaration specifiers before 'if' == cut == > > I think it's because I have RELEASE and your patches should go to STABLE, > no? Anyway, I figured from your patch that this problem has something to > do with nVidia chipsets. I really have one of those. > > Output from dmesg.txt: > == cut == > ohci0: mem 0xdbeff000-0xdbefffff irq > 21 at device 2.0 on pci0 ohci0: [ITHREAD] > usbus0: on ohci0 > ehci0: mem 0xdbefec00-0xdbefecff > irq 22 at device 2.1 on pci0 ehci0: [ITHREAD] > usbus1: EHCI version 1.0 > usbus1: on ehci0 > == cut == > > So your patch should probably help. I'll try to move to STABLE kernel and > try again. > > Hope I was helpful. > Just grab the ehci.h from USB P4 aswell. --HPS