View previous topic :: View next topic |
Author |
Message |
CaptainPinko n00b
Joined: 03 Jul 2003 Posts: 10
|
Posted: Sat Jul 12, 2003 9:00 pm Post subject: kernel says "can't load module iso9660-nls" .... |
|
|
kernel says "can't load module iso9660-nls" even when i compiled it into the kernel. i was having trouble kernel trouble getting a " failed to calculate dependencies " which i solved by running " modules-update " (for those of you interested it the said that my modules.conf was not generated automatically - which it really was - so i had to use the 'force' flag ) and that resolved my problems with the ntfs module and some other things but now this is my last remaining kernel problem... that i know of . i'm wondering it is 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 aprreciated _________________ "There are two infinte things: the universe and human stupidity... and the universe I'm not sure about." -- Albert Einstein |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Sat Jul 12, 2003 9:44 pm Post subject: |
|
|
i have gotten the failed to calculate dependencies errors, but it was because i forgot to mount /boot and run /sbin/lilo to refresh the MBR. here are the steps i do to compile a kernel.
Code: |
cd /usr/src/linux
cp .config myconfig # this saves your current kernel config
make clean
make mrproper
cp myconfig .config # this puts it back in place
make menuconfig
## do kernel configuration here
make dep
make clean
make bzImage
make modules
make modules_install
mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot
/sbin/lilo # refresh my MBR
umount /boot
reboot
|
not sure what you have to do if you use GRUB (if you have to do anything). hope this helps you out. if that doesn't work drop another post.
-Will |
|
Back to top |
|
|
Diezel l33t
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Sat Jul 12, 2003 10:19 pm Post subject: |
|
|
With Grub. Just leave the /sbin/lilo part out. Grub doesn't need anything.
But I do recommend to copy the new kernel to ex. bzImage-test. And adding it to your
/boot/grub/grub.conf
file. If it fails you have the old one to boot up with and fix stuff. _________________ A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473 |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Sat Jul 12, 2003 10:45 pm Post subject: |
|
|
yeah always remember to backup your kernel data before you upgrade it or a new one. there are some nice scripts for this under the FAQ.
-Will |
|
Back to top |
|
|
CaptainPinko n00b
Joined: 03 Jul 2003 Posts: 10
|
Posted: Sat Jul 12, 2003 11:17 pm Post subject: |
|
|
i think i must have phrased my question wron then, because i haveno problem anymore with failingto calculate dependencies(that was solved with "modules-update force"). my question is why can't it find my isol9660-nls module went it was compiled into the kernel. then i asked if the files from the previous kernels were removed eachcompile or is bzImage the only actual kernel file per se? _________________ "There are two infinte things: the universe and human stupidity... and the universe I'm not sure about." -- Albert Einstein |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jul 12, 2003 11:26 pm Post subject: |
|
|
CaptainPinko wrote: | my question is why can't it find my isol9660-nls module went it was compiled into the kernel. |
My guess is that you are still booting one of your old kernels that does not have nls support built-in.
As previous posters have mentioned, this could be caused by forgetting to mount /boot or forgetting to rerun /sbin/lilo.
If you want to see when the kernel you are running was compiled, check the time and date given by this command :
|
|
Back to top |
|
|
CaptainPinko n00b
Joined: 03 Jul 2003 Posts: 10
|
Posted: Sun Jul 13, 2003 6:10 am Post subject: |
|
|
cyrillic wrote: | CaptainPinko wrote: | my question is why can't it find my isol9660-nls module went it was compiled into the kernel. |
My guess is that you are still booting one of your old kernels that does not have nls support built-in.] |
well i checked and i am running the newest kernel (and i am using lilo for now)
i double checked and the actual module having trouble being loaded is " nls_iso8859-1 "
when i now run modules-update i get :
Quote: | blackbox root # modules-update
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/nfsd/nfsd.o
|
_________________ "There are two infinte things: the universe and human stupidity... and the universe I'm not sure about." -- Albert Einstein |
|
Back to top |
|
|
cybe n00b
Joined: 22 Jul 2003 Posts: 67 Location: Finland
|
Posted: Mon Jul 28, 2003 3:45 pm Post subject: |
|
|
I seem to have the same problem:
kmod: failed to exec /sbin/modprobe -s -k nls_iso8859-1, errno = 2
that module is installed and exists:
/lib/modules/2.4.21/kernel/fs/nls/nls_iso8859-1.o _________________ _________________________________
The MOST important book on the planet?
http://thewayhomeorfacethefire.info/ |
|
Back to top |
|
|
|