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

Lev Serebryakov lev at FreeBSD.org
Fri May 7 11:33:32 UTC 2021


  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


More information about the freebsd-current mailing list