From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 09:04:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7948A37B401 for ; Mon, 11 Aug 2003 09:04:43 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 549BE43FA3 for ; Mon, 11 Aug 2003 09:04:42 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h7BFw1os025905 for ; Mon, 11 Aug 2003 11:58:01 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h7BG3POQ073815 for ; Mon, 11 Aug 2003 12:03:25 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vvLTUEqYakv92KGAAZoV" Organization: MarcusCom, Inc. Message-Id: <1060617873.788.18.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Mon, 11 Aug 2003 12:04:33 -0400 X-Spam-Status: No, hits=-8.9 required=5.0 tests=BAYES_00,HTML_10_20,PGP_SIGNATURE_2,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Problem using USB 2.0 device under -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 11 Aug 2003 16:04:43 -0000 --=-vvLTUEqYakv92KGAAZoV Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm running: FreeBSD 5.1-CURRENT #18: Sat Aug 9 16:53:59 EDT 2003 marcus@gyros.marcuscom.com:/usr/obj/usr/src/sys/GYROS And I just bought one of those 256 MB USB JumpDrives. The drive works fine under -STABLE and in USB 1.1 slots on -CURRENT: umass0: LEXAR MEDIA JUMPDRIVE PRO, rev 2.00/0.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 246MB (503808 512 byte sectors: 64H 32S/T 246C) However, if I have ehci compiled into my kernel (needed to get usbd to detect new devices), I see the following when I plug the drive in: usb3: unrecoverable error, controller halted usb3: blocking intrs 0x10 USB does work on this machine (as long as the device is a USB 1.x device). I have tested a USB mouse, a Sony camera, and a USB serial adapter. All work as expected. I have an Intel-based USB controller in this laptop: ehci0@pci0:29:7: class=3D0x0c0320 card=3D0x015f1028 chip=3D0x24cd808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801DB (ICH4) USB EHCI Controller' class =3D serial bus subclass =3D USB But, of course, it's detected as a generic EHCI controller: ehci0: mem 0xd0000000-0xd00003ff irq 10 at device 29.7 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered I haven't tried applying the patch to get it detected as an actual Intel controller, but I'm not sure that would help. Any ideas? Full dmesg follows. Thanks. Joe Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-CURRENT #18: Sat Aug 9 16:53:59 EDT 2003 marcus@gyros.marcuscom.com:/usr/obj/usr/src/sys/GYROS Preloaded elf kernel "/boot/kernel/kernel" at 0xc0510000. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc05102c8. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0510374. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0510420. Timecounter "i8254" frequency 1193182 Hz CPU: Genuine Intel(R) CPU 3.06GHz (3056.50-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9 =20 Features=3D0xbfebfbff real memory =3D 1072562176 (1022 MB) avail memory =3D 1036513280 (988 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc61375a0), AE_NOT_EXIST acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc61375a0), AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 10 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 5 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 10 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Microsoft Microsoft IntelliMouse=AE Explorer, rev 1.10/1.14, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xd0000000-0xd00003ff irq 10 at device 29.7 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 1 INTA is routed to irq 10 pcib2: slot 4 INTA is routed to irq 10 pcib2: slot 4 INTA is routed to irq 10 pci2: at device 1.0 (no driver attached) cbb0: irq 10 at device 4.0 on pci2 start (88000000) < sc->membase (d0200000) end (ffffffff) > sc->memlimit (d02fffff) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: vendor=3D104c, dev=3D8029 fwohci0: <1394 Open Host Controller Interface> mem 0xd0200000-0xd0203fff,0xd0206000-0xd02067ff irq 10 at device 4.1 on pci2 fwohci0: OHCI version 1.10 (ROM=3D0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:c0:4f:34:0d:90:90:61 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=3D0xc000ffc0, gen=3D1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xd0000800-0xd00008ff,0xd0000c00-0xd0000dff irq 10 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_ec0: port 0x66,0x62 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_acad0: on acpi0 orm0: