Re: USB disk drive
On Thu, 2004-07-22 at 14:33, Bill Moseley wrote:
> I'm trying out a FireLite USB drive. It's been used on Windows (from
> what the owner tells me and has data on it).
>
> I'm running kernel 2.6.6.
>
> When I plug it in I see this in syslog:
>
> Jul 21 17:18:50 bumby kernel: usb 1-2: new full speed USB device using address 2
> Jul 21 17:18:51 bumby kernel: SCSI subsystem initialized
> Jul 21 17:18:51 bumby kernel: Initializing USB Mass Storage driver...
> Jul 21 17:18:51 bumby kernel: scsi0 : SCSI emulation for USB Mass Storage devices
> Jul 21 17:18:52 bumby scsi.agent[1675]: disk at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:2.0/host0/0:0:0:0
> Jul 21 17:18:52 bumby kernel: Vendor: TOSHIBA Model: MK6021GAS Rev: GA02
> Jul 21 17:18:52 bumby kernel: Type: Direct-Access ANSI SCSI revision: 02
> Jul 21 17:18:52 bumby usb.agent[1642]: usb-storage: loaded successfully
> Jul 21 17:18:52 bumby kernel: USB Mass Storage device found at 2
> Jul 21 17:18:52 bumby kernel: usbcore: registered new driver usb-storage
> Jul 21 17:18:52 bumby kernel: USB Mass Storage support registered.
>
> And modules seem to load correctly:
>
> bumby:~# lsmod
> Module Size Used by
> usb_storage 29696 0
> scsi_mod 81152 1 usb_storage
> lp 10564 0
> uhci_hcd 30672 0
> ohci1394 34756 0
> ieee1394 108340 1 ohci1394
> i2c_sensor 2944 0
>
> And it shows up as expected:
>
> bumby:~# cat /proc/scsi/usb-storage/0
> Host scsi0: usb-storage
> Vendor: SmartDisk Corp.
> Product: FireLite (USB 2.0)
> Serial Number: 0000000100000f6f
> Protocol: Transparent SCSI
> Transport: Bulk
> Quirks:
>
> bumby:~# cat /proc/bus/usb/devices | grep FireLite
> S: Product=FireLite (USB 2.0)
>
> And I've got my device files:
>
> bumby:~# ls -l /dev/scd0 /dev/scd1
> brw-rw---- 1 root cdrom 11, 0 2002-03-14 13:54 /dev/scd0
> brw-rw---- 1 root cdrom 11, 1 2002-03-14 13:54 /dev/scd1
>
> How do I tell what /dev/scd* the device connects to?
> I tried installing the sg3-utils:
>
> bumby:~# sg_scan -i
> bumby:~#
>
> And I can't mount:
>
> bumby:~# mount -t vfat /dev/sda1 /mnt
> mount: /dev/sda1 is not a valid block device
>
> I tried both of my USB ports.
>
>
> At this point I'm swinging in the dark.
> Any ideas?
I have an Apacer Handy USB flash device.
I have to do this on my Sarge install with kernel 2.4:
modprobe usb-storage
mount /proc/bus/usb
before the "mount -t vfat /dev/sda ..." works.
Regards,
Simon
Reply to: