From owner-freebsd-questions@FreeBSD.ORG Thu May 31 18:26:28 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8691106566C for ; Thu, 31 May 2012 18:26:28 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 54DC38FC1C for ; Thu, 31 May 2012 18:26:27 +0000 (UTC) Received: by wibhj8 with SMTP id hj8so4235123wib.13 for ; Thu, 31 May 2012 11:26:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=08xrtOeWNgvEceBxfYkGKEA9oqThmY4iGXeZAoZXhAg=; b=pfzYCB9xsoHDBfSKZnERaQHXDVM93n3cV3wDitYVR6YrkiGRqru+av/6oYkpE+vA27 YM0D/Y1raVHSRIn43NJVx6FYBsirOOUrmFAwIwI7mW8N7tagFefzzw0RFZlHyReIV4sQ uPPkjG3W4miZvKJ+2IpSt1Q7Mufwe5XRbi5XoWDqf/G4GLxKW6oxAu1Yoq3Y5zdOkzl4 Ld/I915KvzHELuIt+Qi8ceAyqlzByQxgB4x9Gn4UVqfsJkaXsgLGc5WH+jSDkHIZJNnE S8Kde5lU/UDcQK0twJVGQrVU5s4AaSABVTdRnWvgAMbsSE+oqvIA8GWbR2GCeeYkrXxO 9Ndw== Received: by 10.216.216.95 with SMTP id f73mr13760978wep.149.1338488786399; Thu, 31 May 2012 11:26:26 -0700 (PDT) Received: from [192.168.0.12] (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id r2sm8664406wif.7.2012.05.31.11.26.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 May 2012 11:26:25 -0700 (PDT) References: <20120531155704.GA2828@schweikhardt.net> In-Reply-To: <20120531155704.GA2828@schweikhardt.net> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <06FDC7DD-6794-43CB-BAFE-E70DE23DCA7E@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Date: Thu, 31 May 2012 20:26:21 +0200 To: Jens Schweikhardt X-Gm-Message-State: ALoCoQn6D9n5g8T8MOsnHYdXILnsC8SZVWFV7+iAL6630n/kWY0DV/wqbMNacEluNSxRDb2O2Zrw Cc: "questions@freebsd.org" Subject: Re: 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 18:26:29 -0000 On 31 May 2012, at 17:57, Jens Schweikhardt 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: 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: at usbus4 > umass2: on usbus4 > ugen4.2: 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 ;)=