From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DsVGU-0004Rz-9w for garchives@archives.gentoo.org; Wed, 13 Jul 2005 00:38:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6D0aWPY008391; Wed, 13 Jul 2005 00:36:32 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6D0WtSC013150 for ; Wed, 13 Jul 2005 00:32:55 GMT Received: by zproxy.gmail.com with SMTP id 34so41706nzf for ; Tue, 12 Jul 2005 17:33:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=h66Cs9ZfIki1nBrunKH90rt+c//BjAE1lA8IYMWYx5Z/QAgfV6F412vVbCN1ceZyz93+DT9ocxdHqKCir5+8+2rihvQzRB2OtFMouRDty73/zHv2OWWWB2uSqeFIwIUSbr3ix9FaZ4FnOXGYy5QURjT6dd2dU4vSbOjhLY/hqSo= Received: by 10.36.222.26 with SMTP id u26mr390355nzg; Tue, 12 Jul 2005 17:33:51 -0700 (PDT) Received: from ?192.168.1.103? ([24.30.171.44]) by mx.gmail.com with ESMTP id 16sm355513nzo.2005.07.12.17.33.50; Tue, 12 Jul 2005 17:33:51 -0700 (PDT) Message-ID: <42D4618A.8080306@gmail.com> Date: Tue, 12 Jul 2005 17:34:18 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050624) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Mounting USB Storage Devices References: <20050712235605.1096d926.matthias.schweinoch@gmx.de> In-Reply-To: <20050712235605.1096d926.matthias.schweinoch@gmx.de> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 214a61f6-36c9-48a6-afe1-14152be33d22 X-Archives-Hash: 479bb4fa316a21fb4865a3aaaee43bdf Matthias Schweinoch wrote: > Hi all, > > I'm running Gentoo 2005.0 with an up-to-date portage tree, and I'm > having some trouble getting an external USB harddisk running. My kernel > is a 2.6.11-gentoo-r9. I have compiled USB support and SCSI > support into the kernel. > > When I attach the harddisk via USB, the following output is produced in > /var/log/messages: > > Jul 12 23:47:25 genbox usb 1-1.1: new full speed USB device using > ohci_hcd and address 6 > Jul 12 23:47:25 genbox scsi2 : SCSI emulation for USB Mass Storage > devices > Jul 12 23:47:25 genbox usb-storage: device found at 6 > Jul 12 23:47:25 genbox usb-storage: waiting for device to settle before > scanning > Jul 12 23:47:30 genbox Vendor: TOSHIBA Model: MK4004GAH Rev: 0811 > Jul 12 23:47:30 genbox Type: Direct-Access ANSI SCSI revision: 00 > > Jul 12 23:47:30 genbox Attached scsi generic sg0 > at scsi2, channel 0, id 0, lun 0, type 0 > Jul 12 23:47:30 genbox usb-storage: device scan complete > Jul 12 23:47:30 genbox scsi.agent[8603]: disk at > /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1.1/1-1.1:1.0/host2/target2 > :0:0/2:0:0:0 > > Running 'lsusb' gives me the following for device 6: > > Bus 001 Device 006: ID 2735:1005 > > 'sg_scan' produces the following ouput: > > /dev/sg0: scsi2 channel=0 id=0 lun=0 [em] > > I would think this all looks pretty good, i.e. I would expect to be able > to mount the drive by doing something like: > > mount /dev/sg0 /mnt/usbstorage > > However, if I try this, mount produces an output saying that the device > is not a block device. > > I'm pretty much out out ideas, and I'd welcome any suggestions. > > Sincerely, > > Matthias Normally the kernel will assign a device such as sda (in addition to sg0). The kernel documentation for USB_STORAGE says that you need BLK_DEV_SD enabled. Is it? If it's modular then the hotplug scsi.agent script is supposed to load it (sd_mod). $ gzcat /proc/config.gz | grep -i BLK_DEV_SD CONFIG_BLK_DEV_SD=y Zac -- gentoo-user@gentoo.org mailing list