Click to See Complete Forum and Search --> : yet another Gentoo kernel problem: nls_iso8859-1
CaptainPinko
07-13-2003, 05:37 PM
during boot the kernel says "can't load module nls_iso8859-1". i looked aprreciatedit up and found out that it was releated to the iso9660 module (http://lists.debian.org/debian-user/2000/debian-user-200004/msg00101.html) i even compiled it (iso9660) into the kernel and i still get the message. i was wondering if imaybe missed installing something but when i checkd i didn't see any expilicit mention of it in the kernel configuration.when i run "modules-update" now i get "depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/nfsd/nfsd.o
". i'm wondering if it could be caused by some of the carcasses from the previous kernel compiles. i'm wondering if there is a way to clean out the old stuff or if maybe the "clean" does that in the "make dep" step. any help would be.
if i were you i'd do this.
rm -rf /lib/modules/<insert kernel version here>
ln -s /usr/src/<insert kernel version here> /usr/src/linux
cd /usr/src/linux
make dep && make clean bzImage modules moduleS_instlal
mount /boot
cp arch/i386/boot/bzImage /boot
umount /boot
shutdown -r now
nextbillgates
07-13-2003, 05:57 PM
make mrproper will clean out all the old cruft that has accumulated over your kernel compiles.
It's under " Native Language Support". Before you run make mrproper you should backup your .config file to another directory, because it will wipe that out. Then just copy it back before running make menuconfig and you won't have to go through all the options again, just the ones you want to change.
CaptainPinko
07-13-2003, 11:30 PM
this is great help y'all ! thanks! i let you know 'ow it al goes down
------
Originally posted by Naki
It's under " Native Language Support".
for other who may reading this for help its more specifically under:
file systems> native language support
if you are using menu config
CaptainPinko
07-14-2003, 03:44 AM
Originally posted by nextbillgates
make mrproper will clean out all the old cruft that has accumulated over your kernel compiles.
with respect to the sequence of events of recompiling the kernel do i run "make mrproper"? this is the way see it so far:
cp /usr/src/linux/.config ~/.config
make mrproper
cp ~/.config /usr/src/linux/.config
make dep && make clean bzImage modules modules_install
mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
/sbin/lilo
reboot
any comments, suggestions, complaints, chocolate covered raisins? they are all equally welcome. (some more equally than overs... but all equally none-the-less ;) )
---
is the kernel .config file something that should be backed somewhere else for someone planning to experiment with their system?
.code:
cp /usr/src/linux/.config ~/.config
make mrproper
cp ~/.config /usr/src/linux/.config
make dep && make clean bzImage module modules_install
mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
/sbin/lilo
reboot
Just add "make menuconfig" in between the third and fourth lines if you want to change anything in your kernel configuration.
Yes, it's a good idea to keep a backup copy of your .config file, it's the file generated by " make menuconfig ". That way anytime you want to change your kernel configuration you can copy it to /usr/src/linux/.config and you don't have to go through every single option, you can just change the ones you want. However if you decide to try different kernel sources, for example if you are using gentoo-sources and want to try gaming-sources, substitute "make oldconfig" in place of "make menuconfig". That will let you look through only the options that are different and leave all the others as you had them. Also if you use different sources you have to remove the symlink "linux" and make a new one that points to the new sources. Oh, one more thing, I just read that if you use the 2.5.* ( or 2.6 when it comes out ) it's recommended that you don't reuse your old .config file.
CaptainPinko
07-15-2003, 03:49 AM
Originally posted by Naki
Just add "make menuconfig" in between the third and fourth lines if you want to change anything in your kernel configuration.
yeah i meant to have there, my goof
Oh, one more thing, I just read that if you use the 2.5.* ( or 2.6 when it comes out ) it's recommended that you don't reuse your old .config file.
LMFAO i was just about to ask that when i read that line
(i take it then that using the 2.4 kernel config is right out of the question then eh?... as an aside will i need to recompile everything once 2.6 comes out?)
well thanks guys this is the best help i've ever had so one big thank you to all of you and wish me luck!
Yes, you'll need configure and compile 2.6 from scratch. The kernel that is, not your whole system.
Here's a link to a thread about 2.6.0-test-1 on the Gentoo forum ( yes it's released :D ) :
http://forums.gentoo.org/viewtopic.php?t=67189
Well, I'm off to break my Gentoo.