You are not logged in.

#1 2022-07-31 16:24:21

norysq
Member
Registered: 2022-04-12
Posts: 9

[SOLVED] Arch hangs on Boot after /boot has mounted.

First things first, I have a dual boot setup with Arch and Windows. Grub is working fine and I can still get into Windows.
However if I try to boot to Arch it freezes.

I cannot switch tty's and the only thing I can do is press the power button to shutdown. I looked at `dmesg` and `journalctl`. I didn't find anything but it could be the case that I overlooked something - never really debugged too much, still pretty new to this.
Setting the grub loglevel to 6 revealed that the system seems to hang around the message
[ OK ] Mounted /boot

I think I had a Windows update before this behavior started to occour - I reinstalled grub and ran `mkinitcpio -P` but that didn't seem to change anything.


I hope someone can help me figure this out and fix this big_smile

System Journal

System Information:
EFI: yes
GPU: GTX Titan X (nvidia)
CPU: Intel i7-4790k

Solution:

seth wrote:

If you want to https://wiki.archlinux.org/title/Kernel … acklisting try the "module_blacklist=i915" kernel parameter

Blacklisting the i915 kernel module via kernel parameter actually just solved my issue. Thank you to all of you. You are amazing smile

Last edited by norysq (2022-08-01 13:37:09)

Offline

#2 2022-07-31 16:40:11

snowturtle63
Member
Registered: 2022-07-30
Posts: 5

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

do you have windows and linux installed on the same hard drive?
if you do, which did you install first?

Offline

#3 2022-07-31 16:45:03

norysq
Member
Registered: 2022-04-12
Posts: 9

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

I have them both on the same SSD. I think I installed Windows after Arch but it worked flawlessly - I know normally one should do it the other way around.

My partiton table looks like this:
sda1 vfat (Efi partition)
sda2 ntfs (MBR)
sda3 ntfs (Windows)
sda4 swap
sda5 ext4 (/)

Offline

#4 2022-07-31 18:44:03

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

Please post the full system journal from a boot with the issue.

Offline

#5 2022-07-31 19:08:15

norysq
Member
Registered: 2022-04-12
Posts: 9

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

Of course, here it is:

https://pastebin.com/LVgffLZ2

Offline

#6 2022-07-31 19:16:25

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

If you disable ly does the system then boot to console login prompt?
Edit:

Jul 31 20:56:27 pcmichi kernel: efifb: probing for efifb
Jul 31 20:56:27 pcmichi kernel: efifb: No BGRT, not showing boot graphics
Jul 31 20:56:27 pcmichi kernel: efifb: framebuffer at 0xf1000000, using 3072k, total 3072k
Jul 31 20:56:27 pcmichi kernel: efifb: mode is 1024x768x32, linelength=4096, pages=1
Jul 31 20:56:27 pcmichi kernel: efifb: scrolling: redraw
Jul 31 20:56:27 pcmichi kernel: efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
Jul 31 20:56:27 pcmichi kernel: Console: switching to colour frame buffer device 128x48
Jul 31 20:56:27 pcmichi kernel: fb0: EFI VGA frame buffer device
....
Jul 31 20:56:27 pcmichi kernel: i915 0000:00:02.0: enabling device (0000 -> 0003)
Jul 31 20:56:27 pcmichi kernel: Console: switching to colour dummy device 80x25
Jul 31 20:56:27 pcmichi kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Jul 31 20:56:27 pcmichi kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
Jul 31 20:56:27 pcmichi kernel: ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Jul 31 20:56:27 pcmichi kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
Jul 31 20:56:27 pcmichi kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Jul 31 20:56:27 pcmichi kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Jul 31 20:56:27 pcmichi kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
....
Jul 31 20:56:28 pcmichi kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  515.57  Wed Jun 22 22:31:08 UTC 2022
Jul 31 20:56:28 pcmichi systemd-modules-load[269]: Inserted module 'nvidia_uvm'
Jul 31 20:56:28 pcmichi kernel: [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
Jul 31 20:56:28 pcmichi kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:02:00.0 on minor 1
Jul 31 20:56:28 pcmichi kernel: nvidia-uvm: Loaded the UVM driver, major device number 234.

Last edited by loqs (2022-07-31 19:19:52)

Offline

#7 2022-07-31 19:27:15

norysq
Member
Registered: 2022-04-12
Posts: 9

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

I just tried and, no it doesn't show the console login prompt. No change in behavior.

Offline

#8 2022-07-31 22:49:15

seth
Member
Registered: 2012-09-03
Posts: 51,257

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

Looks a lot like https://bbs.archlinux.org/viewtopic.php?id=278365 but we haven't resolved that.
Try to blacklist i915

Online

#9 2022-08-01 12:36:14

norysq
Member
Registered: 2022-04-12
Posts: 9

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

I was just trying to blacklist i915 and went ahead and ran

mkinitcpio -M

To my suprise it threw an error:

==> ERROR: '/lib/modules/5.16.11-arch1-1' is not a valid kernel module directory.

My kernel version is
5.18.14 (so that error is confusing me).

Anyone know why this might be or if this is the reason everything goes wrong on boot?

Edit:
I also created a /etc/modprobe.d/modprobe.conf
with the content:

blacklist i915

didn't change anything...

I also took a look at the other issue. I have an EFI system but mine is not a laptop. My graphics card is a GTX Titan X. I will try downgrading my kernel in the next few days and see if that fixes it (can't really do much rn)

Last edited by norysq (2022-08-01 12:46:41)

Offline

#10 2022-08-01 12:52:55

seth
Member
Registered: 2012-09-03
Posts: 51,257

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

uname -a
pacman -Qs linux
file /boot/vmlinuz-linux
mount | grep boot

If you want to https://wiki.archlinux.org/title/Kernel … acklisting try the "module_blacklist=i915" kernel parameter, but the dated kernel above is a huge red flag.
In doubt you updated and din't reboot, otherwise you're booting a dated kernel (perhaps you forgot to mount the /boot partition) - your previous log doesn't suggest any of that, though.

Online

#11 2022-08-01 12:56:57

norysq
Member
Registered: 2022-04-12
Posts: 9

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

$ uname -a
Linux archiso 5.16.11-arch1-1 ...

wait a minute why does it show the archiso system when I `arch-chroot` into the system?

Edit: actually nvm I am stupid a I am running this kernel when booting from my arch live stick.
That also explains the `mkinitcpio -M` error. I do not have modules for this old version because my system doesn't use it `mkinitcpio -M` uses the active kernel though.

Last edited by norysq (2022-08-01 13:12:25)

Offline

#12 2022-08-01 13:04:33

norysq
Member
Registered: 2022-04-12
Posts: 9

Re: [SOLVED] Arch hangs on Boot after /boot has mounted.

seth wrote:
pacman -Qs linux
file /boot/vmlinuz-linux
mount | grep boot

1. Linux kernel version is indeed 5.18.14-arch1-1
2. vmlinuz-linux is also the same version.
3. Prints /dev/sda1 on /boot (and a bunch if options of those are important i can edit this message).

Last edited by norysq (2022-08-01 13:07:35)

Offline

Board footer

Powered by FluxBB