LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-08-2004, 07:37 PM   #1
Blaa269
LQ Newbie
 
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24

Rep: Reputation: 15
Question SanDisk Mini Cruzer (USB Pen Drive)


I'm sure this has been taken care of like a million times over but I have a SanDisk 128.mb mini Cruzer. When I insert the device into my front usb port after a fresh restart the light blinks and a icon shows up on the desktop. A second later its gone. I have read and attempted some instructions elsewhere on this forum and the instructions told me to log what my kernal was saying so I did and this is it:

Jan 8 20:17:50 localhost kernel: hub.c: new USB device 00:02.2-4, assigned address 7
Jan 8 20:17:50 localhost kernel: usb.c: USB device not accepting new address=7 (error=-71)
Jan 8 20:17:51 localhost kernel: hub.c: new USB device 00:02.2-4, assigned address 8
Jan 8 20:17:55 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product 781/8181/125
Jan 8 20:18:03 localhost gconfd (root-14350): GConf server is not in use, shutting down.
Jan 8 20:18:03 localhost gconfd (root-14350): Exiting
Jan 8 20:23:33 localhost kernel: /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Jan 8 20:23:33 localhost kernel: I/O error: dev 08:00, sector 0
Jan 8 20:23:33 localhost kernel: I/O error: dev 08:00, sector 255992
Jan 8 20:23:33 localhost kernel: I/O error: dev 08:00, sector 255992
Jan 8 20:23:33 localhost kernel: I/O error: dev 08:00, sector 0
Jan 8 20:23:33 localhost kernel: I/O error: dev 08:00, sector 0
Jan 8 20:23:33 localhost kernel: ldm_validate_partition_table(): Disk read failed.
Jan 8 20:23:33 localhost kernel: I/O error: dev 08:00, sector 0

I really don't know WTH this means.

Additionaly after the removable thing on the desk disapears the folder for it is still in my mnt folder. And I can't seem to unmount it.

 
Old 01-09-2004, 03:58 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
OK, try this:
Boot computer.
Login.
Open up a programme called usbview (may not be installed but should be on your install discs... if not, then try here).
Open up a terminal/console.
Plug in device.
Watch what happens on the usb-view programme. If it is recognised properly then it should appear somewhere on that. If it is not, then it may well appear as a red device.
From the console, type cdrecord -scanbus and check that it mentions a removable/travelling device.
If all this is going smoothly, then check the last few lines of the output when you type dmesg. This should give similar information to the above.
Change to the root user (su root) (the prompt changes from a $ to a #) and then type fdisk -l (note: that was a lower-case L).
It should show the partition tables of all attached block devices... of which your pendrive should be one. It should show up as something like /dev/scsi/host1/something.
If all this has gone well so far, then you should be in luck! Mandrake will, by default, create a new mountpoint: /mnt/removable. Try accessing your files there.
 
Old 01-09-2004, 06:02 PM   #3
Blaa269
LQ Newbie
 
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
Ok it shows up and I have a thing on my desktop. When I try to copy somehting into it it says "Genneric Error".
 
Old 01-09-2004, 07:13 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
When you typed fdisk -l as root, what did it show?

PS
Oh, and in order to make pasted-text (from a console, for example) look nice on these forums, you can place it in [ code ] and [ /code ] tags. Please note that you should remove the spaces from either side of the word code.
 
Old 01-11-2004, 12:11 AM   #5
Blaa269
LQ Newbie
 
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
Um I get this:
Code:
Disk /dev/scsi/host1/bus0/target0/lun0/disc: 131 MB, 131072000 bytes
32 heads, 32 sectors/track, 250 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
 
                                 Device Boot    Start       End    Blocks   Id  System
/dev/scsi/host1/bus0/target0/lun0/part1   *         1       250    127984    b  Win95 FAT32
Partition 1 has different physical/logical endings:
     phys=(250, 31, 32) logical=(249, 31, 32)
 
Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
                                Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *         1       764   6136798+  83  Linux
/dev/ide/host0/bus0/target0/lun0/part2           765      4866  32949315    5  Extended
/dev/ide/host0/bus0/target0/lun0/part5           765       827    506016   82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part6           828      4866  32443236   83  Linux
 
Old 01-11-2004, 05:41 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Yes, notice that the first harddrive is 131Mb... that is your Sandisk. Since you have only one scsi disk in the list, your sandisk is going to be /dev/sda. Part 1 means 1 parttion, so /dev/sda1 is what needs to be mounted.

As root, try making a new mount-point and then mounting the device:
mkdir /mnt/sandisk
mount /dev/sda1 /mnt/sandisk

And then try reading files from there (as root), [b[ls /mnt/sandisk[/b]

Just a note... you're running Mandy 9.2 which has a (horrible) thing called supermount installed. It basically mounts your removable media (floppy, cd, pendrive, etc) when you try to access it rather than you having to explicitly mount it. This can cause problems.

Also, when you plug in your sandisk, wait a few moments and then check your /etc/fstab and I'll bet you have an entry for removable... scan through that line and you should find a bit that says kudzu - this is what recognises your usb media (such as pendrives) and sets up your fstab... and it also removes it when not in use. If you get rid of that, then you should be able to access you sandisk nicely.

Just as an example, this is what my fstab entry looks like:
/dev/sda1 /mnt/pendrive auto users,noauto 0 0
Works a treat.
 
Old 01-11-2004, 10:32 PM   #7
Blaa269
LQ Newbie
 
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
Well i got it working great my only slight issue is that after removing the pendrive the icon doesn't disabear.
 
Old 01-12-2004, 04:06 AM   #8
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Did you remove the "kudzu" bit from your fstab? If so, then it'll probably stay there. The icons on your desktop relate to some of the entries on your fstab. If you're feeling lucky then put the kudzu thing back in and the icon should only appear when the device is plugged in. I would still advise you to not use supermount.
 
Old 01-14-2004, 09:40 PM   #9
NuggyBuggy
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Sandisk Cruzer mini works under Mandrake 8.2

<a href="http://www.linuxquestions.org/questions/showthread.php?s=&postid=701371#post701371">Here</a> is a post wherein I describe my own experience. Basically the Cruzer mini works automatically with Mandrake 8.2, but for the life of me I cannot get it working under a few other, newer distros (i.e., Mandrake 9/9.1/9.2 and Gentoo 1.4). This despite the fact I have another USB pen drive which works without a hitch on all of the above.

I've concluded there's something wonky with the Cruzer mini. I just wish I'd discovered the problems with it BEFORE I tossed out the packaging (I assumed it was OK when it worked under 8.2).
 
Old 01-16-2004, 11:44 PM   #10
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Get Rid Of Supermount?

How do you get rid of supermount?
 
Old 01-27-2004, 06:53 PM   #11
rhowser
LQ Newbie
 
Registered: Jan 2004
Location: Missouri
Distribution: Redhat 7.2
Posts: 1

Rep: Reputation: 0
Just a note that I got my Cruzer Mini 128 working on Red Hat 7.2 by only mkdir and mounting. Easier than it was to install it in Win98SE. I've written to it in both, now time to go make sure Win98 can read what linux put on there...
 
Old 02-11-2004, 05:13 PM   #12
oaksword
LQ Newbie
 
Registered: Feb 2004
Location: Plymouth, UK
Distribution: Fedora 3 (DVD)
Posts: 6

Rep: Reputation: 0
Unhappy same problem


I have the same device and same problem, however, I didn't find the solution as Thymox said so. The device even doesn't show up at
Code:
cdrecord -scanbus
. usbviewer gives a positive result. I have two keys one is quite old, USB 1.1, and sandisk is the newer one, USB 2.0. So, they both appear under the different columns. My sandisk appears on "Intel Corp. 82801DB USB2" and the other one is under the first "USB UHCI Root Hub" among four. it seems that my Mandy9.2 cannot reco the USB2.0 devices. BTW, it's downloaded version.
Please, anyone knows how to deal that?
 
Old 02-23-2004, 03:52 PM   #13
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
I use SuSE 8.2 and am having problems with my cruzer mini 128 as well. A similar device, a SanDisk SD Card reader, works fine.
 
Old 02-23-2004, 04:26 PM   #14
oaksword
LQ Newbie
 
Registered: Feb 2004
Location: Plymouth, UK
Distribution: Fedora 3 (DVD)
Posts: 6

Rep: Reputation: 0
I recently found that the 2.4.xx kernel could be blamed for this problem. I am preparing patch to 2.6.x. Hopefully it can solve my problem. btw, I got this clue from a web called linux-usb.org.
 
Old 02-24-2004, 09:31 AM   #15
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
So I should hang onto my SanDisk Cruzer Mini until I decide to upgrade to a 2.6.xx kernel based distro???

Or is there a workaround that doesn't involve a kernel re-compile???
 
  


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
sandisk cruzer mini gallan Linux - Hardware 5 11-21-2006 08:55 AM
SanDisk Cruzer Mini Thumb Drive Problem kdogksu Linux - Hardware 1 12-26-2004 05:09 PM
Trouble with SanDisk Cruzer Mini dr_zayus69 Linux - Hardware 5 12-05-2004 09:28 PM
How to mount USB FlashDisk: SanDisk Cruzer Mini? acer_peri Linux - Hardware 5 09-29-2004 03:22 AM
SanDisk Cruzer mini 256 mb greendusk Linux - Hardware 16 01-25-2004 01:56 PM


All times are GMT -5. The time now is 03:17 PM.

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