How to use an external USB3.0 drive with 4k sectors?

Jens Schweikhardt schweikh at
Fri Jun 1 09:47:06 UTC 2012

On Thu, May 31, 2012 at 06:14:08PM -0400, Thomas Mueller wrote:
# I think you also need xhci driver in kernel config.  xhci is for USB 3.0.

It's there. As I said, using a USB 3 *Stick* works fine. It is recogized as 3.0
and the speed is as expected. It's the *Disk* that is not recognized. They're
both umass devices. I don't need to boot from that disk, I just want to use it
as external data storage.

I have recompiled the kernel with "device ada" and put ahci_load="YES" in

When I plug the disk, the log now says

    ugen4.2: <Jmicron Corp.> at usbus4
    umass0: <Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1> on usbus4

only once (the old kernel would says so every 20 seconds or so). In contrast,
when I plug the stick in the same port, I get

    ugen4.2: <JetFlash> at usbus4
    umass0: <JetFlash Mass Storage Device, class 0/0, rev 3.00/a.00, addr 1> on usbus4
    da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
    da0: <JetFlash Transcend 16GB 1.00> Removable Direct Access SCSI-5 device
    da0: 400.000MB/s transfers
    da0: 15082MB (30887936 512 byte sectors: 255H 63S/T 1922C)

and mounting it works. Obviously, for the disk the device nodes aren't created...
Is there something different between umass sticks and umass drives?


Jens Schweikhardt
SIGSIG -- signature too long (core dumped)

More information about the freebsd-questions mailing list