Trouble Installing Compiled Kernel
Hi, I recently decided to try and make contributions to the kernel. I normally just use windows as my operating system so I decided to set up Slackware to develop on. I thought a good place to start would to actually compile the kernel and install it before I actually make any changes. I ran: make O=/home/nathanael/KernelBuild localmodconfig make O=/home/nathanael/KernelBuild After getting it compiled I ran: bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install but got this error: make[1]: Entering directory '/home/nathanael/KernelBuild' make[1]: *** No rule to make target 'install_module'. Stop. make[1]: Leaving directory '/home/nathanael/KernelBuild' Makefile:180: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 I have tried looking around but haven't found anything that has been particularly useful in figuring this out. I am not sure what info might be relevant so I'll just let you know that I'm on Slackware 14.2 and trying to upgrade the Kernel from 4.4.208 to 5.6.0 and I am using ELILO instead of LILO. If anyone has any suggestions or can even just direct me to some resources that might have more info on what is going on with make install_module or the error that would be sick. Thanks.
On Wednesday, March 25, 2020 12:38 PM, Valentin Vidić <vvidic@valentin-vidic.from.hr> wrote:
On Wed, Mar 25, 2020 at 04:22:47PM +0000, Nathanael J Grix wrote:
After getting it compiled I ran: bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install
This should be modules_install.
----------------------------------
Valentin
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Sorry, that was just a typo I believe that I used modules_install and not install_module. I ran it again with modules_install just to be sure and still got the same error message: bash-4.3$ make O=/home/nathanael/Kernel-5.6.0/ install_modules install make[1]: Entering directory '/home/nathanael/Kernel-5.6.0' make[1]: *** No rule to make target 'install_modules'. Stop. make[1]: Leaving directory '/home/nathanael/Kernel-5.6.0' Makefile:180: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 If you have any other suggestions or resources that would be much appreciated. Thanks.
On Wednesday, March 25, 2020 12:38 PM, Valentin Vidić <vvidic@valentin-vidic.from.hr> wrote:
On Wed, Mar 25, 2020 at 04:22:47PM +0000, Nathanael J Grix wrote:
After getting it compiled I ran: bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install
This should be modules_install.
----------------------------------
Valentin
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
After reviewing your email again I realized that I'm a idiot. Rere-ran it but this time with the words in the correct order and it worked. Thank you for your help.
Hey, I think you want modules_install instead of install_module -Marcelo On Wed, Mar 25, 2020 at 12:23 PM Nathanael J Grix <NathGri@protonmail.com> wrote:
Hi, I recently decided to try and make contributions to the kernel. I normally just use windows as my operating system so I decided to set up Slackware to develop on. I thought a good place to start would to actually compile the kernel and install it before I actually make any changes. I ran: make O=/home/nathanael/KernelBuild localmodconfig make O=/home/nathanael/KernelBuild
After getting it compiled I ran: bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install
but got this error: make[1]: Entering directory '/home/nathanael/KernelBuild' make[1]: *** No rule to make target 'install_module'. Stop. make[1]: Leaving directory '/home/nathanael/KernelBuild' Makefile:180: recipe for target 'sub-make' failed make: *** [sub-make] Error 2
I have tried looking around but haven't found anything that has been particularly useful in figuring this out. I am not sure what info might be relevant so I'll just let you know that I'm on Slackware 14.2 and trying to upgrade the Kernel from 4.4.208 to 5.6.0 and I am using ELILO instead of LILO. If anyone has any suggestions or can even just direct me to some resources that might have more info on what is going on with make install_module or the error that would be sick. Thanks. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Wed, Mar 25, 2020 at 5:23 PM Nathanael J Grix <NathGri@protonmail.com> wrote:
Hi, I recently decided to try and make contributions to the kernel. I normally just use windows as my operating system so I decided to set up Slackware to develop on. I thought a good place to start would to actually compile the kernel and install it before I actually make any changes. I ran: make O=/home/nathanael/KernelBuild localmodconfig make O=/home/nathanael/KernelBuild
After getting it compiled I ran: bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install
Try "modules_install" instead of "install_module"
but got this error: make[1]: Entering directory '/home/nathanael/KernelBuild' make[1]: *** No rule to make target 'install_module'. Stop. make[1]: Leaving directory '/home/nathanael/KernelBuild' Makefile:180: recipe for target 'sub-make' failed make: *** [sub-make] Error 2
I have tried looking around but haven't found anything that has been particularly useful in figuring this out. I am not sure what info might be relevant so I'll just let you know that I'm on Slackware 14.2 and trying to upgrade the Kernel from 4.4.208 to 5.6.0 and I am using ELILO instead of LILO. If anyone has any suggestions or can even just direct me to some resources that might have more info on what is going on with make install_module or the error that would be sick. Thanks. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (4)
-
Marcelo Diop-Gonzalez -
Nathanael J Grix -
Valentin Vidić -
Vishal Thanki