[Solved] Debian 12.8: kernel panic with reboot or shutdown with ASUSTeK PRIME B460M-A

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
jfabernathy
Posts: 59
Joined: 2023-04-10 12:19
Location: Raleigh, NC
Has thanked: 7 times
Been thanked: 5 times

[Solved] Debian 12.8: kernel panic with reboot or shutdown with ASUSTeK PRIME B460M-A

#1 Post by jfabernathy »

I installed Debian 12.8 without a DE today on a Intel 10th gen PC. I ended up with the 6.1.29 kernel. I was working with it via ssh and every time I rebooted nothing happened. I hit the reset button to recover. I also tested shutdown, same issue. I finally re-hooked up a monitor to the PC and saw that a kernel panic happened. I've never seen this behavior. I remembered that on a very new N100 PC I had to install the bookworm backport kernel and firmware just to have wifi and bluetooth work. In this case I didn't need either of those two so I went with the standard stuff.

So when I installed:

Code: Select all

sudo apt install -t bookworm-backports linux-image-amd64
sudo apt install -t bookworm-backports firmware-realtek
reboot and shutdown work. Is this expected on an Intel 10th Gen PC with a Realtek NIC?

Code: Select all

$ inxi -Fxxx
System:
  Host: mythtv Kernel: 6.11.10+bpo-amd64 arch: x86_64 bits: 64 compiler: N/A Console: pty pts/0
    Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B460M-A v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1620 date: 07/09/2021
CPU:
  Info: quad core model: Intel Core i3-10100 bits: 64 type: MT MCP smt: enabled arch: Comet Lake
    rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 800 min/max: 800/4300 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800
    7: 800 8: 800 bogomips: 57600
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-9.5 ports: active: HDMI-A-2 empty: DP-1,HDMI-A-1,HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:9bc8 class-ID: 0300
  Device-2: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
    vendor: Hauppauge works WinTV-quadHD driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 06:00.0 chip-ID: 14f1:8880 class-ID: 0400
  Device-3: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
    vendor: Hauppauge works driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0
    chip-ID: 14f1:8880 class-ID: 0400
  Display: server: Xwayland v: 22.1.9 driver: gpu: i915 note: X driver n/a tty: 175x55
  Monitor-1: HDMI-A-2 model: Sony TV 30 serial: 16843009 res: 3840x2160 dpi: 68
    size: 1439x809mm (56.65x31.85") diag: 1651mm (65") modes: max: 3840x2160 min: 640x480
  API: OpenGL Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: Intel Comet Lake PCH-V cAVS vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:a3f0 class-ID: 0403
  Device-2: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
    vendor: Hauppauge works WinTV-quadHD driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 06:00.0 chip-ID: 14f1:8880 class-ID: 0400
  Device-3: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
    vendor: Hauppauge works driver: cx23885 v: 0.0.4 pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0
    chip-ID: 14f1:8880 class-ID: 0400
  API: ALSA v: k6.11.10+bpo-amd64 status: kernel-api
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 7c:10:c9:41:d5:c1
  Device-2: Intel 82572EI Gigabit Ethernet driver: e1000e v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 08:00.0 chip-ID: 8086:10b9 class-ID: 0200
  IF: enp8s0 state: down mac: 00:1b:21:1e:54:05
Drives:
  Local Storage: total: 9.55 TiB used: 153.69 GiB (1.6%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G2B0C-00PXH0 size: 465.76 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: 21375D802051 rev: 233010WD temp: 30.9 C scheme: GPT
  ID-2: /dev/sda vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB speed: 6.0 Gb/s
    type: HDD rpm: 5980 serial: ZDHASSXD rev: SC60
  ID-3: /dev/sdb vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB speed: 6.0 Gb/s
    type: HDD rpm: 5980 serial: ZDHASSZH rev: SC60
  ID-4: /dev/sdc type: USB vendor: Toshiba model: HDWD120 size: 1.82 TiB type: HDD rpm: 7200
    serial: 58NYHGNCS scheme: GPT
Partition:
  ID-1: / size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 475.1 MiB used: 5.8 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2
  ID-4: /var/log size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2
  ID-5: /var/tmp size: 465.29 GiB used: 5.12 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: zram size: 3.87 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 213 Uptime: 3m wakeups: 0 Memory: 15.47 GiB used: 878 MiB (5.5%) Init: systemd v: 252
  target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Packages: pm: dpkg
  pkgs: 1566 Shell: Bash v: 5.2.15 running-in: pty pts/0 (SSH) inxi: 3.3.26
Last edited by jfabernathy on 2025-01-12 18:53, edited 2 times in total.

Aki
Global Moderator
Global Moderator
Posts: 4276
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 125 times
Been thanked: 576 times

Re: Kernel panic with reboot or shutdown

#2 Post by Aki »

Hello,
jfabernathy wrote: 2025-01-11 21:34 I installed Debian 12.8 without a DE today on a Intel 10th gen PC. I ended up with the 6.1.29 kernel. I was working with it via ssh and every time I rebooted nothing happened. I hit the reset button to recover. I also tested shutdown, same issue. I finally re-hooked up a monitor to the PC and saw that a kernel panic happened. I've never seen this behavior. I remembered that on a very new N100 PC I had to install the bookworm backport kernel and firmware just to have wifi and bluetooth work. In this case I didn't need either of those two so I went with the standard stuff.

So when I installed:

Code: Select all

sudo apt install -t bookworm-backports linux-image-amd64
sudo apt install -t bookworm-backports firmware-realtek
reboot and shutdown work.

Is this expected on an Intel 10th Gen PC with a Realtek NIC?

Code: Select all

$ inxi -Fxxx
System:
  Host: mythtv Kernel: 6.11.10+bpo-amd64 arch: x86_64 bits: 64 compiler: N/A Console: pty pts/0
    Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B460M-A v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1620 date: 07/09/2021
The shutdown sequence sometimes fails to complete due to hardware (CPU and/or motherboard chipset and/or peripherals) or firmware incompatibilities (e.g. ACPI, peripherals firmware), especially with newer hardware.

If I read correctly, your ASUSTeK PRIME B460M-A user manual [1] is dated "May 2020" and the Linux kernel 6.1.0 has been released:

Code: Select all

$ git log --tags --simplify-by-decoration --pretty="format:%ci %d" | grep 6\.1\.1
[..]
2022-12-21 17:48:12 +0100  (tag: v6.1.1)
So newer kernels may fix the problem by adding support for newer hardware.

It might be interesting to have a screen copy of the kernel dump back-trace for future reference.

If you agree, please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message and adding the hardware involved, e.g.:
Debian 12.8: kernel panic with reboot or shutdown with ASUSTeK PRIME B460M-A
Thanks.

Happy Debian ! :)

--
[1] PRIME B460M-A - User Manual

--
note: moved to "Hardware" sub-forum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

jfabernathy
Posts: 59
Joined: 2023-04-10 12:19
Location: Raleigh, NC
Has thanked: 7 times
Been thanked: 5 times

Re: Kernel panic with reboot or shutdown

#3 Post by jfabernathy »

I've been running the backport kernel, 6.11.10+bpo-amd64, for about 24hr. with multiple reboots. Things were either fixed by that kernel or the firmware-realtek, 20240709-2~bpo12+1. That firmware package from backport brings in a lot of newer firmware beyond just Realtek.

At this point I'm installing the backport kernel and firmware on any hardware that is gen 10 or newer. I do know the same hardware works fine on Ubuntu 24.04 LTS which is 6.8 kernel.

mrmazda
Posts: 573
Joined: 2023-06-02 02:22
Has thanked: 15 times
Been thanked: 71 times

Re: [Solved] Debian 12.8: kernel panic with reboot or shutdown with ASUSTeK PRIME B460M-A

#4 Post by mrmazda »

No one should need a backport kernel for a 10th Gen Comet Lake CPU or GPU. My 1 year newer 11th gen i5-11400 on Asus PRIME B560M-A runs Bookworm just fine on 6.1:

Code: Select all

System:
  Host: ab560 Kernel: 6.1.0-28-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz root=LABEL=<filter> noresume
    ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off
  Desktop: TDE (Trinity) v: R14.1.3 tk: Qt v: 3.5.0 wm: Twin v: 3.0
    with: kicker vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: PRIME B560M-A v: Rev 1.xx serial: <filter>
    UEFI: American Megatrends v: 1601 date: 05/07/2022
CPU:
  Info: 6-core 11th Gen Intel Core i5-11400 [MT MCP] arch: Rocket Lake
    speed (MHz): avg: 800 min/max: 800/4400
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] vendor: ASUSTeK
    driver: i915 v: kernel arch: Xe process: Intel 10nm built: 2020-21 ports:
    active: DP-1,HDMI-A-1,HDMI-A-2 empty: HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:4c8b class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Twin v: 3.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3600x2640 s-dpi: 120 s-size: 762x558mm (30.00x21.97")
    s-diag: 944mm (37.18")
  Monitor-1: DP-1 pos: primary,bottom-l model: Acer K272HUL serial: <filter>
    built: 2018 res: mode: 2560x1440 hz: 60 scale: 100% (1) dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: top-left model: NEC EA243WM
    serial: <filter> built: 2011 res: mode: 1920x1200 hz: 60 scale: 100% (1)
    dpi: 94 gamma: 1.2 size: 519x324mm (20.43x12.76") diag: 612mm (24.1")
    ratio: 16:10 modes: max: 1920x1200 min: 640x480
  Monitor-3: HDMI-A-2 mapped: HDMI-2 pos: top-right model: Dell P2213
    serial: <filter> built: 2013 res: mode: 1680x1050 hz: 60 scale: 100% (1)
    dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65") diag: 558mm (22")
    ratio: 16:10 modes: max: 1680x1050 min: 720x400
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15fa class-ID: 0200
#
Mine does require a backport 6.1 kernel to run Bullseye.

jfabernathy
Posts: 59
Joined: 2023-04-10 12:19
Location: Raleigh, NC
Has thanked: 7 times
Been thanked: 5 times

Re: [Solved] Debian 12.8: kernel panic with reboot or shutdown with ASUSTeK PRIME B460M-A

#5 Post by jfabernathy »

I also have a 11th gen Core i7 NUC that works fine on 6.1 but the NIC is Intel. My NIC on the Asustek board is Realtek. Maybe that is the real problem?

I don't think there is any harm is running the 6.11 backport kernel. It solved my problem for now and nothing else has popped up. I have a N100 NUC that does require the 6.11 kernel so the WiFi and Bluetooth work. Both of those devices are also Realtek.

Post Reply