* [gentoo-user] Mounting USB Storage Devices
@ 2005-07-12 21:56 Matthias Schweinoch
2005-07-13 0:34 ` Zac Medico
2005-07-13 6:01 ` busby
0 siblings, 2 replies; 3+ messages in thread
From: Matthias Schweinoch @ 2005-07-12 21:56 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Mounting USB Storage Devices
2005-07-12 21:56 [gentoo-user] Mounting USB Storage Devices Matthias Schweinoch
@ 2005-07-13 0:34 ` Zac Medico
2005-07-13 6:01 ` busby
1 sibling, 0 replies; 3+ messages in thread
From: Zac Medico @ 2005-07-13 0:34 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Mounting USB Storage Devices
2005-07-12 21:56 [gentoo-user] Mounting USB Storage Devices Matthias Schweinoch
2005-07-13 0:34 ` Zac Medico
@ 2005-07-13 6:01 ` busby
1 sibling, 0 replies; 3+ messages in thread
From: busby @ 2005-07-13 6:01 UTC (permalink / raw
To: gentoo-user
> Hi all,
>
> I'm pretty much out out ideas, and I'd welcome any suggestions.
>
> Sincerely,
>
> Matthias
> --
> gentoo-user@gentoo.org mailing list
Mine always show up as /dev/sda etc so I load mine as
mount /dev/sda1 /mnt/usb_disk
/djb
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-13 0:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 21:56 [gentoo-user] Mounting USB Storage Devices Matthias Schweinoch
2005-07-13 0:34 ` Zac Medico
2005-07-13 6:01 ` busby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox