If your using the same version kernel, you should rename/move the present
module dir in /lib/modules/kernel-version/ as it will get over written but
might mess up.  Better just to rename/move/delete that first.  And yes since
your using the same config as what you installed 7.1 with + the extra
setting you added, you will get the same stuff built into the kernel as well
as same modules.

Also you should run "make mrproper" as your first step (this will delete the
current .config) then copy over the .config and run make menuconfig.  And as
you discovered, you need to run make bzImage first before make modules.

Then run your make modules_install and you should be fine.  You *can* run
make install after that and it will copy over your system.map and bzImage
files to /boot for you and adjust your lilo.conf as well as run /sbin/lilo.
Just double check lilo.conf before rebooting.

And AFAIK you have to rebuild the whole kernel, not just a module in it
alone.

Mike

----- Original Message -----
From: "Eric Wood" <[EMAIL PROTECTED]>
To: "Red Hat List" <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 10:21 AM
Subject: 7.1 and compiling a module


> I'm wanting to add the specialix Rio module to my fresh install of 7.1.
>
> 1. cp /usr/src/linux-2.4/configs/kernel-2.4.2-i386.config
> /usr/src/linux-2.4/.config
> 2. cd /usr/src/linux-2.4
> 3. make menuconfig # enable Specialix RIO system support as a Module
> 4. make dep
> 5. make modules
>
> step 5 bombs.
>
> 6. make bzImage
> 7. make modules
>
> step 7 now succeeds. Now I want to do a 'make modules_install' but I fear
> that the modules won't match up to the default kernel that Redhat
installed.
>
> Is is possible to compile a certain module against the current actively
> running kernel without installing another kernel?




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to