problem mounting usb flash disk

problem mounting usb flash disk

Post by kenn » Tue, 16 Mar 2004 20:14:57



Hi all..

I know there are lots of posts asking for different problem with usb
keys but I didn't find anything whivh coul help me.
My problem is simple : impossible to mount my usb flash disk.
I'm under slackware 9.1 with the kernel 2.4.25.
my lsmmod :
usb-storage            48824   0  (unused)
nvidia               1965696   6  (autoclean)
w83781d                20816   0  (unused)
i2c-proc                6708   0  [w83781d]
i2c-dev                 4384   0  (unused)
usb-uhci               24236   0  (unused)
ne2k-pci                4864   1
8390                    7152   0  [ne2k-pci]
tulip                  40960   1
cs46xx                 59888   4
ac97_codec             13708   0  [cs46xx]
apm

the differents options in the kernel which are enabled:
scsi genereic support
scsi emulation
scsi cdrom
usb-uhci (module M)
usb-storage (M)

I think that's all needs usb flash disk to mount properly.
I try of course :
mount -t vfat /dev/sda1 /mnt/usb
--> : mount: /dev/sda1 is not a valid block device

My dmesg :
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 89
usb-storage: Array length appears to be: 91
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xdf774a94 Out: 0xdf774aa8 Int: 0xdf774abc
(Period 1)
usb-storage: New GUID 0d7d0100000007371250098e
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: *** thread sleeping.
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 84 c4 b0 8e 30 dd
usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128
CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x1 R 219 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
  Vendor:           Model: USB DISK          Rev: 1.13
  Type:   Direct-Access                      ANSI SCSI revision: 02
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7/0)
usb-storage: *** thread sleeping.
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
usb.c: usb-storage driver claimed interface df7bf50c
USB Mass Storage support registered.

and "cat /proc/scsi/scsi " :
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IDE-CD   Model: R/RW 16x10A      Rev: B1.4
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model: USB DISK         Rev: 1.13
  Type:   Direct-Access                    ANSI SCSI revision: 02

So I haven't any ideas what's it my problem.
/mnt/usb exist
i did the mount command as root.. so what's wrong in my configuration?
please help..

thx

Remi

NB : I manage to mount my cd writer which is on /dev/scd0

 
 
 

problem mounting usb flash disk

Post by Jacob Westenbac » Wed, 17 Mar 2004 02:05:57



Quote:> Hi all..

> I know there are lots of posts asking for different problem with usb
> keys but I didn't find anything whivh coul help me.
> My problem is simple : impossible to mount my usb flash disk.
> I'm under slackware 9.1 with the kernel 2.4.25.
> my lsmmod :
> usb-storage            48824   0  (unused)
> nvidia               1965696   6  (autoclean)
> w83781d                20816   0  (unused)
> i2c-proc                6708   0  [w83781d]
> i2c-dev                 4384   0  (unused)
> usb-uhci               24236   0  (unused)
> ne2k-pci                4864   1
> 8390                    7152   0  [ne2k-pci]
> tulip                  40960   1
> cs46xx                 59888   4
> ac97_codec             13708   0  [cs46xx]
> apm

> the differents options in the kernel which are enabled:
> scsi genereic support
> scsi emulation
> scsi cdrom
> usb-uhci (module M)
> usb-storage (M)

> I think that's all needs usb flash disk to mount properly.
> I try of course :
> mount -t vfat /dev/sda1 /mnt/usb
> --> : mount: /dev/sda1 is not a valid block device

> My dmesg :
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> usb-storage: act_altsettting is 0
> usb-storage: id_index calculated to be: 89
> usb-storage: Array length appears to be: 91
> usb-storage: USB Mass Storage device detected
> usb-storage: Endpoints: In: 0xdf774a94 Out: 0xdf774aa8 Int: 0xdf774abc
> (Period 1)
> usb-storage: New GUID 0d7d0100000007371250098e
> usb-storage: GetMaxLUN command result is 1, data is 0
> usb-storage: Transport: Bulk
> usb-storage: Protocol: Transparent SCSI
> usb-storage: *** thread sleeping.
> scsi1 : SCSI emulation for USB Mass Storage devices
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command INQUIRY (6 bytes)
> usb-storage: 12 00 00 00 ff 00 84 c4 b0 8e 30 dd
> usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128
> CL 6
> usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
> usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255
> usb-storage: Bulk data transfer result 0x1
> usb-storage: Attempting to get CSW...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0x1 R 219 Stat 0x0
> usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
> usb-storage: scsi cmd done, result=0x0
> usb-storage: *** thread sleeping.
>   Vendor:           Model: USB DISK          Rev: 1.13
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (1/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (2/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (3/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (4/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (5/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (6/0)
> usb-storage: *** thread sleeping.
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Bad target number (7/0)
> usb-storage: *** thread sleeping.
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 4
> usb.c: usb-storage driver claimed interface df7bf50c
> USB Mass Storage support registered.

> and "cat /proc/scsi/scsi " :
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: IDE-CD   Model: R/RW 16x10A      Rev: B1.4
>   Type:   CD-ROM                           ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>   Vendor:          Model: USB DISK         Rev: 1.13
>   Type:   Direct-Access                    ANSI SCSI revision: 02

> So I haven't any ideas what's it my problem.
> /mnt/usb exist
> i did the mount command as root.. so what's wrong in my configuration?
> please help..

> thx

> Remi

> NB : I manage to mount my cd writer which is on /dev/scd0

I've run into this same problem on several different machines and distros.
What I have learned is that not all usb "drives" are created equal.  The
ones I have found to "just work(tm)" are JumpDrive by Lexar Media.

JW

 
 
 

problem mounting usb flash disk

Post by Rick Moe » Wed, 17 Mar 2004 06:17:53



> Hi all..

> I know there are lots of posts asking for different problem with usb
> keys but I didn't find anything whivh coul help me.
> My problem is simple : impossible to mount my usb flash disk.
> I'm under slackware 9.1 with the kernel 2.4.25.
> my lsmmod :
> usb-storage            48824   0  (unused)
> nvidia               1965696   6  (autoclean)
> w83781d                20816   0  (unused)
> i2c-proc                6708   0  [w83781d]
> i2c-dev                 4384   0  (unused)
> usb-uhci               24236   0  (unused)
> ne2k-pci                4864   1
> 8390                    7152   0  [ne2k-pci]
> tulip                  40960   1
> cs46xx                 59888   4
> ac97_codec             13708   0  [cs46xx]
> apm

> the differents options in the kernel which are enabled:
> scsi genereic support
> scsi emulation
> scsi cdrom
> usb-uhci (module M)
> usb-storage (M)

> I think that's all needs usb flash disk to mount properly.
> I try of course :
> mount -t vfat /dev/sda1 /mnt/usb
> --> : mount: /dev/sda1 is not a valid block device

Try:
# mount -t vfat /dev/sda /mnt/usb

Hint:  Some USB flash drives present themselves as floppy-like devices,
and floppy disk semantics has never provided for partition tables.
(Think about it.)

On reflection, the filesystem might, alternatively, be sdb1 or sdb,
because of that CDR device you mention.

--
Cheers,                             * Contributing Editor, Linux Gazette *
Rick Moen                       -*- See the Linux Gazette in its new home: -*-

 
 
 

problem mounting usb flash disk

Post by Jorge E. Gonzále » Wed, 17 Mar 2004 19:30:00



Quote:>Hi all..

>I know there are lots of posts asking for different problem with usb
>keys but I didn't find anything whivh coul help me.
>My problem is simple : impossible to mount my usb flash disk.
>I'm under slackware 9.1 with the kernel 2.4.25.
>my lsmmod :
>usb-storage            48824   0  (unused)
>nvidia               1965696   6  (autoclean)
>w83781d                20816   0  (unused)
>i2c-proc                6708   0  [w83781d]
>i2c-dev                 4384   0  (unused)
>usb-uhci               24236   0  (unused)
>ne2k-pci                4864   1
>8390                    7152   0  [ne2k-pci]
>tulip                  40960   1
>cs46xx                 59888   4
>ac97_codec             13708   0  [cs46xx]
>apm

>the differents options in the kernel which are enabled:
>scsi genereic support
>scsi emulation
>scsi cdrom
>usb-uhci (module M)
>usb-storage (M)

Hi!

I dont see usb-core in your modules.
In my 9.0, I always load usb-core,usb-uhci and usb-storage.

Jorge

 
 
 

1. SEITEK USB BAR - USB Flash Disk

Hi all.
    I've a problem to installing correctly my USB Flash Disk to my Linux.
    I can mount it correctly and access to the content, write into it and
all you want but as soon I unplug it and replug it to my system, the line
that I've wrote in my /etc/fstab dissapear !!!!!

    Here is what I've made :
        - first plug my token and check my /var/log/messages file to see on
what scsi reference it's attached to ;
        - I've create a /mnt/token ;
        - I've add the following line to my /etc/fstab :
            /dev/sda1        /mnt/token        auto
noauto,kudzu,owner    0 0
        The same information than my floopy !

    Anyone have any idea on how I can make to make my entry in /etc/fstab
permanent ?
    Or is there any way to do this ??? If this is the case this seem very
strange to me !!!

    My kernel is a 2.4.20-18.9 under Redhat Linux 9.0.

Please reply back on this group and on the 2 email addresses.
Really thanks to all of you.

2. Can ipfwadm pass quicktime4

3. problems mounting multi-slot USB flash reader

4. RE-installation

5. 2.5.70: AXIS usb flash disk problem

6. is there an equivalent to snoop

7. Sun Solaris USB Flash Drive mount command (scsa2usb driver)

8. Netatalk - socket

9. Help mounting a USB Compact Flash Reader with 64MB card

10. mount USB flash drive on Unix

11. can hotplug mount USB flash drive automatically?

12. How to mount USB flash memory to Sun Solaris 9 on Sun Blade 150?

13. Allow all users to mount to a usb flash drive