Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82234 > unrolled thread

Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures

Started byForest <forestix@sonic.net>
First post2024-04-16 01:40 +0200
Last post2024-05-17 20:40 +0200
Articles 12 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures Forest <forestix@sonic.net> - 2024-04-16 01:40 +0200
    Bug#1069077:  Forest <forestix@nom.one> - 2024-04-16 05:40 +0200
      Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64 Diederik de Haas <didi.debian@cknow.org> - 2024-04-16 10:50 +0200
        Bug#1069077: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64 Forest <forestix@nom.one> - 2024-04-16 23:10 +0200
    Processed: Re: Bug#1069077: es8316 driver causes kernel oops /  panic on rockpro64 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-16 10:50 +0200
    Processed: Re:  Re: Bug#1069077: es8316 driver causes kernel oops  / panic on rockpro64 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-16 23:10 +0200
    Bug#1069077:  Forest <forestix@nom.one> - 2024-05-05 01:40 +0200
    Processed: "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-05 01:40 +0200
    Bug#1069077:  Forest <forestix@nom.one> - 2024-05-17 03:40 +0200
      Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures Diederik de Haas <didi.debian@cknow.org> - 2024-05-17 12:30 +0200
        Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures Forest <forestix@nom.one> - 2024-05-17 20:40 +0200
    Processed: Re: Bug#1069077: rockpro64: multiple kernel oops and  frequent boot failures "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-17 20:40 +0200

#82234 — Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures

FromForest <forestix@sonic.net>
Date2024-04-16 01:40 +0200
SubjectBug#1069077: rockpro64: multiple kernel oops and frequent boot failures
Message-ID<ItE5z-6xPK-3@gated-at.bofh.it>
Package: src:linux
Version: 6.7.9-2
Severity: important
X-Debbugs-Cc: forestix@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

[toc] | [next] | [standalone]


#82235 — Bug#1069077:

FromForest <forestix@nom.one>
Date2024-04-16 05:40 +0200
SubjectBug#1069077:
Message-ID<ItHPP-6A9u-1@gated-at.bofh.it>
In reply to#82234
Control: retitle es8316 driver causes kernel oops / panic on rockpro64

Blacklisting the snd_soc_es8316 module in /etc/modprobe.d seems to restore
kernel stability, as far as I have seen from half a dozen reboots.

[toc] | [prev] | [next] | [standalone]


#82237 — Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64

FromDiederik de Haas <didi.debian@cknow.org>
Date2024-04-16 10:50 +0200
SubjectBug#1069077: es8316 driver causes kernel oops / panic on rockpro64
Message-ID<ItMFP-6D3P-1@gated-at.bofh.it>
In reply to#82235

[Multipart message — attachments visible in raw view] — view raw

Control: retitle -1 es8316 driver causes kernel oops / panic on rockpro64

On Tuesday, 16 April 2024 01:37:57 CEST Forest wrote:
> 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.)

On Tuesday, 16 April 2024 05:21:13 CEST Forest wrote:
> Blacklisting the snd_soc_es8316 module in /etc/modprobe.d seems to restore
> kernel stability, as far as I have seen from half a dozen reboots.

Can you try the Debian Testing kernel, which is at version 6.6.15?

If the 6.6.15 kernel does work properly, then the 3 commits for
the es8316 driver in kernel 6.7 are the most likely suspects:
869f30782cda ASoC: es8316: Enable support for MCLK div by 2
a43c0dc1004c ASoC: es8316: Replace NR_SUPPORTED_MCLK_LRCK_RATIOS with ARRAY_SIZE()
2f06f231f0bf ASoC: es8316: Enable support for S32 LE format

Attached you'll find 3 patches which revert those commits.
https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.4
describes a procedure with which you can apply patches to the
(6.7) kernel. If that makes the 6.7 kernel work properly again, we
likely have found the culprit for the kernel oops/panic.

Can you first try the Testing (6.6.15) kernel and if that works try
applying the attached patches to the 6.7 kernel?

[toc] | [prev] | [next] | [standalone]


#82258 — Bug#1069077: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64

FromForest <forestix@nom.one>
Date2024-04-16 23:10 +0200
SubjectBug#1069077: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64
Message-ID<ItYdX-6Ksb-1@gated-at.bofh.it>
In reply to#82237
Control: found -1 6.6.15-2


On Tue, 16 Apr 2024 10:34:45 +0200, Diederik de Haas wrote:

>Can you try the Debian Testing kernel, which is at version 6.6.15?

6.6.15-2 also has the bug.

[toc] | [prev] | [next] | [standalone]


#82238 — Processed: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-04-16 10:50 +0200
SubjectProcessed: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64
Message-ID<ItMFP-6D3P-5@gated-at.bofh.it>
In reply to#82234
Processing control commands:

> retitle -1 es8316 driver causes kernel oops / panic on rockpro64
Bug #1069077 [src:linux] rockpro64: multiple kernel oops and frequent boot failures
Changed Bug title to 'es8316 driver causes kernel oops / panic on rockpro64' from 'rockpro64: multiple kernel oops and frequent boot failures'.

-- 
1069077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069077
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#82257 — Processed: Re: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-04-16 23:10 +0200
SubjectProcessed: Re: Re: Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64
Message-ID<ItYdX-6Ksb-11@gated-at.bofh.it>
In reply to#82234
Processing control commands:

> found -1 6.6.15-2
Bug #1069077 [src:linux] es8316 driver causes kernel oops / panic on rockpro64
Marked as found in versions linux/6.6.15-2.

-- 
1069077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069077
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#82348 — Bug#1069077:

FromForest <forestix@nom.one>
Date2024-05-05 01:40 +0200
SubjectBug#1069077:
Message-ID<IAx8Z-b88Y-1@gated-at.bofh.it>
In reply to#82234
Control: found -1 6.7.12-1

[toc] | [prev] | [next] | [standalone]


#82349 — Processed:

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-05-05 01:40 +0200
SubjectProcessed:
Message-ID<IAx8Z-b88Y-7@gated-at.bofh.it>
In reply to#82234
Processing control commands:

> found -1 6.7.12-1
Bug #1069077 [src:linux] es8316 driver causes kernel oops / panic on rockpro64
Marked as found in versions linux/6.7.12-1.

-- 
1069077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069077
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#82445 — Bug#1069077:

FromForest <forestix@nom.one>
Date2024-05-17 03:40 +0200
SubjectBug#1069077:
Message-ID<IEUJH-dQPW-3@gated-at.bofh.it>
In reply to#82234
A git bisect reveals it to be fixed by this commit:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f7a59018953910032231c0a019208c4b0a4a8bc3

> maple_tree: make mas_erase() more robust
> 
> mas_erase() may not deal correctly with all maple states.  Make the
> function more robust by ensuring the state is in one of the two acceptable
> states.

[toc] | [prev] | [next] | [standalone]


#82452

FromDiederik de Haas <didi.debian@cknow.org>
Date2024-05-17 12:30 +0200
Message-ID<IF30B-dWgz-1@gated-at.bofh.it>
In reply to#82445

[Multipart message — attachments visible in raw view] — view raw

On Friday, 17 May 2024 03:36:35 CEST Forest wrote:
> A git bisect reveals it to be fixed by this commit:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=
> f7a59018953910032231c0a019208c4b0a4a8bc3
> > maple_tree: make mas_erase() more robust
> > 
> > mas_erase() may not deal correctly with all maple states.  Make the
> > function more robust by ensuring the state is in one of the two acceptable
> > states.

Kernel 6.8.9 has recently been uploaded to Unstable which has that commit.
Can you verify that it indeed fixes this bug?

[toc] | [prev] | [next] | [standalone]


#82466

FromForest <forestix@nom.one>
Date2024-05-17 20:40 +0200
Message-ID<IFaEN-e0S8-5@gated-at.bofh.it>
In reply to#82452
Control: fixed -1 6.8.9-1

On Fri, 17 May 2024 12:15:55 +0200, Diederik de Haas wrote:

>Kernel 6.8.9 has recently been uploaded to Unstable which has that commit.
>Can you verify that it indeed fixes this bug?

Indeed, it seems to be fixed there. It usually takes only one or two boots
to show up, but I didn't see it in five reboots with kernel 6.8.9. This
matches what I found while bisecting for the past week.

Note that I have not examined the es8316 driver code or its relationship to
maple_tree. I don't know if the bug was in maple_tree and now fixed, or
still lurks within the driver but is now hidden as a result of the
maple_tree changes. In any case, I'm happy to report that I no longer see it
breaking the OS in this newer kernel.

[toc] | [prev] | [next] | [standalone]


#82467 — Processed: Re: Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-05-17 20:40 +0200
SubjectProcessed: Re: Bug#1069077: rockpro64: multiple kernel oops and frequent boot failures
Message-ID<IFaEN-e0S8-3@gated-at.bofh.it>
In reply to#82234
Processing control commands:

> fixed -1 6.8.9-1
Bug #1069077 [src:linux] es8316 driver causes kernel oops / panic on rockpro64
Marked as fixed in versions linux/6.8.9-1.

-- 
1069077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069077
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web