new kernel built....no modules
I'm almost there-on my fourth try with Slack 10 I was able to build and install my new kernel of 2.4.29. My old kernel was 2.4.26. The problem is that I now have no sound and alsaconf cannot find modules (I use ESS module).
Here's what I did after I untarred the new kernel: cd /usr/src/linux-2.4.29 cp /usr/src/linux-2.4.26/.config /usr/src/linux-2.4.29/.config modprobe oldconfig change some settings make dep && make clean bzImage modules modules_install mv /boot/vmlinuz /boot/vmlinuz.old cat arch/i386/boot/bzImage > /boot/vmlinuz mv /boot/System.map /boot/System.map.old cp System.map /boot/System.map There is a modules directory in /lib/modules/2.4.29. Also /usr/src/linux is still a symbolic link to /usr/src/linux-2.4.26. Should I point this link towards my new kernel 2.4.29? |
I have a similar problem with a 2.6.11 kernel. When i run make modules_install it doesn't seem to move many files and there are hardly any modules moved into the /lib/modules/2.6.11 folder whereas my 2.4.26 has loads. The 2.6 module files also seem to be .ko files which apparently are the wrong format.
|
Quote:
Quote:
Later, MMYoung |
cd /usr/src/linux-2.4.29
cp /usr/src/linux-2.4.26/.config /usr/src/linux-2.4.29/.config make oldconfig change some settings make bzImage && make modules && make modules_install cp arch/i386/boot/bzImage /boot/bzImage-2.6.11 cp System.map /boot/System.map-2.6.11 nano /etc/lilo lilo reboot You weren't making any modules with your original posted commands. bzImage & vmlinuz are the same thing (confusing, but the same thing) |
I had just woke up when I posted and made a typo-I didn't modprobe anything. That should have been make oldconfig. I started with make mrproper before I did anything and then finished by editing /etc/lilo.conf and executing lilo.
It does look like modules weren't made. uname -r shows 2.4.29. Can I copy the modules from 2.4.26 over to the modules directory for 2.4.29? If not, do I need to start over with mrproper or can I just pick up with: make modules make modules_install |
I would start all over with make clean, and proceed from the beginning
|
ok-modules take forever, though. I was hoping there was a shortcut.
|
Just select to build modules that you need. If you don't have the hardware, there is no need to build the modules ;)
I compile everything I need into the kernel... |
That's one of the reasons I'm recompiling the kernel. My laptop is 6 yrs. old and pre-dates most of the hardware that the modules are for. I looked over the .config file that came with Slack 10 and saw that everything under the sun was compiled into it using modules. I want to take those out.....I'll do my 5th kernel compile tonight without all those modules. I just need a couple....I know I need the ESS ones for my ESS soundcard.
APM is another that currently has a module but doesn't power down my laptop. Should I select Y to compile that into the kernel...would my laptop then power down by itself?? |
I've never come across a system that will turn off power after 'shutdown' under linux.
If you do 'lsmod' it will show you exactly which drivers your system is using... (in case you didn't know) |
my other pc is 5+ years old and it has had difficulty shutting down with Slack 10 and some other linux distros. It does power off automatically with Fedora Core 3.
I got this link off another thread: http://tuxmobil.org/apm_linux.html |
good idea-lsmod. I did that and saw I don't have that many modules active. I'd like to use xconfig on my existing .config file for 2.4.29 that I know works, but trim down on the modules. Any idea how I can do that knowing which modules I typically use?
Here are my modules: Module Size Used by Not tainted snd-pcm-oss 37736 1 snd-mixer-oss 12504 0 [snd-pcm-oss] snd-es1938 11240 1 snd-pcm 56072 0 [snd-pcm-oss snd-es1938] snd-page-alloc 6328 0 [snd-pcm] snd-opl3-lib 5892 0 [snd-es1938] snd-hwdep 4804 0 [snd-opl3-lib] snd-timer 13604 0 [snd-pcm snd-opl3-lib] snd-mpu401-uart 3200 0 [snd-es1938] snd-rawmidi 12740 0 [snd-mpu401-uart] snd-seq-device 3888 0 [snd-opl3-lib snd-rawmidi] snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-es1938 snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 3396 6 [snd] pcnet_cs 11444 1 8390 6000 0 [pcnet_cs] crc32 2880 0 [8390] ds 6548 1 [pcnet_cs] yenta_socket 10336 1 pcmcia_core 39972 0 [pcnet_cs ds yenta_socket] ide-scsi 9328 0 analog 7776 0 (unused) gameport 1420 0 [snd-es1938 analog] joydev 5888 0 (unused) keybdev 2052 0 (unused) mousedev 4212 0 (unused) hid 21220 0 (unused) input 3200 0 [analog joydev keybdev mousedev hid] usb-ohci 19240 0 (unused) usbcore 59308 1 [hid usb-ohci] agpgart 43940 0 (unused) |
All times are GMT -5. The time now is 02:32 AM. |