From nobody Wed Jun 5 08:35:17 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VvLPl3kB7z5MNkT for ; Wed, 05 Jun 2024 08:35:23 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com [103.168.172.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VvLPk5wzHz4Hl4 for ; Wed, 5 Jun 2024 08:35:22 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm1 header.b=jWRBtxbZ; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Tw9xh3yo; dmarc=pass (policy=none) header.from=aetern.org; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 103.168.172.148 as permitted sender) smtp.mailfrom=yuri@aetern.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 18C451380182 for ; Wed, 5 Jun 2024 04:35:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 05 Jun 2024 04:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1717576522; x=1717662922; bh=vmsIRZojgu xChGVC3NbQ9pzzRAE7i3mLKKIWjxE1TfM=; b=jWRBtxbZM/0noFww5v6h5fqPom TMVbqg7k72asmO2ayFEu3c06ICuZHs7WQBH/q2HEE+g9JRWH7SLgMslsIoWoqUnP njoKreBsmVwQFyZG25OjYZenOPOK3ufkyDOd1oja1bcOIel/mnG0z0bQMTRrWjH0 lD6/KOYW6UbfvOgwTU1RrTQ9fgMSRaU7U0RXPKEd/ApnD1vN4APjZEzFW0B/+/nn ekrhnee4C2pudhBidHdv9qTIOK8YRdlrKd6eXjt/aFpEA9xqL3a0Da4+c2ClSdF+ Mzr9Jnj8Z9BKCFzofPRnHpA60gyMmMy/NLFSx1Hk0eNRwtHEUB0oJZ/HxD0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1717576522; x=1717662922; bh=vmsIRZojguxChGVC3NbQ9pzzRAE7 i3mLKKIWjxE1TfM=; b=Tw9xh3yoL4V6gnnenpV8EECjxe1z7Nny4IY/b1PZwVII LsobINFTYn4kwhcL9Ozi1NeBo0kuJAtrF7VAoGbiprpE5Lgo4nvJMUU0iRzx9y1t ch1ohUIK+6+tA3LmGmwgeDMlM5ZFRw55NLpgSzNqYy7TJrq1LfqVTpMgPSD0AtDO 3UvBgnktc3OLAzjZEiK5gHrFJHOH+IOaZqaaFegNNrVRNRaDYmvYZsKAcPQ50CO+ ZSTF6Xs53ST7dOy5bjvcz1xdfooSLB2/frRTzbfw9xBkowrKgyshipd11ue7ZkuW xMsaMGnoG6dBuYZ4u2r2rkScJmQheEZ4+oHES+7y0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeliedgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtjeertd dtvdejnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihurhhisegrvghtvghrnhdr ohhrgheqnecuggftrfgrthhtvghrnhepvedvheduueffvdfgvdetleelveeugeevuedvvd evgfefkedvveehuddutdeugfdvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhephihurhhisegrvghtvghrnhdrohhrgh X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 5 Jun 2024 04:35:20 -0400 (EDT) Message-ID: <5cdddd23-90c1-4f6b-8af1-80f7621ac00c@aetern.org> Date: Wed, 5 Jun 2024 15:35:17 +0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: current@freebsd.org From: Yuri Pankov Subject: 41dfea24eec panics during ata attach on ESXi VM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_from X-Spamd-Result: default: False [-0.99 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[aetern.org,none]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm1,messagingengine.com:s=fm1]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.148:from]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; FREEFALL_USER(0.00)[yuri]; ARC_NA(0.00)[]; local_wl_from(0.00)[yuri@aetern.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4VvLPk5wzHz4Hl4 After updating to 41dfea24eec (GENERIC-NODEBUG), ESXi VM started to panic while attaching atapci children. I was unable to grab original boot panic data ("keyboard" dead), but was able to boot with hint.ata.0.disabled=1, hint.ata.1.disabled=1, and `devctl enable ata0` reproduced the issue: ata0: at channel 0 on atapci0 Fatal trap 12: page fault while in kernel mode cpuid = 11; apic id = 11 fault virtual address = 0x54 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80821bb2 stack pointer = 0x28:0xfffffe019330d720 frame pointer = 0x28:0xfffffe019330d750 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 99030 (devctl) rdi: fffff80002039900 rsi: fffff80002039900 rdx: fffff800beb9c180 rcx: fffff80001f1a000 r8: fffff80002027d20 r9: fffffe0035d28900 rax: 0000000000000000 rbx: fffff80002039900 rbp: fffffe019330d750 r10: fffff80030b86000 r11: fffffe019330da4c r12: 0000000000000001 r13: 0000000000000000 r14: fffff80002038400 r15: fffff800beb9c180 trap number = 12 panic: page fault cpuid = 11 time = 1717575820 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe019330d410 vpanic() at vpanic+0x13f/frame 0xfffffe019330d540 panic() at panic+0x43/frame 0xfffffe019330d5a0 trap_fatal() at trap_fatal+0x40b/frame 0xfffffe019330d600 trap_pfault() at trap_pfault+0x46/frame 0xfffffe019330d650 calltrap() at calltrap+0x8/frame 0xfffffe019330d650 --- trap 0xc, rip = 0xffffffff80821bb2, rsp = 0xfffffe019330d720, rbp = 0xfffffe019330d750 --- pci_activate_resource() at pci_activate_resource+0x22/frame 0xfffffe019330d750 bus_generic_rman_alloc_resource() at bus_generic_rman_alloc_resource+0xee/frame 0xfffffe019330d790 nexus_alloc_resource() at nexus_alloc_resource+0x99/frame 0xfffffe019330d7f0 acpi_alloc_resource() at acpi_alloc_resource+0x84/frame 0xfffffe019330d8b0 acpi_pcib_acpi_alloc_resource() at acpi_pcib_acpi_alloc_resource+0x9d/frame 0xfffffe019330d920 ata_pci_alloc_resource() at ata_pci_alloc_resource+0x2bd/frame 0xfffffe019330d9a0 bus_alloc_resource() at bus_alloc_resource+0x98/frame 0xfffffe019330da00 ata_attach() at ata_attach+0x322/frame 0xfffffe019330dad0 device_attach() at device_attach+0x3ac/frame 0xfffffe019330db20 devctl2_ioctl() at devctl2_ioctl+0x56e/frame 0xfffffe019330dbf0 devfs_ioctl() at devfs_ioctl+0xcb/frame 0xfffffe019330dc40 vn_ioctl() at vn_ioctl+0xce/frame 0xfffffe019330dcb0 devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe019330dcd0 kern_ioctl() at kern_ioctl+0x255/frame 0xfffffe019330dd40 sys_ioctl() at sys_ioctl+0xff/frame 0xfffffe019330de00 amd64_syscall() at amd64_syscall+0x115/frame 0xfffffe019330df30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe019330df30 --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x2d04d93b28fa, rsp = 0x2d04d84df398, rbp = 0x2d04d84df450 --- Uptime: 2m6s Dumping 1562 out of 32725 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..91%