USB Flash stick not recognized in Suse 10.3
I've got a simple 2Gb Peak USB2.0 stick, that works perfectly without any extra drivers in suse 10.3/kernel 2.6.22.17-0.1-default i686 and kde 3.5.9 "release 57.3" (just to be clear about my OS), now I bought an Adata USB flash drive van 8Gb, it's just "flickering", but that's all.
When I use the command # mount I have the following information for my 2Gb USB-stick with the other information as well of course as: /dev/sdc1 on /media/disk type vfat (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower) When I insert this 8Gb flash USB stick into the same USB port and I use the command # mount I just see the usual information but no information nor any data for the 8Gb flash USB stick. It's funny, because I inserted this 8Gb flash stick into a USB port with one of neighbours, using WinXP, and it was working perfectly. This means that neither my USB port (the 2Gb stick is working) nor the 8Gb flash stick (working under WinXP) have a hardware problem. Moreover Adata states on its site that the 8Gb flash USB stick should be working properly for Kernel version 2.4 and later without any drivers. How can I get my suse 10.3/kernel 2.6.22.17-0.1-default i686 sofar, so that my 8Gb flash USB will be working, my 2Gb USB stick is under /dev/sdc1 (same USB port anyway). What should I configure or change in which file anyway to have the 8GB flash USB work properly? I hope someone knows the solution. Thanks anyway. |
show us the output of "lsusb" (you may need to be root)
do it both with the 8GB flash drive plugged in and not plugged in. also, show us the output of "dmesg | tail -n 20" after you plug the flash drive in. |
with 8GB flash drive plugged in:
# lsusb Bus 005 Device 002: ID 1307:0165 Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 8GB flash drive not plugged in: # lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 output: # dmesg | tail -n 20 usb 5-8: Product: USB Flash Drive usb 5-8: Manufacturer: USB 2.0 usb 5-8: SerialNumber: b08355536547f5 usb 5-8: configuration #1 chosen from 1 choice scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning scsi 3:0:0:0: Direct-Access USB 2.0 USB Flash Drive 0.00 PQ: 0 ANSI: 2 sd 3:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 3:0:0:0: [sdc] Write Protect is off sd 3:0:0:0: [sdc] Mode Sense: 00 00 00 00 sd 3:0:0:0: [sdc] Assuming drive cache: write through sd 3:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 3:0:0:0: [sdc] Write Protect is off sd 3:0:0:0: [sdc] Mode Sense: 00 00 00 00 sd 3:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sd 3:0:0:0: [sdc] Attached SCSI removable disk sd 3:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete the same information with my 2GB USB stick in the same USB port: plugged in: # lsusb Bus 005 Device 004: ID 1307:0163 Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 not plugged in: # lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 output: # dmesg | tail -n 20 usb 5-8: Product: Flash Drive usb 5-8: Manufacturer: PEAK III usb 5-8: SerialNumber: 7754ae00b310e9 usb 5-8: configuration #1 chosen from 1 choice scsi5 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 5 usb-storage: waiting for device to settle before scanning scsi 5:0:0:0: Direct-Access PEAK III Flash Drive 0.00 PQ: 0 ANSI: 2 sd 5:0:0:0: [sdc] 4030463 512-byte hardware sectors (2064 MB) sd 5:0:0:0: [sdc] Write Protect is off sd 5:0:0:0: [sdc] Mode Sense: 00 00 00 00 sd 5:0:0:0: [sdc] Assuming drive cache: write through sd 5:0:0:0: [sdc] 4030463 512-byte hardware sectors (2064 MB) sd 5:0:0:0: [sdc] Write Protect is off sd 5:0:0:0: [sdc] Mode Sense: 00 00 00 00 sd 5:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sd 5:0:0:0: [sdc] Attached SCSI removable disk sd 5:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete Hope we can solve the problem for the 8GB flash drive now. Thanks. |
sorry I was seriously sick for the last few days.
It seems the kernel and udev see your drive fine. did you try a manual mount? mount /dev/sdc <some directory> |
Linux installation in 2 gb compact flash drive
Hai,
I am using 2 gb kingston 2 GB | 266 X. I tried SUSE 10.3 live cd & DVD. But i failed. pls give any idea. It is possible in any other linux distributions. Regards Manoj |
for lambchops468: I indeed did a manual mount /dev/sdc1 and possibly further, but it says: cannot find it in /etc/fstab or /etc/mtab, whereas when I plug in my 2Gb USB stick into the same USB port it says: /dev/sdc1 already present or /media/disk busy, according to mtab /dev/sdc1 os already present on /media/disk, but for the 8Gb flash USB it does not do anything. And I told, plugged into WinXP this 8Gb flash USB works perfectly. My front USB port works fine with my 2Gb USB stick, my bluetooth stick, my digital camera and so on, not with the 8Gb stick, what can we do to connect this flash perfectly now? By the way, there are no drivers, not for Win not for Mac not for Linux. It should work fine. Thanks.
|
donquixote1: ok, to remedy your manual mount, you must first specify a mount point for which to mount the flash drive. That error is usually because when you specify just the device node, mount goes to /etc/fstab to look for an entry that states the mount point.
you could do this: Code:
mkdir /media/usbstick when you tried to mount your 2GB flash drive, it returned that message because the drive was already mounted via the automounter (udev). it placed an entry in the /etc/mtab file. |
Quote:
|
# mkdir /media/usbstick is correct but then with # mount /dev/sdc1 /media/usbstick, first I saw: you have to indicate a file system, after (not with the 2Gb stick, that was correct with this syntax): special /dev/sdc1 does not exist, so what can I do next, a system?
|
Quote:
Either the flash drive wasn't recgonized this time, or the file system needs to be specified... it may be ntfs. nfts isn't supported for automount. mount -t ntfs-3g /dev/sdc1 /media/usbstick |
This is what I get:
# mount -t ntfs-3g /dev/sdc1 /media/usbstick NTFS signature is missing. Failed to mount '/dev/sdc1': Invalid argument The device '/dev/sdc1' doesn't have a valid NTFS. Maybe you selected the wrong device? Or the whole disk instead of a partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around? By the way, I also tried with hda and hda1, but without result. |
The funny thing is that your kernel does see your drive but we can't get it to mount.
What file system are you using (I should have asked this a while ago) |
|
# lsmod | grep vfat - I got nothing
# locate vfat /lib/modules/2.6.22.17-0.1-default/kernel/fs/vfat /lib/modules/2.6.22.17-0.1-default/kernel/fs/vfat/vfat.ko /sbin/fsck.vfat /sbin/mkfs.vfat /usr/share/man/man8/fsck.vfat.8.gz /usr/share/man/man8/mkfs.vfat.8.gz /usr/src/linux-2.6.22.17-0.1-obj/i386/bigsmp/include/config/vfat /usr/src/linux-2.6.22.17-0.1-obj/i386/bigsmp/include/config/vfat/fs.h /usr/src/linux-2.6.22.17-0.1-obj/i386/debug/include/config/vfat /usr/src/linux-2.6.22.17-0.1-obj/i386/debug/include/config/vfat/fs.h /usr/src/linux-2.6.22.17-0.1-obj/i386/default/include/config/vfat /usr/src/linux-2.6.22.17-0.1-obj/i386/default/include/config/vfat/fs.h /usr/src/linux-2.6.22.17-0.1-obj/i386/xen/include/config/vfat /usr/src/linux-2.6.22.17-0.1-obj/i386/xen/include/config/vfat/fs.h /usr/src/linux-2.6.22.17-0.1-obj/i386/xenpae/include/config/vfat /usr/src/linux-2.6.22.17-0.1-obj/i386/xenpae/include/config/vfat/fs.h /usr/src/linux-2.6.22.17-0.1/Documentation/filesystems/vfat.txt /usr/src/linux-2.6.22.17-0.1/fs/vfat /usr/src/linux-2.6.22.17-0.1/fs/vfat/Makefile /usr/src/linux-2.6.22.17-0.1/fs/vfat/namei.c # ls /dev/sdc* /dev/sdc /dev/sdc1 # sudo file -s /dev/sdc /dev/sdc: x86 boot sector, Microsoft Windows XP MBR, Serial 0x4dd5721 # lsmod | grep usb usb_storage 80908 0 ide_core 122948 1 usb_storage hci_usb 20124 0 bluetooth 57172 5 rfcomm,l2cap,hci_usb usblp 17024 0 usbcore 124268 7 usb_storage,hci_usb,usblp,hsfosspec,ehci_hcd,uhci_hcd scsi_mod 140376 5 usb_storage,sr_mod,sg,sd_mod,libata Well this is what I got for you, I think there's something with 8Gb flash with Microsoft Windows XP MBR, correct or not? Please advise what I could do next to make the 8Gb flash work properly now. Thanks. |
run "sudo /sbin/modprobe vfat".
Also make sure you don't have "noacpi" as one of the kernel boot option. Without acpi, dbusd and hald won't work so automounting of external drives won't work either. If you know which device an external drive is you can run: sudo file -s /dev/sda1 for example to examine the filesystem on the device. It will tell you if it is a fat32 or ntfs. If you won't be using it in windows consider reformating the drive in the ext2 or ext3 filesystem. ( for flash drives, maybe ext2 would be better because ext3 uses journaling which may increase the number of writes to the device. ) |
All times are GMT -5. The time now is 10:42 PM. |