Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I tried what you said. It didn't work. I get the error:
mount: you must specify the filesystem type
Please check that the disk is entered correctly.
I looked in /dev/ for sda1 and the device is non existant. I have a directory called /usb except it contains lp0 which I think is in use for my HP DeskJet printer. I have several USB ports on my ASUS A7N8X Deluxe. I am trying to use the front left port on my tower. Thanks.
This should tell you which device your usb drive has been plugged into. It may be within the subdirectory /dev/usb/foobar. If you know the filesystem already being used by the thumb drive (possibly Vfat) then you could change the first "auto" entry to "vfat", minus the quotes.
Feb 17 07:21:27 localhost kernel: ohci_hcd 0000:00:02.1: wakeup
Feb 17 07:21:28 localhost kernel: usb 2-3: new low speed USB device using address 2
Feb 17 07:21:28 localhost kernel: usb 2-3: new low speed USB device using address 3
Feb 17 07:27:27 localhost kernel: Initializing USB Mass Storage driver...
Feb 17 07:27:27 localhost kernel: usbcore: registered new driver usb-storage
Feb 17 07:27:27 localhost kernel: USB Mass Storage support registered.
I think I may be missing modules. What ones do I need? I am using an ASUS A7N8X-Deluxe.
Shouldn't do - from your /var/log/messages it looks like it should work. Are the messages about usb 2-3 from your printer, or from your thumbdrive ? Is this for your Debian or Slackware system ? You may also want to have a hunt around /dev/usb/*.
If this is the first time you have used your thumb drive with linux, you may possibly need to reformat it (use fdisk and mkfs).
This is about my Debian system. I do not know if the messages are about my printer or the thumb drive, how do I check? I have information on the drive that I don't want to lose so I'd prefer to format it as a last resort. /dev/usb contains a file called lp0. Is lp0 of any use for the thumb drive? Please help me get this working, it contains documents I need to access as soon as possible...
I don't have Slackware anymore, but version 10.1 is catching my eye
Easiest way (similar to dmesg) is to open a terminal, login as root, and run
tail -f /var/log/messages
and then plug your thumbdrive in. A bunch of messages should appear pretty much straight away.
If you have another thumbdrive around that you know works, it may be worth trying that also. If your drive is brand new, then it may have a filesystem that the kernel may not recognize (thus the suggested reformat of it) with OEM sectors that simply bugger it up.
Upon doing what you said, the following new lines appear:
Feb 17 10:21:48 localhost kernel: ohci_hcd 0000:00:02.1: wakeup
Feb 17 10:21:48 localhost kernel: usb 2-3: new low speed USB device using address 2
Feb 17 10:21:49 localhost kernel: usb 2-3: new low speed USB device using address 3
I do not have any sda/sdb devices in /dev/. I have got to be missing drivers or modules or something? Could you tell me what modules are needed and how to find out which ones are installed? If you really want to I could give you my IP address and root password and you could ssh to my computer provided you don't screw anything up intentionally
As far as I know, the modules you need are usbcore, usbserial, ehci_hcd, usb-storage (sometimes), and ohci_hcd (or usb_uhci/uhci_hcd). You can see which ones are up-and-running from (as root)
lsmod | grep usb
From your dmesg output though, it looks like everything should be ok (also given that your usb printer is working fine). You can use insmod <module> or modconf to insert new modules.
Another issue seems to be kernel versions - 2.6.7, 188.8.131.52 and 2.6.9 seem to have problems with usb thumbdrives. I'm running 2.6.4 and something else at work (2.4.* from memory). So if you have a stock debian kernel around, it may be worth switching back to that if you're using one of the > 2.6.6 kernels. If this is a recompiled kernel, you'll also need the SCSI modules, for usb to work.
Another option, is that you could boot up a copy of Knoppix, and use that to mount your thumbdrive (it should work fine there, and if it doesn't, then it almost certainly means that you'll need to format the thumbdrive using fdisk).
In this case, ssh-ing in probably wouldn't achieve a great deal (thanks for the offer though). If all else fails, I'd try Knoppix - it's hardware detection is pretty impressive.
You could try inserting the usb_storage and scsi_mod modules into the kernel (insmod usb_storage etc.), however after reading through the bug reports for the 2.6.8-2 kernel at http://bugs.debian.org/cgi-bin/pkgre...ge-2.6.8-2-686, I'm beginning to think that you may be best off simply downloading an earlier kernel (one that supports SATA cards, presumably ?) from one of the Debian mirrors, or alternatively getting the very newest stable 2.6.10 from www.kernel.org. Most likely, the usb_storage module should have been loaded automatically when you inserted the card, but the fact that there are no /dev/sd* devices listed suggests something has gone pretty awry.
Sorry that I can't be much more help, but I'll be around on and off for the rest of the day if you need a hand.