Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 18:36:43 -0700 (PDT)
From:      Paul English <penglish@hydro.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Problems connecting USB hard disk
Message-ID:  <20040714172828.N56616-100000@dynamic.hydro.washington.edu>

next in thread | raw e-mail | index | archive | help

I'm trying to set up a USB disk on FreeBSD 4.9 and having some trouble. it
is apparently recognized by the OS, but when I try to do anything with it,
it spews a whole bunch of errors:


fdisk /dev/da0
fdisk: can't open device /dev/da0
fdisk: cannot open disk /dev/da0: Input/output error
ponic# Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): READ(06).
CDB: 8 0 0 0 1 0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0
0 0 1 0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
asc:20,0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
asc:20,0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): Invalid command
operation code
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): Invalid command
operation code
Jul 14 17:25:33 ponic /kernel: da0: reading primary partition table: error
reading fsbn 0
Jul 14 17:25:33 ponic /kernel: da0: reading primary partition table: error
reading fsbn 0


I did a MAKEDEV da0. I rebooted the machine. I made sure usbd was running.
What else is there to do?


There is nothing particularly special about this disk. This is how it is
recognized in dmesg (followed immediately by a duplicate of the above
errors):
umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr
2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <WDC WD25 00JB-22FUA0 15.0> Fixed Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 238475MB (488397169 512 byte sectors: 64H 32S/T 41867C)

It is actually a Western Digital 250GB 7200rpm PATA hard drive in a "Metal
Gear Box" Firewire/USB 2.0 enclosure.

Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040714172828.N56616-100000>