Date: Thu, 13 May 2021 14:06:20 +0200 From: Henri Hennebert <hlh@restart.be> To: Marc Veldman <marc@bumblingdork.com> Cc: freebsd-current@freebsd.org Subject: Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way! Message-ID: <4f396c9f-2e35-fa02-f313-a6a664836673@restart.be> In-Reply-To: <33D1DC7E-ECFA-4BA1-B0DE-FD7ADA2AB127@bumblingdork.com> References: <a7363387-c53f-d6c0-acc0-be9081590ea1@FreeBSD.org> <740cd7a0-3faf-7a56-80f7-dbb9bdacb55b@FreeBSD.org> <37122994-8172-b943-2602-fd1b4e9af78a@FreeBSD.org> <CALH631k8ek0UEB8LUv04YQg%2BzZUafUO2W4hcHBXqrTWDdDp7mg@mail.gmail.com> <20210512122747.51d2f574@laptop.domain> <1e23c1de-7529-0be9-c4ec-83d17b2b6bac@restart.be> <e49c4a5e-d567-522b-c60c-59faa054c807@FreeBSD.org> <20210512133456.57f374f4@ernst.home> <b72d8b9d-8cfd-84a7-59b2-c5a2b33416e7@FreeBSD.org> <20210512141130.755ae361@ernst.home> <D9843F30-308D-4F9F-A229-05639346564A@bumblingdork.com> <9f0abf48-ed13-bff3-5687-fca0d57195d8@restart.be> <C4E25C70-25BA-4BEB-83F0-D77279B2B94A@bumblingdork.com> <664e1728-8c8c-0967-81a9-f7b6e047ddb7@restart.be> <2C68D31D-B24E-44B3-AF80-D215C1D1A56E@bumblingdork.com> <261e5e3b-6522-2bca-a689-16e5abcd8f8e@restart.be> <33D1DC7E-ECFA-4BA1-B0DE-FD7ADA2AB127@bumblingdork.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/13/21 1:58 PM, Marc Veldman wrote: > > >> On 13 May 2021, at 11:49, Henri Hennebert <hlh@restart.be> wrote: >> > ... > ... >>>> 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: <MMC/SD bus> 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. >> > > Dmesg below: > > It is a slightly modified kernel with a few debug printfs in them. > > ---<<BOOT>>--- > Copyright (c) 1992-2021 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.0-CURRENT #3 main-n246598-30659d1dcbc-dirty: Thu May 13 06:14:52 CEST 2021 > marc@devnovo:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) > WARNING: WITNESS option enabled, expect reduced performance. > VT(efifb): resolution 1920x1080 > CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (2592.08-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x406e3 Family=0x6 Model=0x4e Stepping=3 > <---clip---> > pci1: <ACPI PCI bus> on pcib1 > rtsx0: <2.0c Realtek RTS522A PCI MMC/SD Card Reader> mem 0xf4100000-0xf4100fff at device 0.0 on pci1 > rtsx0: Card absent > pcib2: <ACPI PCI-PCI bridge> at device 28.2 on pci0 Just what I was thinking: in this case the card status is found correctly without an interrupt. In the "cold" case an interrupt change the card present/absent status, a taskqueue is scheduled. I am digging there... Thanks for your time! henri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f396c9f-2e35-fa02-f313-a6a664836673>