[Bug 285867] 14.2-RELEASE kernel hangs on Thinkpad T400

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Apr 2025 17:58:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285867

--- Comment #6 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Henrich Hartzer from comment #5)
OK.
So modules loaded via /boot/loader.conf shouldn't be the cause of the issue.
kmods (actually) loaded via devd and/or kld_list cannot matter for single user
mode.

Safe mode sets loader variables below:
  kern.smp.disabled=1
  hw.ata.ata_dma=0
  hw.ata.atapi_dma=0
  kern.eventtimer.periodic=1
  kern.geom.part.check_integrity=0

The relevant code is function core.setSafeMode(safe_mode) below.
  https://cgit.freebsd.org/src/tree/stand/lua/core.lua?h=releng/14.2#n173


The first one forces cores other than the primary to be disabled, and would be
unlikely affecting.

The last one forces to skip integrity checks for partition infos. And as your
fsck runs sane, it would be unlikely affecting.

So next to be tried would be flipping remaining 3 one by one and determine
which one (or all, or any combinations of 2) is causing the hang.
You can set them via /boot/loader.conf.

-- 
You are receiving this mail because:
You are the assignee for the bug.