You are not logged in.

#1 2024-03-30 16:18:09

jronald
Member
Registered: 2022-05-09
Posts: 74

[DUPLICATED] kernel NULL pointer dereference

UPDATE

GOTO https://bbs.archlinux.org/viewtopic.php … 1#p2162161
--------------------------------------------

$ sudo dmesg
...
[    2.805120] BUG: kernel NULL pointer dereference, address: 0000000000000070
[    2.807617] #PF: supervisor read access in kernel mode
[    2.808443] #PF: error_code(0x0000) - not-present page
[    2.808443] PGD 0 P4D 0 
[    2.808443] Oops: 0000 [#1] PREEMPT SMP NOPTI
...

ENV
Linux 6.8.2-arch2-1

Last edited by jronald (2024-04-03 10:49:37)

Offline

#2 2024-03-30 16:30:33

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

Re: [DUPLICATED] kernel NULL pointer dereference

Please post the full dmesg output.

Online

#3 2024-03-31 09:21:49

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [DUPLICATED] kernel NULL pointer dereference

I also had this same BUG in my dmesg yesterday. I wanted to post my current dmesg but I can't seem to reproduce it anymore.

Last edited by midian (2024-03-31 09:22:01)

Offline

#4 2024-03-31 09:46:16

seth
Member
Registered: 2012-09-03
Posts: 52,262

Re: [DUPLICATED] kernel NULL pointer dereference

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the system journal of the previous boot

Offline

#5 2024-03-31 10:44:32

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [DUPLICATED] kernel NULL pointer dereference

seth wrote:
sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the system journal of the previous boot

It says:
"Specifying boot ID or boot offset has no effect, no persistent journal was found.
451 Unavailable For Legal Reasons"

(I don't have anything in journald.conf but now I remember I have Storage=none in coredump.conf)

Unfortunately I'll have to wait to the BUG to reappear

Offline

#6 2024-03-31 10:47:39

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [DUPLICATED] kernel NULL pointer dereference

Offline

#7 2024-03-31 14:12:26

seth
Member
Registered: 2012-09-03
Posts: 52,262

Re: [DUPLICATED] kernel NULL pointer dereference

[   10.262676] BUG: kernel NULL pointer dereference, address: 0000000000000070
[   10.263564] #PF: supervisor read access in kernel mode
[   10.264367] #PF: error_code(0x0000) - not-present page
[   10.264886] PGD 0 P4D 0 
[   10.265394] Oops: 0000 [#1] PREEMPT SMP NOPTI
[   10.265906] CPU: 4 PID: 169 Comm: kworker/u33:0 Tainted: P           OE      6.8.2-arch2-1 #1 a430fb92f7ba43092b62bbe6bac995458d3d442d
[   10.266469] Hardware name: PCSpecialist GM6BG5Q/GM6BG5Q, BIOS N.1.12A01 04/03/2023
[   10.267030] Workqueue: hci0 hci_power_on [bluetooth]
[   10.267662] RIP: 0010:btintel_read_debug_features+0x4d/0xf0 [btintel]
[   10.268243] 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 de 39 cb ff 48 89 c3 48 3d 00 f0 ff ff 77 49 <83> 78 70 13 75 67 48 8b 80 d0 00 00 00 be 02 00 00 00 48 89 df 48
[   10.269515] RSP: 0018:ffffb390c1eefcc0 EFLAGS: 00010207
[   10.270149] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff92ab504d6ab0
[   10.270801] RDX: 0000000000000000 RSI: 0000000000000202 RDI: ffff92ab504d6aa8
[   10.271434] RBP: ffffb390c1eefcf0 R08: ffff92ab504d6ab0 R09: 0000000000000000
[   10.272068] R10: 0000000000000001 R11: 0000000000000100 R12: ffff92ab504d6000
[   10.272708] R13: ffff92ab45748e00 R14: ffff92ab57ae7005 R15: ffff92ab504d66d0
[   10.273346] FS:  0000000000000000(0000) GS:ffff92b21e900000(0000) knlGS:0000000000000000
[   10.274005] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   10.274650] CR2: 0000000000000070 CR3: 000000011d5e0000 CR4: 0000000000f50ef0
[   10.275306] PKRU: 55555554
[   10.275950] Call Trace:
[   10.276591]  <TASK>
[   10.277239]  ? __die+0x23/0x70
[   10.277893]  ? page_fault_oops+0x171/0x4e0
[   10.278543]  ? __timer_delete_sync+0x7d/0xe0
[   10.279187]  ? exc_page_fault+0x7f/0x180
[   10.279826]  ? asm_exc_page_fault+0x26/0x30
[   10.280463]  ? btintel_read_debug_features+0x4d/0xf0 [btintel 6735e787c9ed982ceaa471c7ab364a390a1acb37]
[   10.281116]  btintel_register_devcoredump_support.isra.0+0x3e/0x110 [btintel 6735e787c9ed982ceaa471c7ab364a390a1acb37]
[   10.281122]  btintel_setup_combined+0x2ab/0x790 [btintel 6735e787c9ed982ceaa471c7ab364a390a1acb37]
[   10.281128]  hci_dev_open_sync+0x105/0xc20 [bluetooth 81a2e5f6c3a85f38dade670bfe91d861a9119613]
[   10.283217]  ? srso_alias_return_thunk+0x5/0xfbef5
[   10.283220]  hci_dev_do_open+0x23/0x60 [bluetooth 81a2e5f6c3a85f38dade670bfe91d861a9119613]
[   10.284886]  hci_power_on+0x51/0x260 [bluetooth 81a2e5f6c3a85f38dade670bfe91d861a9119613]
[   10.284904]  ? lock_timer_base+0x61/0x80
[   10.284908]  process_one_work+0x186/0x370
[   10.284919]  worker_thread+0x3ab/0x4f0
[   10.284922]  ? __pfx_worker_thread+0x10/0x10
[   10.284924]  kthread+0xe8/0x120
[   10.289264]  ? __pfx_kthread+0x10/0x10
[   10.289266]  ret_from_fork+0x34/0x50
[   10.289270]  ? __pfx_kthread+0x10/0x10
[   10.289272]  ret_from_fork_asm+0x1b/0x30
[   10.289278]  </TASK>
[   10.289279] Modules linked in: snd_hda_intel uvc ac97_bus ptp amdxcp videobuf2_memops snd_pcm_dmaengine snd_intel_dspcfg pps_core videobuf2_v4l2 btusb snd_pci_ps snd_intel_sdw_acpi drm_exec kvm gpu_sched snd_rpl_pci_acp6x btrtl drm_buddy snd_hda_codec videodev snd_acp_pci eeepc_wmi(-) btintel i2c_algo_bit snd_hda_core iwlwifi snd_acp_legacy_common irqbypass drm_suballoc_helper asus_wmi btbcm r8152(+) videobuf2_common r8169 drm_ttm_helper snd_pci_acp6x snd_hwdep btmtk ledtrig_audio ttm snd_pci_acp5x snd_pcm bluetooth rapl realtek mc mii platform_profile cfg80211 snd_rn_pci_acp3x sparse_keymap drm_display_helper snd_timer mdio_devres snd_acp_config wmi_bmof ecdh_generic snd_soc_acpi snd cec libphy k10temp rfkill i2c_piix4 snd_pci_acp3x soundcore joydev amd_pmc acpi_tad mousedev mac_hid fuse loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_crypt cbc encrypted_keys trusted asn1_encoder tee usbhid pkcs8_key_parser nvidia_drm(POE) nvidia_uvm(POE) nvidia_modeset(POE) crct10dif_pclmul crc32_pclmul
[   10.293864]  crc32c_intel polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 serio_raw aesni_intel nvme atkbd hid_multitouch nvme_core hid_generic libps2 crypto_simd xhci_pci vivaldi_fmap cryptd ccp i8042 xhci_pci_renesas video sp5100_tco nvme_auth i2c_hid_acpi serio wmi i2c_hid nvidia(POE) dm_mod crypto_user
[   10.293889] CR2: 0000000000000070
[   10.293891] ---[ end trace 0000000000000000 ]---
[   10.293892] RIP: 0010:btintel_read_debug_features+0x4d/0xf0 [btintel]
[   10.293897] 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 de 39 cb ff 48 89 c3 48 3d 00 f0 ff ff 77 49 <83> 78 70 13 75 67 48 8b 80 d0 00 00 00 be 02 00 00 00 48 89 df 48
[   10.293899] RSP: 0018:ffffb390c1eefcc0 EFLAGS: 00010207
[   10.293900] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff92ab504d6ab0
[   10.293901] RDX: 0000000000000000 RSI: 0000000000000202 RDI: ffff92ab504d6aa8
[   10.293902] RBP: ffffb390c1eefcf0 R08: ffff92ab504d6ab0 R09: 0000000000000000
[   10.293903] R10: 0000000000000001 R11: 0000000000000100 R12: ffff92ab504d6000
[   10.293904] R13: ffff92ab45748e00 R14: ffff92ab57ae7005 R15: ffff92ab504d66d0
[   10.293905] FS:  0000000000000000(0000) GS:ffff92b21e900000(0000) knlGS:0000000000000000
[   10.293907] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   10.293908] CR2: 0000000000000070 CR3: 000000011d5e0000 CR4: 0000000000f50ef0
[   10.293909] PKRU: 55555554
[   10.293910] note: kworker/u33:0[169] exited with irqs disabled

in immediate response to

[   10.258167] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[   10.258185] Bluetooth: hci0: Boot Address: 0x24800
[   10.258187] Bluetooth: hci0: Firmware Version: 255-255.255
[   10.262389] usb 3-3: USB disconnect, device number 3
[   10.262595] Bluetooth: hci0: FW download error recovery failed (-19)
[   10.262662] Bluetooth: hci0: sending frame failed (-19)

There're a couple of "6.8.2-arch2-1 doesn't shutdown, reboot or suspend because bluetooth" threads around.
No problem w/ 6.8.2-arch1-1 ?

Offline

#8 2024-03-31 17:19:04

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [DUPLICATED] kernel NULL pointer dereference

seth wrote:

There're a couple of "6.8.2-arch2-1 doesn't shutdown, reboot or suspend because bluetooth" threads around.
No problem w/ 6.8.2-arch1-1 ?

Just downgraded to 6.8.2-arch1-1 and there's no BUG line in dmesg ATM. Thanks!

EDIT: I spoke too soon... BUG is back at next reboot. It seems to appear randomly.

Last edited by midian (2024-03-31 17:34:42)

Offline

#9 2024-03-31 17:27:08

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

Re: [DUPLICATED] kernel NULL pointer dereference

midian wrote:

EDIT: I spoke too soon... BUG is back at next reboot. It seems to appear randomly.

Sadly not surprising as the only change between the two releases was to Xen networking.
Edit:
https://lore.kernel.org/lkml/CABBYNZKDa … ail.com/t/ which is same fix as I used in https://bbs.archlinux.org/viewtopic.php … 1#p2160941

Last edited by loqs (2024-03-31 17:32:42)

Online

#10 2024-03-31 17:31:02

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [DUPLICATED] kernel NULL pointer dereference

loqs wrote:

Sadly not surprising as the only change between the two releases was to Xen networking.

I'll try with older version and see what happens

Offline

#11 2024-03-31 17:44:19

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [DUPLICATED] kernel NULL pointer dereference

midian wrote:

I'll try with older version and see what happens

I rebooted several times with 6.8.1 and didn't get the BUG line anymore.
It didn't magically fix my reboot issues but I think they're related to nvidia gfx somehow instead of bluetooth, so it's probably a different issue.

Edit: went back to 6.7.9 as with 6.8.1 sometimes Gnome scales incorrectly (all text is smaller than normal)

Last edited by midian (2024-03-31 17:53:53)

Offline

#12 2024-03-31 21:53:01

seth
Member
Registered: 2012-09-03
Posts: 52,262

Re: [DUPLICATED] kernel NULL pointer dereference

It didn't magically fix my reboot issues but I think they're related to nvidia gfx somehow instead of bluetooth, so it's probably a different issue.

Edit: went back to 6.7.9 as with 6.8.1 sometimes Gnome scales incorrectly (all text is smaller than normal)

You might want to open a dedicated thread for that  and post the complete system journal for a 6.8.1 boot there.

Offline

#13 2024-04-01 03:10:26

jronald
Member
Registered: 2022-05-09
Posts: 74

Re: [DUPLICATED] kernel NULL pointer dereference

Same problem with
linux 6.8.2.arch2-1
nvidia-open-dkms 550.67-3

It hangs very frequently when reboot and shutdown.

Before that, it doesn't hang. And the bluetooth failures are always there, so it should not be the cause.

Last edited by jronald (2024-04-01 05:47:26)

Offline

#14 2024-04-01 07:31:00

ambra
Member
Registered: 2019-10-01
Posts: 10

Re: [DUPLICATED] kernel NULL pointer dereference

Same here. But I also have problems with system freezes when I want to suspend... I will try to investigate.

Offline

#15 2024-04-01 07:35:08

seth
Member
Registered: 2012-09-03
Posts: 52,262

Offline

#16 2024-04-01 18:28:00

daizhirui
Member
Registered: 2023-07-12
Posts: 2

Re: [DUPLICATED] kernel NULL pointer dereference

I have the same issue. But it is unrelated to the kernel. Either 6.8.1 or 6.8.2 cannot shutdown or reboot due to this kernel NULL pointer bug if I login Plasma 6.0.3. If I click shut down or reboot without login, it shuts down or reboots correctly. If I connect my laptop to its power adapter, then this issue disappears.

Last edited by daizhirui (2024-04-01 18:35:29)

Offline

#17 2024-04-01 19:03:07

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

Re: [DUPLICATED] kernel NULL pointer dereference

@jronald @daizhirui have you posted a full journal somewhere from an affected boot?

Online

#18 2024-04-02 19:10:21

berturion
Member
Registered: 2018-06-19
Posts: 22

Re: [DUPLICATED] kernel NULL pointer dereference

Hi, I already posted this elsewhere (https://bbs.archlinux.org/viewtopic.php … 1#p2161591) but I was told it was not the right place and I think this thread is the good one.

My problem occurs with all my installed kernels :

  • linux-lts 6.6.23-1

  • linux-zen 6.8.2.zen2-1

  • linux 6.8.2.arch2-1

If I shutdown the computer then turn it on again, bluetooth fails to initialize. Also, when bluetooth is not correctly initialized, the command

inxi -F

never ends. When bluetooth is in this failed state, my computer doesn't shutdown correctly, a bunch of lines coresponding to the shutdown procedure is displayed and I have to maintain the power button few seconds to force the shutdown. The next boot is ok after that. So it occurs every 2 reboots. I tested with the 3 different kernels I have. Exact same behavior.

Workaround : I noticed that when I turn off my computer and I unplug the power cable then replug it, then turn my computer on, Bluetooth is initialized correctly every time.

My hardware :

$ sudo inxi -F
System:
  Host: horus Kernel: 6.8.2-zen2-1-zen arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.0.2 Distro: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: X570 I AORUS PRO WIFI v: -CF
    serial: N/A
  Mobo: Gigabyte model: X570 I AORUS PRO WIFI v: x.x serial: N/A
    UEFI: American Megatrends LLC. v: F35 date: 01/04/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 2337 min/max: 2200/4850 cores: 1: 2200 2: 2200 3: 2800
    4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    13: 3800 14: 2200 15: 2200 16: 2200
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    driver: amdgpu v: kernel
  Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4 driver: X:
    loaded: amdgpu unloaded: modesetting dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.3-arch1.2
    renderer: AMD Radeon RX 6700 XT (radeonsi navi22 LLVM 17.0.6 DRM 3.57
    6.8.2-zen2-1-zen)
  API: Vulkan v: 1.3.279 drivers: radv surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
  API: ALSA v: k6.8.2-zen2-1-zen status: kernel-api
Network:
  Device-1: Intel I211 Gigabit Network driver: igb
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: 18:c0:4d:89:ad:8c
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlan0 state: down mac: 72:07:22:63:fd:9c
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: 34:C9:3D:10:EC:4D bt-v: 5.2
Drives:
  Local Storage: total: 931.51 GiB used: 432.73 GiB (46.5%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Blue SN570 1TB
    size: 931.51 GiB
Partition:
  ID-1: / size: 480.3 GiB used: 432.27 GiB (90.0%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 1020 MiB used: 471.6 MiB (46.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p5
Sensors:
  System Temperatures: cpu: 49.8 C mobo: 35.0 C gpu: amdgpu temp: 37.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB available: 31.26 GiB used: 3.91 GiB (12.5%)
  Processes: 408 Uptime: 0m Shell: Sudo inxi: 3.3.33
sudo uname -a
Linux horus 6.8.2-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:20 +0000 x86_64 GNU/Linux

When my bluetooth is not initialized correctly (every two reboots) :

[    7.927680] Bluetooth: HCI device and connection manager initialized
[    7.927683] Bluetooth: HCI socket layer initialized
[    7.927685] Bluetooth: L2CAP socket layer initialized
[    7.927690] Bluetooth: SCO socket layer initialized
[    7.928132] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.928279] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.928368] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    7.929935] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.929939] cfg80211: failed to load regulatory.db
[    7.930173] cryptd: max_cpu_qlen set to 1000
[    7.939548] AVX2 version of gcm_enc/dec engaged.
[    7.939586] AES CTR mode by8 optimization enabled
[    7.954633] pps pps0: new PPS source ptp0
[    7.954688] igb 0000:04:00.0: added PHC on eth0
[    7.954710] igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
[    7.954712] igb 0000:04:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 18:c0:4d:89:ad:8c
[    7.954715] igb 0000:04:00.0: eth0: PBA No: FFFFFF-0FF
[    7.954716] igb 0000:04:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[    7.961920] Intel(R) Wireless WiFi driver for Linux
[    7.961959] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
[    7.964929] igb 0000:04:00.0 enp4s0: renamed from eth0
[    7.965671] iwlwifi 0000:05:00.0: Detected crf-id 0x3617, cnv-id 0x100530 wfpm id 0x80000000
[    7.965678] iwlwifi 0000:05:00.0: PCI dev 2723/0084, rev=0x340, rfid=0x10a100
[    7.966222] usbcore: registered new interface driver btusb
[    7.969551] iwlwifi 0000:05:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[    7.969709] iwlwifi 0000:05:00.0: loaded firmware version 77.ad46c98b.0 cc-a0-77.ucode op_mode iwlmvm
[    7.977215] snd_hda_intel 0000:0b:00.1: Handle vga_switcheroo audio client
[    7.977223] snd_hda_intel 0000:0b:00.1: Force to non-snoop mode
[    7.977423] snd_hda_intel 0000:0d:00.4: enabling device (0000 -> 0002)
[    7.983097] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[    7.983111] Bluetooth: hci0: Boot Address: 0x24800
[    7.983113] Bluetooth: hci0: Firmware Version: 255-255.255
[    7.985646] snd_hda_intel 0000:0b:00.1: bound 0000:0b:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    7.986207] usb 1-2: USB disconnect, device number 3
[    7.986419] Bluetooth: hci0: FW download error recovery failed (-19)
[    7.986450] Bluetooth: hci0: sending frame failed (-19)
[    7.986458] BUG: kernel NULL pointer dereference, address: 0000000000000070
[    7.986478] #PF: supervisor read access in kernel mode
[    7.986489] #PF: error_code(0x0000) - not-present page
[    7.986499] PGD 0 P4D 0 
[    7.986509] Oops: 0000 [#1] PREEMPT SMP NOPTI
[    7.986519] CPU: 8 PID: 190 Comm: kworker/u65:0 Not tainted 6.8.2-zen2-1-zen #1 2f27ac2810bbd221aea68cde2f42843e48e62d59
[    7.986538] Hardware name: Gigabyte Technology Co., Ltd. X570 I AORUS PRO WIFI/X570 I AORUS PRO WIFI, BIOS F35 01/04/2022
[    7.986555] Workqueue: hci0 hci_power_on [bluetooth]
[    7.986606] RIP: 0010:btintel_read_debug_features+0x4d/0xf0 [btintel]
[    7.986623] 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 c0 e9 ff 48 89 c3 48 3d 00 f0 ff ff 77 49 <83> 78 70 13 75 67 48 8b 80 d0 00 00 00 be 02 00 00 00 48 89 df 48
[    7.986647] RSP: 0018:ffffb379c0fefbf0 EFLAGS: 00010207
[    7.986659] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8ff0d1a36a01
[    7.986672] RDX: 0000000000000000 RSI: 0000000000000202 RDI: ffff8ff0d1a36aa8
[    7.986686] RBP: ffffb379c0fefc20 R08: ffff8ff0d1a36ab0 R09: 0000000000000000
[    7.986698] R10: 0000000000000001 R11: ffff8ff0c0a46a80 R12: ffff8ff0d1a36000
[    7.986711] R13: ffffb379c0fefc8e R14: ffff8ff0d6f87005 R15: ffff8ff0d1a366d0
[    7.986725] FS:  0000000000000000(0000) GS:ffff8ff7dec00000(0000) knlGS:0000000000000000
[    7.986740] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    7.986751] CR2: 0000000000000070 CR3: 0000000113fec000 CR4: 0000000000f50ef0
[    7.986764] PKRU: 55555554
[    7.986771] Call Trace:
[    7.986778]  <TASK>
[    7.986785]  ? __die+0x10f/0x120
[    7.986796]  ? page_fault_oops+0x171/0x4e0
[    7.986807]  ? srso_alias_return_thunk+0x5/0xfbef5
[    7.986818]  ? schedule_timeout+0x23b/0x360
[    7.986830]  ? exc_page_fault+0x7f/0x180
[    7.986841]  ? asm_exc_page_fault+0x26/0x30
[    7.986854]  ? btintel_read_debug_features+0x4d/0xf0 [btintel c0459191ac3c9cd9855b2a00db1332e7e478e027]
[    7.986875]  btintel_register_devcoredump_support.isra.0+0x3e/0x110 [btintel c0459191ac3c9cd9855b2a00db1332e7e478e027]
[    7.986897]  btintel_setup_combined+0x2cf/0x2520 [btintel c0459191ac3c9cd9855b2a00db1332e7e478e027]
[    7.986917]  ? srso_alias_return_thunk+0x5/0xfbef5
[    7.986927]  ? xhci_urb_enqueue+0x1e6/0x350
[    7.986940]  ? srso_alias_return_thunk+0x5/0xfbef5
[    7.986950]  ? srso_alias_return_thunk+0x5/0xfbef5
[    7.986958]  ? rpm_suspend+0x8bd/0x8f0
[    7.986967]  ? srso_alias_return_thunk+0x5/0xfbef5
[    7.986976]  ? try_to_grab_pending+0xe1/0x1b0
[    7.986989]  hci_dev_open_sync+0x105/0xc80 [bluetooth f0c45fd6e7bc1b89a965814d3d830a36ec569dcc]
[    7.987034]  hci_power_on+0x74/0x2e0 [bluetooth f0c45fd6e7bc1b89a965814d3d830a36ec569dcc]
[    7.987063]  ? _raw_spin_unlock_irq+0x15/0x30
[    7.987072]  process_one_work+0x186/0x360
[    7.987081]  worker_thread+0x38e/0x530
[    7.987090]  ? __pfx_worker_thread+0x10/0x10
[    7.987097]  kthread+0xe8/0x120
[    7.987104]  ? __pfx_kthread+0x10/0x10
[    7.987112]  ret_from_fork+0x34/0x50
[    7.987120]  ? __pfx_kthread+0x10/0x10
[    7.987128]  ret_from_fork_asm+0x1b/0x30
[    7.987139]  </TASK>
[    7.987143] Modules linked in: snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul polyval_clmulni vfat snd_hda_intel polyval_generic gf128mul fat snd_intel_dspcfg libarc4 snd_intel_sdw_acpi ghash_clmulni_intel sha512_ssse3 snd_hda_codec btusb sha256_ssse3 snd_hda_core btrtl sha1_ssse3 snd_hwdep iwlwifi aesni_intel btintel snd_pcm crypto_simd btbcm btmtk snd_timer cryptd bluetooth gigabyte_wmi igb wmi_bmof snd sp5100_tco rapl cfg80211 acpi_cpufreq pcspkr ecdh_generic k10temp ptp soundcore i2c_piix4 ccp pps_core mousedev joydev dca rfkill mac_hid pkcs8_key_parser i2c_dev dm_mod crypto_user fuse loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid amdgpu video amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_buddy nvme drm_display_helper nvme_core crc32c_intel cec xhci_pci nvme_auth xhci_pci_renesas wmi
[    7.987291] CR2: 0000000000000070
[    7.987300] ---[ end trace 0000000000000000 ]---

When my bluetooth is initialized correctly (with my workaround procedure, or the reboot after a failed initialization) :

[    7.846479] NET: Registered PF_BLUETOOTH protocol family
[    7.846480] Bluetooth: HCI device and connection manager initialized
[    7.846483] Bluetooth: HCI socket layer initialized
[    7.846485] Bluetooth: L2CAP socket layer initialized
[    7.846490] Bluetooth: SCO socket layer initialized
[    7.861840] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.862007] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.862101] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    7.862519] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.862522] cfg80211: failed to load regulatory.db
[    7.863128] usbcore: registered new interface driver btusb
[    7.864540] snd_hda_intel 0000:0b:00.1: Handle vga_switcheroo audio client
[    7.864543] snd_hda_intel 0000:0b:00.1: Force to non-snoop mode
[    7.864896] snd_hda_intel 0000:0d:00.4: enabling device (0000 -> 0002)
[    7.865048] Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
[    7.867049] Bluetooth: hci0: Device revision is 1
[    7.867052] Bluetooth: hci0: Secure boot is enabled
[    7.867053] Bluetooth: hci0: OTP lock is enabled
[    7.867053] Bluetooth: hci0: API lock is enabled
[    7.867054] Bluetooth: hci0: Debug lock is disabled
[    7.867055] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    7.869516] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[    7.869531] Bluetooth: hci0: Boot Address: 0x24800
[    7.869532] Bluetooth: hci0: Firmware Version: 255-255.255
[    7.878253] Intel(R) Wireless WiFi driver for Linux
[    7.878283] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
[    7.878797] snd_hda_intel 0000:0b:00.1: bound 0000:0b:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    7.879810] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0/input8
[    7.879853] input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0/input9
[    7.879887] input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0/input10
[    7.879927] input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0/input11
[    7.879964] input: HDA ATI HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0/input12
[    7.880010] input: HDA ATI HDMI HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0/input13
[    7.881677] iwlwifi 0000:05:00.0: Detected crf-id 0x3617, cnv-id 0x100530 wfpm id 0x80000000
[    7.881684] iwlwifi 0000:05:00.0: PCI dev 2723/0084, rev=0x340, rfid=0x10a100
[    7.885183] iwlwifi 0000:05:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[    7.885394] iwlwifi 0000:05:00.0: loaded firmware version 77.ad46c98b.0 cc-a0-77.ucode op_mode iwlmvm
[    7.903684] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    7.903688] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.903689] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    7.903691] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    7.903692] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    7.903693] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    7.903695] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    7.903696] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    7.906166] intel_rapl_common: Found RAPL domain package
[    7.906168] intel_rapl_common: Found RAPL domain core
[    7.914981] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input14
[    7.915025] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input15
[    7.915071] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input16
[    7.915120] input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input17
[    7.915162] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input18
[    7.959820] iwlwifi 0000:05:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[    7.959863] thermal thermal_zone3: failed to read out thermal zone (-61)
[    8.083718] iwlwifi 0000:05:00.0: Detected RF HR B3, rfid=0x10a100
[    8.148339] iwlwifi 0000:05:00.0: base HW address: 34:c9:3d:10:ec:49
[    8.690341] NET: Registered PF_ALG protocol family
[    8.698397] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.698399] Bluetooth: BNEP filters: protocol multicast
[    8.698401] Bluetooth: BNEP socket layer initialized
[    9.205127] Bluetooth: hci0: Waiting for firmware download to complete
[    9.206012] Bluetooth: hci0: Firmware loaded in 1305169 usecs
[    9.206048] Bluetooth: hci0: Waiting for device to boot
[    9.221014] Bluetooth: hci0: Device booted in 14628 usecs
[    9.221025] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
[    9.221630] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
[    9.227017] Bluetooth: hci0: Applying Intel DDC parameters completed
[    9.230020] Bluetooth: hci0: Firmware revision 0.3 build 249 week 27 2023
[    9.236029] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
[    9.406108] Bluetooth: MGMT ver 1.22
[    9.920745] block nvme0n1: No UUID available providing old NGUID
[   10.525736] Bluetooth: RFCOMM TTY layer initialized
[   10.525744] Bluetooth: RFCOMM socket layer initialized
[   10.525746] Bluetooth: RFCOMM ver 1.11

Last edited by berturion (2024-04-02 19:11:25)

Offline

#19 2024-04-02 19:40:04

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

Re: [DUPLICATED] kernel NULL pointer dereference

@berturion does the fix from https://bbs.archlinux.org/viewtopic.php … 1#p2160941 fix your issue?

Online

#20 2024-04-03 10:48:44

jronald
Member
Registered: 2022-05-09
Posts: 74

Re: [DUPLICATED] kernel NULL pointer dereference

Offline

#21 2024-04-03 19:56:11

berturion
Member
Registered: 2018-06-19
Posts: 22

Re: [DUPLICATED] kernel NULL pointer dereference

loqs wrote:

@berturion does the fix from https://bbs.archlinux.org/viewtopic.php … 1#p2160941 fix your issue?

Yes, every time I reboot, my bluetooth works with this kernel.

Offline

Board footer

Powered by FluxBB