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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2001, 03:02 AM
|
#1
|
Member
Registered: Jun 2001
Posts: 126
Rep:
|
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.
|
|
|
07-29-2001, 06:45 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-29-2001, 07:49 AM
|
#3
|
Member
Registered: Jun 2001
Posts: 126
Original Poster
Rep:
|
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.
|
|
|
07-29-2001, 07:55 AM
|
#4
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 12:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|