LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-13-2002, 01:30 PM   #1
Amerist
Member
 
Registered: Apr 2002
Location: Germany
Distribution: RedHat & SuSE
Posts: 106

Rep: Reputation: 15
Question Recompile Kernel ?


I read on this site:
http://www.geocities.com/SiliconVall...8/t430cds.html

That it is a good idea to recompile your kernel to get the sound on this particular brand of laptop working. (my sound currently does not work).

How do I go about doing this?

I am running a ISO version of the redhat 7.2 distribution.

my "detailed specs" on audio caps of my laptop are as follows:

Chipset
ESS Technologies ESS688 & Yamaha OPL3 (YMF262)

Sound formats supports
SoundBlaster Pro V3.01, .WAV, MIDI,
Zoomed video port audio (stereo),
CardBus audio (monaural), CD-ROM audio

Another thing: Modprobe, sndconfig can't be found.
 
Old 04-13-2002, 01:37 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
At it's very most simplest:

grab a kernel from www.kernel.org.
untar it to /usr/src/linux
move /usr/src/linux to /usr/src/linux-x.y.z (depending on version).
symlimk /usr/src/linux-x.y.z > /usr/src/linux
move into linux directory.
type make xconfig
go through and READ EVERYTHING. You may not think you need something, but read about it anyway.
Once you're done, type make dep && make clean && make bzimage && make bzlilo
then edit your /etc/lilo.conf file and add a new entry for the new kernel, then type lilo.
If you selected to have stuff made as modules (you should have), then type make modules && make modules_install.

That's really just a very short summary of the Kernel HOWTO from the LDP.

Hope this helps.

Oh, BTW, I would seriously suggest you read the above HOWTO instead of just taking my instructions as read. I may have forgotten something.
 
Old 04-13-2002, 02:41 PM   #3
Amerist
Member
 
Registered: Apr 2002
Location: Germany
Distribution: RedHat & SuSE
Posts: 106

Original Poster
Rep: Reputation: 15
thanks again. I will probably postpone kernel recompilation until absolutely necessary. That sounds like a time-consuming process.

I finally found sndconfig. It was in the /sbin directory. Phew!

I got my laptop sound working okay using SB16 default settings.

I was able to play some MP3s from a CD! Now we're really getting somewhere. I still can't figger out how to play audio CDs though. I think the most frequent reply I've seen here regarding CD Audio is:

"you can't mount an audio CD" That's been my mantra all day... and I thing I'll be saying it in my sleep.

Thanks for your much-needed help with this and other issues, Thymox.

-Amerist
 
Old 04-14-2002, 08:48 AM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Try running this from the command line:

xmms /dev/cdrom

But obviously put in the correct device
 
Old 04-15-2002, 02:03 PM   #5
paul544
LQ Newbie
 
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
I am trying to do the same but when I go to "make config", it is telling me that it can't find "make". I am using RH 7.0. I d/l "make" but am not sure how or even if I need to install this. Any suggestions?
 
Old 04-16-2002, 05:13 AM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
You shouldn't need to download anything. If you have a standard install of RH, then you should check out if you have the all the compiler utils installed. All the relevant rpm files will be on your RH cds - I just can't remember which ones.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 02:02 AM
kernel recompile miavl Linux - General 3 08-24-2004 05:50 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
Recompile kernel 2.6 heema Linux - General 3 05-26-2004 11:29 AM
9.2 kernel recompile dukeinlondon Mandriva 3 11-10-2003 07:34 AM


All times are GMT -5. The time now is 06:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration