kernel upgrade problems

Julian Catchen plug-discuss@lists.plug.phoenix.az.us
Tue, 19 Mar 2002 13:00:31 -0500


Sorry to reply to my own post...

I meant /lib not /usr/lib.

julian

-----Original Message-----
Date:  Tue, 19 Mar 2002 12:40:40 -0500 
To:  PLUG <plug-discuss@lists.plug.phoenix.az.us> 
From:  Julian Catchen <julian@catchen.org> 
Sender:  plug-discuss-admin@lists.plug.phoenix.az.us 
Subject:  Re: kernel upgrade problems 
Cc:   

Craig,

Did you run "make modules_install" after "make modules"?

That should create the directories and copy the modules under /usr/lib.

julian


-----Original Message-----
Date:  Mon, 18 Mar 2002 22:07:30  0000 
To:  PLUG <plug-discuss@lists.plug.phoenix.az.us> 
From:  "Craig S." <castone@getnet.net> 
Sender:  plug-discuss-admin@lists.plug.phoenix.az.us 
Subject:  kernel upgrade problems 
Cc:  

ok. I dnloaded kernel 2.4.18 and moved the tarball to /usr/src and
unpacked it (after saving my old /linux dir) I copied in the original
...config file into /usr/src/linux

Next I did a make mrproper to use the .config file

then I did a make menuconfig and looked over the kernel settings.
Everything looked good so I exited and saved the settings.

Next make dep and make clean and then make bzImage.

now for the good part. I ran make modules to install my kernel modules.

Those steps are in the slackware linux essentials book that came with my
slackware 7.1 distro.

Now I departed from the book a little because I wanted to save the
original 2.2.16 kernel in case of problems.

the book says to do the following:
mv /vmlinuz /vmlinuz.old
cat arch/i386/boot/bzImage > /vmlinuz
mv /boot/System.map /boot/System.map.old
cp System.map /boot/System.map


What I did:
cat arch/i386/boot/bzImage > /2.4.18
mv /boot/System.map /boot/System.map.old
cp System.map /boot/System.map

Next I added the 2.4.18 image to lilo.conf

I ran /sbin/lilo

everything looked good to this point so I rebooted and chose the 2.4.18
kernel to boot.

Now is when things get interesting. When the kernel was loading it
appeared that all the modules that were trying to load at startup were
broken.

When I ran modprobe I got the following error:

can't open dependencies file /lib/modules/2.4.18/modules.dep (no such
file or directory).

Of course all my modules are busted so doing much of anything is pretty
much out of the question since most drivers I run as modules.

When I read the modules howto it says that when running make modules
that a directory called /usr/src/linux/modules is created and the kernel
modules are placed in it. This directory is not present and doesn't show
up when I run make modules in /usr/src/linux.

Does anyone have a workaround for this? I have not been able to locate a
fix.

Craig S.


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.

PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
          
________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.

PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss