Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 just compiled new Kernel (2.6.20), btw my linux is Debian
Booted in and -> don't have my usb mouse, even no light on the bottom of it
Thus to originate the problem tried to mount disk on key - no luck, the error message i got:
mount: special device /dev/sda1 does not exist, tried also sda, sda2
Alright, then i looked in the /dev directory and didn't found any sda
After googling I entered cat /proc/partitions , and this what I've got:
3 0 15007608 hda
3 1 14362078 hda1
3 2 1 hda2
3 5 642568 hda5
....... yes, no sda or smth
/etc/fstab also doesnt contain some sda info
Also I think that when I boot the kernel skips usb modules but i'm not sure.
Thanks for help.
Since you ocmpiled the kernel yourself (not using the default for your distro), then the first thing to do is to check the contents of the .config file in the kernel directory in /usr/src. Look for the usb entries. If usb has 'y' or 'm', then usb is compiled. In the entry is 'n', then you overlooked that part of the configuration, and must do it all over.
Next, try the mouse in other usb ports. If it doesn't work in any of them, there are two possibilites:
a) The mouse is dead. Get a new one.
b) The usb controller is dead. Replace it.
If you can't get the mouse to work on your computer, try it on someone else's computer. It it works, it's good, your usb controller is bad.
For the usb memory stick, /etc/fstab won't have an entry unless the system is specifically configured for persistant device names. Instead, when the stick is plugged in, look in /etc/mtab which shows mounted devices. Also look in /mnt or /media for a dynamically assigned name for the memory stick.
Having problems with both a usb mouse and a usb memory stick not working properly strongly suggest the usb controller is at fault.
Those are a few things you can try to resolve the problem.
Last edited by bigrigdriver; 03-23-2007 at 11:41 PM.
The ohci and uhci modules are just the first requirement. They are the drivers for the USB controllers, allowing detection of devices connected to the USB ports. For the mouse you need to also include USB HID device support.
You can get by with just building the new modules, as long as everything you've added is compiled only as M. Not if you add anything as * or change anything else. To install new modules, after saving the new config just run make modules && make modules_install. Then copy the new System.map file to wherever it needs to be. If your boot loader is LILO you also need to run the lilo command so that it knows of the changes. I don't recommend using this for more than a couple of modules. For adding just the USB HID module - worth a try. If you were adding USB, SCSI and netfiltering, definitely rebuild the whole thing.