Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2021 18:09:25 +0200
From:      Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
To:        lev@FreeBSD.org, current@freebsd.org
Subject:   Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame
Message-ID:  <479cb9d3-a759-eaed-45f7-003965075e6b@FreeBSD.org>
In-Reply-To: <a7363387-c53f-d6c0-acc0-be9081590ea1@FreeBSD.org>
References:  <a7363387-c53f-d6c0-acc0-be9081590ea1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479cb9d3-a759-eaed-45f7-003965075e6b>