From owner-freebsd-current@freebsd.org Fri May 7 11:33:32 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16440629C0D for ; Fri, 7 May 2021 11:33:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fc7cX06nzz4VBj for ; Fri, 7 May 2021 11:33:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 041E4629DA0; Fri, 7 May 2021 11:33:32 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03EAD629D9F for ; Fri, 7 May 2021 11:33:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fc7cW6mxSz4VH6 for ; Fri, 7 May 2021 11:33:31 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id C0C874AAA for ; Fri, 7 May 2021 11:33:31 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.134.16] (unknown [94.19.224.8]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 2D84B3D3F for ; Fri, 7 May 2021 14:33:28 +0300 (MSK) To: current@freebsd.org Reply-To: lev@FreeBSD.org From: Lev Serebryakov Subject: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame Organization: FreeBSD Message-ID: Date: Fri, 7 May 2021 14:33:27 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2021 11:33:32 -0000 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