usb/114938: can't attach eli-devices on external hd

Hannes Hauswedell freebsd at
Thu Jul 26 13:40:07 UTC 2007

>Number:         114938
>Category:       usb
>Synopsis:       can't attach eli-devices on external hd
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-usb
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 26 13:40:06 GMT 2007
>Originator:     Hannes Hauswedell
>Release:        6.2-STABLE-200705
FreeBSD fbsdlap.lan.home 6.2-STABLE-200705 FreeBSD 6.2-STABLE-200705 #0: Sun May  6 12:10:58 UTC 2007     root at  i386

i have an external usb-case (A.C. Ryan) that holds a Maxtor Diamond Max21 320GB PATA drive. this is what i get when plugging it in:

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: <MAXTOR S TM3320620A \\0000\\0000> Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)

i created partitions on the drive and encrypted some with the hd built into my desktop computer. when i put the drive in the usbcase, i cannot attach the geli devices anymore. i get:

fbsdlap# geli attach -k keyfile /dev/da0s1f
MD5 hash mismatch for /dev/da0s1f.

i even tried to recreate the device while on usb.

fbslap# geli init -s 4096 -l 256 -K keyfile /dev/da0s1f

passes fine, but the attach command still fails. i am not sure whether this is a geli (kern) -bug or related to usb. the case itself and the HD are brandnew and the case works very well (good writing and reading speeds) except for the geli problem.

thank you very much for your help!

ps.: i can reproduce the problem on two other freebsd-stable machines


More information about the freebsd-usb mailing list