From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 06:22:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F9971065670; Fri, 22 Jun 2012 06:22:36 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 365CB8FC08; Fri, 22 Jun 2012 06:22:36 +0000 (UTC) Received: by obbun3 with SMTP id un3so1918363obb.13 for ; Thu, 21 Jun 2012 23:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ndp7S7YEhzRBGhcY5zJ/U4YtAD2DoD4oMJGOQdWplU0=; b=CMGJgpHe8Mc9gqoZvBXUoofqxYx4YM5Tx1Mj5XYY6SWbw4mk8JJMdPltYHq7TZ5OgT kP6mkrF/LY4SpxBeUf202zfN2XOaZV7xrIrbn5YBQFiHP+hlhmXLljG5aVzeEsdL5vOy QFcq4NQ8pXTeEUsIQU5OfDIrF11DvQNvJQYGXJJCmHCmwtyHjj0k0jXTdwmvDOLGZa5s /GR/nwno5OiZx7xPZyTiUq46l2itEe/E+C0Bl6SE1rOQrD80CaK5gPA3oz184Dzb9Ufl ys4Vd9z/JGo9CTOy4vJLDnfFWVX06K5HNl9s2pX7O+e1IXY8SlKC7kpwXpLBlCtK0K3A Yv4w== MIME-Version: 1.0 Received: by 10.60.172.209 with SMTP id be17mr676400oec.16.1340346150601; Thu, 21 Jun 2012 23:22:30 -0700 (PDT) Received: by 10.76.13.198 with HTTP; Thu, 21 Jun 2012 23:22:30 -0700 (PDT) In-Reply-To: <4FE40A42.6010503@zedat.fu-berlin.de> References: <4FE40A42.6010503@zedat.fu-berlin.de> Date: Thu, 21 Jun 2012 23:22:30 -0700 Message-ID: From: Garrett Cooper To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Cc: Current FreeBSD , freebsd-questions@freebsd.org Subject: Re: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do 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: Fri, 22 Jun 2012 06:22:36 -0000 On Thu, Jun 21, 2012 at 11:01 PM, O. Hartmann wrote: > I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD > shown below. > When first used, I was able to put approx. 30 GB of data on it - it was > visible to FreeBSD 9 and 10 as expected. > A Linux system at the lab was also capable of recognizing it. After > that, I tried to operate on the stick on a Notebook, FreeBSD 9, and > another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive > anymore - sometimes, but this seems to be a gambling issue :-( > > Trying Linux on different hardware platforms and even those machines > prior not recognizing the USB drive do recognize the drive as Lexar USB > Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu > 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and > pull data from it. > > So, since the USB drive won't work with three different FreeBSD boxes > (one running 9-STABLE, two 10-CURRENT, all systems most recent sources > and buildworld from a day ago). > I suspect either a weird configuration issue I use on all platforms in > questions in common triggering the weird beviour - or FreeBSD is simply > incapable of handling the 64GB drive. I do not have issues with USB > drives with capacities of 32, 8 or 4 GB of different brands. > > As shown in the portion of the dmesg below, the USB drive is recognized > physically. It doesn't matter whether USB port I use (I tried all > available on all boxes and in most cases I use a Dell UltraSharp powered > in-screen HUB). Since other OSes handle the drive as expected, I exclude > hardware issues. > > All FreeBSD in common is the fact I use the new device ahaci/device ata > CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). > > Apart from trying a GENERIC kernel (which is next I will do this > weekend), does anyone have similar experiences and probably solutions? I don't personally have any relevant experience with this device, but having the exact revisions of code where this was working and where it was failing would be helpful, in order to perform a binary search to determine whether or not this is a regression. Thanks, -Garrett