@mxfm: Yes, I know that as it has been mentioned often before. Believe me, I have been patient and I retested for a lot of times but never had success with any incarnation of 5.11. And from what ArthurBorsboom said, there is at least some workaround that implies that maybe also the package is at fault. There might be some config changes from 5.10 to 5.11 causing this issue. Only an uneducated guess, of course ;)
Search Criteria
Package Details: linux-git 6.10.r10854.f557af081de6-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-git.git (read-only, click to copy) |
---|---|
Package Base: | linux-git |
Description: | The Linus Torvalds' Mainline Linux kernel and modules |
Upstream URL: | https://www.kernel.org |
Keywords: | git kernel linux |
Licenses: | GPL-2.0-only |
Provides: | KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
Submitter: | jonathanio |
Maintainer: | osimarr |
Last Packager: | osimarr |
Votes: | 13 |
Popularity: | 0.001284 |
First Submitted: | 2019-12-22 10:10 (UTC) |
Last Updated: | 2024-07-20 19:34 (UTC) |
Dependencies (15)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, dracut-gitAUR, booster, dracut, mkinitcpio)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, linux-firmware-amd-staging-um5606-gitAUR, linux-firmware-uncompressedAUR, linux-firmware-gitAUR) (optional) – firmware images needed for some devices
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (5)
- ksmbd-tools (requires KSMBD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (6)
Harvey commented on 2021-01-31 13:34 (UTC)
mxfm commented on 2021-01-30 13:28 (UTC)
@Harey it is git source code and it can be broken at any time. When I used this package I experienced at least 2-3 times consistent boot failures. To solve this is issue you can wait when the issue in source code will be fixed.
jonathanio commented on 2021-01-29 08:43 (UTC)
I'll try and take a look at this on the weekend. I've been moving house recently and not had much free time.
ArthurBorsboom commented on 2021-01-29 08:42 (UTC)
I had the same problem. As a workaround I replaced the kernel config in the package with the kernel config from my installed Arch system (/proc/config.gz).
Harvey commented on 2021-01-28 17:58 (UTC)
No matter what I do I can't get this to work. The package compiles and installs correctly but when loading initial ramdisk it hangs there forever. Did I oversee something? This used to work on my machine when I last tried it with kernel 5.10...
IOAOI commented on 2021-01-07 02:31 (UTC) (edited on 2021-01-07 02:35 (UTC) by IOAOI)
If you follow these instructions: https://wiki.archlinux.org/index.php/Bisecting_bugs_with_Git and do makepkg -o then checkout an older version somehow and run makepkg -e there are errors as "version" is now wrong. In _package ():
cd $_srcname
make -s kernelrelease > version <--- added
local kernver="$(<version)"
this avoided those errors. (Only tested that on one build mind you.) Presumably the wiki info predates this commit about a year ago: https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=linux-git&id=e7e35802193bf14e094a5c12e7748c600ce9ea80
ArthurBorsboom commented on 2020-12-09 12:57 (UTC)
Kernel 5.10.0-rc7 can be build if you revert 1 commit; this is build issue upstream (see linux-next-git package comments).
git revert 3351b16af494 --no-edit
After the build of 5.10.0-rc7 and rebooting my system (AMD Renoir 4800U), it hangs with a black screen.
To fix this I had to use my running kernel config, which I found in /proc/config.gz
Could it be that the config in this package is not in line with the normal 'linux' package (outdated?) and needs fixing?
sickcodes commented on 2020-11-30 18:36 (UTC) (edited on 2020-11-30 18:36 (UTC) by sickcodes)
Thanks all!
I built 5.10rc6 fine and I am booted on Linux 5.10.0-rc6-1-git.
Used the config from /proc/config.gz
Also skipped making docs as I was getting Latex errors of some sort.
yay linux-git --getpkgbuild --force
cd linux-git
N=$(($(nproc)*2))
RC=5.10rc6
# remove html docs
sed -i -e 's/\"\$pkgbase-docs\"//' PKGBUILD
sed -i -e 's/rm\ -r\ \"\$builddir\/Documentation\"//' PKGBUILD
sed -i -e 's/make\ htmldocs//' PKGBUILD
sed -i -e 's/make\ /make\ -j'${N}'\ /g' PKGBUILD
sed -i -e 's/^pkgver\=.*/pkgver\='${RC}'/' PKGBUILD
# use old config
zcat /proc/config.gz > config
makepkg -si
sickcodes commented on 2020-11-30 12:42 (UTC) (edited on 2020-11-30 12:43 (UTC) by sickcodes)
@iamazat & @jonathanio thank you for that amazing tip. I've massively increased the job, having lived in slow lane for over a year now. Have added loglevel, will let you know. Also I moved the markdown to a gist as it was bloating this comments section. Will test higher rc, thanks @sandy8925, and will post logs, brb!
jonathanio commented on 2020-11-30 12:37 (UTC)
@iamazat @sickcodes if you're using makepkg
, you can set MAKEFLAGS
in your /etc/makepkg.conf
(along with any other relevant flags you want) and it will apply to all builds, not just the current build or checkout! :)
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.