How to use an external USB3.0 drive with 4k sectors?
Damien Fleuriot
ml at my.gd
Thu May 31 18:26:29 UTC 2012
On 31 May 2012, at 17:57, Jens Schweikhardt <schweikh at schweikhardt.net> wrote:
> hello, world\n
>
> so I decided to try two HW technology advancements in one go.
> I have a brand new shiny 1TB USB3.0 external disk, that when plugged
> to an USB2(two!) reports
>
> da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
> da5: <ST1000LM 024 HN-M101MBB 0000> Fixed Direct Access SCSI-2 device
> da5: 40.000MB/s transfers
> da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
>
> and
> # diskinfo -v da5
> da5
> 4096 # sectorsize
> 1000204886016 # mediasize in bytes (931G)
> 244190646 # mediasize in sectors
> 0 # stripesize
> 0 # stripeoffset
> 15200 # Cylinders according to firmware.
> 255 # Heads according to firmware.
> 63 # Sectors according to firmware.
> 00A123456789 # Disk ident.
>
>
> (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
> Strangely, I cannot mount it with
> # ll /dev/da5*
> crw-r----- 1 root operator 0, 236 May 31 15:05 /dev/da5
> crw-r----- 1 root operator 0, 237 May 31 15:05 /dev/da5s1
> # mount -t ntfs -o ro /dev/da5s1 /mnt
> mount_ntfs: /dev/da5s1: Invalid argument
> )
>
> When I plug it to one of the two USB3.0 ports (using the xhci driver), I
> don't get device nodes in /dev created for it, but instead an ever
> growing list of
>
> ugen4.2: <Jmicron Corp.> at usbus4
> umass2: <Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1> on usbus4
> ugen4.2: <Jmicron Corp.> at usbus4 (disconnected)
> umass2: at uhub4, port 4, addr 1 (disconnected)
>
> The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
> can use the disk as well on the USB3.0 port, which makes me look for
> things I have missed. For example, my kernel config is stripped down
> quite a bit, so it might be that my custom kernel does not have all the
> necessary drivers built in or kldloaded. Do I need "device ada"? What is
> the magic needed to hook up 4k secotr drives via USB3.0?
>
> Regards,
>
> Jens
> --
> Jens Schweikhardt http://www.schweikhardt.net/
> SIGSIG -- signature too long (core dumped)
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Logic dictates that you try with GENERIC, see if that works any better ;)
More information about the freebsd-questions
mailing list