usb-storage -issues with USB2.0?
Like many others posting here, I've had nothing but trouble trying to get my usb flash drive to work properly under linux, specifically, each version of Mandrake.
I noticed that when I upgraded my son's hand me down PC, Mandrake 10.0 is able to work perfectly fine with the falsh drive. I can insert it and remove it and insert it again and it it just works. The same is not true of my laptop, nor my current PC, both of which have usb 2.0 ports. I get similar error messages as described in many posts here. Booting with the drive inserted helps, but removing and re-inserting messes the PC up. (Konqueror or a shell will hang.) The desktop PC has a VIA chipset (Athlon CPU) and the laptop is an e-machine also with an athlon. I'm not a newbie- I've tried modprobe, fdisk -l, mounting usbfs, recompiling 2.4 and 2.6 kernels. One post suggested that the drive may be formatted wrong, like a super floppy? What's that? I formatted the drive in windows xp- no help. Can anyone suggest a procedure to follow to diagnose the problem, rather than trying one random idea at a time as I google the net? |
When you say "removing and re-inserting messes the PC up," perhaps you could give a more
technical idea of what "messing up" means. Did you umount the device before removing it? Mine works fine in Slack, and this is how it's setup: Code:
/dev/sda1 /mnt/hd vfat user,umask=1000,rw,auto 0 0 one of my other 8 USB devices, and then umount, I cannot mount any other device properly unless I reboot. You also you formatted the drive in Windoze - as what file system? If NTFS, then you will only have read access reliably. |
"Messed up" includes several problems. Opening Konqueror and attempting to look at the contents of the flash drive cause Konqueror to hang or go into some process difficult to exit from. Likewise, using a shell to explore the contents also hangs.
When I have been successful in mounting the flash drive, I am unable to successfully unmount it- the green light on the drive stays lit. I believe the hotplug scripts that activate upon insertion may be part of the problem, but I don't know how to "turn them off." The hotplugging of the drive, when it works, never refers to /dev/sda1 but rather to a long scsi path name. Mounting /dev/sda1 produces a device not found error. I've noticed that I have more success with my digital camera which I believe is usb 1.0. More success means I can plug it into the laptop and I can retrieve pictures. As for the desktop PC, the usb ports just don't work in Mandrake 9.2. Sometimes usbview will detect devices; most often, it does not. I've just discovered that booting Knoppix on the laptop provides me with a working flash drive. I can mount and unmount sda1 and insert and remove the drive. Maybe my problems are Mandrake specific? |
Quote:
Quote:
$ man mount and read about that command. You may already know this. I never use automount, so cant really advise on that. Does the listing of devices have to do with devfs (device filesystem)? Quote:
Quote:
# lsusb from cli and add -v if I need more verbose info. Quote:
Since Knopppix works fine on that particular comp, why not look at the .config file and see what you've got. Better yet, you could copy it and then boot into Mandy and compare - or maybe save your present config with a different name, then put the Knoppix config in Mandy and recompile with make oldconfig and maybe you're set. Sounds too easy, what's the flaw? Sorry I can't be of more help, but every time I've tried to help a Mandy user, it's turned sour. It seems that system does things in peculiar ways, and doesn't install all the libraries needed. |
Thanks for help!
Your reply helped, but not in quite the way you may have expected. Experimenting more with my Knoppix CD, I learned Knoppix does a better job of handling my usb devices than Mandrake 9.2 or 10.0. (Thanks also for the lsusb command.)
I've been using Mandrake for over five years. The fact that Knoppix "understands" my hardware better than Mandrake made me stop and think. Your quote, "Sorry I can't be of more help, but every time I've tried to help a Mandy user, it's turned sour. It seems that system does things in peculiar ways, and doesn't install all the libraries needed." convinces me that I should try another distribution. |
Hey, could I put in my two cents for Slack? I used Debian (Knoppix is) before Slack, and it was nice and fast - easy to install. However, when I tried to get stuff with apt-get there were sometimes problems. I ran SID, and to get KDE, for instance, I had to get it from Woody (stable). But that didn't work either, because some of my libraries would have to go backwards, and then apps in unstable wouldn't work.
I think Slack understands the hardware quite well, and it's a true Linux system, also. BSD style, not SysV (like Mandrake and RedHat). |
Just thought this thread might be of some help
http://www.linuxquestions.org/questi...hreadid=181510 |
All times are GMT -5. The time now is 04:26 PM. |