r352368 can't boot

From: KIRIYAMA Kazuhiko <kiri_at_truefc.org>
Date: Tue, 17 Sep 2019 14:30:16 +0900
Hi,all

Yesterday I've updated latest head (r352368) and rebuild
13.0-CURRENT. All went fine, but when I boot, it's stopped
at boot stage. Then I typed `boot', booted normally and put
login prompt and login go ahead. But `shutdown -r now',
stopped at loader prompt same as login case. What happened?
All I've done is whithin bhyve VM.

root_at_vm:~ # vm start tbedfc
Starting tbedfc
  * found guest in /vm/tbedfc
  * booting...
root_at_vm:~ # vm console tbedfc
Connected

OK boot
/boot/kernel/kernel text=0x16d7bdc data=0x1c8af8+0x64e118 syms=[0x8+0x182778+0x8+0x19fc7a]
/boot/entropy size=0x1000
Booting...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2019 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.0-CURRENT #0 r352368: Mon Sep 16 13:37:27 JST 2019
    root_at_tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
CPU: Intel(R) Xeon(R) CPU E3-1230 v6 _at_ 3.50GHz (3503.56-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x906e9  Family=0x6  Model=0x9e  Stepping=9
  Features=0x9f83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS,HTT,PBE>
  Features2=0xfeda7a17<SSE3,PCLMULQDQ,DTES64,DS_CPL,SSSE3,SDBG,FMA,CX16,xTPR,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x24100800<SYSCALL,NX,Page1GB,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0xf39<FSGSBASE,BMI1,HLE,AVX2,BMI2,ERMS,INVPCID,RTM>
  XSAVE Features=0x1<XSAVEOPT>
  TSC: P-state invariant
Hypervisor: Origin = "bhyve bhyve "
real memory  = 5368709120 (5120 MB)
avail memory = 4090740736 (3901 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <BHYVE  BVMADT  >
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0 <Version 1.1> irqs 0-31
Timecounter "TSC-low" frequency 1751779076 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
000.000042 [4335] netmap_init               netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff811bcfa0, 0) error 19
[ath_hal] loaded
nexus0
cryptosoft0: <software crypto>
acpi0: <BHYVE BVXSDT>
acpi0: Power Button (fixed)
atrtc0: <AT realtime clock> 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
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 16777216 Hz quality 950
Event timer "HPET" frequency 16777216 Hz quality 550
Event timer "HPET1" frequency 16777216 Hz quality 450
Event timer "HPET2" frequency 16777216 Hz quality 450
Event timer "HPET3" frequency 16777216 Hz quality 450
Event timer "HPET4" frequency 16777216 Hz quality 450
Event timer "HPET5" frequency 16777216 Hz quality 450
Event timer "HPET6" frequency 16777216 Hz quality 450
Event timer "HPET7" frequency 16777216 Hz quality 450
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
virtio_pci0: <VirtIO PCI Block adapter> port 0x2000-0x203f mem 0xc0000000-0xc0001fff irq 16 at device 4.0 on pci0
vtblk0: <VirtIO Block Adapter> on virtio_pci0
vtblk0: 8192MB (16777216 512 byte sectors)
virtio_pci1: <VirtIO PCI Network adapter> port 0x2040-0x205f mem 0xc0002000-0xc0003fff irq 17 at device 5.0 on pci0
vtnet0: <VirtIO Networking Adapter> on virtio_pci1
vtnet0: Ethernet address: 58:9c:fc:0c:10:58
vtnet0: netmap queues/slots: TX 1/1024, RX 1/512
000.000150 [ 503] vtnet_netmap_attach       vtnet attached txq=1, txd=1024 rxq=1, rxd=512
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
driver bug: Unable to set devclass (class: atkbdc devname: (unknown))
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
vga0: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff pnpid PNP0900 on isa0
Timecounters tick every 10.000 msec
usb_needs_explore_all: no devclass
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/vtbd0p2 [rw]...
Setting hostuuid: fd03833b-4ce8-11e8-a966-589cfc0c1058.
Setting hostid: 0x13d7974a.
Starting file system checks:
/dev/vtbd0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/vtbd0p2: clean, 376431 free (7015 frags, 46177 blocks, 0.6% fragmentation)
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Setting hostname: tbedfc.
Setting up harvesting: PURE_RDRAND,[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
lo0: link state changed to UP
vtnet0: link state changed to UP
Starting Network: lo0 vtnet0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
        ether 58:9c:fc:0c:10:58
        inet 192.168.1.193 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet 10Gbase-T <full-duplex>
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 192.168.1.254
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
Mounting NFS filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Creating and/or trimming log files.
Starting syslogd.
No core dumps found.
NFS access cache time=60
Clearing /tmp (X related).
Starting rpcbind.
Starting statd.
Starting lockd.
Updating motd:.
Mounting late filesystems:.
Security policy loaded: MAC/ntpd (mac_ntpd)
Starting ntpd.
Sep 17 06:47:13 tbedfc ntpd[584]: Cannot set RLIMIT_MEMLOCK: Operation not permitted
Performing sanity check on sshd configuration.
Starting sshd.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.
Starting default moused.
eval: cannot open /dev/ttyv*: No such file or directory
Starting background file system checks in 60 seconds.

Tue Sep 17 06:47:13 JST 2019

FreeBSD/amd64 (tbedfc) (ttyu0)

login: admin
Password:
Last login: Tue Sep 17 06:42:06 from smtp.tfc
FreeBSD 13.0-CURRENT r350968 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://lists.FreeBSD.org/mailman/listinfo/freebsd-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

Edit /etc/motd to change this login announcement.
"man ports" gives many useful hints about installing FreeBSD ports.
admin_at_tbedfc:~ % df -h
Filesystem                             Size    Used   Avail Capacity  Mounted on
/dev/vtbd0p2                           4.8G    3.4G    1.0G    76%    /
devfs                                  1.0K    1.0K      0B   100%    /dev
vm.tfc:/.dake                           13T    242G     13T     2%    /.dake
vm.tfc:/ds/src/current/13.0/r352368     13T    111G     13T     1%    /usr/src
vm.tfc:/ds/obj/current/13.0/r352368     13T    487G     13T     4%    /usr/obj
admin_at_tbedfc:~ % cat /etc/rc.conf
hostname="tbedfc"
ifconfig_vtnet0="inet 192.168.1.193 netmask 255.255.255.0"
defaultrouter="192.168.1.254"
sshd_enable="YES"
nfs_client_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
#powerd_enable="YES"
dumpdev="AUTO"
admin_at_tbedfc:~ % cat /etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/vtbd0p2    /               ufs     rw      1       1
/dev/vtbd0p3    none            swap    sw      0       0
vm.tfc:/.dake   /.dake          nfs     rw      0       0
vm.tfc:/ds/src/current/13.0/r352368     /usr/src        nfs     ro,nolockd      0       0
vm.tfc:/ds/obj/current/13.0/r352368     /usr/obj        nfs     rw      0       0
admin_at_tbedfc:~ % uname -a
FreeBSD tbedfc 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r352368: Mon Sep 16 13:37:27 JST 2019     root_at_tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
admin_at_tbedfc:~ % shutdown -r now
Shutdown NOW!
shutdown: [pid 685]
admin_at_tbedfc:~ %                                                                                
*** FINAL System shutdown message from admin_at_tbedfc ***                      

System going down IMMEDIATELY                                                  

                                                                               

System shutdown time has arrived
Sep 17 06:52:01 tbedfc shutdown[685]: reboot by admin: 
Stopping moused.
Stopping cron.
Stopping sshd.
Stopping ntpd.
Stopping lockd.
Stopping statd.
Stopping rpcbind.
Stopping devd.
Writing entropy file: .
Writing early boot entropy file: .
Terminated
.
Sep 17 06:52:01 tbedfc syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining... 2 0 0 done
Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... done
All buffers synced.
lock order reversal:
 1st 0xfffff80003bc8248 ufs (ufs) _at_ /usr/src/sys/kern/vfs_mount.c:1354
 2nd 0xfffff80008121ba8 syncer (syncer) _at_ /usr/src/sys/kern/vfs_subr.c:3015
stack backtrace:
#0 0xffffffff80c3f383 at witness_debugger+0x73
#1 0xffffffff80c3f0ce at witness_checkorder+0xa9e
#2 0xffffffff80ba57df at lockmgr_lock_fast_path+0x18f
#3 0xffffffff812326d3 at VOP_LOCK1_APV+0x63
#4 0xffffffff80cbc495 at _vn_lock+0x65
#5 0xffffffff80caaa25 at vputx+0x1e5
#6 0xffffffff80ca2773 at dounmount+0x4c3
#7 0xffffffff80cac1bb at vfs_unmountall+0x6b
#8 0xffffffff80c87db6 at bufshutdown+0x2c6
#9 0xffffffff80bd2685 at kern_reboot+0x215
#10 0xffffffff80bd2415 at sys_reboot+0x3a5
#11 0xffffffff81195759 at amd64_syscall+0x2b9
#12 0xffffffff8116c140 at fast_syscall_common+0x101
lock order reversal:
 1st 0xfffff80003869d88 ufs (ufs) _at_ /usr/src/sys/kern/vfs_mount.c:1354
 2nd 0xfffff80003868608 devfs (devfs) _at_ /usr/src/sys/kern/vfs_subr.c:2744
stack backtrace:
#0 0xffffffff80c3f383 at witness_debugger+0x73
#1 0xffffffff80c3f0ce at witness_checkorder+0xa9e
#2 0xffffffff80ba57df at lockmgr_lock_fast_path+0x18f
#3 0xffffffff812326d3 at VOP_LOCK1_APV+0x63
#4 0xffffffff80cbc495 at _vn_lock+0x65
#5 0xffffffff80caa13d at vget_finish+0x5d
#6 0xffffffff80a8993c at devfs_allocv+0xdc
#7 0xffffffff80a89463 at devfs_root+0x43
#8 0xffffffff80caadc8 at vflush+0x48
#9 0xffffffff80a8935e at devfs_unmount+0x3e
#10 0xffffffff80ca2790 at dounmount+0x4e0
#11 0xffffffff80cac213 at vfs_unmountall+0xc3
#12 0xffffffff80c87db6 at bufshutdown+0x2c6
#13 0xffffffff80bd2685 at kern_reboot+0x215
#14 0xffffffff80bd2415 at sys_reboot+0x3a5
#15 0xffffffff81195759 at amd64_syscall+0x2b9
#16 0xffffffff8116c140 at fast_syscall_common+0x101
Uptime: 4m56s
Consoles: userboot  

FreeBSD/amd64 User boot, Revision 1.1
(Mon Jun 18 16:11:55 UTC 2018 root_at_releng3.nyi.freebsd.org)
Loading /boot/defaults/loader.conf
xemit not found
Error while including /boot/frames.4th, in the line:
                h_el _at_ xemit

can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
OK 


Regards
---
KIRIYAMA Kazuhiko
Received on Tue Sep 17 2019 - 03:30:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC