Re: Kernel compiling 6.5 and beyound

2024-01-11 Thread Michel Verdier
On 2024-01-10, Herb Garcia wrote:

> Does this method also create the modules?

>> make menuconfig

this one permits you to change kernel parameters if needed

>> make bindeb-pkg

this one compiles kernel and produces

linux-headers-*.deb
linux-image-*.deb

linux-image contains kernel and internal modules

you have to install first linux-headers, so dkms can compile external modules
(such as nvidia), and then install linux-image which will compile external
modules, create initrd, install kernel and initrd in /boot, install all
modules in /lib/modules



Re: Kernel compiling 6.5 and beyound

2024-01-10 Thread Herb Garcia
Does this method also create the modules?

-Herb


On Tue, 2024-01-09 at 13:17 +0100, Michel Verdier wrote:
> On 2024-01-08, Herb Garcia wrote:
> 
> > I was able to compile Linux kernel 6.1.X. 
> > 
> > When I tried compiling kernel 6.5.x and ran into issues. 
> > 
> > I download the required dependencies as required per
> > https://www.kernel.org/doc/html/v6.7/process/changes.html#changes
> 
> To compile 6.5 I do
> 
> apt build-dep linux
> apt install build-essential libncurses-dev
> (last for running menuconfig with ncurses)
> make menuconfig
> make bindeb-pkg
> 



Re: Kernel compiling 6.5 and beyound

2024-01-09 Thread Michel Verdier
On 2024-01-09, HP Garcia wrote:

> What dependencies did you install?

All are installed with those commands, thanks Debian :)

 apt build-dep linux
 apt install build-essential libncurses-dev
 (last one for running menuconfig with ncurses)



Re: Kernel compiling 6.5 and beyound

2024-01-09 Thread HP Garcia
What dependencies did you install?

~Herb

On Tue, Jan 9, 2024, 7:23 AM Michel Verdier  wrote:

> On 2024-01-08, Herb Garcia wrote:
>
> > I was able to compile Linux kernel 6.1.X.
> >
> > When I tried compiling kernel 6.5.x and ran into issues.
> >
> > I download the required dependencies as required per
> > https://www.kernel.org/doc/html/v6.7/process/changes.html#changes
>
> To compile 6.5 I do
>
> apt build-dep linux
> apt install build-essential libncurses-dev
> (last for running menuconfig with ncurses)
> make menuconfig
> make bindeb-pkg
>
>


Re: Kernel compiling 6.5 and beyound

2024-01-09 Thread Michel Verdier
On 2024-01-08, Herb Garcia wrote:

> I was able to compile Linux kernel 6.1.X. 
>
> When I tried compiling kernel 6.5.x and ran into issues. 
>
> I download the required dependencies as required per
> https://www.kernel.org/doc/html/v6.7/process/changes.html#changes

To compile 6.5 I do

apt build-dep linux
apt install build-essential libncurses-dev
(last for running menuconfig with ncurses)
make menuconfig
make bindeb-pkg