Date: Wed, 21 Sep 2005 08:15:15 +1000 From: "Chris Richards" <chrisric@routemaster.net> To: <ticso@cicely.de> Cc: freebsd-usb@freebsd.org Subject: RE: USB 2.0 external hard drive only 1.000MB/s transfers Message-ID: <0C9AA1AB019C4A44AE29659CF2BB203202F1A0@gir.routemaster.net>
next in thread | raw e-mail | index | archive | help
Hi, =20 I was lucky enough to have a Belkin USB 2.0 PCI card (NEC chipset) in = another PC (WinXP) so I swapped them over thinking I would be on easy = street now - no difference. =20 It's like the companion controllers "usb0" and "usb1" don't get = recognised as being USB 2.0 capable. =20 A "usbdevs -v" output for each slot on the NEC chipset USB 2.0 PCI card = is below... and another dmesg output. =20 Cheers. =20 -Chris =20 ---------------------------------------- SLOT1: root@spunky2 <mailto:root@spunky2> :~# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, USB TO IDE(0x0702), = vendor 0x05e3(0x05e3), rev 0.33 port 2 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 160 mA, config 1, EZ USB/Ethernet = Converter(0x0200), SMC, Inc(0x0707), rev 1.01 =20 SLOT2: root@spunky2 <mailto:root@spunky2> :~# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, USB TO IDE(0x0702), = vendor 0x05e3(0x05e3), rev 0.33 port 3 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 160 mA, config 1, EZ USB/Ethernet = Converter(0x0200), SMC, Inc(0x0707), rev 1.01 =20 SLOT3: root@spunky2 <mailto:root@spunky2> :~# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, USB TO IDE(0x0702), = vendor 0x05e3(0x05e3), rev 0.33 Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 160 mA, config 1, EZ USB/Ethernet = Converter(0x0200), SMC, Inc(0x0707), rev 1.01 =20 SLOT4: root@spunky2 <mailto:root@spunky2> :~# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 addr 2: full speed, self powered, config 1, USB TO IDE(0x0702), = vendor 0x05e3(0x05e3), rev 0.33 Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), = NEC(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 160 mA, config 1, EZ ?EZ USB/Ethernet = Conve(0x0200), SMC, Inc(0x0707), rev 1.01 =20 ---------------------------------------- Copyright (c) 1992-2005 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 6.0-BETA3 #1: Fri Sep 16 21:01:27 EST 2005 chrisric@spunky2.routemaster.net:/usr/obj/usr/src/sys/SPUNKY2 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (996.77-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x68a Stepping =3D 10 = Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 267386880 (255 MB) avail memory =3D 252207104 (240 MB) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: <Intel 82815 (i815 GMCH) Host To Hub bridge> pcibus 0 on = motherboard pir0: <PCI Interrupt Routing Table: 10 Entries> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem = 0x44000000-0x47ffffff,0x40600000-0x4067ffff irq 5 at device 2.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0 pci2: <PCI bus> on pcib1 ohci0: <NEC uPD 9210 USB controller> mem 0x40000000-0x40000fff irq 5 at = device 4.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0 usb0: <NEC uPD 9210 USB controller> on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: <NEC uPD 9210 USB controller> mem 0x40100000-0x40100fff irq 10 at = device 4.1 on pci2 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0 usb1: <NEC uPD 9210 USB controller> on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0x40300000-0x403000ff irq = 11 at device 4.2 on pci2 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: <NEC uPD 720100 USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 5 ports with 5 removable, self powered fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0x1000-0x103f = mem 0x40200000-0x40200fff irq 5 at device 8.0 on pci2 miibus0: <MII bus> on fxp0 inphy0: <i82562EM 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:a5:7e:c5:dd fxp0: [GIANT-LOCKED] wi0: <Intersil Prism2.5> mem 0x40700000-0x40700fff irq 11 at device 10.0 = on pci2 wi0: [GIANT-LOCKED] wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) wi0: Ethernet address: 00:09:5b:69:15:58 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 UDMA100 controller> port = 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2460-0x246f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port = 0x2440-0x245f irq 11 at device 31.4 on pci0 uhci0: [GIANT-LOCKED] usb3: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci0 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: <multimedia, audio> at device 31.5 (no driver attached) pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xe0000-0xeffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 = on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/13 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2 aue0: SMC, Inc EZ USB/Ethernet Converter, rev 1.10/1.01, addr 2 miibus1: <MII bus> on aue0 acphy0: <AC101 10/100 media interface> on miibus1 acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto aue0: Ethernet address: 00:04:e2:08:b3:bb Timecounter "TSC" frequency 996769176 Hz quality 800 Timecounters tick every 1.000 msec IPv6 packet filtering initialized, logging limited to 500 packets/entry IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding = disabled, default to deny, logging limited to 500 packets/entry by = default ad0: 19092MB <MAXTOR 6L020J1 A93.0500> at ata0-master UDMA100 acd0: CDROM <Compaq CRD-8484B/1.04> at ata1-master PIO4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <ST320082 6A 0811> Fixed Direct Access SCSI-0 device=20 da0: 1.000MB/s transfers da0: 190781MB (390719855 512 byte sectors: 255H 63S/T 24321C) Trying to mount root from ufs:/dev/ad0s1a aue0: link state changed to DOWN ________________________________ From: Bernd Walter [mailto:ticso@cicely12.cicely.de] Sent: Tue 20/09/2005 8:28 AM To: Chris Richards Cc: ticso@cicely.de; hselasky@c2i.net; freebsd-usb@freebsd.org Subject: Re: USB 2.0 external hard drive only 1.000MB/s transfers On Tue, Sep 20, 2005 at 08:02:04AM +1000, Chris Richards wrote: > Hi, >=20 > The requested output is below and I understand what you are saying = about the speed of a drive vs USB 2.0. I have plugged the drive into = Windows XP and transferred a file to it from another computer over my = 100Mb LAN and it sits at around 9,000KB's so it is definitely capable of = going faster than it currently is on FreeBSD. >=20 > Cheers. >=20 > -Chris >=20 > -------------------------- > root@spunky2 <mailto:root@spunky2> :~# usbdevs -v > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = VIA(0x0000), rev 1.00 > port 1 powered > port 2 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = VIA(0x0000), rev 1.00 > port 1 powered > port 2 addr 2: full speed, self powered, config 1, USB TO = IDE(0x0702), vendor 0x05e3(0x05e3), rev 0.33 > Controller /dev/usb2: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), = VIA(0x0000), rev 1.00 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > Controller /dev/usb3: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), = Intel(0x0000), rev 1.00 > port 1 powered > port 2 addr 2: full speed, power 160 mA, config 1, EZ USB/Ethernet = Converter(0x0200), SMC, Inc(0x0707), rev 1.01 So you have an high-speed controller (ehci), but you device is attaching to the full-speed controller (uhci). Your transferrate is not surprising with this setup. Does it make a difference if you connect the device after booting? You may also want to try another high-speed device or NEC based controller - VIA ones are known to have problems. There have been some workarounds for VIA based controller - they might help you or not. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C9AA1AB019C4A44AE29659CF2BB203202F1A0>