From: Zac Medico <zmedico@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Mounting USB Storage Devices
Date: Tue, 12 Jul 2005 17:34:18 -0700 [thread overview]
Message-ID: <42D4618A.8080306@gmail.com> (raw)
In-Reply-To: <20050712235605.1096d926.matthias.schweinoch@gmx.de>
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
next prev parent reply other threads:[~2005-07-13 0:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-12 21:56 [gentoo-user] Mounting USB Storage Devices Matthias Schweinoch
2005-07-13 0:34 ` Zac Medico [this message]
2005-07-13 6:01 ` busby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D4618A.8080306@gmail.com \
--to=zmedico@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox