Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2012 11:46:51 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        Thomas Mueller <mueller23@insightbb.com>
Cc:        Gary Aitken <freebsd@dreamchaser.org>, freebsd-questions@freebsd.org
Subject:   Re: How to use an external USB3.0 drive with 4k sectors?
Message-ID:  <20120601094651.GA2721@schweikhardt.net>
In-Reply-To: <FC.6B.19031.03DE7CF4@smtp01.insight.synacor.com>
References:  <FC.6B.19031.03DE7CF4@smtp01.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
/boot/loader.conf.

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?

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)



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