You are not logged in.
Pages: 1
Hello all,
I have an old HP Notebook (specs linked below) that I'm trying to turn into a school laptop, and after running through several different "lightweight" Linux options and finding them distastefully limited and having a manjaro iso freeze on boot, I decided to finally take the full plunge into Arch. Something I learned through that process, though, is that this particular laptop refuses to boot the 6.1.7 linux kernel. A Fedora Kinoite install had similar problems that only worked by selected an older version in the grub, and while I downloaded an older Arch install iso and successfully (I think) installed it to the computer, it automatically installed/updated to the latest kernel and now freezes on boot.
My question, therefore, is twofold. First - is there a known solution for the 6.1.7 kernel? If so, that seems the simpler route. If there isn't, however, where can I download the 6.0.10 kernel that the Arch install iso I used was running on? I checked the pacman cache as per the Arch wiki but the only kernel file it had was 6.1.7.
Laptop specs - https://support.hp.com/us-en/product/hp … /c06254889
Incidentally - If somebody would be so kind as to tell me where it's relevant to post this, I'd be much obliged, but... I find it beyond idiotic that I have to input a complicated linux command output to set up an account, on a forum that any sensible person would go to when, theoretically, their system was in a state of nonfunction. I realize that Arch isn't for beginners running their first linux rodeo, but not all of us have the luxury of multiple Linux installations and I'd be mad as hell if I had had to set up a whole live disk to run one dumb command when recaptchas exist.
Last edited by dojoho (2023-01-25 05:11:41)
Offline
You can try installing the linux-lts kernel/package which can coexist with the linux package and try booting that instead. Also, it would be useful to see a journal log:
sudo journalctl -b |& curl -F file=@- https://0x0.st
when booted into a working kernel (say linux-lts), and
sudo journalctl -b-1 |& curl -F file=@- https://0x0.st
after a freeze with linux 6.1.7 and a subsequent successful boot into linux-lts (assuming the latter works and the frozen kernel manages to write any logs).
Edit: With older machines like this it is prudent to run a thorough memory test, e.g. https://wiki.archlinux.org/title/Stress … MemTest86+
Last edited by topcat01 (2023-01-25 09:20:34)
Offline
I installed the linux-lts package using the same process as initially installing the linux package - booted a live disk, mount sda partitions, pacstrap into /mnt. It still freezes on boot. Is there any chance it would still be using the newer kernel version over the alternative?
Offline
What boot loader are you using? You need to configure it.
Offline
Grub. I did configure it when I first installed, do I need to do so again? And if so, should I change any commands or just re-run them? I copied them from the itsfoss.com arch install guide, and they seem pretty ubiquitous as far as kernel versions go. I haven't had much prior experience with bootloader commands, though.
Offline
After adding the new kernel just running the grub-mkconfig command should be sufficient: https://wiki.archlinux.org/title/GRUB#Configuration.
Offline
Grub. I did configure it when I first installed, do I need to do so again?
Yes.
should I change any commands or just re-run them? I copied them from the itsfoss.com arch install guide
Crappy random interweb "guides" are not supported here. Follow https://wiki.archlinux.org/title/GRUB#Configuration instead. And don't post here again unless and until you reinstall following the official guide.
I find it beyond idiotic that I have to input a complicated linux command output to set up an account, on a forum that any sensible person would go to when, theoretically, their system was in a state of nonfunction. I realize that Arch isn't for beginners running their first linux rodeo, but not all of us have the luxury of multiple Linux installations and I'd be mad as hell if I had had to set up a whole live disk to run one dumb command when recaptchas exist.
Para todos todo, para nosotros nada
Offline
If you install/uninstall a kernel, you need to regenerate the grub config.
From grub wiki:
After installing or removing a kernel, you just need to re-run the above grub-mkconfig command.
And you need this to be able to choose which kernel to use in a menu.
Edit: AGAIN, I write tooooooo slow
Last edited by Adriik (2023-01-25 19:32:27)
Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheet ♠ Command not found?
If I write something wrong in English, please correct me.
Offline
Hi, i have almost the same laptop ( its hp 14-cf0078ur ), and having the exact same problem.
I use it on linux-lts kernel and everything works fine, but the latest ones result in freeze on kernel messages or just black screen.
If i disable display manager, it freezes on login prompt, after cursor blinks 1-2 times.
Here are my journalctl logs:
linux-lts 5.15 ( successful boot ):
https://0x0.st/oCY5.txt
linux 6.1.9 ( freeze ):
https://0x0.st/oCYn.txt
Offline
@mamai does blacklisting i915 amdgpu and r8169 have any effect?
Edit:
If not is the issue present on 6.0? You can obtain a 6.0 from Arch Linux Archive.
Last edited by loqs (2023-02-06 22:45:32)
Offline
https://bbs.archlinux.org/viewtopic.php?id=282992
rtw_8723de is in the LTS boot and NM configures it before the user logs in, so that fits.
But the freezing boot ends too early and we can't see whether it gets loaded and/or does anything.
Online
Disabling networkmanager does result in successful boot:
https://0x0.st/oC6N.txt
Is there any fix for this, or should i start nm manually from now on, if i wanna use latest kernel?
Tried adding rtw88_8723de into mkinitcpio "MODULES=" section, but had no success with that.
Offline
@loqs
Blacklisting i915 results in krenel failing to load kernel modules, blacklisting amdgpu and r8169 doesnt change anything, same freeze
I guess i wont need to test 6.0 because now we know the issue is with rtw module and networkmanager
Offline
Is there any fix for this, or should i start nm manually from now on, if i wanna use latest kernel?
The other mitigation would be to not allow NM to connect the NIC before your session, https://wiki.archlinux.org/title/Networ … et_on_boot (but you wanrt to *dis*able that)
You could also artificially delay NM, there's a similar situation w/ iwd (one might infer that it's a situation w/ system's aggressive parallelization to make the system boot in 3 seconds instead of 4, well - iff it boots… I digress): https://wiki.archlinux.org/title/Iwd#Re … after_boot
You of course want to edit the NetworkManager.service and whether the arbitrary 2s delay is sufficiently safe needs to be seen.
Online
Thanks for help, i guess ill just stick to lts kernel for now, and hope they will fix it by the time new lts kernel comes out. Ive googled this problem a bit more and found modified kernel module on opensuse bugtrackers, but im too lazy to compile it myself. Not sure if its allowed to post links to other forums here, but its pretty easy to find it yourself
Offline
Pages: 1