Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2012 20:26:21 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        Jens Schweikhardt <schweikh@schweikhardt.net>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: How to use an external USB3.0 drive with 4k sectors?
Message-ID:  <06FDC7DD-6794-43CB-BAFE-E70DE23DCA7E@my.gd>
In-Reply-To: <20120531155704.GA2828@schweikhardt.net>
References:  <20120531155704.GA2828@schweikhardt.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 31 May 2012, at 17:57, Jens Schweikhardt <schweikh@schweikhardt.net> wrot=
e:

> hello, world\n
>=20
> 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
>=20
>    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)
>=20
> 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.
>=20
>=20
> (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf f=
ile.
> 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
> )
>=20
> 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
>=20
>    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)
>=20
> 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?
>=20
> Regards,
>=20
>    Jens
> --=20
> Jens Schweikhardt http://www.schweikhardt.net/
> SIGSIG -- signature too long (core dumped)
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"


Logic dictates that you try with GENERIC, see if that works any better ;)=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06FDC7DD-6794-43CB-BAFE-E70DE23DCA7E>