Package Details: linux-git-headers 6.10.r10854.f557af081de6-1

Git Clone URL: https://aur.archlinux.org/linux-git.git (read-only, click to copy)
Package Base: linux-git
Description: Headers and scripts for building modules for the Linus Torvalds' Mainline Linux kernel
Upstream URL: https://www.kernel.org
Keywords: git kernel linux
Licenses: GPL-2.0-only
Submitter: jonathanio
Maintainer: osimarr
Last Packager: osimarr
Votes: 13
Popularity: 0.001233
First Submitted: 2019-12-22 10:10 (UTC)
Last Updated: 2024-07-20 19:34 (UTC)

Dependencies (11)

Required by (0)

Sources (6)

Pinned Comments

osimarr commented on 2023-05-07 22:27 (UTC) (edited on 2023-05-12 04:05 (UTC) by osimarr)

Hi. Since the package became an orphan, I adopted it to continue what I actively maintain on https://aur.archlinux.org/pkgbase/linux-mainline-git, now on this AUR package.

The build script and config file will be up-to-date with Arch's official Linux package unless an update is required to be functional.

But I intentionally removed the documentation package because it consumes too much building time.

This package supports certain customization if compiled by the user. Check for the README file inside the package repo, or the .INSTALL message after package installation to learn how.


Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

jonathanio commented on 2020-11-30 12:35 (UTC) (edited on 2020-11-30 12:35 (UTC) by jonathanio)

@sickcodes, further to @sandy8925, look for the following at the end of your build:

==> Finished making: linux-git 5.10rc6.r0.gb65054597872-1 (Mon 30 Nov 2020 06:45:15 GMT)

This tells you what your true build version is, as the version will automatically update to the latest commit on the master branch every time it is built.

jonathanio commented on 2020-11-30 12:31 (UTC)

@sickcodes I'd suggest adding loglevel to your kernel parameters and setting it to 4 or above. I think the default is 3 IIRC. Probably 6 or 7 would be best.

Hopefully, that'll give you more information during the boot process as to what if failing, or pausing, and maybe why. I do test it on my own laptop, and it is capable of booting, while the current config is based on Arch Linux 5.9 kernel, with a few extra options set for the 5.10 release.

sandy8925 commented on 2020-11-30 12:30 (UTC)

@sickcodes - Sometimes failure to boot is due to upstream code having a bug. Try building a newer or older commit/RC and see if that helps. Usually they fix it up in a later RC and before stable release.

iamazat commented on 2020-11-30 12:18 (UTC) (edited on 2020-11-30 12:18 (UTC) by iamazat)

Super fast build:

MAKEFLAGS=-j$(( $(getconf _NPROCESSORS_ONLN)*2 )) make

sickcodes commented on 2020-11-30 12:15 (UTC) (edited on 2020-11-30 12:34 (UTC) by sickcodes)

Any tips on getting this to boot?

It rc2 seems to hang on boot.

Closest I got was to the root recovery shell.

Tried all of these from rEFInd boot loader as well as super grub disk EFI USB boot:

https://gist.github.com/sickcodes/3b614cbbb78db3dcec2f763608251b86

sickcodes commented on 2020-11-30 12:13 (UTC) (edited on 2020-11-30 12:38 (UTC) by sickcodes)

Super fast build:

yay linux-git -G
cd linux-git
N="$(($(nproc)*2))"
sed -i -e 's/make\ /make\ -j'$N'\ /g' PKGBUILD
makepkg -si

jonathanio commented on 2020-10-31 12:21 (UTC)

We're back in business. The package is back to normal size for me and I've been using the build for a few hours on my laptop. I'll take a look at supporting the -doc package over the weekend.

jonathanio commented on 2020-10-30 20:46 (UTC)

@iamazat Thank you for taking the time to look at this. I did try a reversion of the 5.10rc changes but as you've shown, it was the syncing of the 5.9 changes which caused it. I was wondering at the time about looking to see if there are changes to PKGBUILD at the time which would be worth migrating as well, but wanted to take it one step at a time! Looks like I should have just gone all out!

I've copied the INSTALL_MOD_STRIP setting to the build step, and a diff comparison also shows a step to run strip on vmlinuz, so I've ported that across too.

I have Jenkins building the updated package now, and if that works I'll sync the additional changes and add support for linux-git-docs package it seems.

Thank you greatly for your help and hopefully this will fix it.

iamazat commented on 2020-10-30 19:50 (UTC) (edited on 2020-10-30 19:53 (UTC) by iamazat)

Just for reference for anyone using this package - it looks like a configuration change between 5.9 and 5.10 is resulting in a significant increase in the size of the modules being created: The vmlinuz is still fine for me at about 9MB but the overall package is close to 1GB.

So to summarize (and update my previous comment):

  • CONFIG_DEBUG_INFO had been enabled in 1
  • no INSTALL_MOD_STRIP like in upstream 2

So after adding INSTALL_MOD_STRIP installed is 80.40 MiB, modules stripped (and initrd fits my 200MB boot parition) but vmlinux 700MB and I'm totally fine with this (since CONFIG_DEBUG_INFO enabled, and this will improve debugging capabilities)

iamazat commented on 2020-10-30 19:23 (UTC)

Hi!

There are few issues with the config:

  • .config:126:warning: unexpected data: CONFG_CGROUP_SCHED=y

  • and CONFIG_DEBUG_INFO_BTF=y, in 1 you enabled it with the comment that w/o it the kernel size increased, looks like the problem is in that CONFIG_DEBUG_INFO had been enabled 2.