From owner-freebsd-current@freebsd.org Thu May 13 15:33:16 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 80D60645A81 for ; Thu, 13 May 2021 15:33:16 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FgwfN144zz3Kh1 for ; Thu, 13 May 2021 15:33:15 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 14DFXdqf005837 for ; Thu, 13 May 2021 08:33:45 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Thu, 13 May 2021 08:33:39 -0700 From: Chris To: freebsd-current@freebsd.org Subject: Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way! In-Reply-To: <261e5e3b-6522-2bca-a689-16e5abcd8f8e@restart.be> 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> <261e5e3b-6522-2bca-a689-16e5abcd8f8e@restart.be> User-Agent: UDNSMS/17.0 Message-ID: X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FgwfN144zz3Kh1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] 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 15:33:16 -0000 On 2021-05-13 02:49, Henri Hennebert via freebsd-current wrote: > 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... I've been following this thread for awhile. Doesn't this look like an interrupt sharing/storm problem? MSI vs MSI-X maybe? Just thought I'd throw that out. --Chris > > 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 >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"