How does kernel know which /lib/modules directory to use
If I recompile a new kernel eg 2.4.3 will it 1) create the directory structure /lib/modules/2.4.3 for me 2) tell boot to use these modules ? Ive been having trouble installing the 2.4.2 on the suse site and want to clear up my misunderstanding dids
I dl'ed rpm's for the k_deflt_24-2.4.2-4 kernel and the ver *-5 kernel, and the modutils most current version, tried to install either one and 2.4.2-4 could not be querried or open/run. The *-5 kernel did run/install but said it conflicted with already install kernel. So - of the three boot option I have, picking the "Linux 2.4" at the startup/prompt leads to a halt due to not enough information. The other boot options work fine (Linux and SuSE), This brings me to my next topic: I only installed the 2.4 kernel, yet the boot options are always the same. They are: Linux; Linux 2.4; SuSE; Windows: Memory test. The same kernel seems to be using the same modules (*-4GB). Yet I thought a installed both the generic/suse kernel and the *-4GB kernel (and by the way It installed modules I told it not to like the tdx drivers/modules - and several others as well that were neither dependent or satisfied dependencies of other packages). Hence, I'm confused On Monday 16 April 2001 05:38, dids wrote:
If I recompile a new kernel eg 2.4.3 will it 1) create the directory structure /lib/modules/2.4.3 for me
2) tell boot to use these modules ?
Ive been having trouble installing the 2.4.2 on the suse site and want to clear up my misunderstanding
dids
El Lun 16 Abr 2001 15:15, Curtis Rey escribió: This weekend I0ve been playing around with kernels, and I think there is something wrong ( or mismatched ) from the images at the ftp. For example if you look at packet k_deflt_24-2.4.2-4 you'll see it really is the 2.4.2-4GB. Also I found another one ( dont ask me which ) which was in theory a 2.4 kernel but ( I tried it 6 or 7 times ) it installed the 2.2.18 default vmlinuz. So I guess the packets are mmismatched or sth like that. Probably doesn't hurt, but I had a big trouble loading nvidia video card drivers, because there were none for this version, and the srpms didnt work since I had it seems mismatched kernel version and header files. Well I fixed my issue d/lding and compiling a new kernel version 2.4.2. So thats my 2 cents.
I dl'ed rpm's for the k_deflt_24-2.4.2-4 kernel and the ver *-5 kernel, and the modutils most current version, tried to install either one and 2.4.2-4 could not be querried or open/run. The *-5 kernel did run/install but said it conflicted with already install kernel. So - of the three boot option I have, picking the "Linux 2.4" at the startup/prompt leads to a halt due to not enough information. The other boot options work fine (Linux and SuSE), This brings me to my next topic: I only installed the 2.4 kernel, yet the boot options are always the same. They are: Linux; Linux 2.4; SuSE; Windows: Memory test. The same kernel seems to be using the same modules (*-4GB). Yet I thought a installed both the generic/suse kernel and the *-4GB kernel (and by the way It installed modules I told it not to like the tdx drivers/modules - and several others as well that were neither dependent or satisfied dependencies of other packages). Hence, I'm confused
On Monday 16 April 2001 05:38, dids wrote:
If I recompile a new kernel eg 2.4.3 will it 1) create the directory structure /lib/modules/2.4.3 for me
2) tell boot to use these modules ?
Ive been having trouble installing the 2.4.2 on the suse site and want to clear up my misunderstanding
dids
--
From the forgotten corner in Europe, Land of Breogan Powered by GNU/Linux SuSE 7.0 - Linux user #97.266
...may the force be with you
Ah, well today I looked on portal.suse.com and I see there are some 2.4.3 kernels to download. Did this as instructed, and they have compiled fine, so I would imagine there is a problem with the 2.4.2 ones on the suse site. dids
El Lun 16 Abr 2001 15:15, Curtis Rey escribió:
This weekend I0ve been playing around with kernels, and I think there is something wrong ( or mismatched ) from the images at the ftp. For example if you look at packet k_deflt_24-2.4.2-4 you'll see it really is the 2.4.2-4GB. Also I found another one ( dont ask me which ) which was in theory a 2.4 kernel but ( I tried it 6 or 7 times ) it installed the 2.2.18 default vmlinuz. So I guess the packets are mmismatched or sth like that.
* dids
If I recompile a new kernel eg 2.4.3 will it 1) create the directory structure /lib/modules/2.4.3 for me
With 'make modules_install' yes.
2) tell boot to use these modules ?
Yes, the kernel always looks in /lib/modules/<version>, so that should be good. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
To that posted to this question, thanks for the feedback, I'll give it a try and hope for the best. Luckily the other kernel boots and runs fine, so I have some room to play around (fingers crossed). :-) On Monday 16 April 2001 05:38, dids wrote:
If I recompile a new kernel eg 2.4.3 will it 1) create the directory structure /lib/modules/2.4.3 for me
2) tell boot to use these modules ?
Ive been having trouble installing the 2.4.2 on the suse site and want to clear up my misunderstanding
dids
participants (4)
-
Curtis Rey
-
dids
-
Mads Martin Jørgensen
-
O'Bieito