From owner-freebsd-current@freebsd.org Fri May 7 18:01:48 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 537F16376BC for ; Fri, 7 May 2021 18:01:48 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FcJDX1tlRz4vWw for ; Fri, 7 May 2021 18:01:48 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 40C6663732E; Fri, 7 May 2021 18:01:48 +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 409286374D1 for ; Fri, 7 May 2021 18:01:48 +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 4FcJDX1RK6z4v5y; Fri, 7 May 2021 18:01:48 +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 0A8317C0C; Fri, 7 May 2021 18:01:48 +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 8405B3DC5; Fri, 7 May 2021 21:01:44 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame To: Jesper Schmitz Mouridsen , current@freebsd.org References: <479cb9d3-a759-eaed-45f7-003965075e6b@FreeBSD.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: <2546f4e8-6b24-e933-399c-89ad10d6b42e@FreeBSD.org> Date: Fri, 7 May 2021 21:01:44 +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 In-Reply-To: <479cb9d3-a759-eaed-45f7-003965075e6b@FreeBSD.org> 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 18:01:48 -0000 On 07.05.2021 19:09, Jesper Schmitz Mouridsen wrote: > 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 Maybe, it is same bug, maybe there are two bugs. Looks like on my hardware rtsx corrupts kernel memory: most crashes are in another place. > 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. Nope, slot is empty. I'll try this combination too :). -- // Lev Serebryakov