I have a USB2/Firewire external drive with a removable tray I use for
backup. When the disk is connected in the following sequence:
1. connect USB cable
2. insert disk on removable tray into enclosure
3. turn on power switch to drive
4. turn on key to power disk
The backup runs at USB1 speeds. If I change the sequence to:
1. insert disk on removable tray into enclosure
2. turn on power switch to drive
3. turn on key to power disk
4. connect USB cable
The backup runs at USB2 speeds. The difference is backup times is quite
dramatic. A few hours for USB2 and most of the day at USB1. The disk is
properly mounted at the start and unmounted at the end of the backup.

The portion of the dmesg added when the disk is attached is:

umass0 at uhub3 port 5 configuration 1 interface 0
umass0: JNC Incorporated USB2.0 Storage Devic?, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: <HDS72251, 2VLAT20, 0 0> SCSI0 0/direct fixed
sd0: 117800MB, 117800 cyl, 64 head, 32 sec, 512 bytes/sec, 241254720 sec total

Disconnecting the disk adds these line to dmesg:

umass0: at uhub3 port 5 (addr 2) disconnected
sd0 detached
scsibus2 detached
umass0 detached

Why am I getting this behavior? Other than using method #2 to connect
the disk to my system, is there anything I can do always get USB2
speeds?

Joe 

---Complete dmesg output---
OpenBSD 4.1 (GENERIC) #0: Tue May  1 15:19:26 CDT 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2400+ ("AuthenticAMD" 686-class, 256KB L2 cache) 2.01 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 267939840 (261660K)
avail mem = 236802048 (231252K)
using 3301 buffers containing 13520896 bytes (13204K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 10/03/03, BIOS32 rev. 0 @ 0xfdad0, SMBIOS 
rev. 2.3 @ 0xf0630 (22 entries)
bios0: MSI MS-6712
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7fc0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xf000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce4 MX 440 AGP" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ahc0 at pci0 dev 6 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 10
scsibus0 at ahc0: 16 targets
st0 at scsibus0 targ 1 lun 0: <ECRIX, VXA-1, 2A6A> SCSI2 1/sequential removable
dc0 at pci0 dev 8 function 0 "ADMtek AN983" rev 0x11: irq 12, address 
00:04:5a:72:31:3d
ukphy0 at dc0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x000749, 
model 0x0001
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 12
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
iic0: addr 0x2f 04=00 06=03 07=00 0c=00 0d=07 0e=84 0f=00 10=c0 11=11 12=00 
13=60 14=14 15=62 16=01 17=06
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST3160812A>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <Compaq, DVD-ROM DVD-114, 1.14> SCSI0 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <WDC WD1200BB-16CAA1>
wd1: 16-sector PIO, LBA, 114473MB, 234441648 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address 
00:0c:76:5c:ba:08
ukphy1 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x004063, 
model 0x0032
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
biomask ff6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
umass0 at uhub3 port 5 configuration 1 interface 0
umass0: JNC Incorporated USB2.0 Storage Devic?, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: <HDS72251, 2VLAT20, 0 0> SCSI0 0/direct fixed
sd0: 117800MB, 117800 cyl, 64 head, 32 sec, 512 bytes/sec, 241254720 sec total
umass0: at uhub3 port 5 (addr 2) disconnected
sd0 detached
scsibus2 detached
umass0 detached

Reply via email to