Re: kernel installation & module dependencies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 26, 2003 10:32 am, Anthony Yulo wrote:
> i just recently upgraded to the latest kernel linux 2.4.22... from
> kernel.org
> My machine is running REDHAT...
>
>
> Now my problem is about how does the kernel make the module dependies..
>
> Because when i loaded using the new kernel,
>
> during the boot up process, there were some functions that failed..
> for example the kernel can't load my usb mouse since it cannot find
> /lib/modules/2.4.22/???.dep... somthing like that..
>
> a cd onto my old linux kernel version /lib/modules/2.4.20..
> and there i saw it has a dependencies directory/files...
>
> how can i make module dependencies for the new kernel?
> does linux generate the dependencies automatically?
> did i do something wrong with the installation of the new kernel?
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus


Hi Anthony,
When you compile a modular kernel, you need to build the modules after you 
build the kernel.

after building with something like:
   1. make config
   2. make dep;make clean;make zImage 
run:
   1. make modules
   2. make modules install

Then make sure any sym links in /boot point to files for your current kernel:
module-info -> module-info-2.4.20-20.8
System.map -> System.map-2.4.20-20.8
vmlinuz -> vmlinuz-2.4.20-20.8

Then be sure Grub (or lilo) point to the new kernel, and keep the old as a 
fall back option.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux