From owner-freebsd-bugs@freebsd.org Thu Jan 23 15:57:16 2020 Return-Path: Delivered-To: freebsd-bugs@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 1BE581F5B5D for ; Thu, 23 Jan 2020 15:57:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 483Rjl750yz3JVq for ; Thu, 23 Jan 2020 15:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F11151F5B5B; Thu, 23 Jan 2020 15:57:15 +0000 (UTC) Delivered-To: bugs@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 EFAAF1F5B5A for ; Thu, 23 Jan 2020 15:57:15 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Rjl5xfWz3JVn for ; Thu, 23 Jan 2020 15:57:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C7753191BF for ; Thu, 23 Jan 2020 15:57:15 +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 00NFvFPO045687 for ; Thu, 23 Jan 2020 15:57:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00NFvFKC045686 for bugs@FreeBSD.org; Thu, 23 Jan 2020 15:57:15 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 243534] Kernel panics with "panic: invalid count 2" early during boot Date: Thu, 23 Jan 2020 15:57:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kraileth@elderlinux.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 15:57:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243534 --- Comment #4 from Michael Reim --- (In reply to Ed Maste from comment #1) Thanks for the quick fix! It solved that problem and lead to the machine bo= ot further. With r357045 I'm getting a new panic, though (this time obviously = from the VM system): Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]...=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 jumping to kernel entry at 0xc00b8020.=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 GDB: no debug ports present=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 KDB: debugger backends: ddb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 KDB: current backend: ddb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 Copyright (c) 1992-2020 The FreeBSD Project.=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=20= =20=20=20=20=20=20 The Regents of the University of California. All rights reserved.= =20=20=20=20=20=20 FreeBSD is a registered trademark of The FreeBSD Foundation.=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 FreeBSD 13.0-CURRENT #0 r357046: Thu Jan 23 15:54:21 CET 2020=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 root@fbsdtest.omc.net:/usr/obj/usr/src/sparc64.sparc64/sys/GENERIC spar= c64=20 gcc version 9.2.0 (FreeBSD Ports Collection for sparc64)=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 WARNING: WITNESS option enabled, expect reduced performance.=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 real memory =3D 1073741824 (1024 MB)=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 avail memory =3D 1024761856 (977 MB)=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 cpu0: Sun Microsystems UltraSparc-IIe Processor (548.00 MHz CPU)=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 random: unblocking device.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 random: entropy device external interface=20=20=20=20=20=20=20=20=20=20=20= =20=20 [ath_hal] loaded=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.= 0.=20=20 kbd0 at kbdmux0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0. WARNING: Device "openprom" is Giant locked and may be deleted before FreeBSD 13.0. nexus0: pcib0: mem 0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010000ff irq 2032,2030,2031,= 2021 on nexus0 pcib0: Sabre, impl 0, version 0, IGN 0x1f, bus A, 66MHz pcib0: DVMA map: 0x60000000 to 0x63ffffff 8192 entries pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 3.0 (no driver attached) dc0: port 0x10000-0x100ff mem 0-0xff at devi= ce 12.0 on pci0 miibus0: on dc0 amphy0: PHY 1 on miibus0 amphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:03:ba:4e:55:e6 dc1: port 0x10100-0x101ff mem 0x2000-0x20ff = at device 5.0 on pci0 miibus1: on dc1 amphy1: PHY 1 on miibus1 amphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: Ethernet address: 00:03:ba:4e:55:e6 ohci0: mem 0x1000000-0x1000fff = at device 10.0 on pci0 usbus0 on ohci0 atapci0: port 0x10200-0x10207,0x10218-0x1021b,0x10210-0x10217,0x10208-0x1020b,0x10220-0x1= 022f at device 13.0 on pci0 atapci0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 cryptosoft0: on nexus0 nexus0: type unknown (no driver attached) rtc0: at port 0x70-0x71 pnpid PNP0b00 on isa0 rtc0: registered as a time-of-day clock, resolution 1.000000s uart0: console (9600,n,8,1)> at port 0x3f8-0x3ff irq 43 pnpid PNP0501 on is= a0 uart1: <16550 or compatible> at port 0x2e8-0x2ef irq 43 pnpid PNP0501 on is= a0 Timecounter "tick" frequency 548000000 Hz quality 1000 Event timer "tick" frequency 548000000 Hz quality 1000 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 Obsolete code will be removed soon: random(9) is the obsolete Park-Miller L= CG from 1988 WARNING: WITNESS option enabled, expect reduced performance. ugen0.1: at usbus0 uhub0 on usbus0 uhub0: on usbus0 Trying to mount root from ufs:/dev/ada1a [rw]... Root mount waiting for: usbus0 CAM cd0 at ata3 bus 0 scbus1 target 1 lun 0 cd0: Removable CD-ROM SCSI device cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present uhub0: 2 ports with 2 removable, self powered ada0 at ata2 bus 0 scbus0 target 0 lun 0 ada0: ATA-5 device ada0: Serial Number SZPTZ202544 ada0: 66.700MB/s transfers (UDMA4, PIO 8192bytes) ada0: 58644MB (120103200 512 byte sectors) ada1 at ata3 bus 0 scbus1 target 0 lun 0 ada1: ATA-5 device ada1: Serial Number YFEYFML4312 ada1: 66.700MB/s transfers (UDMA4, PIO 8192bytes) ada1: 14649MB (30003120 512 byte sectors) mountroot: waiting for device /dev/ada1a... panic: vm_page_assert_xbusied: page 0xfffff8009f65cb90 not exclusive busy @ /usr/src/sys/vm/vm_page.c:1555 cpuid =3D 0 time =3D 1579793596 KDB: stack backtrace: _end() at 0xc92e90f8 vpanic() at vpanic+0x31c panic() at panic+0x20 vm_page_object_remove() at vm_page_object_remove+0x16c vm_page_free_prep() at vm_page_free_prep+0xe4 vm_page_free_toq() at vm_page_free_toq+0x4 vm_page_free_zero() at vm_page_free_zero+0x10 pmap_release() at pmap_release+0xcc vmspace_free() at vmspace_free+0x9c start_init() at start_init+0x36c fork_exit() at fork_exit+0x6c fork_trampoline() at fork_trampoline+0x8 KDB: enter: panic [ thread pid 1 tid 100002 ] Stopped at kdb_enter+0x80: ta %xcc, 1 db> Again, I'll gladly provide additional information as needed. --=20 You are receiving this mail because: You are the assignee for the bug.=