LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-11-2004, 04:44 AM   #1
sudz1979
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Failure to detect SanDisk Cruzer 256 USB Flash Drive on RH 8.0


I have RH 8.0 on my laptop (Compaq Pressario 3080us), alongwith M$ XP. The USB drive is easily recognized on the M$ partition.

Since there is some amount of tweaking to be done for the drive to be recognised on linux, I searched the net and got an article at

"Using a USB flash drive with Linux"
<sorry had to remove the URL - forum rules for new members>

Basically I did the following.

1. insmod'ed usb-storage
2. Added a new line in the /etc/fstab
/dev/sda1 /mnt/usbstick vfat user,noauto,umask=0 0 0
3. Created a directory /mnt/usbstick
4. Plugged in my flash drive
5. Did (on a second terminal)
tail -s 3 -f /var/log/messages
to see if the drive was detected. It was NOT.
6. Obviously I couldnt mount /dev/sda1 as the device was not detected. Btw, I tried to mount it without success.

Please let me know what I am doing wrong here. Has anyone placed this issue before.

Thanks,
 
Old 02-25-2004, 12:02 PM   #2
troy.kinsella
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
The problem is not you. The problem is with SanDisk only supporting Windows and Macs.

I have the exact same device as you, and I managed to get it working (somewhat) in Gentoo 1.4.

First, I did everything that you did, then:

1. Unplugged/replugged in the drive. On my machine it gets noticed every time on the second try if not the first.

2. Checked dmesg.. noticed.

3. /dev/sda1 not a valid block device. (What??)

4. su; rmmod usb-storage; insmod usb-storage

5. mount /dev/sda1 (I have the same fstab entry as you).

6. Works. If it doesn't, I repeat steps 1 to 5 until it does.


I found that as soon as I got it working, I zero'd it:

dd if=/dev/zero of=/dev/sda1 bs=4096

and made a filesystem:

mkdosfs /dev/sda1

and I was able to mount and unmount pretty much normally and on the first plugin/try.

But soon that went to hell and the fs got corrupted.
So, I guess we are stuck with crappy products thanks to the brilliant geniuses and SanDisk, who cut their market for the Cruzer Mini in half to save some bucks. I'm sure they have pissed off many-a-customer.

Troy
 
Old 02-25-2004, 12:04 PM   #3
troy.kinsella
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Oops.

I should clear up that my step 2.5 was to 'mount /dev/sda1', then the result is step 3.
 
Old 02-25-2004, 01:10 PM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
SanDisk Cruzer support is hit and miss.

One factor is making sure you have all of the scsi services enabled. The USB Mass Storage devices are all emulated as a scsi device. Also you need to make sure you have the usb-storage module installed. Do a lsmod as root to see if the module is loaded. If not, then do an insmod to install it.

In addition to these problems, you may have others as well. For instance, my Desktop computer has no problems with mounting my SanDisk Cruzer Mini 128, but my laptop,... lost cause. I don't know if it's because of the USB chipset support in the USB modules or what...

On my desktop machine though, I have to umount with the lazy option as root to unmount... Unless I am doing something drastically wrong...

So there are issues with the SanDisk Cruzers. It's worth noting however, that the single slot SanDisk SD Card USB readers usually work without issue... Strange. You'd think they were the same technology.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 and SanDisk USB Flash Drive bleedingturnips Linux - Hardware 2 09-14-2005 11:20 AM
SanDisk Cruzer Mini Thumb Drive Problem kdogksu Linux - Hardware 1 12-26-2004 05:09 PM
How to mount USB FlashDisk: SanDisk Cruzer Mini? acer_peri Linux - Hardware 5 09-29-2004 03:22 AM
SanDisk Mini Cruzer (USB Pen Drive) Blaa269 Linux - Hardware 18 03-27-2004 03:03 PM
SanDisk Cruzer mini 256 mb greendusk Linux - Hardware 16 01-25-2004 01:56 PM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration