From owner-freebsd-current@freebsd.org Thu May 13 11:58:08 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 6BA5B63C325 for ; Thu, 13 May 2021 11:58:08 +0000 (UTC) (envelope-from marc@bumblingdork.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 4Fgqt746pJz4mlF for ; Thu, 13 May 2021 11:58:07 +0000 (UTC) (envelope-from marc@bumblingdork.com) Received: by mail-ed1-x529.google.com with SMTP id di13so30676684edb.2 for ; Thu, 13 May 2021 04:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bumblingdork.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=433o1w0eMe+I4Qhgl36kTrZMzJS4PjNiFYQhxxOyIZ0=; b=Kuemz91EjiYCEYPJDoFYGu1GPJ+YmwNhn5ZA4m0rDyTW+IxAfCucCWqW8zqMSUoskk E82xG3F93xLrOh5dvtZiy4R4k4yVL6l9XQTXhgWOlzUkuiUgfYPi5hU7kiSqz+jvv/W1 hrfiuIXOBmzYRurkh9Y9TITMzVENMWG7vwnc3+dxfACh/hg3gbslHxG36cARS6lEIeBk HmCYYeAGq/4EbJiwJAmBKD+O1ZoZZ8n7emfDadmN7De6GYMAm34WZP6i1yfrxb5W8x58 g2+fgb82tksBUr0nzAsDaUGWx3wBFlJNG3XKTY+etgMBy/cw17NPyxfFPaiidjD1VzF4 Jh7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=433o1w0eMe+I4Qhgl36kTrZMzJS4PjNiFYQhxxOyIZ0=; b=HM/6einu3/n8sM1FtmtnoJE3Xy3pfVA/H+v2J6mVgG8Egu8bL06t0u/LpFEimhGmLR FJnh7OuKssa3ZP8B9N5Qi78t4wfArQeg5rN2zjMPVmSSD5r0WIZbgX4hFMvpcTpNWlv1 fQV6TqebdOSNg1LkoxE3VJMHVk0RRZpOCqpsVfrZD7noB0f2UbC60nXYGsclwNEHdT+j j+EpuFvdj2hKKR7A0Gr70r2bq1Fl1qYeS81zsVSL2wBxrB3JuMyMcHgyxf6HRsMvh72A Wvq65zsSZWwNl+lw2tZ0MCAnMekaPmx7XyWDU0kZfmwMGfnvZ4ZSAlbsNOty0QP0hCmK 55jQ== X-Gm-Message-State: AOAM530Nr8kmaEH2nKZPOusyyBYu3JlN5aobs5CV/3s59kLskfCqm5bP vMdMarZB39MAg9ZvFzABJVOlPg== X-Google-Smtp-Source: ABdhPJwkEoGHRk/g6Csb4m5zuL0PpIN/HP5ojQJ1X3j/0Gu5F4akDTtO/nRsWWBQG0w5K0+8pMrzDg== X-Received: by 2002:a50:ed0c:: with SMTP id j12mr49619415eds.12.1620907086113; Thu, 13 May 2021 04:58:06 -0700 (PDT) Received: from smtpclient.apple ([2001:981:3350:1:e53c:340:bb9a:7a22]) by smtp.gmail.com with ESMTPSA id s11sm2242488edt.27.2021.05.13.04.58.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 May 2021 04:58:05 -0700 (PDT) Content-Type: text/plain; charset=us-ascii 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! From: Marc Veldman In-Reply-To: <261e5e3b-6522-2bca-a689-16e5abcd8f8e@restart.be> Date: Thu, 13 May 2021 13:58:04 +0200 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <33D1DC7E-ECFA-4BA1-B0DE-FD7ADA2AB127@bumblingdork.com> 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> To: Henri Hennebert X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4Fgqt746pJz4mlF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bumblingdork.com header.s=google header.b=Kuemz91E; dmarc=pass (policy=none) header.from=bumblingdork.com; spf=pass (mx1.freebsd.org: domain of marc@bumblingdork.com designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=marc@bumblingdork.com X-Spamd-Result: default: False [-3.32 / 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(-0.82)[-0.818]; 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::529: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::529:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::529: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: Thu, 13 May 2021 11:58:08 -0000 > On 13 May 2021, at 11:49, Henri Hennebert wrote: >=20 ... ... >>> Do you see an rtsx message before this mmc0 ? >>>=20 >>>> 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 >=20 > The "card present" and just after the iterrupt and "card absent" seems = strange... >=20 > Can you please show the dmesg after a warm reboot with no card = inserted. >=20 Dmesg below: It is a slightly modified kernel with a few debug printfs in them. ---<>--- 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=3D"GenuineIntel" Id=3D0x406e3 Family=3D0x6 Model=3D0x4e = Stepping=3D3 = Features=3D0xbfebfbff = Features2=3D0x7ffafbbf AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended = Features=3D0x29c67af Structured Extended Features3=3D0x9c000000 XSAVE Features=3D0xf VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 17179869184 (16384 MB) avail memory =3D 16430579712 (15669 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 irqs 0-119 Launching APs: 1 2 3 Timecounter "TSC-low" frequency 1296042202 Hz quality 1000 random: entropy device external interface WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD = 14.0. kbd1 at kbdmux0 mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020) efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0xb703e000-0xb703e01e smbios0: Version: 2.8, BCD Revision: 2.8 aesni0: acpi0: acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 550 Event timer "HPET1" frequency 24000000 Hz quality 440 Event timer "HPET2" frequency 24000000 Hz quality 440 Event timer "HPET3" frequency 24000000 Hz quality 440 Event timer "HPET4" frequency 24000000 Hz quality 440 atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xe000-0xe03f mem = 0xf2000000-0xf2ffffff,0xc0000000-0xdfffffff irq 16 at device 2.0 on pci0 vgapci0: Boot video device xhci0: mem = 0xf4220000-0xf422ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (no driver attached) ahci0: port = 0xe080-0xe087,0xe088-0xe08b,0xe060-0xe07f mem = 0xf4248000-0xf4249fff,0xf424f000-0xf424f0ff,0xf424d000-0xf424d7ff at = device 23.0 on pci0 ahci0: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported ahcich1: at channel 1 on ahci0 pcib1: at device 28.0 on pci0 pci1: 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: 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) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 20 and 26 on hdaa0 pcm1: at nid 21 and 18 on hdaa0 hdacc1: at cad 2 on hdac0 hdaa1: at nid 1 on hdacc1 pcm2: at nid 3 on hdaa1 WARNING: WITNESS option enabled, expect reduced performance. ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0Trying to mount root from zfs:zroot/ROOT/default []... on usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on = usbus0 Root mount waiting for: usbus0 CAM ada0 at ahcich1 bus 0 scbus0 target 0 lun 0 ada0: ACS-2 ATA SATA 3.x device ada0: Serial Number S39FNX0J625463T ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 488386MB (1000215216 512 byte sectors) ada0: quirks=3D0x3<4K,NCQ_TRIM_BROKEN> uhub0: 18 ports with 18 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 Root mount waiting for: usbus0 ugen0.3: at usbus0 ugen0.4: at usbus0 Root mount waiting for: usbus0 ugen0.5: at usbus0 pchtherm0: mem 0xf424b000-0xf424bfff at = device 20.2 on pci0 ichsmb0: port 0xefa0-0xefbf = mem 0xf424e000-0xf424e0ff at device 31.4 on pci0 smbus0: on ichsmb0 iwm0: mem 0xf4000000-0xf4001fff at = device 0.0 on pci2 iwm0: hw rev 0x200, fw ver 22.361476.0, address f4:8c:50:50:22:83 acpi_wmi0: on acpi0 acpi_wmi0: Embedded MOF found ACPI: \134_SB.WMI1.WQBA: 1 arguments were passed to a non-method ACPI = object (Buffer) (20210331/nsarguments-361) acpi_wmi1: on acpi0 acpi_wmi1: Embedded MOF found ACPI: \134_SB.WMI2.WQBB: 1 arguments were passed to a non-method ACPI = object (Buffer) (20210331/nsarguments-361) acpi_wmi2: on acpi0 acpi_wmi2: Embedded MOF found ACPI: \134_SB.WMI3.WQBC: 1 arguments were passed to a non-method ACPI = object (Buffer) (20210331/nsarguments-361) lo0: link state changed to UP em0: link state changed to UP ubt0 on uhub0 ubt0: on usbus0 ubt1 on uhub0 ubt1: = on usbus0 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() Security policy loaded: MAC/ntpd (mac_ntpd) Best regards, Marc Veldman