Compiled new kernel but old "module-info" file

Compiled new kernel but old "module-info" file

Post by Charlie Nelso » Fri, 15 Jun 2001 03:52:47



In RH 6.1 I compiled a new kernel, copied it into /boot, vi'd lilo.conf,
and ran lilo. In /boot there's a "module-info" link pointing to
module-info-2.2.12-20, the old kernel rev. Should I have a new
module-info file? I don't see one under /usr/src/linux or
/usr/lib/modules. I'm wondering if I'm pointing to old modules or the
new ones. (I think I lost some old modules - eth0, lp0, sound - so I'm
hoping to use the newly compiled ones).

Thanks for any suggestions!

Charlie

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

Compiled new kernel but old "module-info" file

Post by Steve Kirkendal » Fri, 15 Jun 2001 05:37:08



> In RH 6.1 I compiled a new kernel, copied it into /boot, vi'd lilo.conf,
> and ran lilo. In /boot there's a "module-info" link pointing to
> module-info-2.2.12-20, the old kernel rev. Should I have a new
> module-info file? I don't see one under /usr/src/linux or
> /usr/lib/modules. I'm wondering if I'm pointing to old modules or the
> new ones. (I think I lost some old modules - eth0, lp0, sound - so I'm
> hoping to use the newly compiled ones).

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

 
 
 

Compiled new kernel but old "module-info" file

Post by Charlie Nelso » Fri, 15 Jun 2001 20:40:07




>>In RH 6.1 I compiled a new kernel, copied it into /boot, vi'd lilo.conf,
>>and ran lilo. In /boot there's a "module-info" link pointing to
>>module-info-2.2.12-20, the old kernel rev. Should I have a new
>>module-info file? I don't see one under /usr/src/linux or
>>/lib/modules. I'm wondering if I'm pointing to old modules or the
>>new ones. (I think I lost some old modules - eth0, lp0, sound - so I'm
>>hoping to use the newly compiled ones).

> Did you run "make modules" and "make modules_install"?

Thanks, I checked my history and yes, I did. There is a new directory in
/lib/modules reflecting the new version. I don't know if RH 6.1 creates
a new module-info file or how to make one, or if the new kernel is using
the new modules.Here is the listing:


total 3
drwxr-xr-x  10 root     root         1024 Jun  5 21:49 2.2.12-modl.01
drwxr-xr-x  11 root     root         1024 May 22 21:28 2.2.12-20
drwxr-xr-x   2 root     root         1024 Mar 13  2000 2.2.5-15

"-modl.01" is the EXTRAVERSION of the new kernel.

Also, "uname -r" shows "2.2.12-20", the former version. Don't know if it
means anything.

Thanks for your comment.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

1. "module-info,kernel.h," after compiling kernel?

Hello,

I am configuring an IBM T21 with RedHat 7.1.

I have a question concerning the kernel. I have compiled kernel 2.4.5
for my system. (I had to because of suspend problems.)  What to do with
the
System.map, module-info, kernel.h files in the /boot directory???? Do I
need to change them every time I create a new kernel? Or is this not
necessary?

What I did is the following.

make xconfig
make dep
make bzImage

make modules
make modules_install

copy the bzImage to /boot/vmlinuz-2.4.5
cp /usr/src/linux/System.map /boot/System.map-2.4.5
ln -s -f vmlinuz-2.4.5 vmlinuz
ln -s -f System.map-2.4.5 System.map

changed /etc/lilo.conf and run lilo.

It seems to work OK, but what to do if I want to switch to another
compiled kernel or an old kernel.
Can somebody explain what kernel.h, module-info, System.map do?
I can't find anything on the web about it.

Regards

Martijn Janssen
The Netherlands

2. online answerbooks...

3. "new" ksh on "old" hpux

4. xmkmf / Solaris 2.3

5. how to tell if a mac is "new world " or "old world"

6. AMD vs INTEL

7. GETSERVBYNAME()????????????????????"""""""""""""

8. Multi-homed servers with a private ethernet

9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

10. Driver performace "Kernel Mode" and "Module Mode"?

11. compiling ANY new kernel gives "Kernel Panic"...HELP!

12. ^old^new -- any way to specify space in "old"?

13. awk '{gsub("old","\n"); print}' adds additional new line