Re: Can't Access USB Flash Drive as /dev/sda
From: Tim McCoy (tmccoy_at_hotPOP.com)
Date: 01/31/05
- Next message: Craig McCluskey: "Re: Vastech KVM switch killing mouse"
- Previous message: Floyd L. Davidson: "Re: power supply with a large number of connectors?"
- In reply to: HaroldWho: "Can't Access USB Flash Drive as /dev/sda"
- Next in thread: HaroldWho: "Re: Can't Access USB Flash Drive as /dev/sda"
- Reply: HaroldWho: "Re: Can't Access USB Flash Drive as /dev/sda"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 01 Feb 2005 09:19:23 +1100
On Mon, 31 Jan 2005 18:41:27 +0000, HaroldWho wrote:
> kernel 2.6.9 on Dell OptiPlex GX110
>
> USB 1.1 support module uhci_hcd and mass storage module usb_storage are
> loaded by modprobe without error messages.
>
> /var/log/messages shows:
>
> kernel: uhci_hcd 0000:00:1f.2: irq 11, io base 0000ff80
> kernel: uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
> kernel: hub 1-0:1.0: USB hub found
> kernel: hub 1-0:1.0: 2 ports detected
> kernel: Initializing USB Mass Storage driver...
> kernel: usbcore: registered new driver usb-storage
> kernel: USB Mass Storage support registered.
> kernel: usb 1-2: new full speed USB device using address 2
>
> Now /proc/bus/usb/devices shows the USB host and a "mass storage device."
>
> Next, SCSI disk module sd_mod loaded by modprobe without *any* messages.
> (Basic SCSI support is compiled into kernel; SCSI tape works fine from
> Advansys controller.)
>
> BUT...
>
> /proc/scsi shows no devices present.
>
> # fdisk /dev/sda
> Unable to open /dev/sda
>
> # mount -t auto /dev/sda1 /mnt
> mount: /dev/sda is not a valid block device
>
> With driver from mfr, the flash drive is seen in Win98SE! In fact, I
> formatted it and copied files to it.
>
> Looks like some kind of problem with the SCSI disk driver module sd_mod.
>
> Any ideas?
>
> HaroldWho
After a fresh boot of your system, put the output of "dmesg" when you plug
in your flash drive. It should look something very similar to this:
usb 1-3: new high speed USB device using address 2
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: 128MB Model: USB2.0FlashDrive Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 2
In the kernel, you need at least
USB Mass storage Support (usb-storage)
SCSI Generic Support (sg)
Your mount command is ok, but its always going to be a number after the
sda entry. Id suggest making sure that its FAT32 formatted, and then just
mount with
mkdir /mnt/flash
chmod 777 /mnt/flash
mount -t vfat /dev/sda1 /mnt/flash
Cheers
Tim
-- "Linux... because rebooting is for adding new hardware!" http://home.swiftdsl.com.au/~tmccoy MSN: timsy_01@hotmail.com ICQ: 160341067
- Next message: Craig McCluskey: "Re: Vastech KVM switch killing mouse"
- Previous message: Floyd L. Davidson: "Re: power supply with a large number of connectors?"
- In reply to: HaroldWho: "Can't Access USB Flash Drive as /dev/sda"
- Next in thread: HaroldWho: "Re: Can't Access USB Flash Drive as /dev/sda"
- Reply: HaroldWho: "Re: Can't Access USB Flash Drive as /dev/sda"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|