usb/143634: Jetflash USB flash stick fails to mount
Hans Petter Selasky
hselasky at c2i.net
Tue Feb 9 08:14:18 UTC 2010
On Tuesday 09 February 2010 08:51:02 George 'Nephrite' Potapov wrote:
> 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.
>
Just grab the ehci.h from USB P4 aswell.
--HPS
More information about the freebsd-usb
mailing list