You are not logged in.

#1 2026-01-11 13:02:08

kopo4ka100
Member
Registered: 2026-01-11
Posts: 2

[SOLVED] After clean install boot hangs (BUG: kernel ptr dereference)

Hi everyone
did a clean installation of arch from iso (loaded from usb) with archinstall script, no additional software was specified. just disk layout and network configuration
Then did reboot and tried to start arch and it hangs on on udev triggers. I have tried different Alt + SysRq + <key> alf+(ctrl)+F1..9 keys - no reaction

Upd: did clean install to reproduce the behavior and saved logs: format / /boot /home partitions

1) Boot from usb:  system was installed with archinstall, config and logs are applied (aditional packages:"amd-ucode", "nano", "linux-firmware", "man-db", "man-pages","texinfo")
2) Boot from usb: Then added log parameters (most verbose) to kernel module udev.log_level=debug  udev.log_priority=8
3) Boot from ssd: hangs
4) Boot from usb: and collected logs

archive with installation config and logs you may download here https://disk.yandex.ru/d/6u9uU-X8OwsX4A

please advise what else I can grab/investigate to identify the problem.
I'm new to arch but surprised that there are issues with boot on a simple clean install.


The only message that seems as a warning or abnormal, line last-boot.log:1319

Jan 11 22:47:07 archlinux kernel: BUG: kernel NULL pointer dereference, address: 00000000000000cc
Jan 11 22:47:07 archlinux kernel: #PF: supervisor read access in kernel mode
Jan 11 22:47:07 archlinux kernel: #PF: error_code(0x0000) - not-present page
Jan 11 22:47:07 archlinux kernel: PGD 0 P4D 0
Jan 11 22:47:07 archlinux kernel: Oops: Oops: 0000 [#1] SMP NOPTI
Jan 11 22:47:07 archlinux kernel: CPU: 21 UID: 0 PID: 453 Comm: (udev-worker) Not tainted 6.18.4-arch1-1 #1 PREEMPT(full)  a6619fbe0828663d3b5f8aa0758c5482fb4ab396
Jan 11 22:47:07 archlinux kernel: Hardware name: Micro-Star International Co., Ltd. MS-7E59/MPG X870E EDGE TI WIFI (MS-7E59), BIOS 1.A40 04/22/2025
Jan 11 22:47:07 archlinux kernel: RIP: 0010:bit_entry+0x14/0xf0 [nouveau]
Jan 11 22:47:07 archlinux kernel: Code: f3 f1 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 0f 1f 44 00 00 41 56 41 55 41 89 f5 41 54 55 53 <8b> b7 cc 00 00 00 85 f6 0f 84 b1 00 00 00 83 c6 0a 49 89 d6 48 89
Jan 11 22:47:07 archlinux kernel: RSP: 0018:ffffd1c940cf7660 EFLAGS: 00010286
Jan 11 22:47:07 archlinux kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffd1c940cf76de
Jan 11 22:47:07 archlinux kernel: RDX: ffffd1c940cf769a RSI: 0000000000000070 RDI: 0000000000000000
Jan 11 22:47:07 archlinux kernel: RBP: ffffd1c940cf76de R08: ffffd1c940cf76df R09: 0000000000001000
Jan 11 22:47:07 archlinux kernel: R10: 00000000f7fdf000 R11: 0000000000000002 R12: ffffd1c940cf76df
Jan 11 22:47:07 archlinux kernel: R13: 0000000000000070 R14: ffffd1c940cf7736 R15: ffffd1c940cf7737
Jan 11 22:47:07 archlinux kernel: FS:  00007fdca2a1b840(0000) GS:ffff8ef199c31000(0000) knlGS:0000000000000000
Jan 11 22:47:07 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

Could you please advice how to find a way which code is trying to dereference the pointer? Probably kernel is built with high level compiler optimizations, how to get the potential code that is trying to do the dereference? (seems it's a nouveau driver)
last-boot.log:1338

Jan 11 22:47:07 archlinux kernel: Call Trace:
Jan 11 22:47:07 archlinux kernel:  <TASK>
Jan 11 22:47:07 archlinux kernel:  nvbios_pmuTe+0x4f/0xf0 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
Jan 11 22:47:07 archlinux kernel:  nvbios_pmuEp+0x4d/0xc0 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
Jan 11 22:47:07 archlinux kernel:  nvkm_gsp_fwsec_init+0x77/0x3c0 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
Jan 11 22:47:07 archlinux kernel:  r535_gsp_oneinit+0x27a/0xfd0 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
Jan 11 22:47:07 archlinux kernel:  ? gh100_gsp_oneinit+0x288/0x420 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
Jan 11 22:47:07 archlinux kernel:  gh100_gsp_oneinit+0x2bc/0x420 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
Jan 11 22:47:07 archlinux kernel:  nvkm_subdev_oneinit_+0x43/0x90 [nouveau c9c251dc986c789bc0a6ac01ee7844aa20732f34]
......

Also will do memtest just for safety, but kernel is trying to dereference a null pointer

e.g. int val = *pValue; // pValue is  null or probably zero.

System spec: 128Gb Ram, nvidia 5060ti, AMD Ryzen 9 9950X

as an option blacklist nouveau driver and maybe install nvidia?

modprobe.blacklist=nouveau

Last edited by kopo4ka100 (Yesterday 13:08:10)

Offline

#2 Yesterday 13:04:31

kopo4ka100
Member
Registered: 2026-01-11
Posts: 2

Re: [SOLVED] After clean install boot hangs (BUG: kernel ptr dereference)

so blacklisted nouveau driver via kernel cmd

modprobe.blacklist=nouveau

and then system booted in the text mode 80x25

Thanks for you help!
Probably topic can be closed


https://wiki.gentoo.org/wiki/NVIDIA
and document says that Blackwell isn't supported by nouveau

Then installed dkms and nvidia open as per instructions and happy end smile

Last edited by kopo4ka100 (Yesterday 16:54:20)

Offline

Board footer

Powered by FluxBB