SlackwareThis Forum is for the discussion of Slackware 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.
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.
Hi. I have a 128MB Flash Disk that I used to mount on Red Hat and it worked fine. But now, after I've installed Slackware, it isn't detected. I tried a friend's USB but that doesn't work either. I have enabled UHCI support in 2.6.4. Still it doesn't work. Please help me.
No, its not that. Because I've tried fdisk. It used to show my USB as /dev/sda4. But now it doesn't. Even Slackware did at first. But I had to reinstall it and now it doesn't.
That should show you that a new device was connected, and where it was connected. Then you can mount it with mount /dev/sdXX /mnt/flashdrive. If this does not work then there is something missing in your kernel or your hotplug might not be running. You mentioned that you had UHCI support, that is good because you do need that, but what about SCSI. You need SCSI, and Mass Storage Device (or something like that) Mass Storage Device is under the SCSI tab in the kernel menu. Hope that helps.
That may be so. But it did. Today I tried mounting it on another system running Slackware. There it was mounted as /dev/sdb4. Anyway, yes the kernel does detect it, but still it doesn't mount it or show it as /dev/sda4. And yes, I do have Mass Storage support because dmesg does show the kernel initializing it. One thin more, I tried a friend's USB, but that didn't work either. Also, each time I plug in my USB, it is allotted a different address according to dmesg. Another thing that may be relevent is that fdisk shows a /dev/hda2. Problem is, I don't have a /dev/hda2. All my partitions are accounted for. When I try to mount it, it says error guessing file system type. Manually specifying the file system doesn't work either. I am at a total loss as to what to do.
Last edited by kamransoomro84; 04-28-2004 at 02:01 PM.
Does your flash drive require drivers, because I have an iomega that does not and that is the reason that mine works. Did you flash drive come with a cd? Some flash drives just do not play well with linux.
USB drives use a special usb-scsi host emulation to be recognised by the system
Try as root
cdrecord -scanbus
this dectect "pseudo" scsi device as well.
then if you get your device in the list
try
mount -t vfat /dev/sda1 /mnt/something ===== instead of vfat ,auto can also be used
"something" must be created first by
mkdir /mnt/something.
It would be very unusual your pendrive is detected as sda4 unless you have a "full"scsi system
Ciao
Flash drives are not always shipped formatted. I have a new Apacer STENO and this was raw. Either format it on a Windows machine with FAT/FAT32 or fdisk it to ext2
2.6.4 and i believe prior versions had some problem with the usb devices under the /sys mount point.Upgrade to 2.6.5
dmesg will show you at which sdaXX your usb drive is.But be sure to have the appropriate kernel supprort compiled.
/flame mode on
And yes Slackware can be more educational that other distros
/flame mode off
Guys, you still don't get it. I think you missed my earlier posts. My USB used to work fine on Slackware kernel 2.6.4. But I had to reinstall and now it doesn't. I have already upgraded to 2.6.5, and no, my USB does not need drivers. I'll try the cdrecord thingy today. Also, it may be unusual, but my USB is recognised as /dev/sda4. It was recognized as such on Red Hat, it was recognized as such on Slackware before and it was recognized as /dev/sdb4 on another system running Slackware. Oh and dmesg does tell me that a USB Mass Storage device was plugged in, and as far as the address was concerned, it changes every time I plug it in. Oh and my USB works fine on Windows.
Hey thanks guys. USB is working now. I hadn't compiled SCSI generic drive support. And again, its /dev/sda4. Anyway, one thing I don't understand, it didn't work in 2.4.22 either. Whereas SCSI support is enabled there. Care to comment on that?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.