Subject: Re: USB v2 device gets treated as v1 (ie very slow to read/write) on NetBSD
To: None <martin@duskware.de>
From: leon z <leonleon77@hotmail.com>
List: netbsd-users
Date: 07/07/2006 08:37:25
>What does "usbdevs -v" say with the umass plugged in?


I think I have already included this info when posting the original message, 
for your convenience, here is the rearranged copy (usbdevs output is first, 
followed by corresponding dmesg - in the original message it was the other 
way around)... also, iBook has two USB ports, so in the original message I 
might have plugged umass into a different hole - but the problem is the same 
- no matter which USB hole I plug the umass into:

usbdevs -vd output:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), Apple 
Computer(0x106b), rev 1.00
uhub0
port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), 
NEC(0x1033), rev 1.00
uhub1
port 1 addr 2: full speed, power 50 mA, config 1, Mass Storage 
Device(0x9330), Alcor Micro(0x058f), rev 1.00
  umass0
port 2 powered
port 3 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), 
NEC(0x1033), rev 1.00
uhub2
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
NEC(0x1033), rev 1.00
uhub3
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered



dmesg output:

NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:25:38 UTC 2005
builds@b2.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/macppc/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/macppc/compile/GENERIC
total memory = 256 MB
avail memory = 238 MB
mainbus0 (root)
cpu0 at mainbus0: 7447A (Revision 1.1), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,EICE,NAP,DPM,ICE,DCE,SGE,BTIC,FBIOB,ABE,BHT>
cpu0: 601.85 MHz, 512KB L2 cache
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies product 0x5c63
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
Broadcom product 0x4320 (miscellaneous network, revision 0x03) at pci1 dev 
18 function 0 not configured
obio0 at pci1 dev 23 function 0: addr 0x80000000
zsc0 at obio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: PowerBook G3 keyboard
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 4-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: buttons
apm0 at adb0: battery flags 0x55, 0% charged
battery at obio0 offset 0x0 not configured
backlight at obio0 offset 0xf300 not configured
wdc0 at obio0 offset 0x20000 irq 24: DMA transfer
atabus0 at wdc0 channel 0
ohci0 at pci1 dev 24 function 0: Apple Computer Intrepid USB Controller 
(rev. 0x00)
ohci0: can't map mem space
ohci1 at pci1 dev 25 function 0: Apple Computer Intrepid USB Controller 
(rev. 0x00)
ohci1: can't map mem space
ohci2 at pci1 dev 26 function 0: Apple Computer Intrepid USB Controller 
(rev. 0x00)
ohci2: interrupting at irq 29
ohci2: OHCI version 1.0, legacy support
usb0 at ohci2: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci3 at pci1 dev 27 function 0: NEC USB Host Controller (rev. 0x43)
ohci3: interrupting at irq 63
ohci3: OHCI version 1.0
usb1 at ohci3: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci4 at pci1 dev 27 function 1: NEC USB Host Controller (rev. 0x43)
ohci4: interrupting at irq 63
ohci4: OHCI version 1.0
usb2 at ohci4: USB revision 1.0
uhub2 at usb2
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci1 dev 27 function 2: NEC USB Host Controller (rev. 0x04)
ehci0: interrupting at irq 63
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci3 ohci4
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 5 ports with 5 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc1 at pci2 dev 13 function 0: interrupting at irq 39
atabus1 at wdc1 channel 0
fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth Firewire (rev. 
0x81)
fwohci0: interrupting at irq 40
fwohci0: OHCI 1.1, 00:11:24:ff:fe:30:81:76, 400Mb/s, 2048 max_rec, 8 ir_ctx, 
8 it_ctx
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
gem0: interrupting at irq 41
gem0: Ethernet address 00:11:24:30:81:76, 10KB RX fifo, 4KB TX fifo
bmtphy0 at gem0 phy 0: BCM5221 10/100 media interface, rev. 4
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Kernelized RAIDframe activated
fw0 at fwohci0: 00:11:24:ff:fe:30:81:76:0a:02:ff:ff:f0:01:00:00
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <MATSHITACD-RW  CW-8123, , CA10> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Alcor Micro Mass Storage Device, rev 1.10/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic, USB SD Reader, 2.00> disk 
removable
sd0: fabricating a geometry
sd0: 122 MB, 122 cyl, 64 head, 32 sec, 512 bytes/sect x 250880 sectors
wd0 at atabus1 drive 0: <TOSHIBA MK3025GAS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) 
(using DMA)
sd0: fabricating a geometry
sd0: no NetBSD disk label
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
WARNING: clock gained 9 days -- CHECK AND RESET THE DATE!

//-----------------------------------------------------------------

_________________________________________________________________
Meet Sexy Singles today @ Lavalife - Click here 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22740&_t=751140432&_r=emailtagline_meetsexy_june&_m=EXT