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


Groups > linux.debian.bugs.dist > #1194272

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

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1069077: es8316 driver causes kernel oops / panic on rockpro64
Date 2024-04-16 10:50 +0200
Message-ID <ItMFP-6D3P-1@gated-at.bofh.it> (permalink)
References <ItE5z-6xPK-3@gated-at.bofh.it> <ItHPP-6A9u-1@gated-at.bofh.it> <ItE5z-6xPK-3@gated-at.bofh.it> <ItHPP-6A9u-1@gated-at.bofh.it>
Organization Connecting Knowledge

Cross-posted to 2 groups.

Show all headers | View raw


[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?

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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
  Bug#1069077:  Forest <forestix@nom.one> - 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

csiph-web