LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Memory Key no longer mounts (https://www.linuxquestions.org/questions/linux-hardware-18/usb-memory-key-no-longer-mounts-324681/)

DoddyUK 05-18-2005 10:01 AM

USB Memory Key no longer mounts
 
Sandisk Cruzer Mini 256MB

This is a problem which has just sprung up out of the blue. Fedora Core 3 no longer seems to be able to recognise or mount my USB key. I've had a quick search around the internet and tried a few commands, but it won't seem to mount. When I try to mount manually:


Code:

[root@rei michael]# mount /dev/sda1 /media/usb
mount: special device /dev/sda1 does not exist

I check the currently connected USB devices, to see if it is actually recognised by Linux.

Code:

[root@rei michael]# /sbin/lsusb
Bus 004 Device 002: ID 10df:0100 In-Win Development, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 06b9:4061 Alcatel Telecom Speed Touch ISDN or ADSL Modem
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 043d:0078 Lexmark International, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

No sign of it. I check the interrupts to see if anything is turning up there.

Code:

[root@rei michael]# tail /proc/interrupts
  3:      3961          XT-PIC  uhci_hcd
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 10:      4302          XT-PIC  VIA8233, uhci_hcd
 11:        413          XT-PIC  ehci_hcd, uhci_hcd, eth0
 12:      13460          XT-PIC  i8042
 14:      15657          XT-PIC  ide0
 15:      1676          XT-PIC  ide1
NMI:          0
ERR:          0

I have a look at my message log next. This is the last thing I can think of since no other command has detected the USB device.

Code:

[root@rei michael]# tail /var/log/messages
May 18 15:44:17 rei kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
May 18 15:44:17 rei kernel: hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
May 18 15:44:17 rei kernel: ide: failed opcode was: unknown
May 18 15:44:17 rei kernel: ide0: reset: success
May 18 15:44:59 rei kernel: usb 1-5: USB disconnect, address 5
May 18 15:45:01 rei kernel: usb 1-5: new high speed USB device using address 6
May 18 15:45:06 rei kernel: usb 1-5: control timeout on ep0out
May 18 15:45:11 rei kernel: usb 1-5: control timeout on ep0out
May 18 15:45:11 rei kernel: usb 1-5: device not accepting address 6, error -110
May 18 15:45:11 rei kernel: usb 1-5: new high speed USB device using address 7

So, I know something is not right here, the connection is timing out. But why all of a sudden over the past couple of days has the USB Key stopped working? Can anyone help me out? I don't want to do a ful reinstall again.

jabfinger 05-18-2005 08:41 PM

If you havent already, you might consider checking to see if the propper usb modules are being loaded .

command "lsmod"

ithawtewrong 05-19-2005 06:20 PM

I had the same problem with my Cruzer on SuSE. If memory serves me correctly the /dev point changed to /dev/sde1. You may want to check that. It appears from your log files the system sees it. You may also try: mount -t vfat /dev/sdxx /media/usb

xx = your variables of a1 or e1.

I always thought you had to tell mount what type of filesystem and your post doesn't contain that either.

edit:
a post just after yours was replied to by esteeven and this is the link in it.

http://www.linuxquestions.org/quest...ght=mount+flash

DoddyUK 05-21-2005 02:02 PM

Thanks for that. I know where exactly my USB key is located now, although I still can't seem to mount it. A fdisk check gave me this output:

Code:

[root@rei mnt]# /sbin/fdisk -l

Disk /dev/hda: 78.2 GB, 78257815552 bytes
255 heads, 63 sectors/track, 9514 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hda1  *          1        8793    70629741    c  W95 FAT32 (LBA)
/dev/hda2            8794        9514    5791432+  5  Extended
/dev/hda5            8794        8850      457821  82  Linux swap
/dev/hda6            8851        9514    5333548+  83  Linux

Disk /dev/sdb: 256 MB, 256900608 bytes
16 heads, 32 sectors/track, 979 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1        979      250574+  6  FAT16

so my usb key is located at /dev/sdb1. So I updated my /etc/fstab file as so:

Code:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                /                      ext2    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs  defaults        0 0
none                    /proc                  proc    defaults        0 0
none                    /sys                    sysfs  defaults        0 0
/dev/hda5              swap                    swap    defaults        0 0
/dev/hdd                /media/cdrecorder      auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0                /media/floppy          auto   
/dev/sdb1                /media/usbstick                FAT16 user,noauto,umask=0 0 0

so hopefilly all will be well when I try to mount it in the console. However, when I try to, this error appears:

Code:

[root@rei mnt]# mount /media/usbstick
mount: mount point /media/usbstick does not exist

So, any more ideas?

DoddyUK 05-21-2005 03:16 PM

Problem solved. Turns out I made the usbstick directory in /mnt rather than /media. Thanks anyway.

I truely am a n00b at times... ^^;


All times are GMT -5. The time now is 12:06 AM.