Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [solved?] Unindentified massive bugs in kernel 6.8.2.artix1-1, be warned (Read 1763 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[solved?] Unindentified massive bugs in kernel 6.8.2.artix1-1, be warned

I caught lots of problems after updating to kernel 6.8.2.artix1-1:
- pass password manager stopped working;
- cannot reboot or shut off (only hard reset or poweroff works);
- some other erratic behavior.

As I use my laptop in production, I don't have opportunities of making a more thorough research. But downgrading makes everything to work again as expected. And I'm happy at least with that. Hope it helps.

I downgraded only the kernel (installed package: linux-6.8.1.artix1-1)  and after that everything is working again.


Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #1
I caught lots of problems after updating to kernel 6.8.2.artix1-1:
- pass password manager stopped working;
- cannot reboot or shut off (only hard reset or poweroff works);
- some other erratic behavior.

As I use my laptop in production, I don't have opportunities of making a more thorough research. But downgrading makes everything to work again as expected. And I'm happy at least with that. Hope it helps.

I downgraded only the kernel (installed package: linux-6.8.1.artix1-1)  and after that everything is working again.



Yeah, I just ran an update today and on 6.8.2-zen-1-1-zen I noticed a massive log prior to being prompted for my login. Once I inspected dmesg I found that there's a NULL pointer dereference error when trying to start up the bluetooth. Additionally there's a long stack trace output

Code: [Select]
[  +0.001373] Bluetooth: hci0: FW download error recovery failed (-19)
[  +0.000031] Bluetooth: hci0: sending frame failed (-19)
[  +0.000011] BUG: kernel NULL pointer dereference, address: 0000000000000070
[  +0.000020] #PF: supervisor read access in kernel mode
[  +0.000011] #PF: error_code(0x0000) - not-present page
[  +0.000011] PGD 0 P4D 0
[  +0.000008] Oops: 0000 [#1] PREEMPT SMP NOPTI
[  +0.000012] CPU: 4 PID: 166 Comm: kworker/u67:0 Tainted: P           OE      6.8.2-zen1-1-zen #1 733b316af38b51>
[  +0.000023] Hardware name: ASUS System Product Name/ROG STRIX B550-I GAMING, BIOS 0805 07/01/2020
[  +0.000016] Workqueue: hci0 hci_power_on [bluetooth]
[  +0.000047] RIP: 0010:btintel_read_debug_features+0x4d/0xf0 [btintel]
[  +0.000017] Code: 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 48 8d 4c 24 07 c6 44 24 07 01 e8 ee e0 f4 ff >
[  +0.000030] RSP: 0018:ffffb76c029f7bf0 EFLAGS: 00010207
[  +0.000012] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff927d04b22a01
[  +0.000281] RDX: 0000000000000000 RSI: 0000000000000202 RDI: ffff927d04b22aa8
[  +0.000228] RBP: ffffb76c029f7c20 R08: ffff927d04b22ab0 R09: 0000000000000000
[  +0.000224] R10: 0000000000000001 R11: ffff927d00972300 R12: ffff927d04b22000
[  +0.000227] R13: ffffb76c029f7c8e R14: ffff927d065b4205 R15: ffff927d04b226d0
[  +0.000230] FS:  0000000000000000(0000) GS:ffff92840eb00000(0000) knlGS:0000000000000000
[  +0.000237] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000238] CR2: 0000000000000070 CR3: 000000010259a000 CR4: 0000000000350ef0
[  +0.000244] Call Trace:
[  +0.000243]  <TASK>
[  +0.000243]  ? __die+0x10f/0x120
[  +0.000238]  ? page_fault_oops+0x171/0x4e0
[  +0.000234]  ? srso_return_thunk+0x5/0x5f
[  +0.000233]  ? schedule_timeout+0x23b/0x360
[  +0.000233]  ? exc_page_fault+0x7f/0x180
[  +0.000233]  ? asm_exc_page_fault+0x26/0x30
[  +0.000237]  ? btintel_read_debug_features+0x4d/0xf0 [btintel 5c868b1bca53468f7fbf093fadb7463bf082e31c]
[  +0.000248]  btintel_register_devcoredump_support.isra.0+0x3e/0x110 [btintel 5c868b1bca53468f7fbf093fadb7463bf0>
[  +0.000254]  btintel_setup_combined+0x2cf/0x2520 [btintel 5c868b1bca53468f7fbf093fadb7463bf082e31c]
[  +0.000256]  ? srso_return_thunk+0x5/0x5f
[  +0.000233]  ? schedule_timeout+0x23b/0x360
[  +0.000233]  ? exc_page_fault+0x7f/0x180
[  +0.000233]  ? asm_exc_page_fault+0x26/0x30
[  +0.000237]  ? btintel_read_debug_features+0x4d/0xf0 [btintel 5c868b1bca53468f7fbf093fadb7463bf082e31c]
[  +0.000248]  btintel_register_devcoredump_support.isra.0+0x3e/0x110 [btintel 5c868b1bca53468f7fbf093fadb7463bf0>
[  +0.000254]  btintel_setup_combined+0x2cf/0x2520 [btintel 5c868b1bca53468f7fbf093fadb7463bf082e31c]
[  +0.000256]  ? srso_return_thunk+0x5/0x5f
[  +0.000250]  ? xhci_urb_enqueue+0x1e6/0x350
[  +0.000253]  ? srso_return_thunk+0x5/0x5f
[  +0.000254]  ? srso_return_thunk+0x5/0x5f
[  +0.000252]  ? rpm_suspend+0x8bd/0x8f0
[  +0.000255]  ? srso_return_thunk+0x5/0x5f
[  +0.000253]  ? try_to_grab_pending+0xe1/0x1b0
[  +0.000257]  hci_dev_open_sync+0x105/0xc80 [bluetooth 4c05831ba3fe8fb7a2f5ebcf3b1120efbc3ed29b]
[  +0.000303]  hci_power_on+0x74/0x2e0 [bluetooth 4c05831ba3fe8fb7a2f5ebcf3b1120efbc3ed29b]
[  +0.000301]  process_one_work+0x186/0x360
[  +0.000267]  worker_thread+0x38e/0x530
[  +0.000265]  ? __pfx_worker_thread+0x10/0x10
[  +0.000265]  kthread+0xe8/0x120
[  +0.000265]  ? __pfx_kthread+0x10/0x10
[  +0.000264]  ret_from_fork+0x34/0x50
[  +0.000265]  ? __pfx_kthread+0x10/0x10
[  +0.000261]  ret_from_fork_asm+0x1b/0x30
[  +0.000262]  </TASK>
[  +0.000254] Modules linked in: btusb btrtl btintel btbcm btmtk hid_generic usbhid bluetooth ecdh_generic intel_>
[  +0.002264] CR2: 0000000000000070
[  +0.000268] ---[ end trace 0000000000000000 ]---
[  +0.000265] RIP: 0010:btintel_read_debug_features+0x4d/0xf0 [btintel]
[  +0.000269] Code: 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 48 8d 4c 24 07 c6 44 24 07 01 e8 ee e0 f4 ff >
[  +0.000562] RSP: 0018:ffffb76c029f7bf0 EFLAGS: 00010207
[  +0.000282] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff927d04b22a01
[  +0.000285] RDX: 0000000000000000 RSI: 0000000000000202 RDI: ffff927d04b22aa8
[  +0.000282] RBP: ffffb76c029f7c20 R08: ffff927d04b22ab0 R09: 0000000000000000
[  +0.000282] R10: 0000000000000001 R11: ffff927d00972300 R12: ffff927d04b22000
[  +0.000281] R13: ffffb76c029f7c8e R14: ffff927d065b4205 R15: ffff927d04b226d0
[  +0.000280] FS:  0000000000000000(0000) GS:ffff92840eb00000(0000) knlGS:0000000000000000
[  +0.000285] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000286] CR2: 0000000000000070 CR3: 000000010259a000 CR4: 0000000000350ef0
[  +0.000299] note: kworker/u67:0[166] exited with irqs disabled

Afterwards which their appears to be a series of the standard device registry logs on boot.

EDIT: Upon reboot after writing this, it failed to actually reboot and simply hung (runit failed to exit it appears). I then did a hard restart and then simply rebooted again and everything appears normal including the usual boot logs...

Since I have linux-lts on here and at least grub is working, I'll be keeping this kernel to see what else I can discover and post. However, if the erratic behavior on reboot happens at random over and over, I'll have to downgrade to the previous kernel until fixed.

EDIT 2: Okay, so yes, the issue persists and the shutdown and reboot processes hang indefinitely. I downgraded both the linux and linux-zen kernels for now as well as the headers and util-linux packages. Here is the related IgnorePkg list for now:

Code: [Select]
IgnorePkg = linux
IgnorePkg = linux-headers
IgnorePkg = linux-zen
IgnorePkg = linux-zen-headers
IgnorePkg = util-linux-libs
IgnorePkg = util-linux
IgnorePkg = lib32-util-linux
IgnorePkg = linux-docs

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #2
Without details on how to reproduce this there is not much that can be done.
On none of systems with kernels 6.8.1 and 6.8.2 did I experience any problems. These also run bluetoothd.

artist

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #3
Without details on how to reproduce this there is not much that can be done.
On none of systems with kernels 6.8.1 and 6.8.2 did I experience any problems. These also run bluetoothd.

artist

Obviously I'd be happy to provide you with any details you'd like and help in any way I can.

Reproduction of this would be difficult, as all I did was run the usual updates and update the kernel as per usual. This could be an issue related to the new kernel's interaction with the hardware specific to my computer, unless I am mistaken. Some of those details are provided in the dmesg output in my previous post. Would you like me to provide more details? Would that even help?  The only similar issue I could find is over at the Arch forums, but the hangup is on startup not reboot or shutdown, and might be more systemd related from what I see. Nevertheless in my research, this is all I could find.:

https://bbs.archlinux.org/viewtopic.php?id=294340

EDIT: To be clear, I'm less concerned with the lack of bluetooth as I simply don't use it, but the hang ups on reboot and shutdown are disconcerting.

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #4
On none of systems with kernels 6.8.1 and 6.8.2 did I experience any problems.
6.8.1 is running just perfectly. That's why I [advise to] stick with it. 6.8.2 has all the bugs.

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #5
Yes, I believe this might have to do with something related to certain bluetooth firmware. Another issue was brought up over on the archlinux forums:

https://bbs.archlinux.org/viewtopic.php?id=294378


Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #7

It appears they moved it as it was a duplicate post. Here is the updated post for that issue. The team over at Arch appears to have advised they file a bug with the kernel developers themselves.

https://bbs.archlinux.org/viewtopic.php?id=294310

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #8
It looks like the issue might be resolved in kernel 6.8.4-arch1-1.1. Going to test this now and edit this post on success or failure of test.

https://bbs.archlinux.org/viewtopic.php?pid=2162664#p2162770

EDIT: Can confirm, kernel 6.8.4-arch1-1.1 resolves this issue and there is no more NULL pointer dereference error message upon boot. Multiple shutdown and reboots no longer hang indefinitely.

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #9
All my issues are also gone with the update to kernel 6.8.4-artix1-1.

Can mark this as solved. Much appreciation to devs.

Re: Unindetified massive bugs in kernel 6.8.2.artix1-1, be warned

Reply #10
It looks like the issue might be resolved in kernel 6.8.4-arch1-1.1. Going to test this now and edit this post on success or failure of test.

https://bbs.archlinux.org/viewtopic.php?pid=2162664#p2162770

EDIT: Can confirm, kernel 6.8.4-arch1-1.1 resolves this issue and there is no more NULL pointer dereference error message upon boot. Multiple shutdown and reboots no longer hang indefinitely.
I have an arch system with Tiger Lake Iris Xe GT2 graphics and video fails in linux-6.8.2-arch2-1 and linux-6.8.4.arch1-1-x86_64. I haven't tried the artix versions in an intel machine, but i saw no issue in an amd. I never saw boot failures etc, but had messages concerning bluetooth in the Arch intel system.

EDIT: I updated an artix intel NUC (with linux-6.8.4.artix1-1) and its video appears fine rfkill sees the bluetooth fine. This NUC has a much older graphics ie VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09)