hello experts,, I am on Fedora 16 and My current kernel is as per the uname -r output is 3.1.0-7.fc16.i686.PAE I am compiling a kernel 3.4.1 and after the compilation the bzimage and initramfs are successfully generated.. then doing a #make install is giving error like this:: sh-4.2# make install sh /usr/local/src/linux-3.4.1/arch/x86/boot/install.sh 3.4.1 arch/x86/boot/bzImage \ System.map "/boot" WARNING: Couldn't open directory /lib/modules/3.4.1: No such file or directory FATAL: Could not open /lib/modules/3.4.1/modules.dep.temp for writing: No such file or directory find: `/lib/modules/3.4.1/': No such file or directory F: No modules.builtin.bin and modules.builtin found! E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory find: `/lib/modules/3.4.1/': No such file or directory find: `/lib/modules/3.4.1/': No such file or directory find: `/lib/modules/3.4.1/': No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory E: FATAL: Could not load /lib/modules/3.4.1/modules.dep: No such file or directory sh-4.2# 2.Do all the modules needed by the kernel(specified at the configure time) are built into the initramfs compressed image?? thanks in advance...plz. bear with me if this is a real simple thing...but I am just starting out.... Regards
On Wed, Jun 13, 2012 at 5:33 PM, beyond.hack <beyond.hack@gmail.com> wrote:
hello experts,, I am on Fedora 16 and My current kernel is as per the uname -r output is 3.1.0-7.fc16.i686.PAE
I am compiling a kernel 3.4.1 and after the compilation the bzimage and initramfs are successfully generated.. then doing a #make install is giving error like this::
sh-4.2# make install sh /usr/local/src/linux-3.4.1/arch/x86/boot/install.sh 3.4.1 arch/x86/boot/bzImage \ System.map "/boot" WARNING: Couldn't open directory /lib/modules/3.4.1: No such file or directory
maybe you forgot to do "make modules" followed by "make modules_install" after generating kernel image? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
thanks for your sir, but one more thing i like to know is that if all the modules needed by the kernel are in `initramfs` image then what is the need of the /lib/modules/<kernel version>?? won`t it be redundant?? On Wed, Jun 13, 2012 at 11:18 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com
wrote:
On Wed, Jun 13, 2012 at 5:33 PM, beyond.hack <beyond.hack@gmail.com> wrote:
hello experts,, I am on Fedora 16 and My current kernel is as per the uname -r output is 3.1.0-7.fc16.i686.PAE
I am compiling a kernel 3.4.1 and after the compilation the bzimage and initramfs are successfully generated.. then doing a #make install is giving error like this::
sh-4.2# make install sh /usr/local/src/linux-3.4.1/arch/x86/boot/install.sh 3.4.1 arch/x86/boot/bzImage \ System.map "/boot" WARNING: Couldn't open directory /lib/modules/3.4.1: No such file or directory
maybe you forgot to do "make modules" followed by "make modules_install" after generating kernel image?
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
On Thu, Jun 14, 2012 at 4:37 AM, beyond.hack <beyond.hack@gmail.com> wrote:
thanks for your sir, but one more thing i like to know is that if all the modules needed by the kernel are in `initramfs` image then what is the need of the /lib/modules/<kernel version>?? won`t it be redundant?? Modules at initramfs are used for booting the system. If you use LVM, Software RAID, encryption or a disk controller that is not supported without a module, all those features require modules that need to be loaded before mounting the root partition. Those modules are in the initramfs.
Modules at /lib/modules/<kernel version> can be loaded when you plug new hardware like a webcam or a pendrive.
On Wed, Jun 13, 2012 at 11:18 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com> wrote:
On Wed, Jun 13, 2012 at 5:33 PM, beyond.hack <beyond.hack@gmail.com> wrote:
hello experts,, I am on Fedora 16 and My current kernel is as per the uname -r output is 3.1.0-7.fc16.i686.PAE
I am compiling a kernel 3.4.1 and after the compilation the bzimage and initramfs are successfully generated.. then doing a #make install is giving error like this::
sh-4.2# make install sh /usr/local/src/linux-3.4.1/arch/x86/boot/install.sh 3.4.1 arch/x86/boot/bzImage \ System.map "/boot" WARNING: Couldn't open directory /lib/modules/3.4.1: No such file or directory
maybe you forgot to do "make modules" followed by "make modules_install" after generating kernel image?
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Peter Senna Tschudin peter.senna@gmail.com gpg id: 48274C36
participants (3)
-
beyond.hack -
Mulyadi Santosa -
Peter Senna Tschudin