From owner-freebsd-questions@FreeBSD.ORG Thu May 29 11:05:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C2D7106566C for ; Thu, 29 May 2008 11:05:06 +0000 (UTC) (envelope-from parish@magichamster.com) Received: from jedburgh.just4dns.com (jedburgh.just4dns.com [78.129.134.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9831A8FC25 for ; Thu, 29 May 2008 11:05:05 +0000 (UTC) (envelope-from parish@magichamster.com) Received: from [86.153.243.228] (helo=movens.plus.com) by jedburgh.just4dns.com with esmtp (Exim 4.68) (envelope-from ) id 1K1fw0-0000de-5r for freebsd-questions@freebsd.org; Thu, 29 May 2008 12:04:40 +0100 Received: from [10.10.1.4] (redshift [10.10.1.4]) by postbag.localdomain (Postfix) with ESMTP id F3A7D1CCBD for ; Thu, 29 May 2008 12:04:46 +0100 (BST) Message-ID: <483E8DCD.9030204@magichamster.com> Date: Thu, 29 May 2008 12:04:45 +0100 From: Mark Ovens User-Agent: Thunderbird 2.0.0.14 (X11/20080524) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <483DA3FA.9030404@magichamster.com> <20080528192227.GB78305@slackbox.xs4all.nl> <483DB493.3060901@magichamster.com> <20080528201133.GA79784@slackbox.xs4all.nl> In-Reply-To: <20080528201133.GA79784@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Fuzioned-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 1K1fw0-0000de-5r X-Fuzioned-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-Fuzioned-MailScanner-SpamCheck: X-Fuzioned-MailScanner-From: parish@magichamster.com X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jedburgh.just4dns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - magichamster.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: External USB disk won't mount 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, 29 May 2008 11:05:06 -0000 Roland Smith wrote: > On Wed, May 28, 2008 at 08:37:55PM +0100, Mark Ovens wrote: >> Roland Smith wrote: >>> >>> You could try using the atausb driver instead of umass. Unfortunately it >>> doesn't have a manpage yet, but you have to unload umass if you want to >>> use atausb. >>> >> >> Thanks Roland, but I can't find atausb in either 6.3 or 7.0 - is it a kld >> module? > > Yes; > > $ locate atausb > /usr/src/sys/modules/ata/atausb > /usr/src/sys/modules/ata/atausb/Makefile > > (This is on 7-STABLE) > >> Presumably, it would not work with other usb mass storage devices like >> memory sticks or phones? > > It should work with all usb mass storage devices, I think. It just seems > to be tied into the ata subsystem instead of into the scsi subsystem via > atapicam. > Hi Roland, I had to rebuild the kernel without umass in it first, but here's the result. It attaches the device as an ata rather than umass - but no devices are created for the slices/partitions on the disk. atausb0: using SCSI over Bulk-Only ata2: on atausb0 /boot/kernel{105}# ls /dev/ata* /dev/ata /boot/kernel{106}# ls /dev/ad* ls: No match. /boot/kernel{107}# kldstat Id Refs Address Size Name 1 10 0xc0400000 4e1cb8 kernel 2 1 0xc08e2000 21ef8 linux.ko 3 1 0xc0904000 65de0 acpi.ko 4 1 0xc5898000 5000 atausb.ko 5 1 0xc589d000 d000 ata.ko /boot/kernel{108}# I've only tried it on 6.3 at the moment and atausb/Makefile didn't exist, so I copied it from 7.0, it built and installed without error, the module kldload'd without error, and it finds the device so I assume it should be OK in 6.3 even though the Makefile doesn't get cvsup'd? Regards, Mark