Problem with usb external storage

Ever Last everos at gmail.com
Fri Nov 13 19:11:03 UTC 2009


Hi,
firstly: hello everyone, its my first mail here:) I hope my english would be
understoodable enough.
secondly: i have problem with my external storage (hdd) connected
by usb.

The Problem:
I plugged the hdd (in 3'5 chasis with usb connector) into the
usb slot in my server.
As you can see in dmesg (you can find it below) - freebsd has recognized it
properly.
Disk has linux partition but no file system.
I tried to format it and this is what i got:
-bash-2.05b# newfs /dev/da0s1
newfs: wtfs: 512 bytes at sector 390716801: Inappropriate ioctl for device

disklabel:
-bash-2.05b# disklabel /dev/da0s1
disklabel: /dev/da0s1 read: Unknown error: 0

I tried to do fdisk i label this disk by sysinstall tool,
but it wasnt able to write it:
ERROR: Unable to write data to disk da0!

Disk is 100% healthy - i plugged it into my notebook's usb
port (with rescue cd) and i was able to format it, read, write, etc. Then I
reformated it with ntfs and plugged into freebsd again. This time i could
mount it as ntfs but nothing else - writing nor erasing was possible.
Even dd was unable to write enything on it.
So i'm completly run out of ideas. I suspect usb drivers but i dont know how
to check it and repair.
Could you help me?

Software:
FBSD 6.2
kernel options:
# SCSI peripherals
device          scbus
device          da
device          pass
device          ses

# USB support
device          uhci
device          ohci
device          ehci
device          usb
device          ugen
device          uhid
device          umass

Hardware:
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xdc00-0xdc1f irq 11
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
[...]

umass0: Super Top USB 2.0  IDE DEVICE, rev 2.00/2.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <WDC WD20 00JB-00KFA0 \\0000\\0000> Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C)


More information about the freebsd-usb mailing list