LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2001, 04:02 AM   #1
nikhiljosh
Member
 
Registered: Jun 2001
Posts: 126

Rep: Reputation: 16
Kernel compilation problems


I am using kernel 2.4.2-2
I compiled it using following steps :

make xconfig
make dep;make clean
make bzImage
make modules;make modules_install

Now I copied bzImage to /boot and made appropriate changes to
lilo.conf I executed /sbin/lilo

Now while booting linux I get following errors:
modprobe:Can't locate module opl3sa2 {My sound card is Yamaha and I
had enabled this module}

I tried sndconfig which gave me following error :
You don't seem to be running kernel with modular sound enabled
(soundcore.o was not found in the module search path)
{ I had enabled modular sound }

The second error is as follows:
mount:fs type vfat not supported by kernel { I had enabled this
during the configuration}

I tried booting through my original kernel but still I get these
errors.
Please help.
Thanks in advance.
 
Old 07-29-2001, 07:45 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
After your reboot into the newly compiled kernel was depmod -a executed by your install scripts? If not then run that and see what happens. At the risk of being insulting, you sure that you edited lilo.conf correctly to load the new kernel. Also, if you are recompiling the same kernel as you currently have on the system you will want to remove the old modules (rm -rf /lib/modules/<kernelNo>) before doing a make modules_install.

HTH

Jamie...
 
Old 07-29-2001, 08:49 AM   #3
nikhiljosh
Member
 
Registered: Jun 2001
Posts: 126

Original Poster
Rep: Reputation: 16
kernel compiled;still some doubts

Incidently I did not execute depmod.
Afterwards I made a new kernel with depmod. It still wasn't working (I had prob with vfat)
I used many config options and made different kernels (about 5)
before arriving at this working kernel.

I do not remember the exact options I used. Is there some file
where the options are stored so that I can refer them while further
tweaking my kernel?

How do I know whether my new kernel is better than the default one?
Please enlighten.
 
Old 07-29-2001, 08:55 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
There is the .config file in the root of you kernel source that stores all your options (typically found in /usr/src/linux/).

As for how you know if its better - do more things work or things work slight faster? Is the newer kernel smaller, so uses less memory? These are normally signs of a 'better' kernel, however people normally recompile their kernel to support new hardware, change settings or just to keep upto date with the bug fixes... so its normally a matter of the new kernel doing more or having fewer known bugs rather than being 'better'.

cheers

Jamie...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
Problems after Kernel 2.6.0 compilation ksrjapan Slackware 19 03-31-2005 03:28 PM
Kernel 2.4.22 compilation problems Arcosanti Slackware 3 04-17-2004 01:19 AM
kernel compilation problems h_lina_k Linux - Newbie 0 03-02-2004 03:23 PM
kernel compilation problems aqoliveira Linux - Hardware 3 09-20-2002 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:03 PM.

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
Open Source Consulting | Domain Registration