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. :newbie: |
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. |
Ok it shows up and I have a thing on my desktop. When I try to copy somehting into it it says "Genneric Error".
|
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. |
Um I get this:
Code:
Disk /dev/scsi/host1/bus0/target0/lun0/disc: 131 MB, 131072000 bytes |
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. |
Well i got it working great my only slight issue is that after removing the pendrive the icon doesn't disabear.
|
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.
|
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). |
Get Rid Of Supermount?
How do you get rid of supermount?
|
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...
|
same problem
:scratch:
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 Please, anyone knows how to deal that?:confused: |
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.
|
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.:newbie: :study:
|
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??? |
I am not so sure.
You can have a try. I have not found a time and opportunity to upgrade yet. My system has too many things to backup and protect. It is too risky, especially from a newbie's point of view.
I made that conclusion because, I have 1 yr old China made 64M usb storage key. That works very well. Only the new one doesn't work. Even on my XP laptop, this device is classified as high speed usb. It doesn't work well with XP as well. So I won't surprise if the new hardware doesn't work on linux. :D I am going to try it ASAP. After that I think I can have more thing to talk about it.;) |
Supermount is the villain...
The problem seems to be that the mini-Cruzer + USB-hotplug + supermount is a bad combination. If you have supermount compiled into the kernel, you simply cannot get this disk to mount. If you, however, use any kernel without the supermount patch applied, it seems to work flawlessly (though it has a FAT12 filesystem on it, I reformatted mine).
This is why the device is so aggravating to users of Mandrake, where the supermount patch is in the default kernel. |
Does anyone know how to disable supermount in SuSE???
|
For Fedora and Redhat 9, I ran the Hardware Browser and determined that the Sandisk was at /dev/sda1.
Therefore, create a directory to mount to: mkdir /mnt/usb1 And add the following to your /etc/fstab: /dev/sda1 /mnt/usb1 vfat users,uid=youre,gid=youre,rw,umask=000 0 0 Where "youre" is my linux user id. You could also use "500" which is the correspoding id from /etc/passwd and /etc/group. Then run as root or sudoer: mount -a You should now be able to access the Sandisk drive at /mnt/usb1. Please make sure to unmount the Sandisk when you're finished (run as root or sudoer): umount /mnt/usb1 Enjoy! |
All times are GMT -5. The time now is 08:29 AM. |