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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-08-2004, 08:37 PM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24
Rep:
|
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.

|
|
|
01-09-2004, 04:58 AM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
01-09-2004, 07:02 PM
|
#3
|
LQ Newbie
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24
Original Poster
Rep:
|
Ok it shows up and I have a thing on my desktop. When I try to copy somehting into it it says "Genneric Error".
|
|
|
01-09-2004, 08:13 PM
|
#4
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
01-11-2004, 01:11 AM
|
#5
|
LQ Newbie
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24
Original Poster
Rep:
|
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
|
|
|
01-11-2004, 06:41 PM
|
#6
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
01-11-2004, 11:32 PM
|
#7
|
LQ Newbie
Registered: Jan 2004
Location: The Net
Distribution: Mandrake 9.2
Posts: 24
Original Poster
Rep:
|
Well i got it working great my only slight issue is that after removing the pendrive the icon doesn't disabear.
|
|
|
01-12-2004, 05:06 AM
|
#8
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
01-14-2004, 10:40 PM
|
#9
|
LQ Newbie
Registered: Jan 2004
Posts: 2
Rep:
|
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).
|
|
|
01-17-2004, 12:44 AM
|
#10
|
Member
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297
Rep:
|
Get Rid Of Supermount?
How do you get rid of supermount?
|
|
|
01-27-2004, 07:53 PM
|
#11
|
LQ Newbie
Registered: Jan 2004
Location: Missouri
Distribution: Redhat 7.2
Posts: 1
Rep:
|
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...
|
|
|
02-11-2004, 06:13 PM
|
#12
|
LQ Newbie
Registered: Feb 2004
Location: Plymouth, UK
Distribution: Fedora 3 (DVD)
Posts: 6
Rep:
|
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 . 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? 
|
|
|
02-23-2004, 04:52 PM
|
#13
|
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep: 
|
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.
|
|
|
02-23-2004, 05:26 PM
|
#14
|
LQ Newbie
Registered: Feb 2004
Location: Plymouth, UK
Distribution: Fedora 3 (DVD)
Posts: 6
Rep:
|
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. 
|
|
|
02-24-2004, 10:31 AM
|
#15
|
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep: 
|
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???
|
|
|
All times are GMT -5. The time now is 07:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|