🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.ports.arm
Article #7

Bug#1151632: linux: config: consider setting DRIVER_DEFERRED_PROBE_TIMEOUT to -1 (arm64 luks laptops)

#7
From: Agathe Porte
Date: Thu, 22 Oct 2026 14:00
56 lines
4144 bytes
Source: linux
Version: 7.2.11-1
Severity: wishlist
X-Debbugs-Cc: debian-arm@lists.debian.org, agathe.porte@oss.qualcomm.com
User: debian-arm@lists.debian.org
Usertags: arm64

Dear Maintainer,

(self-reporting, I intent to create the necessary PRs in salsa)

arm64 laptops that are using luks encryption need to set the
deferred_probe_timeout=30 command-line option to avoid having a timeout
while typing the LUKS password.

Quoting the commit [1] that introduced DRIVER_DEFERRED_PROBE_TIMEOUT as
a Kconfig option for the justification:

> Code using driver_deferred_probe_check_state() differs from most
> EPROBE_DEFER handling in the kernel. Where other EPROBE_DEFER handling
> (e.g. clks, gpios and regulators) waits indefinitely for suppliers to
> show up, code using driver_deferred_probe_check_state() will fail
> after the deferred_probe_timeout.
> 
> This is a problem for generic distro kernels which want to support many
> boards using a single kernel build. These kernels want as much drivers to
> be modular as possible. The initrd also should be as small as possible,
> so the initrd will *not* have drivers not needing to get the rootfs.
> 
> Combine this with waiting for a full-disk encryption password in
> the initrd and it is pretty much guaranteed that the default 10s timeout
> will be hit, causing probe() failures when drivers on the rootfs happen
> to get modprobe-d before other rootfs modules providing their suppliers.
> 
> Make the default timeout configurable from Kconfig to allow distro kernel
> configs where many of the supplier drivers are modules to set the default
> through Kconfig.
> 
> Reviewed-by: Saravana Kannan <saravanak@kernel.org>
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
> Link: https://patch.msgid.link/20260314084916.10868-1-johannes.goede@oss.qualcomm.com
> [ Drop deferred_probe_timeout documentation change in
>   kernel-parameters.txt. - Danilo ]
> Signed-off-by: Danilo Krummrich <dakr@kernel.org>

Since this option now allows for distributions to change the default 10s
value to something else, we can now tweak the Debian kernel to have a
more generous timeout (eg. 30s) or even disable the timeout so that
taking time to enter a LUKS decryption key does not lead to driver
timeouts on arm64 laptops.

Thanks,

Agathe.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/base/Kconfig?id=56e3ee721b33bdc4ce0765d370983aa4384f8a59
Technical Details
Message-ID: <NR1uN-7bXB-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Agathe Porte <agathe.porte@oss.qualcomm.com>
Newsgroups: linux.debian.bugs.dist,linux.debian.ports.arm,linux.debian.kernel
Subject: Bug#1151632: linux: config: consider setting DRIVER_DEFERRED_PROBE_TIMEOUT to -1 (arm64 luks laptops)
Date: Thu, 22 Oct 2026 16:00:01 +0200
Message-ID: <NR1uN-7bXB-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 22 13:51:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Agathe Porte <agathe.porte@oss.qualcomm.com>, 1151632@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-arm@lists.debian.org, agathe.porte@oss.qualcomm.com, debian-kernel@lists.debian.org
X-Debian-Pr-Message: report 1151632
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Source: linux
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998101
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 22 Oct 2026 15:48:25 +0200
X-Original-Message-ID: <179267690522.7706.13648352441559545735.reportbug@localhost>