From owner-freebsd-current@freebsd.org Fri May 7 13:22:20 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 1B6D462D13B for ; Fri, 7 May 2021 13:22:20 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FcB236LTZz4bL3 for ; Fri, 7 May 2021 13:22:19 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id D9C6B62CD58; Fri, 7 May 2021 13:22:19 +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 D98F462CDE7 for ; Fri, 7 May 2021 13:22:19 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FcB235XjLz4bV9; Fri, 7 May 2021 13:22:19 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id h4so9229675wrt.12; Fri, 07 May 2021 06:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=7O34Pe6J08Me5j3mCMN8iv84d3xMBVy6nQ+i4mE2it4=; b=dZHc57ON97D6mq0b1UD0Mnc5DzRF0qIu2mGL6EJP0x1E154LmJgnioADFfHjQ1tFZX ilVWuuygimHBAb925PKyWsyFqDuQCMsPOBm3w9yTxxqc75Qui4CClgBYHDG1g59yNQ1w REcQh3nZ+lyBK8DcLI7wQf1t/uadXoulWmBxXCzOfKh/VR/R4dE52PJu1ln6oQ/ToUPH B083zVZUPwVB1lwB2O2biVQd+gHEQQG/y3RKDRAHBAdbJEvUGhwlQB3AQnhyJV0K8Rt4 4H6ga1ym41wsWQgq0EsigrvTI4iEVjxX2Nr6nRCobIwlSYVLqw4Ac0o6bbX2xa9ye8HC Te0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=7O34Pe6J08Me5j3mCMN8iv84d3xMBVy6nQ+i4mE2it4=; b=Sja3IcHwa2WVYPfFqt7JXlJ2vxuTt9GN5v4QC+DphVopEM5CZ0lrB0vgq8lgCR5m1o DSuibYVxTaOZLaaG7ylkhDJYSYX7Xz1C3ko+5NP15mYZej9htZiA3oeu5h7FR8GZV5i/ Bfpu/uyEuYAWY91ZXPSA0FjYJxj3lYqVAj1smHgKiRuCqyVhzHYt+SFsNBpF20lfVygM MnK9GI9hWYOS/T0j1CkR7SbKSRApgFG1+YUy0f9T1SDS2bck0fc/zG5pv4eB0YW7/svB O8aJxJP68YS9TSKqIencn6BU7C+iMjVgqk3WG+PspviXz+cZEb/61CsN4eefFaxbzj4u Wgag== X-Gm-Message-State: AOAM5300973onUFn3sCUNHPs1Ccbx37+Sv1lEko3wRd3vPWuVJ02kEeD VxmnD8UtKYAMoOrqEjFrmyC3J+hxsgk= X-Google-Smtp-Source: ABdhPJz5Kw6e1aXMO2kaNNaMTY3JqzcU9OwhYdRvQ834c5AJ/Bdynxo+CLorQi+H5aUIJtNqLkjANg== X-Received: by 2002:a5d:64e5:: with SMTP id g5mr12578991wri.30.1620393737540; Fri, 07 May 2021 06:22:17 -0700 (PDT) Received: from ernst.home (pd9e23d76.dip0.t-ipconnect.de. [217.226.61.118]) by smtp.gmail.com with ESMTPSA id z6sm6676108wmf.9.2021.05.07.06.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 06:22:17 -0700 (PDT) Date: Fri, 7 May 2021 15:22:15 +0200 From: Gary Jennejohn To: Lev Serebryakov Cc: current@freebsd.org, jsm@FreeBSD.org, hlh@restart.be Subject: Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way! Message-ID: <20210507132215.2469c296@ernst.home> In-Reply-To: <37122994-8172-b943-2602-fd1b4e9af78a@FreeBSD.org> References: <740cd7a0-3faf-7a56-80f7-dbb9bdacb55b@FreeBSD.org> <37122994-8172-b943-2602-fd1b4e9af78a@FreeBSD.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FcB235XjLz4bV9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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 13:22:20 -0000 On Fri, 7 May 2021 15:01:13 +0300 Lev Serebryakov wrote: > On 07.05.2021 14:36, Lev Serebryakov wrote: > > >> Looks like there is problem with rtsx driver! > > Oh, I forgot to add: disabling SD Card Reader in BIOS solves problem! > > > > And console on these crashes is totally dead, and disks are not > > detected yet, so I can not look at structures in memory and/or > > dump core. > > 13.0-RELEASE installation media crashes in same way if SD reader is > enabled in BIOS. > I see that rtsx was added to GENERIC. Might have been premature. The only thing I can recommend is to install with the SD card reader disabled in the BIOS. It may be the case that rtsx still works even if the card reader is disabled in the BIOS. That's the first thing I would try out. If that fails then generate a kernel with rtsx as a module rather than it being hard coded into the kernel. You could then re-enable the SD card reader in the BIOS and load the module to check whether the SD card reader works or causes a panic when the moduke is loaded. This approach might make it possible to get a crash dump if a problem occurs. -- Gary Jennejohn (gj@freebsd.org)