kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Trouble Installing Compiled Kernel
@ 2020-03-25 16:22 Nathanael J Grix
  2020-03-25 16:38 ` Valentin Vidić
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nathanael J Grix @ 2020-03-25 16:22 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 1249 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1480 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trouble Installing Compiled Kernel
  2020-03-25 16:22 Trouble Installing Compiled Kernel Nathanael J Grix
@ 2020-03-25 16:38 ` Valentin Vidić
  2020-03-25 16:52   ` Nathanael J Grix
  2020-03-25 17:00   ` Nathanael J Grix
  2020-03-25 16:52 ` Marcelo Diop-Gonzalez
  2020-03-27 10:42 ` Vishal Thanki
  2 siblings, 2 replies; 6+ messages in thread
From: Valentin Vidić @ 2020-03-25 16:38 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trouble Installing Compiled Kernel
  2020-03-25 16:22 Trouble Installing Compiled Kernel Nathanael J Grix
  2020-03-25 16:38 ` Valentin Vidić
@ 2020-03-25 16:52 ` Marcelo Diop-Gonzalez
  2020-03-27 10:42 ` Vishal Thanki
  2 siblings, 0 replies; 6+ messages in thread
From: Marcelo Diop-Gonzalez @ 2020-03-25 16:52 UTC (permalink / raw)
  To: Nathanael J Grix; +Cc: kernelnewbies

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trouble Installing Compiled Kernel
  2020-03-25 16:38 ` Valentin Vidić
@ 2020-03-25 16:52   ` Nathanael J Grix
  2020-03-25 17:00   ` Nathanael J Grix
  1 sibling, 0 replies; 6+ messages in thread
From: Nathanael J Grix @ 2020-03-25 16:52 UTC (permalink / raw)
  To: Valentin Vidić; +Cc: kernelnewbies

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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trouble Installing Compiled Kernel
  2020-03-25 16:38 ` Valentin Vidić
  2020-03-25 16:52   ` Nathanael J Grix
@ 2020-03-25 17:00   ` Nathanael J Grix
  1 sibling, 0 replies; 6+ messages in thread
From: Nathanael J Grix @ 2020-03-25 17:00 UTC (permalink / raw)
  To: Valentin Vidić; +Cc: kernelnewbies



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.



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trouble Installing Compiled Kernel
  2020-03-25 16:22 Trouble Installing Compiled Kernel Nathanael J Grix
  2020-03-25 16:38 ` Valentin Vidić
  2020-03-25 16:52 ` Marcelo Diop-Gonzalez
@ 2020-03-27 10:42 ` Vishal Thanki
  2 siblings, 0 replies; 6+ messages in thread
From: Vishal Thanki @ 2020-03-27 10:42 UTC (permalink / raw)
  To: Nathanael J Grix; +Cc: 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-27 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 16:22 Trouble Installing Compiled Kernel Nathanael J Grix
2020-03-25 16:38 ` Valentin Vidić
2020-03-25 16:52   ` Nathanael J Grix
2020-03-25 17:00   ` Nathanael J Grix
2020-03-25 16:52 ` Marcelo Diop-Gonzalez
2020-03-27 10:42 ` Vishal Thanki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).