From owner-freebsd-questions@FreeBSD.ORG Thu May 31 15:57:18 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22FE0106566C for ; Thu, 31 May 2012 15:57:18 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id B0BAE8FC12 for ; Thu, 31 May 2012 15:57:17 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 55C3958054; Thu, 31 May 2012 17:57:16 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.5/8.14.5) with ESMTP id q4VFv4vk012222 for ; Thu, 31 May 2012 17:57:04 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.5/8.14.5/Submit) id q4VFv4eN012221 for questions@freebsd.org; Thu, 31 May 2012 17:57:04 +0200 (CEST) (envelope-from schweikh) Date: Thu, 31 May 2012 17:57:04 +0200 From: Jens Schweikhardt To: questions@freebsd.org Message-ID: <20120531155704.GA2828@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: How to use an external USB3.0 drive with 4k sectors? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 15:57:18 -0000 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: 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: at usbus4 umass2: on usbus4 ugen4.2: 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)