Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265683 > unrolled thread

Kernel compiling 6.5 and beyound

Started byHerb Garcia <hpgarcia70@gmail.com>
First post2024-01-09 02:30 +0100
Last post2024-01-11 17:30 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Kernel compiling 6.5 and beyound Herb Garcia <hpgarcia70@gmail.com> - 2024-01-09 02:30 +0100
    Re: Kernel compiling 6.5 and beyound Michel Verdier <mv524@free.fr> - 2024-01-09 13:20 +0100
      Re: Kernel compiling 6.5 and beyound HP Garcia <hpgarcia70@gmail.com> - 2024-01-09 17:20 +0100
        Re: Kernel compiling 6.5 and beyound Michel Verdier <mv524@free.fr> - 2024-01-09 23:30 +0100
      Re: Kernel compiling 6.5 and beyound Herb Garcia <hpgarcia70@gmail.com> - 2024-01-11 03:00 +0100
        Re: Kernel compiling 6.5 and beyound Michel Verdier <mv524@free.fr> - 2024-01-11 17:30 +0100

#265683 — Kernel compiling 6.5 and beyound

FromHerb Garcia <hpgarcia70@gmail.com>
Date2024-01-09 02:30 +0100
SubjectKernel compiling 6.5 and beyound
Message-ID<HU96h-1MYe-3@gated-at.bofh.it>
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

I'm just looking to see if I missed any steps. Here is the list of
commands I was able to create prior kernels.


make mrproper

cp -v /boot/config-$(uname -r) .config

make olddefconfig

make

make modules_install

make install

update-initramfs -c -k 6.5.x

update-grub

Anyting I'm missing?

-HP Garcia

[toc] | [next] | [standalone]


#265704

FromMichel Verdier <mv524@free.fr>
Date2024-01-09 13:20 +0100
Message-ID<HUjfj-1Tuy-3@gated-at.bofh.it>
In reply to#265683
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

[toc] | [prev] | [next] | [standalone]


#265715

FromHP Garcia <hpgarcia70@gmail.com>
Date2024-01-09 17:20 +0100
Message-ID<HUmZz-1VLR-11@gated-at.bofh.it>
In reply to#265704

[Multipart message — attachments visible in raw view] — view raw

What dependencies did you install?

~Herb

On Tue, Jan 9, 2024, 7:23 AM Michel Verdier <mv524@free.fr> 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
>
>

[toc] | [prev] | [next] | [standalone]


#265731

FromMichel Verdier <mv524@free.fr>
Date2024-01-09 23:30 +0100
Message-ID<HUsLD-1ZKr-19@gated-at.bofh.it>
In reply to#265715
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)

[toc] | [prev] | [next] | [standalone]


#265763

FromHerb Garcia <hpgarcia70@gmail.com>
Date2024-01-11 03:00 +0100
Message-ID<HUSwp-2fS2-5@gated-at.bofh.it>
In reply to#265704
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
> 

[toc] | [prev] | [next] | [standalone]


#265798

FromMichel Verdier <mv524@free.fr>
Date2024-01-11 17:30 +0100
Message-ID<HV66l-2omI-7@gated-at.bofh.it>
In reply to#265763
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web