You are not logged in.
first step :
$ git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/linux"
$ cd packages/trunk
$ git checkout fc89f9441710951d2ad565f207ecd13e57318236 #4.20.4.arch1-1
$ cd ../..
$ cp -r packages/trunk linux-git
$ rm -rf packages
$ cd linux-git
# Edit replace the PKGBUILD and 90-linux.hook with the ones below
$ makepkg -rsi #this is to confirm 4.20.4 as built on your system does not have the issue update bootloader for new kernel if needed
took ~ 13 hours (MAKEFLAGS="-j3" in makepkg.conf)
Offline
Hopefully the subsequent steps should be much quicker as only files that are changed will be rebuilt.
Offline
I've compiled and installed linux-git 4.20.4, did grub-mkconfig -o /boot/grub/grub.cfg, but during boot process it says error: invalid cluster 0
Here's the generated grub.cfg: https://ptpb.pw/BgmS
Offline
@kleinepanzer can you check /boot/initramfs-linux-git.img exists please. I think the boot entry for the linux kernel may be a sub entry of Arch linux looking at that grub.cfg.
Edit:
Building the package locally to see if I can reproduce the issue.
Last edited by loqs (2019-02-20 18:42:17)
Offline
/boot/initramfs-linux-git.img exists, but when I use file on it I get a bunch of filesystem errors like
[ 2763.786350] FAT-fs (sda1): error, fat_get_cluster: invalid cluster chain (i_pos 33310)
That's really bizarre, why is it broken and why do I even have vfat on my /boot partition? I don't remember choosing it
Offline
The ESP on an EFI install will be FAT formatted and a standard location to mount the ESP is /boot.
# mkinitrd -p linux-git
Then check if file then finds the contents as 'gzip compressed data, from Unix'
Offline
I see, indeed it's the ESP.
But mkinitrd? Did you mean mkinitcpio?
Offline
I see, indeed it's the ESP.
But mkinitrd? Did you mean mkinitcpio?
Yes sorry
mkinitcpio -p linux-git
==> Building image from preset: /etc/mkinitcpio.d/linux-git.preset: 'default'
-> -k /boot/vmlinuz-linux-git -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-git.img
==> Starting build: 4.20.4-git
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [sd-encrypt]
-> Running build hook: [keymap]
-> Running build hook: [keyboard]
-> Running build hook: [autodetect]
-> Running build hook: [block]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-git.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-git.preset: 'fallback'
-> -k /boot/vmlinuz-linux-git -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-git-fallback.img -S autodetect
==> Starting build: 4.20.4-git
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [sd-encrypt]
-> Running build hook: [keymap]
-> Running build hook: [keyboard]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-git-fallback.img
==> Image generation successful
Offline
I've had to mount /boot partition with errors=continue to rebuild the image, now it finally works, I see Arch Linux 4.20.4-git (tty1) login prompt. I'll start compiling 4.20.5 immediately.
Offline
After the second part:
$ cd /linux-git/src/linux
$ git checkout v4.20.5
$ cd ../..
$ makepkg -ersi #this is to confirm 4.20.5 as built on your system does not have the issue select the default option for all prompted options
-reboot and starting up with linux-git-4.20.5
Black screen again.
----------------------
proceeded to the third step
Last edited by valera_cr (2019-02-21 06:15:55)
Offline
Yep, linux-git-4.20.5 as build on my system does not boot.
Offline
Started compiling the first bisected version - commit 221fed3a51a7.
I've booted the previous release of the installation media, mounted everything and chrooted into the main system. I've had to do su -l my-user because makepkg does not work when you a root. Here's hoping it will go smoothly.
Offline
After the fourth step:
$ cd linux-git/src/linux/
$ git bisect $result #substitue good or bad here
$ cd ../..
$ makepkg -ersif #repeat these four lines and test the generated kernel until git has found the bad commit
-reboot and starting up with linux-git
Black screen again.
Offline
Bad one. Moving on to d47e80e48f06, 5 steps left.
Offline
I can load with parameter:
module_blacklist=video
But it is not very good. Bright screen, brightness not adjustable from the keyboard.
Last edited by valera_cr (2019-02-22 19:32:04)
Offline
Possibly https://git.kernel.org/pub/scm/linux/ke … dde148a166 if it is then d47e80e48f06 should be bad.
Offline
Oh..
I installed linux-git-5.0
the parameter "module_blacklist=video" works only with it.
With updated linux-lts this does not work.
Offline
@velera_cr can you try on linux-git-5.0
git revert -n 78f3ac76d9e5219589718b9e4733bee21627b3f5
then rebuild with nothing else changed it should just rebuild the asus-wmi module and see if that fixes the issue.
Offline
linux-git-5.0 I compiled on another computer
On asus install with pacman -U
Last edited by valera_cr (2019-02-22 20:52:40)
Offline
d47e80e48f06 - bad
836141c4b1f5 - good
Offline
5fca74887c3e - bad
Offline
37e522d16002 - good
Testing platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey now. 1 step left.
Offline
Assuming it is the backlight you could try the options from backlight#Kernel_command-line_options.
Offline
I'm on the commit platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey now, and as suspected, it does not work.
Trying backlight options:
acpi_backlight=video -- black screen
acpi_backlight=vendor -- successfully shows login prompt, loads X server
acpi_backlight=native -- black screen again
Offline
loqs, thanks for the help!!
linux-git-5.0 with parameter:
acpi_backlight=vendor
Everything works fine!
------------------
Updated linux 4.20.4-arch1-1-ARCH to linux 4.20.11-arch2-1-ARCH. With:
acpi_backlight=vendor
works fine.
Last edited by valera_cr (2019-02-24 10:29:32)
Offline