From nobody Sun May 14 00:40:07 2023 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 4QJkDR66L3z4B0Vv for ; Sun, 14 May 2023 00:40:07 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QJkDR2yPjz4K12 for ; Sun, 14 May 2023 00:40:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684024807; 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=xuzSKG/1W7LTSRbUvN6k0DSMZrXusdaTqCB2QuMygec=; b=tE0L0W+hfUPSpmYEZDP1YIk3IkFaCSG8ajJfCD0lYS8GztD04WvUXFppefAkf1kvP81Ey6 yHdoul6LpWofDYVSDW1c/GYyb1h/Cm0wVZ8f5RIUQdHFa6sGCB+oBnMLhZ1mwSMozFQfdR NJGcUXP9nS127Y349/gn5moqQzVl4cavRAY8p0S85IafUQsVaJnJENm4BJXpb8G9F5s6UX SGtyvsEzZanccL4xupQ3uCHZPQvHFcp9J2XZvKit8RHrgUQhS+/wOQSiGlWyvocKMw+ADv PlAJxR9Atu+g3jAa69JJa/5IXmZ6L2hssDoHibTHnnFbVeGvm50uElfMSvQ5Jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684024807; a=rsa-sha256; cv=none; b=lm7YkK/lSXNqTgEVADFcVl0B9Plg47CVuhDI3hogu/E17fXH6Ef/Zpu0E23EOP6fVt6DXp FANsrizv7D71P28u2hqsC7t6wUXWW6EfKSJ2MiCyMoKeHz1khLYenKkJKx/PRijLMAgc3W aLJDMyjDgR6yW9WRSqUBB4VglIXoiCmNamGSiLKG2bGTLPLt/ECz5/D+6mf05BCMdxi14w 27Y/KI0d8f2GkCBQa47EpAng4EHVuP3gbci7jSNUDYxJ3xoSdhSqztSwf/3npNO6N8z+iN 13mXJepKqDn/y3kZb8CVhlKO3hqWHZV1mb2N04x4KFwWRd3n1KGW1tUvB4GDqQ== 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 4QJkDR1twWzcwx for ; Sun, 14 May 2023 00:40:07 +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 34E0e70m089301 for ; Sun, 14 May 2023 00:40:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34E0e7NP089300 for bugs@FreeBSD.org; Sun, 14 May 2023 00:40:07 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 271403] System unusable at first boot after install of 13.2-RELEASE amd64 Date: Sun, 14 May 2023 00:40:07 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dclarke@blastwave.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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271403 Bug ID: 271403 Summary: System unusable at first boot after install of 13.2-RELEASE amd64 Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dclarke@blastwave.org SUMMARY : I have recently seen an install of FreeBSD fail quite badly. I can not see a valid reason nor clue to why. Dear FreeBSD folks : I was very careful to boot an IBM Lenovo M30A7 unit with the FreeBSD dvd1 iso image for 13.2 RELEASE. I instantly stopped the UEFI boot and selected to set : set comconsole_speed=3D"9600" set console=3D"comconsole" Then via the serial port I simple type "boot". Following the basic prompts I decide to manually config the boot device as a UEFI with ZFS storage idea. This means I drop to a shell command prompt to utter the following :=20 # camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (ada2,pass2) at scbus3 target 0 lun 0 (ses0,pass3) at scbus6 target 0 lun 0 (ada3,pass4) at scbus7 target 0 lun 0 (ada4,pass5) at scbus9 target 0 lun 0 (ses1,pass6) at scbus10 target 0 lun 0 (pass7,da0) #=20 There we see some Seagate disks of the 8T flavour as well as some single Seagate 16T unit. There is also a single Samsung QVO SSD unit available. I wish to install to the Samsung unit and then deal with redundency at some later time. Thus I begin the process of cleaning up the partition data therein and lay down a new GPT partition :=20 # gpart destroy -F /dev/ada3 ada3 destroyed # zpool labelclear -f /dev/ada3 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) failed to clear label for /dev/ada3 Well that SSD never had a ZFS filesystem nor pool. This is fine. # gpart create -s GPT /dev/ada3 ada3 created # gpart add -t efi -s 256M /dev/ada3 ada3p1 added # gpart add -t freebsd-boot -s 512K /dev/ada3 ada3p2 added # gpart add -t freebsd-swap -s 4G /dev/ada3 ada3p3 added # gpart add -t freebsd-zfs /dev/ada3 ada3p4 added # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 /dev/ada3 partcode written to ada3p2 bootcode written to ada3 Again just to be sure ... nuke out a ZFS label that never existed : # zpool labelclear -f /dev/ada3p4 failed to clear label for /dev/ada3p4 #=20 Fine. We have a device to install to. Create a ZFS ZPool chunk on that device :=20 # zpool create -o altroot=3D/mnt -O compress=3Dzstd -O checksum=3Dsha512 -O= atime=3Don -O xattr=3Don -o autoexpand=3Don -o autoreplace=3Don -o failmode=3Dcontinue= -o listsnaps=3Doff -O dedup=3Doff -O copies=3D1 -m none z0 /dev/ada3p4 #=20 Now we lay down the basic fs goodness for FreeBSD :=20 # zfs create -o mountpoint=3Dnone -o checksum=3Dsha512 -o compression=3Dzst= d -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don -o copies=3D1 -o dedup= =3Doff -o sync=3Dstandard z0/ROOT #=20 # zfs create -o mountpoint=3D/ -o checksum=3Dsha512 -o compression=3Dzstd -= o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don -o copies=3D1 -o dedup=3Doff -o s= ync=3Dstandard z0/ROOT/default #=20 # zfs create -o mountpoint=3D/tmp -o checksum=3Dsha512 -o compression=3Dzst= d -o atime=3Don -o exec=3Don -o setuid=3Doff -o xattr=3Don -o copies=3D1 -o dedu= p=3Doff -o sync=3Dstandard z0/tmp #=20 # zfs create -o mountpoint=3D/usr -o canmount=3Doff -o checksum=3Dsha512 -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/usr #=20 # zfs create -o mountpoint=3D/usr/home -o canmount=3Don -o checksum=3Dsha51= 2 -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/usr/home #=20 # zfs create -o mountpoint=3D/usr/ports -o canmount=3Don -o checksum=3Dsha5= 12 -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/usr/ports #=20 # zfs create -o mountpoint=3D/usr/src -o canmount=3Don -o checksum=3Dsha512= -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/usr/src #=20 # zfs create -o mountpoint=3D/var -o canmount=3Doff -o checksum=3Dsha512 -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var #=20 # zfs create -o mountpoint=3D/var/audit -o canmount=3Don -o checksum=3Dsha5= 12 -o compression=3Dzstd -o atime=3Don -o exec=3Doff -o setuid=3Doff -o xattr=3Do= n -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/audit #=20 # zfs create -o mountpoint=3D/var/crash -o canmount=3Don -o checksum=3Dsha5= 12 -o compression=3Dzstd -o atime=3Don -o exec=3Doff -o setuid=3Doff -o xattr=3Do= n -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/crash #=20 # zfs create -o mountpoint=3D/var/log -o canmount=3Don -o checksum=3Dsha512= -o compression=3Dzstd -o atime=3Don -o exec=3Doff -o setuid=3Doff -o xattr=3Do= n -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/log #=20 #=20 # zfs create -o mountpoint=3D/var/mail -o canmount=3Don -o checksum=3Dsha51= 2 -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/mail #=20 Take a look at the damage :=20 #=20 # zfs list -o name,mounted,mountpoint NAME MOUNTED MOUNTPOINT z0 no none z0/ROOT no none z0/ROOT/default yes /mnt z0/tmp yes /mnt/tmp z0/usr no /mnt/usr z0/usr/home yes /mnt/usr/home z0/usr/ports yes /mnt/usr/ports z0/usr/src yes /mnt/usr/src z0/var no /mnt/var z0/var/audit yes /mnt/var/audit z0/var/crash yes /mnt/var/crash z0/var/log yes /mnt/var/log z0/var/mail yes /mnt/var/mail #=20 Looks fine yes? YES. This is goodness. # zfs create -o mountpoint=3D/var/tmp -o canmount=3Don -o checksum=3Dsha512= -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Doff -o xattr=3Don= -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/tmp #=20 So here comes the thing that may be the wreckage :=20 # zfs create -o mountpoint=3D/var/db -o canmount=3Don -o checksum=3Dsha512 \ > -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Doff \ > -o xattr=3Don -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/db #=20 Note that as /var/db which perhaps is a tmpfs? Or some other animal. Regardless I continue :=20 # zpool set bootfs=3Dz0/ROOT/default z0 #=20 # zfs set canmount=3Dnoauto z0/ROOT/default #=20 # zfs set mountpoint=3D/z0 z0 # I like to have a /opt area also and these are harmless. # zfs create -o mountpoint=3D/opt -o canmount=3Don -o checksum=3Dsha512 -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/opt #=20 # zfs create -o mountpoint=3D/var/opt -o canmount=3Don -o checksum=3Dsha512= -o compression=3Dzstd -o atime=3Don -o exec=3Don -o setuid=3Don -o xattr=3Don = -o copies=3D1 -o dedup=3Doff -o sync=3Dstandard z0/var/opt #=20 # zfs list -o name,devices,exec,setuid,canmount,mounted,mountpoint -t all NAME DEVICES EXEC SETUID CANMOUNT MOUNTED MOUNTPOINT z0 on on on on yes /mnt/z0 z0/ROOT on on on on no none z0/ROOT/default on on on noauto yes /mnt z0/opt on on on on yes /mnt/opt z0/tmp on on off on yes /mnt/tmp z0/usr on on on off no /mnt/usr z0/usr/home on on on on yes /mnt/usr/home z0/usr/ports on on on on yes /mnt/usr/ports z0/usr/src on on on on yes /mnt/usr/src z0/var on on on off no /mnt/var z0/var/audit on off off on yes /mnt/var/audit z0/var/crash on off off on yes /mnt/var/crash z0/var/db on on off on yes /mnt/var/db z0/var/log on off off on yes /mnt/var/log z0/var/mail on on on on yes /mnt/var/mail z0/var/opt on on on on yes /mnt/var/opt z0/var/tmp on on off on yes /mnt/var/tmp #=20 # Looks fine. Now the Microsoft UEFI disaster travesty :=20 # newfs_msdos /dev/ada3p1 /dev/ada3p1: 523984 sectors in 32749 FAT16 clusters (8192 bytes/cluster) BytesPerSec=3D512 SecPerClust=3D16 ResSectors=3D1 FATs=3D2 RootDirEnts=3D51= 2 Media=3D0xf0 FATsecs=3D128 SecPerTrack=3D63 Heads=3D16 HiddenSecs=3D0 HugeSectors=3D5242= 88 #=20 # mkdir /tmp/target_efi #=20 # mount_msdosfs /dev/ada3p1 /tmp/target_efi # mkdir /tmp/target_efi/EFI # mkdir /tmp/target_efi/EFI/BOOT #=20 # ls -l /boot/loader.efi -r-xr-xr-x 2 root wheel 909824 Apr 7 05:08 /boot/loader.efi #=20 # file /boot/loader.efi /boot/loader.efi: PE32+ executable (EFI application) x86-64, for MS Windows #=20 # cp /boot/loader.efi /tmp/target_efi/EFI/BOOT/BOOTX64.EFI #=20 # umount /dev/ada3p1 #=20 Disgusting but that should "just work". Exit here to the installer on serial console and follow a few prompts. At first boot it all looks fine :=20 OK set verbose_loading=3D"YES" OK boot Loading kernel... /boot/kernel/kernel text=3D0x18aa98 text=3D0xdfd150 text=3D0x675154 data=3D= 0x140 data=3D0x1c38e8+0x43b718 0x8+0x18fe70+0x8+0x1ae449- Loading configured modules... /boot/entropy size=3D0x1000 /boot/kernel/cryptodev.ko size 0xa4a0 at 0x2140000 can't find '/etc/hostid' /boot/kernel/zfs.ko size 0x59dfa8 at 0x214b000 staging 0x6c200000 (not copying) tramp 0x6c089000 PT4 0x6c080000 Start @ 0xffffffff8038b000 ... EFI framebuffer information: addr, size 0xf9000000, 0x1d4c00 dimensions 800 x 600 stride 800 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 ---<>--- 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 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) VT(efifb): resolution 800x600 CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (3492.13-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306f2 Family=3D0x6 Model=3D0x3f Steppi= ng=3D2 =20 Features=3D0xbfebfbff =20 Features2=3D0x7ffefbff AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x37ab Structured Extended Features3=3D0x9c000400 XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory =3D 51539607552 (49152 MB) avail memory =3D 49962668032 (47648 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs FreeBSD/SMP: 1 package(s) x 6 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-23 ioapic1 irqs 24-47 Launching APs: 1 6 2 5 4 8 9 7 3 10 11 random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x7c4a7a98-0x7c4a7ab6 smbios0: Version: 2.8, BCD Revision: 2.7 aesni0: acpi0: acpi0: Power Button (fixed) cpu0: on acpi0 atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 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 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 340 Event timer "HPET2" frequency 14318180 Hz quality 340 Event timer "HPET3" frequency 14318180 Hz quality 340 Event timer "HPET4" frequency 14318180 Hz quality 340 Event timer "HPET5" frequency 14318180 Hz quality 340 Event timer "HPET6" frequency 14318180 Hz quality 340 Event timer "HPET7" frequency 14318180 Hz quality 340 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: on acpi0 pci0: on pcib0 pci0: at device 11.1 (no driver attached) pci0: at device 11.2 (no driver attached) pci0: at device 16.1 (no driver attached) pci0: at device 16.6 (no driver attached) pci0: at device 18.1 (no driver attached) acpi_syscontainer0: on acpi0 acpi_syscontainer1: on acpi0 acpi_syscontainer2: on acpi0 acpi_syscontainer3: on acpi0 apei0: on acpi0 pcib1: port 0xcf8-0xcff numa-domain 0 on acpi0 pci1: numa-domain 0 on pcib1 pcib2: irq 26 at device 1.0 numa-domain 0 on pci1 pci2: numa-domain 0 on pcib2 pcib3: irq 26 at device 1.1 numa-domain 0 on pci1 pci3: numa-domain 0 on pcib3 pcib4: irq 32 at device 2.0 numa-domain 0 on pci1 pci4: numa-domain 0 on pcib4 vgapci0: port 0xe000-0xe07f mem 0xfa000000-0xfaffffff,0xf0000000-0xf7ffffff,0xf8000000-0xf9ffffff irq 32 at device 0.0 numa-domain 0 on pci4 vgapci0: Boot video device hdac0: mem 0xfb080000-0xfb083fff irq 36 at device 0.1 numa-domain 0 on pci4 pcib5: irq 40 at device 3.0 numa-domain 0 on pci1 pci5: numa-domain 0 on pcib5 ix0: port 0xd020-0xd03f mem 0xfb200000-0xfb2fffff,0xfb404000-0xfb407fff irq 44 at device 0.0 numa-domai= n 0 on pci5 ix0: Using 2048 TX descriptors and 2048 RX descriptors ix0: Using 6 RX queues 6 TX queues ix0: Using MSI-X interrupts with 7 vectors ix0: allocated for 6 queues ix0: allocated for 6 rx queues ix0: Ethernet address: 8c:dc:d4:ae:1d:3c ix0: PCI Express Bus: Speed 5.0GT/s Width x8 ix0: Option ROM V1-b1099-p0 eTrack 0x80000811 PHY FW V65535 ix0: netmap queues/slots: TX 6/2048, RX 6/2048 ix1: port 0xd000-0xd01f mem 0xfb100000-0xfb1fffff,0xfb400000-0xfb403fff irq 40 at device 0.1 numa-domai= n 0 on pci5 ix1: Using 2048 TX descriptors and 2048 RX descriptors ix1: Using 6 RX queues 6 TX queues ix1: Using MSI-X interrupts with 7 vectors ix1: allocated for 6 queues ix1: allocated for 6 rx queues ix1: Ethernet address: 8c:dc:d4:ae:1d:3d ix1: PCI Express Bus: Speed 5.0GT/s Width x8 ix1: Option ROM V1-b1099-p0 eTrack 0x80000811 PHY FW V65535 ix1: netmap queues/slots: TX 6/2048, RX 6/2048 pci1: at device 17.0 (no driver attached) ahci0: port 0xf130-0xf137,0xf120-0xf123,0xf110-0xf117,0xf100-0xf103,0xf040-0xf05f mem 0xfb538000-0xfb5387ff irq 16 at device 17.4 numa-domain 0 on pci1 ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich3: at channel 3 on ahci0 ahciem0: on ahci0 xhci0: mem 0xfb520000-0xfb52ffff irq 1= 9 at device 20.0 numa-domain 0 on pci1 xhci0: 32 bytes context size, 64-bit DMA usbus0 numa-domain 0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci1: at device 22.0 (no driver attached) atapci0: port 0xf0f0-0xf0f7,0xf0e0-0xf0e3,0xf0d0-0xf0d7,0xf0c0-0xf0c3,0xf0b0-0xf0bf irq 1= 6 at device 22.2 numa-domain 0 on pci1 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 uart2: port 0xf0a0-0xf0a7 mem 0xfb536000-0xfb536fff irq 17 at device 22.3 numa-domain 0= on pci1 uart2: Using 1 MSI message em0: port 0xf020-0xf03f mem 0xfb500000-0xfb51ffff,0xfb535000-0xfb535fff irq 20 at device 25.0 numa-doma= in 0 on pci1 em0: EEPROM V0.1-4 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using an MSI interrupt em0: Ethernet address: 6c:0b:84:a9:0f:9c em0: netmap queues/slots: TX 1/1024, RX 1/1024 ehci0: mem 0xfb534000-0xfb5343ff irq 1= 8 at device 26.0 numa-domain 0 on pci1 usbus1: EHCI version 1.0 usbus1 numa-domain 0 on ehci0 usbus1: 480Mbps High Speed USB v2.0 pcib6: irq 16 at device 28.0 numa-domain 0 on pci1 pci6: numa-domain 0 on pcib6 pcib7: irq 17 at device 28.1 numa-domain 0 on pci1 pci7: numa-domain 0 on pcib7 pcib8: irq 17 at device 0.0 numa-domain 0 on pci7 pci8: numa-domain 0 on pcib8 ehci1: mem 0xfb533000-0xfb5333ff irq 1= 8 at device 29.0 numa-domain 0 on pci1 usbus2: EHCI version 1.0 usbus2 numa-domain 0 on ehci1 usbus2: 480Mbps High Speed USB v2.0 isab0: at device 31.0 numa-domain 0 on pci1 isa0: numa-domain 0 on isab0 ahci1: port 0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf000-0xf01f mem 0xfb532000-0xfb5327ff irq 16 at device 31.2 numa-domain 0 on pci1 ahci1: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported ahcich4: at channel 0 on ahci1 ahcich5: at channel 1 on ahci1 ahcich6: at channel 2 on ahci1 ahciem1: on ahci1 acpi_button0: on acpi0 uart0: console (9600,n,8,1)> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] est0: on cpu0 Timecounter "TSC-low" frequency 1745956841 Hz quality 1000 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 4 on hdaa0 pcm1: at nid 5 on hdaa0 Trying to mount root from zfs:z0/ROOT/default []... ugen1.1: at usbus1 ugen2.1: at usbus2 ugen0.1: at usbus0 uhub0 numa-domain 0 on usbus1 uhub0: on usbus1 uhub1 numa-domain 0 on usbus2 uhub1: on usbus2 uhub2 numa-domain 0 on usbus0 uhub2: on usbus0 Root mount waiting for: CAM usbus0 usbus1 usbus2 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 21 ports with 21 removable, self powered ugen1.2: at usbus1 uhub3 numa-domain 0 on uhub0 uhub3: on usbus1 Root mount waiting for: CAM usbus0 usbus1 usbus2 ses0 at ahciem0 bus 0 scbus3 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device ses1 at ahciem1 bus 0 scbus9 target 0 lun 0 ses1: SEMB S-E-S 2.00 device ses1: SEMB SES Device ses0: (none) in 'Slot 00', SATA Slot: scbus0 target 0 ses1: (none) in 'Slot 00', SATA Slot: scbus6 target 0 ugen2.2: at usbus2 ses0: (none) in 'Slot 01', SATA Slot: scbus1 target 0 ses1: (none) in 'Slot 01', SATA Slot: scbus7 target 0 uhub4ses0: (none) in 'Slot 03', SATA Slot: scbus2 target 0 numa-domain 0ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number WSD0N69R ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 7630885MB (1953506646 4096 byte sectors) on uhub1 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ACS-4 ATA SATA 3.x device ada1: Serial Number ZR56SFN7 ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 15259648MB (31251759104 512 byte sectors) uhub4: on usbus2 ada2 at ahcich3 bus 0 scbus2 target 0 lun 0 ada2: ACS-4 ATA SATA 3.x device ada2: Serial Number WSD3442G ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 7630885MB (1953506646 4096 byte sectors) Root mount waiting for: CAM usbus0 usbus1 usbus2ugen0.2: at usbus0 ada uhub5 numa-domain 0 on uhub2 uhub5: on usbus0 ada3 at ahcich4 bus 0 scbus6 target 0 lun 0 ada3: ACS-4 ATA SATA 3.x device ada3: Serial Number S5VSNG0NA27505M ada3: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada3: Command Queueing enabled ada3: 953869MB (1953525168 512 byte sectors) uhub3: 6 ports with 6 removable, self powered ada4 at ahcich5 bus 0 scbus7 target 0 lun 0 ada4: ACS-4 ATA SATA 3.x device ada4: Serial Number WSD0NAK6 ada4: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada4: Command Queueing enabled ada4: 7630885MB (1953506646 4096 byte sectors) uhub4: 8 ports with 8 removable, self powered uhub5: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 ugen0.3: at usbus0 ugen0.4: at usbus0 uhub6 numa-domain 0 on uhub2 uhub6: on usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 uhub6: 4 ports with 4 removable, self powered No suitable dump device was found. Setting hostuuid: 2cf31f49-9068-e611-a367-6c0b84a90f9c. Setting hostid: 0xdb4c6c9e. Starting file system checks: Mounting local filesystems:. ELF ldconfacpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device acpi_wmi0: Embedded MOF found ACPI: \WMI1.WQCA: 1 arguments were passed to a non-method ACPI object (Buff= er) (20201113/nsarguments-361) acpi_wmi1: on acpi0 acpi_wmi1: cannot find EC device acpi_wmi2: on acpi0 acpi_wmi2: cannot find EC device acpi_wmi3: port 0xa10-0xa1f on acpi0 acpi_wmi3: cannot find EC device ichsmb0: port 0x580-0x59f mem 0xfb531000-0xfb5310ff irq 18 at device 31.3 numa-domain 0 on pci1 smbus0: numa-domain 0 on ichsmb0 ig path: /lib /usr/lib /usr/lib/lo0: link state changed to UP compat 32-bit compatibility ldconfig path: /usr/lib32 Setting hostname: pluto. Setting up harvesting: PURE_RDRAND,[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE= ,KEYBOARD,ATTACH,CACHED Feeding entropy: . Autoloading module: acpi_wmi Autoloading module: ichsmb Starting Network: lo0 ix0 ix1 em0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 ix0: flags=3D8822 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e53fbb ether 8c:dc:d4:ae:1d:3c media: Ethernet autoseem0: link state changed to UP lect status: no carrier nd6 options=3D29 ix1: flags=3D8822 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e53fbb ether 8c:dc:d4:ae:1d:3d media: Ethernet autoselect status: no carrier nd6 options=3D29 em0: flags=3D8863 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D481049b ether 6c:0b:84:a9:0f:9c inet 172.16.35.42 netmask 0xffffffc0 broadcast 172.16.35.63 media: Ethernet autoselect status: no carrier nd6 options=3D29 Starting devd. Starting Network: ix0. ix0: flags=3D8822 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e53fbb ether 8c:dc:d4:ae:1d:3c media: Ethernet autoselect status: no carrier nd6 options=3D29 Starting Network: ix1. ix1: flags=3D8822 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e53fbb ether 8c:dc:d4:ae:1d:3d media: Ethernet autoselect status: no carrier nd6 options=3D29 add host 127.0.0.1: gateway lo0 fib 0: route already in table add net default: gateway 172.16.35.1 add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Updating /var/run/os-release done. Updating motd:. Clearing /tmp. Creating and/or trimming log files. Starting syslogd. Setting date via ntp. 13 May 22:54:56 ntpdate[2172]: sSecurity policy loaded: MAC/ntpd (mac_ntpd) tep time server 206.108.0.132 offset -0.943560 sec stat: /var/db/ntp: No such file or directory Starting ntpd. May 13 22:54:56 pluto ntpd[2212]: pid file /var/db/ntp/ntpd.pid: No such fi= le or directory Mounting late filesystems:. Configuring vt: blanktime. Generating RSA host key. 3072 SHA256:OesZVyPR19Il4LUKVRDF3mTLeHamqDPCVopCLuDxOqI root@pluto (RSA) Generating ECDSA host key. 256 SHA256:lfz1ign7O8DmnaTVhpl15ZHNklao51tBoklwowtCVUM root@pluto (ECDSA) Generating ED25519 host key. 256 SHA256:QBasgUF0f+R0pTMOrm+nYzVarQDfabhbYrhV7R+KbnM root@pluto (ED25519) Performing sanity check on sshd configuration. Starting sshd. Starting sendmail_submit. Starting sendmail_msp_queue. Starting cron. FreeBSD/amd64 (pluto) (ttyu0) login: root Password: May 13 22:55:18 pluto login[2336]: ROOT LOGIN (root) ON ttyu0 FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://www.FreeBSD.org/lists/questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier To change this login announcement, see motd(5). You have mail. root@pluto:~ #=20 root@pluto:~ # uname -apKU FreeBSD pluto 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 amd64 1302001 1302001 root@pluto:~ # ifconfig -a=20 ix0: flags=3D8822 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e53fbb ether 8c:dc:d4:ae:1d:3c media: Ethernet autoselect status: no carrier nd6 options=3D29 ix1: flags=3D8822 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D4e53fbb ether 8c:dc:d4:ae:1d:3d media: Ethernet autoselect status: no carrier nd6 options=3D29 em0: flags=3D8863 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D481049b ether 6c:0b:84:a9:0f:9c inet 172.16.35.42 netmask 0xffffffc0 broadcast 172.16.35.63 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 root@pluto:~ #=20 root@pluto:~ # zfs list=20 NAME USED AVAIL REFER MOUNTPOINT z0 648M 891G 24K /z0 z0/ROOT 647M 891G 24K none z0/ROOT/default 647M 891G 647M / z0/opt 24K 891G 24K /opt z0/tmp 24K 891G 24K /tmp z0/usr 104K 891G 24K /usr z0/usr/home 31.5K 891G 31.5K /usr/home z0/usr/ports 24K 891G 24K /usr/ports z0/usr/src 24K 891G 24K /usr/src z0/var 1.02M 891G 24K /var z0/var/audit 24K 891G 24K /var/audit z0/var/crash 24K 891G 24K /var/crash z0/var/db 870K 891G 870K /var/db z0/var/log 30.5K 891G 30.5K /var/log z0/var/mail 24K 891G 24K /var/mail z0/var/opt 24K 891G 24K /var/opt z0/var/tmp 24K 891G 24K /var/tmp root@pluto:~ # This looks fine to me. However :=20 root@pluto:~ #=20 You have new mail. root@pluto:~ # mail Mail version 8.1 6/6/93. Type ? for help. "/var/mail/root": 2 messages 2 new >N 1 operator@pluto Sat May 13 22:55 24/1035 "Cron " N 2 operator@pluto Sat May 13 23:00 24/1035 "Cron " & 1 Message 1: From operator@pluto Sat May 13 22:55:00 2023 Date: Sat, 13 May 2023 22:55:00 GMT From: Cron Daemon To: operator@pluto Subject: Cron /usr/libexec/save-entropy X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: install: mkdir /var/db/entropy: Permission denied /usr/libexec/save-entropy 2347 - - The entropy directory /var/db/entropy do= es not exist, and cannot be created. Therefore no entropy can be saved. & q Saved 1 message in mbox Held 1 message in /var/mail/root root@pluto:~ # ls -lad /var/db/entropy ls: /var/db/entropy: No such file or directory root@pluto:~ # ls -la /var/db total 7 drwxr-xr-x 2 root wheel 3 May 13 22:54 . drwxr-xr-x 25 root wheel 25 May 13 22:54 .. -rw-r--r-- 1 root wheel 10666 Apr 7 04:27 ntpd.leap-seconds.list root@pluto:~ # There is no /var/db fs ! WORSE ... none of the ZFS filesytems mounted ! root@pluto:~ # zfs list -o name,checksum,compression,compressratio,exec,setuid,mounted,mountpoint NAME CHECKSUM COMPRESS RATIO EXEC SETUID MOUNTED=20 MOUNTPOINT z0 sha512 zstd 3.18x on on no /= z0 z0/ROOT sha512 zstd 3.18x on on no n= one z0/ROOT/default sha512 zstd 3.18x on on yes / z0/opt sha512 zstd 1.00x on on no /= opt z0/tmp sha512 zstd 1.00x on off no /= tmp z0/usr sha512 zstd 1.00x on on no /= usr z0/usr/home sha512 zstd 1.02x on on no=20=20= =20=20=20=20 /usr/home z0/usr/ports sha512 zstd 1.00x on on no=20=20= =20=20=20=20 /usr/ports z0/usr/src sha512 zstd 1.00x on on no=20=20= =20=20=20=20 /usr/src z0/var sha512 zstd 5.12x on on no /= var z0/var/audit sha512 zstd 1.00x off off no=20=20= =20=20=20=20 /var/audit z0/var/crash sha512 zstd 1.04x off off no=20=20= =20=20=20=20 /var/crash z0/var/db sha512 zstd 5.51x on off no=20=20= =20=20=20=20 /var/db z0/var/log sha512 zstd 4.30x off off no=20=20= =20=20=20=20 /var/log z0/var/mail sha512 zstd 1.00x on on no=20=20= =20=20=20=20 /var/mail z0/var/opt sha512 zstd 1.00x on on no=20=20= =20=20=20=20 /var/opt z0/var/tmp sha512 zstd 1.00x on off no=20=20= =20=20=20=20 /var/tmp root@pluto:~ #=20 root@pluto:~ # exit logout Perhaps /var/db should never be created as a separate fs?=20 To be fair I have no idea what this machine looks to be a mess after an initial install. Others have been looking at this also and we are as a collective ... perplexed.=20=20 End result is that I can not trust this machine to work. It issues a=20 pile of emails about broken filesystems right now. Mostly just the stuff in /var/db which seems to be magical. I may be wrong.=20 --=20 Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC suspenders and a beard installed --=20 You are receiving this mail because: You are the assignee for the bug.=