KDB: debugger backends: ddb KDB: current backend: ddb ---<>--- 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 r354589: Sun Nov 17 15:55:34 CET 2019 pho@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO amd64 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Entering uma_startup with 10 boot pages configured startup_alloc from "UMA Kegs", 8 boot pages left startup_alloc from "UMA Zones", 7 boot pages left startup_alloc from "UMA Zones", 6 boot pages left startup_alloc from "UMA Zones", 5 boot pages left startup_alloc from "UMA Zones", 4 boot pages left startup_alloc from "UMA Zones", 3 boot pages left startup_alloc from "UMA Hash", 2 boot pages left startup_alloc from "UMA Zones", 1 boot pages left Entering uma_startup1 with 0 boot pages left Entering uma_startup2 with 0 boot pages left VT(vga): resolution 640x480 CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (3500.07-MHz K8-class CPU) Origin="GenuineIntel" Id=0x306f2 Family=0x6 Model=0x3f Stepping=2 Features=0xbfebfbff Features2=0x7ffefbff AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x37ab XSAVE Features=0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory = 34359738368 (32768 MB) avail memory = 33166225408 (31629 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" arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. ioapic0 irqs 0-23 ioapic1 irqs 24-47 Launching APs: 1 2 6 4 10 5 9 3 11 8 7 Timecounter "TSC-low" frequency 1750034172 Hz quality 1000 random: entropy device external interface kbd1 at kbdmux0 module_register_init: MOD_LOAD (vesa, 0xffffffff80fb4560, 0) error 19 000.000055 [4336] netmap_init netmap: loaded module [ath_hal] loaded nexus0 vtvga0: cryptosoft0: 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 pcib1: port 0xcf8-0xcff on acpi0 pci1: on pcib1 pcib2: irq 26 at device 1.0 on pci1 pci2: on pcib2 pcib3: irq 32 at device 2.0 on pci1 pci3: on pcib3 pci3: at device 0.0 (no driver attached) pci3: at device 0.1 (no driver attached) pcib4: irq 40 at device 3.0 on pci1 pci4: on pcib4 pci1: at device 17.0 (no driver attached) ahci0: port 0xf110-0xf117,0xf100-0xf103,0xf0f0-0xf0f7,0xf0e0-0xf0e3,0xf020-0xf03f mem 0xfb438000-0xfb4387ff irq 16 at device 17.4 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 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ahciem0: on ahci0 xhci0: mem 0xfb400000-0xfb40ffff irq 19 at device 20.0 on pci1 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci1: at device 22.0 (no driver attached) pci1: at device 22.1 (no driver attached) ehci0: mem 0xfb434000-0xfb4343ff irq 18 at device 26.0 on pci1 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 pcib5: irq 16 at device 28.0 on pci1 pci5: on pcib5 pcib6: irq 18 at device 28.2 on pci1 pci6: on pcib6 pcib7: at device 0.0 on pci6 pci7: on pcib7 vgapci0: port 0xe000-0xe07f mem 0xfa000000-0xfaffffff,0xfb000000-0xfb01ffff irq 18 at device 0.0 on pci7 vgapci0: Boot video device pcib8: irq 16 at device 28.4 on pci1 pci8: on pcib8 igb0: port 0xd020-0xd03f mem 0xfb320000-0xfb33ffff,0xfb344000-0xfb347fff irq 16 at device 0.0 on pci8 igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: queue equality override not set, ukbd0 . lo0: link state changed to UP ff:fea8:cdda%igb0 prefixlen 64 scopeid 0x1 media: Ethernet autoselect status: no carrier nd6 options=21 igb1: flags=8802 metric 0 mtu 1500 options=4e507bb ether 0c:c4:7a:a8:cd:db media: Ethernet autoselect status: no carrier nd6 options=29 Starting devd. igb0: link state changed to UP Autoloading module: ioat.ko ioat0: mem 0xfb42c000-0xfb42ffff irq 31 at device 4.0 on pci1 ioat0: Capabilities: 2f7 ioat1: mem 0xfb428000-0xfb42bfff irq 39 at device 4.1 on pci1 ioat1: Capabilities: 2f7 ioat2: mem 0xfb424000-0xfb427fff irq 31 at device 4.2 on pci1 ioat2: Capabilities: f7 ioat3: mem 0xfb420000-0xfb423fff irq 39 at device 4.3 on pci1 ioat3: Capabilities: f7 ioat4: mem 0xfb41c000-0xfb41ffff irq 31 at device 4.4 on pci1 ioat4: Capabilities: f7 ioat5: mem 0xfb418000-0xfb41bfff irq 39 at device 4.5 on pci1 ioat5: Capabilities: f7 ioat6: mem 0xfb414000-0xfb417fff irq 31 at device 4.6 on pci1 ioat6: Capabilities: f7 ioat7: mem 0xfb410000-0xfb413fff irq 39 at device 4.7 on pci1 ioat7: Capabilities: f7 Autoloading module: ioat.ko Autoloading module: ioat.ko Autoloading module: ioat.ko Autoloading module: ioat.ko Autoloading module: ioat.ko Autoloading module: ioat.ko Autoloading module: ioat.ko Starting Network: igb1. igb1: flags=8802 metric 0 mtu 1500 options=4e507bb ether 0c:c4:7a:a8:cd:db media: Ethernet autoselect status: no carrier nd6 options=29 Autoloading module: uhid.ko Autoloading module: ums.ko ums0 on uhub4 ums0: on usbus0 ums0: 3 buttons and [Z] coordinates ID=0 Starting dhclient. DHCPREQUEST on igb0 to 255.255.255.255 port 67 DHCPACK from 192if_delmulti_locked: detaching ifnet instance 0xfffff80006007000 .168.5.1 bound to 192.168.5.171 -- renewal in 300 seconds. add host 127.0.0.1: gateway lo0 fib 0: route already in table 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 Creating and/or trimming log files. Starting syslogd. Setting date via ntp. 18 Nov 07:51:58 ntpdate[2055]: step time server 192.168.5.1 offset -0.643609 sec Starting rpcbind. NFS access cache time=60 Starting watchdogd. No core dumps found. Clearing /tmp (X related). Starting statd. Starting lockd. Recovering vi editor sessions:. fscklock order reversal: 1st 0xfffff80003fd9a48 ufs (ufs) @ kern/vfs_mount.c:1603 2nd 0xfffff8000737a2e0 devfs (devfs) @ ufs/ffs/ffs_softdep.c:1927 stack backtrace: #0 0xffffffff80c30eb1 at witness_debugger+0x71 #1 0xffffffff80c30c21 at witness_checkorder+0xab1 #2 0xffffffff80b96b78 at lockmgr_lock_fast_path+0x178 #3 0xffffffff810dc3f2 at VOP_LOCK1_APV+0x92 #4 0xffffffff80cb1205 at _vn_lock+0x65 #5 0xffffffff80ebe35d at softdep_flushworklist+0x5d #6 0xffffffff80edf2f6 at ffs_sync+0x406 #7 0xffffffff80c9553a at dounmount+0x46a #8 0xffffffff80c9507e at sys_unmount+0x2ae #9 0xffffffff81062610 at amd64_syscall+0x2d0 #10 0xffffffff810381e0 at fast_syscall_common+0x101 ** /dev/gpt/tmp ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? yes 237 files, 21711 used, 1243696 free (160 frags, 155442 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ***** FILE SYSTEM WAS MODIFIED ***** Updating motd:. Mounting late filesystems:. Security policy loaded: MAC/ntpd (mac_ntpd) Starting ntpd. Starting powerd. Configuring vt: blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting cron. Mon Nov 18 07:52 FreeBSD/amd64 (mercat1.netperf.freebsd.org) (ttyu1) login: root Nov 18 07:52:10 mercat1 login[2337]: ROOT LOGIN (root) ON ttyu1 Last login: Mon Nov 18 06:39:39 on ttyu1 FreeBSD 13.0-CURRENT (PHO) #0 r354589: Sun Nov 17 15:55:34 CET 2019 root@mercat1:~ # Nov 18 07:53:01 mercat1 su[2358]: pho to root on /dev/pts/0 su - pho physmem: 31.86 GB (34212982784). debug.vmmap_check is enabled find /usr/src/sys -name "*.rej" -ls sysctl debug.vmem_check debug.vmmap_check debug.vmem_check: 0 debug.vmmap_check: 1 [pho@mercat1 ~]$ cd /tmp [pho@mercat1 /tmp]$ while true; do > date +%T > ./badcode -t 2m -i 20 -v > done 07:54:11 badcode: run time 0+00:02:00, incarnations 18, load 100, verbose 1 Nov 18 07:54:12 mercat1 badcode[2406]: stack overflow detected; terminated Nov 18 07:54:12 mercat1 badcode[2416]: stack overflow detected; terminated Nov 18 07:54:12 mercat1 badcode[2427]: stack overflow detected; terminated Nov 18 07:54:12 mercat1 badcode[2433]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2437]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2439]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2454]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2455]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2468]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2486]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2494]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2500]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2504]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2530]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2535]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2546]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2554]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2562]: stack overflow detected; terminated Nov 18 07:54:13 mercat1 badcode[2568]: stack overflow detected; terminated : : Nov 18 08:00:31 mercat1 badcode[59993]: stack overflow detected; terminated Nov 18 08:00:31 mercat1 badcode[59996]: stack overflow detected; terminated Nov 18 08:00:31 mercat1 badcode[60039]: stack overflow detected; terminated Nov 18 08:00:31 mercat1 badcode[60049]: stack overflow detected; terminated Nov 18 08:00:31 mercat1 badcode[60050]: stack overflow detec FlexBoot v3.4.650 FlexBoot (http://mellanox.com) 02:00.0 3D00 PCI3.00 PnP PMM+205E3000+205FA000