From nobody Fri Sep 20 21:56:25 2024 X-Original-To: bugs@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 4X9R6f2nD1z5XMHh for ; Fri, 20 Sep 2024 21:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9R6f084rz4xs1 for ; Fri, 20 Sep 2024 21:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726869386; a=rsa-sha256; cv=none; b=kENxBLW1XzBnpdgcQTZkcH8XNJ6ADm5x5/Yi3GLu6g+dlCtuYsIIUTF+3zVIjJS3UQa3Ga jJa/mt8D4rSW9UaCinMfAvaxpR+xHb4x0nokPtEbCR8SfwSq+YO9zDLqbn2+AeReYyyGs6 I++d53FQIC8Me6TCE57/wXEYPeZPXiL99kicb/SAVcX92yM64SQr2oqX8yz18syoFE8v01 tdQHI4tosQ63zd3uE8ay4TqPPNJjBfPZmWSeI780xTmlBo1Y7P+Za7/C2DtXr03J8Ccbnn 8yc9vBISyknWivEwCR4njGRbygekSC8JPbzrdZwcjgELCqtxgFJlThxqhbuIXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726869386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D3o6mYQUu2EJz7Uhd2cZibSjV3T8LpdhwS9KozWJgLI=; b=JwHY9j7haiDrd/yGzKCAfnV5l7CtHzPkEbG+xpZMrcqWtxiGkcOT1G+HNsALBsVr/8ibrp ZsPyAT9pIcix6lYmgOi5WywFl0OxRbhU06BJUceTS+vHiUiB61E+t+eB1B3BUQmhtNT699 b1R0dMVMw8wIezjCo7+x15/RiwPJ50ftcaWjfaSI2aBP2MAuzmi3BPMloWQFk6I03EhctO /YaLv578n+OMI4H46k3lbROErW2K/VYJVq1wlaFOKWAihSJwW52ymt7X22/WgKFzuo0ena XNl4mM6HCo1ptMi11fhg2qIugsN58uLAksZOcku5e3tDDt25SVkNEdPH0pHfrw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X9R6d61Ncz15s1 for ; Fri, 20 Sep 2024 21:56:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48KLuP9k054691 for ; Fri, 20 Sep 2024 21:56:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48KLuPLe054690 for bugs@FreeBSD.org; Fri, 20 Sep 2024 21:56:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281619] boot fails after 14.1-RELEASE upgrade Date: Fri, 20 Sep 2024 21:56:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@reality-based.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281619 Bug ID: 281619 Summary: boot fails after 14.1-RELEASE upgrade Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@reality-based.com I've been running FreeBSD on various servers for years, but I'm no expert. I use "freebsd-update" and binary packages, but have generally found FreeBSD = to be exceptionally stable and low-maintenance.=20 This particular server has been running for several years, and was initially installed from FreeBSD 12.0-RELEASE. I've had no trouble using freebsd-upda= te and pkg for version upgrades, until now.=20 As soon as 14.1-RELEASE was available, I tried to do an upgrade, but couldn= 't boot into the new system because of a "panic: integer divide fault" error. Fortunately I'm using ZFS and boot environments, so I could boot back into = the working 14.0-RELEASE boot environment. Since then I've tried several more t= imes to upgrade, but always hit that same integer divide fault error.=20 A freebsd-update to FreeBSD 14.0-RELEASE-p11, today, went fine, but an upda= te to 14.1-RELEASE again failed.=20 Today I managed to get a serial console connection to work, so that I could capture the error and stack trace.=20 This server is a Lenovo System x3650 M2 -[794752U]. Running 2x Intel(R) Xeon(R) X5660 for a total of 24 cores, with 32G of RAM.= =20 Booting from a ZFS mirror, with a lot of other disks connected, but encrypt= ed, so I use a script to manually "geli attach" them and then "zpool import" th= em.=20 Below is what I captured, today: Loading kernel... /boot/kernel/kernel text=3D0x17baa0 text=3D0xd5ffd8 text=3D0x425e7c data=3D= 0x180+0xe80 data=3D0x1868b0+0x479750 0x8+0x189d38+0x8+0x1ad39c Loading configured modules... /boot/entropy size=3D0x1000 /boot/modules/pefs.ko size 0x2e8e0 at 0x2139000 /boot/kernel/zfs.ko size 0x5cd608 at 0x2168000 /etc/hostid size=3D0x25 ---<>--- Copyright (c) 1992-2023 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.1-RELEASE-p5 GENERIC amd64 FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9) VT(vga): resolution 640x480 CPU: Intel(R) Xeon(R) CPU X5660 @ 2.80GHz (2800.19-MHz K8-class = CPU) Origin=3D"GenuineIntel" Id=3D0x206c2 Family=3D0x6 Model=3D0x2c Steppi= ng=3D2 =20 Features=3D0xbfebfbff =20 Features2=3D0x29ee3ff AMD Features=3D0x2c100800 AMD Features2=3D0x1 Structured Extended Features3=3D0x9c000000 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 34359738368 (32768 MB) avail memory =3D 33314013184 (31770 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 hardware threads random: unblocking device. Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/64 (20221020/tbfadt-748) Firmware Warning (ACPI): Invalid length for FADT/Pm1aControlBlock: 32, using default 16 (20221020/tbfadt-850) ioapic0 irqs 0-23 ioapic1 irqs 24-47 Launching APs: 1 9 15 4 10 5 22 12 13 17 21 20 7 14 19 18 23 11 2 3 16 6 8 random: entropy device external interface kbd1 at kbdmux0 vtvga0: smbios0: at iomem 0xfdf40-0xfdf5e smbios0: Version: 2.5, BCD Revision: 2.5 aesni0: [.... some lines left out ....] isa0: on isab0 atapci0: port 0x4118-0x411f,0x412c-0x412f,0x4110-0x4117,0x4128-0x412b,0x40f0-0x40ff,0x40e= 0-0x40ef irq 16 at device 31.2 on pci0 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 atapci1: port 0x4108-0x410f,0x4124-0x4127,0x4100-0x4107,0x4120-0x4123,0x40d0-0x40df,0x40c= 0-0x40cf irq 21 at device 31.5 on pci0 ata4: at channel 0 on atapci1 ata5: at channel 1 on atapci1 ns8250: UART FCR is brokene> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 15. est0: on cpu0 Fatal trap 18: integer divide fault while in kernel mode cpuid =3D 4; apic id =3D 04 instruction pointer =3D 0x20:0xffffffff80e9c064 stack pointer =3D 0x28:0xffffffff82b4ad00 frame pointer =3D 0x28:0xffffffff82b4ada0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (swapper) rdi: 0000000000000000 rsi: 0000000000000000 rdx: 0000000000000000 rcx: 0000000000000000 r8: 0000000000200000 r9: 0000000000000000 rax: 00000000fffffbe0 rbx: 0000000000000000 rbp: ffffffff82b4ada0 r10: 0000000000000000 r11: 3ffffffffffffff8 r12: 00000000fffffc00 r13: 0000000000000000 r14: 0000000000000000 r15: 1ffffffffffffff8 trap number =3D 18 panic: integer divide fault cpuid =3D 4 time =3D 1 KDB: stack backtrace: #0 0xffffffff80b7fefd at kdb_backtrace+0x5d #1 0xffffffff80b32bd1 at vpanic+0x131 #2 0xffffffff80b32a93 at panic+0x43 #3 0xffffffff8100091b at trap_fatal+0x40b #4 0xffffffff80fd6d48 at calltrap+0x8 #5 0xffffffff80e9d651 at zone_alloc_item+0x191 #6 0xffffffff80e9cc04 at zone_ctor+0x5a4 #7 0xffffffff80e9d651 at zone_alloc_item+0x191 #8 0xffffffff80e9d2dd at uma_zcreate+0x8d #9 0xffffffff82140788 at pefs_crypto_init+0x28 #10 0xffffffff821390ef at pefs_init+0xef #11 0xffffffff80c06eb6 at vfs_modevent+0x3f6 #12 0xffffffff80b0dea5 at module_register_init+0x85 #13 0xffffffff80abb685 at mi_startup+0xb5 #14 0xffffffff8037c023 at btext+0x23 Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort --=20 You are receiving this mail because: You are the assignee for the bug.=