Problems mounting USB thumb drive

Nitebirdz nitebirdz at sacredchaos.com
Thu Jan 5 15:15:38 UTC 2006


Hi,


I have a 512MB USB thumb drive that works fine at home under 5.10 but
fails to mount on my system at work running 5.04.  The drive is
correctly detected by the kernel when I plug it in:

  Jan  5 08:38:47 lisbon kernel: usb 1-1: new full speed USB device using
    address 2
  Jan  5 08:38:48 lisbon kernel: usb 1-1: new full speed USB device using
    address 3
  Jan  5 08:38:50 lisbon kernel: SCSI subsystem initialized
  Jan  5 08:38:50 lisbon kernel: Initializing USB Mass Storage driver...
  Jan  5 08:38:50 lisbon kernel: scsi0 : SCSI emulation for USB Mass
    Storage devices
  Jan  5 08:38:50 lisbon kernel:   Vendor: Memorex   Model: TD Classic
    003C   Rev: 1.04
  Jan  5 08:38:50 lisbon kernel:   Type:   Direct-Access
    ANSI SCSI revision: 02
  Jan  5 08:38:50 lisbon kernel: usbcore: registered new driver
    usb-storage
  Jan  5 08:38:50 lisbon kernel: USB Mass Storage support registered.
  Jan  5 08:38:51 lisbon usb.agent[1009]:      usb-storage: loaded
    successfully
  Jan  5 08:38:53 lisbon kernel: SCSI device sda: 1003520 512-byte hdwr
    sectors (514 MB)
  Jan  5 08:38:53 lisbon kernel: sda: Write Protect is off
  Jan  5 08:38:53 lisbon scsi.agent[1070]:      sd_mod: loaded sucessfully
  Jan  5 08:38:53 lisbon kernel:  /dev/scsi/host0/bus0/target0/lun0:
    [CUMANA/ADFS] p1<5>Attached scsi removable disk sda at scsi0, channel 0,
    id 0, lun 0


However, any attempt to mount it will fail:

  # mount -t vfat /dev/sda /media/TRAVELDRIVE mount: wrong
  fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so 

  # mount -t vfat /dev/sda1 /media/TRAVELDRIVE mount: wrong
  fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or other error        
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I get the same problem if I try to mount it as an "msdos" type
filesystem.  Yet, 'parted' does manage to access the drive just fine
(although with some bug messages):

  # parted -s /dev/sda print
  You found a bug in GNU Parted.  Please email a bug report to
  bug-parted at gnu.org containing the version (1.6.20), and the following
  message:
  Assertion ((C * heads + H) * sectors + S == A) at
  ../../libparted/disk_dos.c:578 in function probe_partition_for_geom()
  failed. You found a bug in GNU Parted.  Please email a bug report to
  bug-parted at gnu.org containing the version (1.6.20), and the following
  message: 
  Assertion ((C * heads + H) * sectors + S == A) at
  ../../libparted/disk_dos.c:578 in function probe_partition_for_geom()
  failed.
  Disk geometry for /dev/sda: 0.000-490.000 megabytes Disk label type:
  msdos
  Minor    Start       End     Type      Filesystem  Flags
  1          0.016    490.000  primary   fat16       boot, lba


Any suggestions?

----------------
Nitebirdz
http://www.sacredchaos.com/




More information about the ubuntu-users mailing list