From owner-freebsd-current@freebsd.org Thu May 13 09:49: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 5E151638E83 for ; Thu, 13 May 2021 09:49:48 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [37.187.123.11]) (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 (2048 bits) client-digest SHA256) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fgn230FMzz4fxW; Thu, 13 May 2021 09:49:46 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=192.168.25.127; helo=restart.be; envelope-from=hlh@restart.be; receiver= DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 4Fgn21051vz4j Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 4Fgn21051vz4j; Thu, 13 May 2021 11:49:41 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.16.1/8.16.1) with ESMTPSA id 14D9nbsd008273 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=OK); Thu, 13 May 2021 11:49:40 +0200 (CEST) (envelope-from hlh@restart.be) X-Authentication-Warning: norquay.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1] claimed to be morzine.restart.bel Subject: Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way! To: Marc Veldman Cc: freebsd-current@freebsd.org, "lev@freebsd.org" 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> <9f0abf48-ed13-bff3-5687-fca0d57195d8@restart.be> <664e1728-8c8c-0967-81a9-f7b6e047ddb7@restart.be> <2C68D31D-B24E-44B3-AF80-D215C1D1A56E@bumblingdork.com> From: Henri Hennebert Message-ID: <261e5e3b-6522-2bca-a689-16e5abcd8f8e@restart.be> Date: Thu, 13 May 2021 11:49:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <2C68D31D-B24E-44B3-AF80-D215C1D1A56E@bumblingdork.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Fgn230FMzz4fxW X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:37.187.123.11/32:c]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[restart.be:+]; DMARC_POLICY_ALLOW(-0.50)[restart.be,reject]; 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)[37.187.123.11:from]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[37.187.123.11:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; 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: Thu, 13 May 2021 09:49:48 -0000 On 5/13/21 6:00 AM, Marc Veldman wrote: > >> On 12 May 2021, at 20:49, Henri Hennebert wrote: >> >> On 5/12/21 8:01 PM, Marc Veldman wrote: >>>> On 12 May 2021, at 18:06, Henri Hennebert wrote: >>>> >>>> On 5/12/21 5:04 PM, Marc Veldman wrote: >>>>> Unfortunately I can only say “me too”, but on a different Lenovo laptop. >>>>> I’ve 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=327822+0+archive/2020/freebsd-current/20201227.freebsd-current >>>> >>>> I your first message on the thread I see >>>> >>>> "mmc0: detached" >>>> >>>> do you have the previous lines of the dmesg? >>>> >>> This is what I can see on the display: >>> (Copied by hand, so there might be some typos) >>> pcib2: at device 28.2 on pci0 >>> pci2: on pcib2 >>> pci2: at device 0.0 (no driver attached) >>> pcib3: at device 29.0 on pci0 >>> pci3: on pcib3 >>> vgapci1: port 0xd000-0xd07f mem 0xf3000000-0xf3ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff at device 0.0 on pci3 >>> isab0: at device 31.0 on pci0 >>> isa0: on isab0 >>> pci0: at device 31.2 (no driver attached) >>> hdac0: mem 0xf4240000-0xf4243fff,0xf4230000-0xf423ffff at device 31.3 on pci0 >>> em0: mem 0xf4200000-0xf421ffff at device 31.6 on pci0 >>> em0: Using 1024 TX descriptors and 1024 RX descriptors >>> em0: Using an MSI interrupt >>> em0: Ethernet address: 54:ee:75:cb:0d:e3 >>> em0: netmap queues/slots: TX 1/1024, RX 1/1024 >>> acpi_tz0: on acpi0 >>> atkbdc0: port 0x60,0x64 irq 1 on acpi0 >>> atkbd0: irq 1 on atkbdc0 >>> kbd0 at atkbd0 >>> atkbd0: [GIANT-LOCKED] >>> psm0: irq 12 on atkbdc0 >>> psm0: [GIANT-LOCKED] >>> WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. >>> psm0: model Synaptics Touchpad, device ID 0 >>> battery0: on acpi0 >>> battery1: on acpi0 >>> acpi_acad0: on acpi0 >>> orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 >>> hwpstate_intel0: on cpu0 >>> hwpstate_intel1: on cpu1 >>> hwpstate_intel2: on cpu2 >>> hwpstate_intel3: on cpu3 >>> Timecounters tick every 1.000 msec >>> ZFS filesystem version: 5 >>> ZFS storage pool version: features support (5000) >> >> Do you see an rtsx message before this mmc0 ? >> >>> mmc0: detached >>> ugen0.1: <0x8086 > > > Yes. > rtsx0: <2.0c Realtek RT5522A PCI MMC/SD Card reader mem 0xf4100000-0xf4100fff at device 0.0 on pci1> > rtsx0: Card present > mmc0: on rtsx0 > rtsx0: Interrupt card inserted/removed > rtsx0: Card absent The "card present" and just after the iterrupt and "card absent" seems strange... Can you please show the dmesg after a warm reboot with no card inserted. > pcib2: ad device 28.2 on pci0 > … (continue as above, with panic) > > Note: The card is not inserted. > > >>> XHCI root HUB> at usbus0 >>> Fatal trap 9: general protection fault while in kernel mode >>> cupid = 3; apic id = 03 >>> …. >>> …. >>> I’m not sure if this is an interesting data point or not, >>> but a warm boot without the card inserted succeeds after >>> a cold boot with the card inserted. >> >> This remind me of a case of rebooting FreeBSD after a window session. >> I will check in my mail archive... >> >> Thank you for your time > > Best regards, > > Marc Veldman >