Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 10:51:02 +0300
From:      George 'Nephrite' Potapov <nephrite@inbox.ru>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb/143634: Jetflash USB flash stick fails to mount
Message-ID:  <20100209105102.088e568e.nephrite@inbox.ru>
In-Reply-To: <201002071959.59001.hselasky@c2i.net>
References:  <201002070939.o179dnkv062218@www.freebsd.org> <201002071959.59001.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Feb 2010 19:59:58 +0100
Hans Petter Selasky <hselasky@c2i.net> 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: <nVidia nForce MCP61 USB Controller> mem 0xdbeff000-0xdbefffff irq 21 at device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <nVidia nForce MCP61 USB Controller> on ohci0
ehci0: <NVIDIA nForce MCP61 USB 2.0 controller> mem 0xdbefec00-0xdbefecff irq 22 at device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <NVIDIA nForce MCP61 USB 2.0 controller> on ehci0
== cut ==

So your patch should probably help. I'll try to move to STABLE kernel and try again.

Hope I was helpful.

-- 
George 'Nephrite' Potapov <nephrite@inbox.ru>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100209105102.088e568e.nephrite>