On 5/13/21 1:58 PM, Marc Veldman wrote: > > >> On 13 May 2021, at 11:49, Henri Hennebert <hlh_at_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_at_devnovo:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > FreeBSD clang version 11.0.1 (git_at_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 _at_ 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! henriReceived on Thu May 13 2021 - 10:06:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC