From owner-freebsd-current@freebsd.org Wed May 12 17:23:42 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 A2294646819 for ; Wed, 12 May 2021 17:23:42 +0000 (UTC) (envelope-from marc@bumblingdork.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4FgM8F4BYcz4sJ9 for ; Wed, 12 May 2021 17:23:41 +0000 (UTC) (envelope-from marc@bumblingdork.com) Received: by mail-ej1-x629.google.com with SMTP id l4so36140661ejc.10 for ; Wed, 12 May 2021 10:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bumblingdork.com; s=google; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=jl9iO3MWP16mEvKJFfHiYaSaVYUcvCyNNb+GsGBqoOU=; b=UYhCSMmiIRjvtjJHJkpakLUJLFBF54q2qElAeDqVSxxTWyy/u+WgV1yreG2voJlKPY mDhDyvhQr1cgcD1h/yvpbjnRb5OhifiHfo3WcRglEQ2L6su02egyV5hI7xXAOQyySRp3 rwRvRrP4N5TJW5m0q01j5jYjKmY0XdnLSoU1ZGNCNZdv/FX3xvP6JOxY05Z9vooA5RJL 7hCqvrC8byUgjpBNwWFmvlnMvtOpOHmsdMei++tz+hsKHmzsXAdIGoEakH44p+t1ZW7E 8uYDXF0kBpS+Vt0gjXsDTJF4KE4EwDGa2vvAukw23VXpW0JdCEf0mn9q+gYLcgPP86mY lHsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=jl9iO3MWP16mEvKJFfHiYaSaVYUcvCyNNb+GsGBqoOU=; b=Rmf3FTHDyGdzyNva/BU5PBa47NhaIcQVEHQmWoFST4MzDd5IqWD1dY4D3QzSx6YpRf e+DTkllDiWJvN56MwN0g/LkxszWKBwl6HzeDjfODqHOApxFzbE49BMJSO8JcIAbdHh4I gIyRLtpOtJRZBc4iP6PU0SYSGOGyR8BS2A547FcfjVsElrDosj8TkHNiuFngjRDTYHNi Bl2vVvuZqmWSeS5C7FFCmGAfu3+TFKktJJn+muA8sW0Hj7ag7iS1NjwcPv6jm8ocfxws 9ua6z+aMAVB9RlGiQOqfhRUqicQ+NgY5LPqOlIDbMNKqqiJ+U2dGbFbRKMNR0SEaTz8Z pJ7w== X-Gm-Message-State: AOAM532U3gcSLCNIHoSPbWlTHBrwHnyjikl1nqsb3fzOZQukHe3PJzSe O4MGI53J9fSdDfub6k/l6xilyQ== X-Google-Smtp-Source: ABdhPJwFiXsytggPCIWZfNwEBeqlqK/nyyLkhJ1p99Q00IFg0KGPxy/GQv1bPc2d0ZNSpG6+7bEO1w== X-Received: by 2002:a17:906:36da:: with SMTP id b26mr39257303ejc.8.1620840220134; Wed, 12 May 2021 10:23:40 -0700 (PDT) Received: from smtpclient.apple ([2001:981:3350:1:61d1:5950:867f:372a]) by smtp.gmail.com with ESMTPSA id g9sm226369ejo.8.2021.05.12.10.23.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 May 2021 10:23:39 -0700 (PDT) From: Marc Veldman Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way! Date: Wed, 12 May 2021 19:23:38 +0200 References: <740cd7a0-3faf-7a56-80f7-dbb9bdacb55b@FreeBSD.org> <37122994-8172-b943-2602-fd1b4e9af78a@FreeBSD.org> <20210512122747.51d2f574@laptop.domain> <1e23c1de-7529-0be9-c4ec-83d17b2b6bac@restart.be> <20210512133456.57f374f4@ernst.home> <20210512141130.755ae361@ernst.home> To: Henri Hennebert , freebsd-current@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FgM8F4BYcz4sJ9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bumblingdork.com header.s=google header.b=UYhCSMmi; dmarc=pass (policy=none) header.from=bumblingdork.com; spf=pass (mx1.freebsd.org: domain of marc@bumblingdork.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=marc@bumblingdork.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[bumblingdork.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bumblingdork.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SUBJECT_ENDS_EXCLAIM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::629:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bumblingdork.com:s=google]; FREEFALL_USER(0.00)[marc]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::629:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] 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: Wed, 12 May 2021 17:23:42 -0000 > On 12 May 2021, at 17:46, Henri Hennebert wrote: >=20 > On 5/12/21 5:04 PM, Marc Veldman wrote: >> Unfortunately I can only say =E2=80=9Cme too=E2=80=9D, but on a = different Lenovo laptop. >> I=E2=80=99ve put my diagnostics in this thread, with the SVN revision = in which it seems to have broken. >> = https://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D327822+0+archive/2020/free= bsd-current/20201227.freebsd-current >> I=E2=80=99m willing to help debug the issue if someone can give me = some pointers. >=20 > Just to try something: >=20 > Does disabling the WIFI in the BIOS (if possible at all) allow a clean = boot with rtsx in the kernel config? >=20 Yes. With wifi disabled in the BIOS, the laptop boots both with and = without a card inserted. Booting a recent GENERIC with the following /boot/loader.conf #dev.rtsx.0.inversion=3D"1" kern.geom.label.disk_ident.enable=3D"0" kern.geom.label.gptid.enable=3D"0" kern.geom.label.disk_ident.enable=3D"0" kern.geom.label.gptid.enable=3D"0" cryptodev_load=3D"YES" zfs_load=3D=E2=80=9CYES" uname -a:=20 FreeBSD supernovo 14.0-CURRENT FreeBSD 14.0-CURRENT #0 = main-n246598-30659d1dcbc: Wed May 12 10:53:48 CEST 2021 = marc@devnovo:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > can you also try a boot with a card inserted as in case (2) of Lev = tests. Booting with card inserted, wifi enabled in BIOS succeeds. Booting with no card inserted wifi enabled in BIOS fails. Booting with a card insert wifi enabled in BIOS succeeds. Booting with no card inserted with wifi disabled in BIOS succeeds The dev.rtsx.0.inversion flag inverts the behaviour: With wifi enabled booting fails with the card inserted and succeeds with no card inserted. Best regards, Marc Veldman