Luis Pablo Gasparotto wrote:
> Hi all,
> I've recently download the latest kernel (2.4.3) and after compile,
> "make modules", and "make modules_install" I can't load modules because
> the modules.dep file has 0 bytes lenght.
> In order to use the new kernel I did:
> - make mrproper;make xconfig;make dep;make clean;make bzImage;make
> modules;make modules_install
> - copy bzImage from /usr/src/linux/arch/386/boot to /boot
> - edit lilo.conf to add new label
> - run /sbin/lilo
> - reboot and select the new kernel
> What can I do?
>
> Thank you very much in advance and Happy Easter!!!
>
> Luis Pablo Gasparotto
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
Well, what you can do, is to edit the file manually ( or copy the
modules.dep from your previous kernel directory, ie
/lib/modules/x.x.x/modules.dep to /lib/modules/2.4.3/ ) and make the
necessary changes. Also, there is a difference in the paths where the
modules are located from the 2.4.x kernel onwards. Now, depending on the
modules that you need loaded, you have to add the following lines to your
/etc/modules.conf after the "keep" originally present in the file;
path[net]=/lib/modules/2.4.2/kernel/drivers/net
path[cdrom]=/lib/modules/2.4.2/kernel/drivers/cdrom
path[sound]=/lib/modules/2.4.2/kernel/drivers/sound
path[ide]=/lib/modules/2.4.2/kernel/drivers/ide
and so for all the other modules that you want loaded. In most cases, the
modules will exist as sub-directories of the above directories, so copy
all the necessary modules to the above directories after updating you
/etc/modules.conf (The above listing shows 2.4.2 because that's the kernel
that I use) and for a full listing of the devices available like net,
cdrom etc see
man modules.conf
Regards,
Steve Fernandez.
--
Registered Linux user #211615
Registered Linux machine #98619
"I am not young enough to know everything."
begin:vcard
n:Fernandez;Steve
tel;home:0091-484-234155
x-mozilla-html:FALSE
org:Model Engg. College
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;'Franline', Hno 22/580,=0D=0AEdacochin, Kerala,=0D=0AIndia - 682006.;Cochin;Kerala;682006;India
x-mozilla-cpt:;0
fn:Steve Fernandez
end:vcard
S/MIME Cryptographic Signature