Skip to main content

Knoppix Reloaded

More
18 years 6 months ago #14696 by Lindows
Knoppix Reloaded was created by Lindows
Hey guys,

I installed Knoppix 4 on my Dell xps m140 laptop. It currently has a kernel version 2.6.12. I'm having a problem with the sound card. The system displays a speaker in the corner of the screen,but no audio is availabel. The system tell me i have to update my kenerl in order to get sound.

So, my question is how to i update my kernel?

Thanks,

Lindows
More
18 years 6 months ago #14703 by jayveshne
Replied by jayveshne on topic Re: Knoppix Reloaded
For kernal compilation. you should first install the kernal development pakage. The main pakages are

1) dev
2) dev86
3) gcc
4) cpp
5) glibc
6) glib-kernheaders
7) kernal-source
8) ncurses

if you have already installed this packages, verify this in /usr/src/<kernal version>

before you continue the new hardware drivers installations, let me tell you , you can install them in 2 ways

1)(monolistic apporch)One way is to load the driver module through the booting kernal itself or
2)(modular approch) Load the drivers by modules in initrd (initial ram disk)

Once you have done/installed the with Kernal development pakage
1) go to /usr/src/<kernal version>/ --> here you find folders like Sound, Video, etc
2) Download the correct version of Sound Drivers form the net. If source file, place in Sound directory. if RPM just install (and ignore all the stuff i have said till now.)
3) In #/usr/src/<kernal version>/make mrproper --> this will reorganise/clean file that where generate at the time of previous kernal recompilation.
4)If you want to back up current configration type "make oldconfig" this will save copy as .config (hidden)n in current folder.
5) "make menuconfig" or "make config" here you can add or remove drivers select the sound driver you want to add. Menuconfig requires ncurses pakage and is easy to use.
remember M means modular, s selected to integrated to kernal
5)"make dep" this will check the current config dependancy if some error install the dependancy missing pakage.
6):make clean" this will clean all the temp while testing dependancy
7)"make bzimage" this will compile the kernal as per the new config

After compiling the new kernal gets saved in #/usr/src/<kernal version>/arch/i386/boot/<new kernal> copy/replace this to #/boot
If you have given the diff name kernal (e.g vmlinux.2.X.X.newel) make the same changes in /etc/grub.conf

Then reboot, you will be booting with new kernal along the sound card drivers,

If you want to load drivers in modular way.. let me that will be different procedure.. Let me know. I hope this will help you..
Time to create page: 0.111 seconds