On Sun, Nov 11, 2012 at 5:15 PM, Chris Chung <chunc...@gmail.com> wrote: > On Sun, Nov 11, 2012 at 08:14:49AM +0100, Tomas Bodzar wrote: >> On Sun, Nov 11, 2012 at 2:53 AM, Chris Chung <chunc...@gmail.com> wrote: >> > Hello, >> > >> > When attempting to connect an external hard drive through a usb port I'm >> > receiving the error below. I can sucessfully mount my dvd drive and sd >> > memory >> > cards without issue. This could be a hardware issue, but I'm not >> > sure. I have read the relevant FAQ sections along with the man pages for >> > disklabel and mount but still at a loss, so any additional insights would >> > be appreciated. >> > >> > # /var/log/messages >> > openbox /bsd: uhub5: device problem, disabling port 2 >> > >> >> From code >> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/uhub.c?rev=1.59 >> >> if (err) { >> DPRINTFN(-1,("uhub_explore: usbd_new_device failed, " >> "error=%s\n", usbd_errstr(err))); >> /* Avoid addressing problems by disabling. */ >> /* usbd_reset_port(dev, port, &up->status); */ >> >> /* >> * The unit refused to accept a new address, or had >> * some other serious problem. Since we cannot leave >> * at 0 we have to disable the port instead. >> */ >> printf("%s: device problem, disabling port %d\n", >> sc->sc_dev.dv_xname, port); >> usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE); >> >> > # dmesg >> > OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012 >> > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP >> > cpu0: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz ("GenuineIntel" >> > 686-class) 2.67 GHz >> > cpu0: >> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF >> > real mem = 3178491904 (3031MB) >> > avail mem = 3116384256 (2972MB) >> > mainbus0 at root >> > bios0 at mainbus0: AT/286+ BIOS, date 03/17/11, BIOS32 rev. 0 @ 0xfdc50, >> > SMBIOS rev. 2.4 @ 0xe0010 (80 entries) >> > bios0: vendor LENOVO version "6FET88WW (3.18 )" date 03/17/2011 >> > bios0: LENOVO 4063HK6 >> > acpi0 at bios0: rev 2 >> > acpi0: sleep states S0 S3 S4 S5 >> > acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA >> > SSDT SSDT SSDT >> > acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) >> > EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) >> > EHC0(S3) EHC1(S3) HDEF(S4) >> > acpitimer0 at acpi0: 3579545 Hz, 24 bits >> > acpiec0 at acpi0 >> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >> > cpu0 at mainbus0: apid 0 (boot processor) >> > cpu0: apic clock running at 266MHz >> > cpu1 at mainbus0: apid 1 (application processor) >> > cpu1: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz ("GenuineIntel" >> > 686-class) 2.67 GHz >> > cpu1: >> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF >> > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins >> > ioapic0: misconfigured as apic 2, remapped to apid 1 >> > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63 >> > acpihpet0 at acpi0: 14318179 Hz >> > acpiprt0 at acpi0: bus 0 (PCI0) >> > acpiprt1 at acpi0: bus -1 (AGP_) >> > acpiprt2 at acpi0: bus 2 (EXP0) >> > acpiprt3 at acpi0: bus 3 (EXP1) >> > acpiprt4 at acpi0: bus -1 (EXP2) >> > acpiprt5 at acpi0: bus 5 (EXP3) >> > acpiprt6 at acpi0: bus 13 (EXP4) >> > acpiprt7 at acpi0: bus 21 (PCI1) >> > acpicpu0 at acpi0: C3, C2, C1, PSS >> > acpicpu1 at acpi0: C3, C2, C1, PSS >> > acpipwrres0 at acpi0: PUBS >> > acpitz0 at acpi0: critical temperature is 127 degC >> > acpitz1 at acpi0: critical temperature is 100 degC >> > acpibtn0 at acpi0: LID_ >> > acpibtn1 at acpi0: SLPB >> > acpibat0 at acpi0: BAT0 model "42T4620" serial 1283 type LION oem >> > "Panasonic" >> > acpibat1 at acpi0: BAT1 not present >> > acpiac0 at acpi0: AC unit offline >> > acpithinkpad0 at acpi0 >> > acpidock0 at acpi0: GDCK not docked (0) >> > bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000 >> > 0xd2000/0x1000 0xde000/0x1800! 0xe0000/0x10000 >> > cpu0: Enhanced SpeedStep 2661 MHz: speeds: 2667, 2666, 2133, 1600, 800 MHz >> > pci0 at mainbus0 bus 0: configuration mode 1 (bios) >> > pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 >> > vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 >> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> > intagp0 at vga1 >> > agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 >> > inteldrm0 at vga1: apic 1 int 16 >> > drm0 at inteldrm0 >> > "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured >> > "Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured >> > puc0 at pci0 dev 3 function 3 "Intel GM45 AMT SOL" rev 0x07: ports: 1 com >> > com3 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo >> > com3: probed fifo depth: 0 bytes >> > em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, >> > address 00:22:68:11:dc:fd >> > uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 >> > uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21 >> > uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22 >> > ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23 >> > usb0 at ehci0: USB revision 2.0 >> > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >> > azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi >> > azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561 >> > audio0 at azalia0 >> > ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int 20 >> > pci1 at ppb0 bus 2 >> > ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int 21 >> > pci2 at ppb1 bus 3 >> > iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: msi, MIMO >> > 3T3R, MoW, address 00:21:6a:11:5a:be >> > ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 1 int 23 >> > pci3 at ppb2 bus 5 >> > ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 1 int 20 >> > pci4 at ppb3 bus 13 >> > uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 >> > uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 >> > uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 >> > ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19 >> > usb1 at ehci1: USB revision 2.0 >> > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >> > ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 >> > pci5 at ppb4 bus 21 >> > cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 1 int 16 >> > "Ricoh 5C832 Firewire" rev 0x04 at pci5 dev 0 function 1 not configured >> > sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 1 int 18 >> > sdmmc0 at sdhc0 >> > "Ricoh 5C843 MMC" rev 0x11 at pci5 dev 0 function 3 not configured >> > "Ricoh 5C592 Memory Stick" rev 0x11 at pci5 dev 0 function 4 not configured >> > "Ricoh 5C852 xD" rev 0x11 at pci5 dev 0 function 5 not configured >> > cardslot0 at cbb0 slot 0 flags 0 >> > cardbus0 at cardslot0: bus 22 device 0 cacheline 0x10, lattimer 0xb0 >> > pcmcia0 at cardslot0 >> > pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03 >> > ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2 >> > scsibus0 at ahci0: 32 targets >> > sd0 at scsibus0 targ 0 lun 0: <ATA, ST9500420AS, 0003> SCSI3 0/direct >> > fixed naa.5000c5002edad677 >> > sd0: 476940MB, 512 bytes/sector, 976773168 sectors >> > cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GU10N, MX05> ATAPI 5/cdrom >> > removable >> > ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 1 >> > int 23 >> > iic0 at ichiic0 >> > usb2 at uhci0: USB revision 1.0 >> > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> > usb3 at uhci1: USB revision 1.0 >> > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> > usb4 at uhci2: USB revision 1.0 >> > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> > usb5 at uhci3: USB revision 1.0 >> > uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> > usb6 at uhci4: USB revision 1.0 >> > uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> > usb7 at uhci5: USB revision 1.0 >> > uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> > isa0 at pcib0 >> > 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 >> > pms0 at pckbc0 (aux slot) >> > pckbc0: using irq 12 for aux slot >> > wsmouse0 at pms0 mux 0 >> > wsmouse1 at pms0 mux 0 >> > pms0: Synaptics touchpad, firmware 7.0 >> > pcppi0 at isa0 port 0x61 >> > spkr0 at pcppi0 >> > aps0 at isa0 port 0x1600/31 >> > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >> > mtrr: Pentium Pro MTRR support >> > scsibus1 at sdmmc0: 2 targets, initiator 0 >> > sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed >> > sd1: 15199MB, 512 bytes/sector, 31127552 sectors >> > uvideo0 at uhub0 port 6 configuration 1 interface 0 "Chicony Electronics >> > Co., Ltd. product 0x4807" rev 2.00/31.34 addr 2 >> > video0 at uvideo0 >> > ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2 >> > ugen1 at uhub3 port 2 "Lenovo Computer Corp ThinkPad Bluetooth with >> > Enhanced Data Rate II" rev 2.00/3.99 addr 3 >> > vscsi0 at root >> > scsibus2 at vscsi0: 256 targets >> > softraid0 at root >> > scsibus3 at softraid0: 256 targets >> > root on sd0a (ec0193beaab07f52.a) swap on sd0b dump on sd0 >> > >> > >> > thanks, >> > >> > chris. >> > > > Hi Tomas, > > Thanks for the response. > > I connected a usb memory stick to the same usb port I was attempting to > connect > the external hard drive to and recieved the messages below. This leads me > to believe the port is fine and it is the drive/connection is not compatible > for some reason. > > # /var/log/messages > openbox /bsd: umass0 at uhub1 > openbox /bsd: port 2 configuration 1 interface 0 "SanDisk U3 Cruzer Micro" > rev 2.00/0.10 addr 2 > openbox /bsd: umass0: using SCSI over Bulk-Only > openbox /bsd: scsibus4 at umass0: 2 targets, initiator 0 > openbox /bsd: sd2 at scsibus4 targ 1 lun 0: <SanDisk, U3 Cruzer Micro, 4.05> > SCSI2 0/direct removable > openbox /bsd: sd2: 3912MB, 512 bytes/sector, 8013453 sectors > openbox /bsd: cd1 at scsibus4 targ 1 lun 1: <SanDisk, U3 Cruzer Micro, 4.05> > SCSI2 5/cdrom removabl > > The strange thing is that this drive works fine when connecting to a windows > machine, > so the drive itself is not faulty. Are there any further diagnostics I can > perform to > troubleshoot this issue, or should I consider this simply not a compatble > device?
Check man usbdevs and try to get more details about your device when connected with that command. You can try to install usbutil package as well which have some more utilites. There's usbutils as well, but seems like it doesn't have all commands as usbutil. All of them can provide more details about your HW if possible to get them of course. Which filesystem is on your device and what product is that? Can you check with scandisk or whatever for errors? > > thanks, > > chris.