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.
first : i have a c-media soundcard it support 4 spk output , how to enable it? (when i play mp3 in xmms the sound output is only 2 channel not 4), the support for linux from cmedia is too old 01/2001 and the driver too. They show how to enable 4 channel in linux but is for redhat linux 6 and in redhat 9 ,the file i must configure to enabling the 4 channel /etc/conf.modules dosen't exist.
2. When a app freeze , linux have a task manager or not?, to force app to close everything like that?
1st. there may not be an /etc/conf.modules but is there an /etc/modules.conf? (or even a modules.conf somewhere else in the filesystem). I'm not a redhat user but I'm pretty sure that even redhat 9 has a modules.conf.
2. best solution for this I think would be to get to a command prompt (with a key combo like ctrl+alt+F2), login, then us the 'ps -U <your username>' to bring up a list of programs that are running and their IDs and then type 'kill <PID>' to kill the wayward process.
If your machine is locked up and ctrl+alt+F2 won't do anything then I think your only remaining option is to restart.
Are you sure that it's conf.modules, not modules.conf?
Also, about the source packages, you'll have to install a source package either from red hat or from kernel.org. Type "uname -r" at the command prompt to find out which kernel you have, then download the appropriate source. You unpack it in /usr/src and it will create a directory there called kernel-source-2.x.xx. Where the x's correspond to your kernel version. Then you create a symlink called linux to kernel-source-2.x.xx. To do this you type (whilst in the /usr/src directory) "ln -s kernel-source-2.x.xx linux". Then there'll be a /usr/src/linux directory.
So you have a patch now... Well, there's a package called "patch". Type "man patch" for more info. I've never patched a kernel so I'm not sure whether you have to patch the actual kernel or the source (I'm thinking it's probably the actual kernel image otherwise you could have just downloaded the kernel 2.4.21 source and compiled it) so I'd wait for someone else to tell you that. With regards to bzip2. To unzip it type:
"bzip2 -d patch-2.4.21.bz2"
They are equivalent. To find out about just about any command type: "man <command>" or "info <command>".
Wooh... hold on. the patch 2.4.21.bz... did you get that from kernel.org? That won't work.
A patch is to be applied against a kernel source (in this particular case against the 2.4.20 kernel source). You have a 2.4.20-8 kernel (from Redhat... the '-8' indicates that Redhat modified the kernel so the patch wouldn't necessarilly work anyway).
Here's what you want to do... check on your Redhat 9 CDs... there should be a file called
kernel-src-2.4.20-8.rpm or something like that. You may have to go to the internet to get it. Essentially what you're looking for is an RPM file with your kernel number in it (2.4.20-8) and the letters 'src' in it. When you install this RPM then you will have a directory /usr/src/linux that will contain your kernel source code. Don't mess with patches just get the kernel source rpm from Redhat.