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

From: Jesper Schmitz Mouridsen <jsm_at_FreeBSD.org>
Date: Fri, 7 May 2021 18:09:25 +0200
On 07.05.2021 13.33, Lev Serebryakov wrote:
>
> 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:
>
Perhaps similar to bug reported here 
https://forums.freebsd.org/threads/boot-timeout-error-on-rtsx-freebsd-13-0-hp-840-g3.80031/#post-508072 


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255130

Do you happen to have an empty adapter (sd->micro sd) inserted in the 
slot. That causes a card-inserted interrupt, on all the realtek sd-card 
readers I have touched.

Regards

> -- 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.
>
Received on Fri May 07 2021 - 14:09:30 UTC

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