Click to See Complete Forum and Search --> : How to config kernel?
from /usr/src/linux-2.4.2/README there are some commands to change kernel configs.
make menuconfig
make xconfig
make config
.....
none of these works. So what these mean in the README file? I need change kernel config for my CMI8330 on board sound card.
How come I don't have /etc/isapnp.config file? The one I have is /etc/isapnp.gone. I'm using RH7.1
ph34r
06-15-2001, 10:52 PM
Dude, don't reply to your posts with more, different questions. I'd repost that second one as a new topic....
Anyway, you probably don't need to compile your kernel yet - most distros ship with enough modules to choke a horse... Anyway, if you really need to do it, take a look at the NHFs here on this site, or the kernel howto at linuxdoc.org
slapNUT
06-15-2001, 11:14 PM
When you say it don't work, in what way doesn't it work. What messages if any do you get? Did you do make mrproper first?
Craig McPherson
06-15-2001, 11:37 PM
It would help if you say what errors you get.
The most common mistake people make is not having all the required programs installed, like make, gcc, etc. If you don't have make installed, none of those commands won't work.
Regarding your second question: do you have isapnptools installed?
I'm not sure if I have isapnptools installed. When I install RH7.1 I select everything so it could be installed. I just don't know where it is. :-)
In /usr/src/linux-2.4.2/kernel, I type: make xconfig and get error msg:
Makefile:32: /Rules.make: No such file or directory
make: *** No rule to make target 'Rules.make'. Stop.
The reason I wanna change config is that my cdrom can't play audio cd. It can read data cd. I've check permission of /dev/cdrom and /dev/audio, there is no problem. My sound card works with realplayer 8. When I use sndconf, I find CMI8330, but it is different from wind98. In win98 I can see wss, mpu401, mpu and sb16. In Linux box if I select CMI8330 I can't set sb16, if I select sb16 I can't set wss. Both works for realplayer 8. From doc CMI8330 in /usr/src/linux-2.4.2/documentation/sound. It says I need enable ISAPnP support which I don't know how. Then it says "I suggest you to use 'make xconfig' ..... " and also I can check syslog which I don't know where.
slapNUT: No I haven't done make mrproper. What is this for?
element-x
06-16-2001, 10:42 AM
Ok first off, you should be in either
/usr/src/linux
(should be symlinked to: /usr/src/linux-2.4.2) or where ever your latest sources are.
then try
make mrproper menuconfig dep clean bzImage modules modules_install
mind you, mrproper will wipe out and previous kernel configurations in the current kernel tree as far as I know. So if you want to back it up, make a copy of the .config file.
slapNUT
06-16-2001, 07:01 PM
You shouldn't be in
/usr/src/linux-2.4.2/kernel
when you do the commands make ***. You should be in
/usr/src/linux-2.4.2
Also like JAdrock said make sure the symlink
/usr/src/linux is pointing to /usr/src/linux-2.4.2. If it isn't then remove it and do:
ln -s /usr/src/linux-2.4.2 /usr/src/linux