CURRENT crashes at early boot on Lenovo T540p: rtsx to blame

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Fri, 7 May 2021 14:33:27 +0300
  Several versions of 14-CURRENT (including FreeBSD-14.0-CURRENT-amd64-20210506-49c894ddced-246502-memstick.img) can not boot on Lenovo T540p 19 times out of 20.

  It crashes on device detection, after detecting sound subsystem, with traps 9 and 12 (9 is more often) and mostly with this stacktrace (9 out of 10 crashes have this stacktrace:

-- trap
run_interrupt_driven_config_hooks()
boot_run_interrupt_driven_config_hooks()
mi_startup()
btext()


  But twice I've got more interesting stacktraces:

-- trap
strlen()
kvprintf()
vsnprintf()
vpanic()
panic()
__mtx_lock_flags()
_sleep()
mmc_wait_for_request()
mmc_wait_for_cmd()
mmc_go_discovery()
mmc_delayed_attach()
run_interrupt_driven_config_hooks()
boot_run_interrupt_driven_config_hooks()
mi_startup()
btext()

--- trap
__mtx_lock_sleep()
__mtx_lock_flags()
mmc_wakeup()
rtsx_intr()
ithread_loop()
fork_exit()
fork_trampoline()

   Looks like there is problem with rtsx driver!

   I've checked memory with memtest86+ for 24 hours (4.5 passes) without any problems.

-- 
// Lev Serebryakov
Received on Fri May 07 2021 - 09:33:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC