usb/143634: Jetflash USB flash stick fails to mount

George 'Nephrite' Potapov nephrite at inbox.ru
Tue Feb 9 08:18:22 UTC 2010


On Sun, 7 Feb 2010 19:59:58 +0100
Hans Petter Selasky <hselasky at 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 at inbox.ru>


More information about the freebsd-usb mailing list