• Re: Kernel compiling 6.5 and beyound

    From Michel Verdier@21:1/5 to Herb Garcia on Tue Jan 9 13:20:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michel Verdier@21:1/5 to HP Garcia on Tue Jan 9 23:30:01 2024
    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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michel Verdier@21:1/5 to Herb Garcia on Thu Jan 11 17:30:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)