Package: src:linux
Version: 6.7.9-2
Severity: important
X-Debbugs-Cc: fores...@sonic.net

Dear Maintainer,

The current debian unstable kernel causes a variety of failures that are not
present in the bookworm kernel, on the RockPro64 single board computer. (This
is an arm64 machine built upon the Rockchip rk3399 SoC.)

The system is sometimes able to reach a state where sshd login works, allowing
me to run reportbug, but not always. Regardless of whether it gets that far,
dmesg often contains one or more stack traces, along with messages like these:

  kernel BUG at mm/slub.c:448!
  Internal error: Oops - BUG: 00000000f2000800 [#1] SMP

  WARNING: CPU: 2 PID: 0 at kernel/context_tracking.c:128 
ct_kernel_exit.isra.0+0xa0/0xa8

  Unable to handle kernel paging request at virtual address 4daee1bbcd3980fb

I have noticed es8316 driver error messages preceding some of these stack
traces, though I'm not sure if that is always the case.

Sometimes the stack traces appear only once, during boot, and the system
appears to run normally after that. Other times, they appear every few minutes,
and various things like network services and the ability to cleanly shut down,
or even log in at the serial console, fail. In one case, I noticed a message
mentioning a kernel panic in the serial console output when I was trying to
shut down.

Since the worst examples of failure prevent me from logging in, I am unable to
run reportbug to capture information about those cases.

Reverting to linux-image-6.1.0-20-arm64 solves the problem.


-- Package-specific info:
** Version:
Linux version 6.7.9-arm64 (debian-kernel@lists.debian.org) 
(aarch64-linux-gnu-gcc-13 (Debian 13.2.0-18) 13.2.0, GNU ld (GNU Binutils for 
Debian) 2.42) #1 SMP Debian 6.7.9-2 (2024-03-13)

** Command line:
root=/dev/mapper/XXXXXXXX console=ttyS2,1500000n8 net.ifnames=0

** Tainted: DWC (1664)
 * kernel died recently, i.e. there was an OOPS or BUG
 * kernel issued warning
 * staging driver was loaded

** Kernel log:
[   56.250803]  driver_attach+0x2c/0x40
[   56.250809]  bus_add_driver+0x11c/0x238
[   56.250814]  driver_register+0x64/0x138
[   56.250821]  __platform_driver_register+0x30/0x48
[   56.252550]  graph_card_init+0x28/0xff8 [snd_soc_audio_graph_card]
[   56.252565]  do_one_initcall+0x60/0x298
[   56.252574]  do_init_module+0x60/0x218
[   56.252581]  load_module+0x22b4/0x23b8
[   56.252588]  __do_sys_init_module+0x230/0x290
[   56.252593]  __arm64_sys_init_module+0x24/0x38
[   56.252599]  invoke_syscall+0x78/0x100
[   56.252609]  el0_svc_common.constprop.0+0xc8/0xf0
[   56.252617]  do_el0_svc+0x24/0x38
[   56.252624]  el0_svc+0x3c/0x108
[   56.252633]  el0t_64_sync_handler+0x120/0x130
[   56.252639]  el0t_64_sync+0x190/0x198
[   56.256943] Code: 52800024 97fff9b4 a94563f7 17ffffd0 (d4210000) 
[   56.256952] ---[ end trace 0000000000000000 ]---
[   56.256957] note: (udev-worker)[554] exited with irqs disabled
[   56.257262] ------------[ cut here ]------------
[   56.258816] WARNING: CPU: 2 PID: 0 at kernel/context_tracking.c:128 
ct_kernel_exit.isra.0+0xa0/0xa8
[   56.259633] Modules linked in: snd_soc_audio_graph_card(+) 
snd_soc_simple_card snd_soc_rockchip_i2s evdev snd_soc_spdif_tx 
snd_soc_simple_card_utils snd_soc_es8316 snd_soc_hdmi_codec v4l2_vp9 
rockchip_rga v4l2_h264 videobuf2_dma_contig snd_soc_core v4l2_mem2mem 
sha512_arm64 videobuf2_dma_sg governor_simpleondemand snd_compress 
snd_pcm_dmaengine snd_pcm videobuf2_memops panfrost dw_wdt videobuf2_v4l2 
snd_timer ofpart gpu_sched snd drbg(+) leds_gpio pwm_fan drm_shmem_helper 
spi_nor videodev des_generic ansi_cprng dw_hdmi_i2s_audio dw_hdmi_cec rk_crypto 
ecdh_generic(+) rockchip_saradc gpio_ir_recv rfkill videobuf2_common mc 
crypto_engine ecc nvmem_rockchip_efuse soundcore libdes mtd rockchip_thermal 
coresight_cpu_debug industrialio_triggered_buffer sg kfifo_buf coresight_etm4x 
rockchip_dfi industrialio coresight cpufreq_dt loop efi_pstore configfs 
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic dm_crypt 
dm_mod dax sd_mod t10_pi xhci_plat_hcd xhci_hcd crc64_rocksoft_generic 
crc64_rocksoft crc_t10dif
[   56.259856]  crct10dif_generic crc64 realtek ahci libahci libata 
rk808_regulator dwc3 scsi_mod udc_core scsi_common fusb302 tcpm ulpi typec 
crct10dif_ce crct10dif_common polyval_ce rockchipdrm polyval_generic dw_hdmi 
dwmac_rk fan53555 cec ghash_ce stmmac_platform rc_core stmmac gf128mul 
dw_mipi_dsi analogix_dp sha2_ce pcs_xpcs pwm_regulator sha256_arm64 
drm_display_helper phylink ohci_platform sha1_ce dwc3_of_simple of_mdio 
gpio_rockchip gpio_keys ohci_hcd ehci_platform drm_dma_helper fixed_phy 
sdhci_of_arasan ehci_hcd sdhci_pltfm drm_kms_helper cqhci dw_mmc_rockchip 
fwnode_mdio phy_rockchip_inno_usb2 phy_rockchip_emmc phy_rockchip_pcie 
phy_rockchip_typec usbcore io_domain pl330 pwm_rockchip spi_rockchip drm 
dw_mmc_pltfm sdhci libphy dw_mmc i2c_rk3x usb_common fixed aes_neon_bs 
aes_neon_blk aes_ce_blk aes_ce_cipher
[   56.274047] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D  C         
6.7.9-arm64 #1  Debian 6.7.9-2
[   56.274058] Hardware name: Pine64 RockPro64 v2.0 (DT)
[   56.274062] pstate: 200003c5 (nzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   56.274068] pc : ct_kernel_exit.isra.0+0xa0/0xa8
[   56.276315] lr : ct_idle_enter+0x14/0x20
[   56.277026] sp : ffff80008251bd60
[   56.277318] x29: ffff80008251bd60 x28: 0000000000000000 x27: 0000000000000000
[   56.277950] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000d1931434f
[   56.278580] x23: 0000000000000000 x22: ffff0000014b4080 x21: ffff0000f7746d38
[   56.279210] x20: 0000000000000005 x19: ffff0000f7744c60 x18: ffff800082ceafb8
[   56.279840] x17: 3030353264353730 x16: ffff800081052a28 x15: 0000000000000007
[   56.280470] x14: 0000000000000000 x13: 00000000000000f6 x12: ffff800081f9eb40
[   56.281100] x11: 071c71c71c71c71c x10: ffff0000f77471e4 x9 : ffff800080ddff30
[   56.281730] x8 : 0000000000000058 x7 : ffff0000f7747204 x6 : 00000000212226d8
[   56.282359] x5 : 4000000000000002 x4 : ffff800075d25000 x3 : ffff80008251bd60
[   56.282990] x2 : ffff800081a1fc60 x1 : ffff800081a1fc60 x0 : 4000000000000000
[   56.283620] Call trace:
[   56.283838]  ct_kernel_exit.isra.0+0xa0/0xa8
[   56.284219]  ct_idle_enter+0x14/0x20
[   56.284538]  cpuidle_enter_state+0x224/0x440
[   56.284917]  cpuidle_enter+0x40/0x60
[   56.285239]  do_idle+0x200/0x278
[   56.285529]  cpu_startup_entry+0x40/0x50
[   56.285878]  secondary_start_kernel+0x130/0x158
[   56.286283]  __secondary_switched+0xb8/0xc0
[   56.286657] ---[ end trace 0000000000000000 ]---
[   56.289379] rkvdec ff660000.video-codec: Adding to iommu group 2
[   56.290068] hantro-vpu ff650000.video-codec: Adding to iommu group 3
[   56.292027] hantro-vpu ff650000.video-codec: registered 
rockchip,rk3399-vpu-enc as /dev/video2
[   56.293318] hantro-vpu ff650000.video-codec: registered 
rockchip,rk3399-vpu-dec as /dev/video3
[   56.645176] Bluetooth: Core ver 2.22
[   56.645690] NET: Registered PF_BLUETOOTH protocol family
[   56.646158] Bluetooth: HCI device and connection manager initialized
[   56.646740] Bluetooth: HCI socket layer initialized
[   56.647188] Bluetooth: L2CAP socket layer initialized
[   56.647655] Bluetooth: SCO socket layer initialized
[   56.716241] Bluetooth: HCI UART driver ver 2.3
[   56.716645] Bluetooth: HCI UART protocol H4 registered
[   56.717161] Bluetooth: HCI UART protocol LL registered
[   56.717651] Bluetooth: HCI UART protocol ATH3K registered
[   56.718219] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   56.719022] Bluetooth: HCI UART protocol Intel registered
[   56.719626] Bluetooth: HCI UART protocol Broadcom registered
[   56.720172] Bluetooth: HCI UART protocol QCA registered
[   56.720631] Bluetooth: HCI UART protocol AG6XX registered
[   56.721145] Bluetooth: HCI UART protocol Marvell registered
[   56.826010] dw-apb-uart ff180000.serial: failed to request DMA
[   57.369357] EXT4-fs (mmcblk1p1): mounting ext2 file system using the ext4 
subsystem
[   57.381694] EXT4-fs (mmcblk1p1): mounted filesystem 
4f8b92f7-03c7-46ff-8354-44e8ccbbd121 r/w without journal. Quota mode: none.
[   58.321834] EXT4-fs (dm-1): mounted filesystem 
68e85a5c-303d-49bf-8607-00c88d05ec1c r/w with ordered data mode. Quota mode: 
none.
[   58.787474] audit: type=1400 audit(1713219112.812:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="lsb_release" pid=752 
comm="apparmor_parser"
[   58.789521] audit: type=1400 audit(1713219112.812:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=755 
comm="apparmor_parser"
[   58.790958] audit: type=1400 audit(1713219112.816:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_filter" pid=755 
comm="apparmor_parser"
[   58.793554] audit: type=1400 audit(1713219112.816:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_groff" pid=755 
comm="apparmor_parser"
[   58.794925] audit: type=1400 audit(1713219112.816:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=753 
comm="apparmor_parser"
[   58.796317] audit: type=1400 audit(1713219112.816:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" 
pid=753 comm="apparmor_parser"
[   58.814566] audit: type=1400 audit(1713219112.840:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/quasselcore" 
pid=756 comm="apparmor_parser"
[   58.816179] audit: type=1400 audit(1713219112.840:9): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/sbin/ntpd" pid=758 
comm="apparmor_parser"
[   58.817721] audit: type=1400 audit(1713219112.840:10): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="tcpdump" pid=757 
comm="apparmor_parser"
[   58.835723] audit: type=1400 audit(1713219112.860:11): apparmor="STATUS" 
operation="profile_load" profile="unconfined" 
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=754 
comm="apparmor_parser"
[   58.977652] Bluetooth: hci0: command 0x0c03 tx timeout
[   59.166726] rk_gmac-dwmac fe300000.ethernet eth0: Register 
MEM_TYPE_PAGE_POOL RxQ-0
[   59.237762] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver 
[RTL8211F Gigabit Ethernet] (irq=POLL)
[   59.249054] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support 
found
[   59.249878] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   59.250514] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii 
link mode
[   62.339172] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - 
flow control rx/tx
[   67.041818] Bluetooth: hci0: BCM: Reset failed (-110)
[  179.681629] kauditd_printk_skb: 3 callbacks suppressed
[  179.681645] audit: type=1400 audit(1713219233.703:15): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" 
pid=910 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  179.683927] audit: type=1400 audit(1713219233.707:16): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" 
pid=910 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  179.687958] audit: type=1400 audit(1713219233.707:17): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" 
name="/usr/local/lib/" pid=910 comm="quasselcore" requested_mask="r" 
denied_mask="r" fsuid=110 ouid=0
[  179.760592] audit: type=1400 audit(1713219233.783:18): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" 
pid=910 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  179.765607] audit: type=1400 audit(1713219233.783:19): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" 
pid=910 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  179.767414] audit: type=1400 audit(1713219233.783:20): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" 
pid=910 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  179.769192] audit: type=1400 audit(1713219233.783:21): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" 
name="/usr/local/lib/" pid=910 comm="quasselcore" requested_mask="r" 
denied_mask="r" fsuid=110 ouid=0
[  179.775711] audit: type=1400 audit(1713219233.799:22): apparmor="DENIED" 
operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" 
pid=910 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0

** Model information
Device Tree model: Pine64 RockPro64 v2.0

** Loaded modules:
binfmt_misc
hci_uart
btqca
btrtl
btintel
btbcm
bluetooth
sha3_generic
jitterentropy_rng
hantro_vpu
rockchip_vdec(C)
sha512_generic
snd_soc_audio_graph_card
snd_soc_simple_card
snd_soc_rockchip_i2s
evdev
snd_soc_spdif_tx
snd_soc_simple_card_utils
snd_soc_es8316
snd_soc_hdmi_codec
v4l2_vp9
rockchip_rga
v4l2_h264
videobuf2_dma_contig
snd_soc_core
v4l2_mem2mem
sha512_arm64
videobuf2_dma_sg
governor_simpleondemand
snd_compress
snd_pcm_dmaengine
snd_pcm
videobuf2_memops
panfrost
dw_wdt
videobuf2_v4l2
snd_timer
ofpart
gpu_sched
snd
drbg
leds_gpio
pwm_fan
drm_shmem_helper
spi_nor
videodev
des_generic
ansi_cprng
dw_hdmi_i2s_audio
dw_hdmi_cec
rk_crypto
ecdh_generic
rockchip_saradc
gpio_ir_recv
rfkill
videobuf2_common
mc
crypto_engine
ecc
nvmem_rockchip_efuse
soundcore
libdes
mtd
rockchip_thermal
coresight_cpu_debug
industrialio_triggered_buffer
sg
kfifo_buf
coresight_etm4x
rockchip_dfi
industrialio
coresight
cpufreq_dt
loop
efi_pstore
configfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
dm_crypt
dm_mod
dax
sd_mod
t10_pi
xhci_plat_hcd
xhci_hcd
crc64_rocksoft_generic
crc64_rocksoft
crc_t10dif
crct10dif_generic
crc64
realtek
ahci
libahci
libata
rk808_regulator
dwc3
scsi_mod
udc_core
scsi_common
fusb302
tcpm
ulpi
typec
crct10dif_ce
crct10dif_common
polyval_ce
rockchipdrm
polyval_generic
dw_hdmi
dwmac_rk
fan53555
cec
ghash_ce
stmmac_platform
rc_core
stmmac
gf128mul
dw_mipi_dsi
analogix_dp
sha2_ce
pcs_xpcs
pwm_regulator
sha256_arm64
drm_display_helper
phylink
ohci_platform
sha1_ce
dwc3_of_simple
of_mdio
gpio_rockchip
gpio_keys
ohci_hcd
ehci_platform
drm_dma_helper
fixed_phy
sdhci_of_arasan
ehci_hcd
sdhci_pltfm
drm_kms_helper
cqhci
dw_mmc_rockchip
fwnode_mdio
phy_rockchip_inno_usb2
phy_rockchip_emmc
phy_rockchip_pcie
phy_rockchip_typec
usbcore
io_domain
pl330
pwm_rockchip
spi_rockchip
drm
dw_mmc_pltfm
sdhci
libphy
dw_mmc
i2c_rk3x
usb_common
fixed
aes_neon_bs
aes_neon_blk
aes_ce_blk
aes_ce_cipher

** PCI devices:
00:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3399 PCI Express 
Root Port [1d87:0100] (prog-if 00 [Normal decode])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 56
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: fa000000-fa0fffff [size=1M] [32-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 
x2 4-port SATA 6 Gb/s Controller [1b4b:9235] (rev 11) (prog-if 01 [AHCI 1.0])
        Subsystem: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port 
SATA 6 Gb/s Controller [1b4b:9235]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 74
        Region 5: Memory at fa040000 (32-bit, non-prefetchable) [size=2K]
        Expansion ROM at fa000000 [size=256K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci


** USB devices:
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (1, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.7.9-arm64 (SMP w/6 CPU threads)
Kernel taint flags: TAINT_DIE, TAINT_WARN, TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-6.7.9-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142
ii  kmod                                    30+20221128-1
ii  linux-base                              4.9

Versions of packages linux-image-6.7.9-arm64 recommends:
ii  apparmor             3.0.8-3
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-6.7.9-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-6.7           <none>

Versions of packages linux-image-6.7.9-arm64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Reply via email to