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 r345083: Wed Mar 13 08:51:49 CET 2019 pho@x4.osted.lan:/usr/src/sys/i386/compile/PHO i386 FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Entering uma_startup with 9 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 Hash", 6 boot pages left startup_alloc from "vmem btag", 5 boot pages left startup_alloc from "UMA Zones", 4 boot pages left startup_alloc from "MAP", 3 boot pages left startup_alloc from "KMAP ENTRY", 2 boot pages left startup_alloc from "vmem", 1 boot pages left Entering uma_startup2 with 0 boot pages left VT(vga): resolution 640x480 CPU: AMD Phenom(tm) 9150e Quad-Core Processor (1800.02-MHz 686-class CPU) Origin="AuthenticAMD" Id=0x100f23 Family=0x10 Model=0x2 Stepping=3 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x7ff SVM: NP,NAsids=64 TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8250617856 (7868 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: <060508 APIC1048> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: unblocking device. ioapic0 irqs 0-23 on motherboard Launching APs: 3 1 2 Timecounter "TSC" frequency 1800019875 Hz quality 800 random: entropy device external interface [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0x165db90, 0) error 19 kbd1 at kbdmux0 nexus0 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: <060508 RSDT1048> on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: 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 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem 0xf0000000-0xf7ffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 5.0 on pci1 vgapci0: Boot video device hdac0: mem 0xfe9e8000-0xfe9ebfff irq 19 at device 5.2 on pci1 pcib2: at device 7.0 on pci0 pci2: on pcib2 re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 19 at device 0.0 on pci2 re0: Using 1 MSI message re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: 00:21:85:15:33:7d ahci0: port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfe7ff800-0xfe7ffbff irq 22 at device 18.0 on pci0 ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier supported ahci0: quirks=0x7000 ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ohci0: mem 0xfe7fe000-0xfe7fefff irq 16 at device 19.0 on pci0 usbus0 on ohci0 usbus0: 12Mbps Full Speed USB v1.0 ohci1: mem 0xfe7fd000-0xfe7fdfff irq 17 at device 19.1 on pci0 usbus1 on ohci1 usbus1: 12Mbps Full Speed USB v1.0 ohci2: mem 0xfe7fc000-0xfe7fcfff irq 18 at device 19.2 on pci0 usbus2 on ohci2 usbus2: 12Mbps Full Speed USB v1.0 ohci3: mem 0xfe7fb000-0xfe7fbfff irq 17 at device 19.3 on pci0 usbus3 on ohci3 usbus3: 12Mbps Full Speed USB v1.0 ohci4: mem 0xfe7fa000-0xfe7fafff irq 18 at device 19.4 on pci0 usbus4 on ohci4 usbus4: 12Mbps Full Speed USB v1.0 ehci0: mem 0xfe7ff000-0xfe7ff0ff irq 19 at device 19.5 on pci0 ehci0: AMD SB600/700 quirk applied usbus5: EHCI version 1.0 usbus5 on ehci0 usbus5: 480Mbps High Speed USB v2.0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: at channel 0 on atapci0 hdac1: mem 0xfe7f4000-0xfe7f7fff irq 16 at device 20.2 on pci0 isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 pci3: at device 6.0 (no driver attached) amdtemp0: on hostb4 amdtemp0: Erratum 319: temperature measurement may be inaccurate acpi_button0: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. hwpstate0: on cpu0 NULL mp in getnewvnode(9), tag crossmp Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 3 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20,22,21,23 and 24,26 on hdaa1 pcm2: at nid 27 and 25 on hdaa1 pcm3: at nid 30 on hdaa1 ugen1.1: at usbus1 ugen0.1: at usbus0 uhub0: ugen4.1: at usbus4 ugen2.1: at usbus2 on usbus1 uhub3: on usbus4 uhub1: on usbus0 uhub2: Expensive timeout(9) function: 0xa58f40(0x22176000) 0.050999498 s on usbus2 (aprobe0:ahcich0:0:15:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 ugen5.1: at usbus5 ugen3.1: at usbus3 uhub4: (aprobe0:ahcich0:0:15:0): CAM status: Command timeout on usbus5 (aprobe0:ahcich0:0:15:0): Error 5, Retries exhausted uhub5: on usbus3 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 2.x device ada0: Serial Number 9VMJ99G5 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) cd0 at ata0 bus 0 scbus4 target 1 lun 0 cd0: <_NEC DVD_RW ND-4550A 1.06> Removable CD-ROM SCSI device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ada0s1a [rw]... WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. uhub0: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered Setting hostuuid: 00000000-0000-0000-0000-00218515337d. Setting hostid: 0x6b64ac17. warning: total configured swap (4194304 pages) exceeds maximum recommended amount (2009920 pages). warning: increase kern.maxswzone or reduce amount of swap. Starting file system checks: /dev/ada0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s1a: clean, 605140 free (2652 frags, 75311 blocks, 0.3% fragmentation) /dev/ada0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s1f: clean, 783733 free (11149 frags, 96573 blocks, 1.1% fragmentation) /dev/label/tmp: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/label/tmp: clean, 32692012 free (38124 frags, 4081736 blocks, 0.0% fragmentation) /dev/ada0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s1d: clean, 1483775 free (258015 frags, 153220 blocks, 2.5% fragmentation) /dev/ada0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s1e: clean, 2723874 free (155202 frags, 321084 blocks, 0.6% fragmentation) Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/arduino/lib /usr/local/lib/compat /usr/local/lib/compat/pkg /usr/local/lib/e2fsprogs /usr/local/lib/gcc7 /usr/local/lib/gcc8 /usr/local/lib/mysql /usr/local/lib/nss /usr/local/lib/perl5/5.28/mach/CORE /usr/local/lib/pth /usr/local/lib/qt4 /usr/local/lib/qt5 /usr/local/llvm37/lib /usr/local/llvm39/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Setting hostname: x4.osted.lan. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: uhub4: 10 ports with 10 removable, self powered . lo0: link state changed to UP re0: link state changed to DOWN Starting Network: lo0 re0. lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 re0: flags=8843 metric 0 mtu 1500 options=8209b ether 00:21:85:15:33:7d inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (none) status: no carrier nd6 options=29 Starting devd. re0: link state changed to UP add host 127.0.0.1: gateway lo0 fib 0: route already in table add net default: gateway 192.168.1.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 Creating and/or trimming log files. Starting syslogd. Starting rpcbind. NFS access cache time=60 Starting watchdogd. No core dumps found. lock order reversal: 1st 0x12664cf4 bufwait (bufwait) @ kern/vfs_bio.c:3906 2nd 0x2fdcc600 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:289 stack backtrace: #0 0x1166bb1 at witness_debugger+0x81 #1 0x11668f9 at witness_checkorder+0xa09 #2 0x1103784 at _sx_xlock+0x64 #3 0x14437d9 at ufsdirhash_move+0x59 #4 0x1445e01 at ufs_direnter+0x331 #5 0x144ee1f at ufs_mkdir+0x83f #6 0x17388d5 at VOP_MKDIR_APV+0x85 #7 0x11e4b04 at kern_mkdirat+0x1d4 #8 0x11e4922 at sys_mkdir+0x32 #9 0x1702f91 at syscall+0x361 #10 0xffc033a7 at amdsmn_devclass+0xfd7d63a7 Clearing /tmp (X related). Starting nfsuserd. Starting mountd. Starting nfsd. Starting statd. Starting lockd. Recovering vi editor sessions:. Updating motd:. Mounting late filesystems:. Starting ntpd. Starting powerd. Starting smartd. Mar 14 10:35:56 x4 smartd[634]: Device: /dev/ada0, WARNING: A firmware update for this drive may be available, Mar 14 10:35:56 x4 smartd[634]: see the following Seagate web pages: Mar 14 10:35:56 x4 smartd[634]: http://knowledge.seagate.com/articles/en_US/FAQ/207931en Mar 14 10:35:56 x4 smartd[634]: http://knowledge.seagate.com/articles/en_US/FAQ/213891en Configuring vt: keymap blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting sendmail_submit. Starting sendmail_msp_queue. Starting cron. Local package initialization: backup. Starting nfscbd. Starting default mousedmoused: unable to open /dev/psm0: No such file or directory . Starting inetd. Thu Mar 14 10:36 FreeBSD/i386 (x4.osted.lan) (ttyu0) login: Mar 14 10:38:36 x4 su[975]: pho to root on /dev/pts/0 20190314 10:38:49 all (1/1): crossmp10.sh lock order reversal: 1st 0x33c30a28 ufs (ufs) @ kern/vfs_mount.c:1353 2nd 0x33c30b94 devfs (devfs) @ kern/vfs_subr.c:2761 stack backtrace: #0 0x1166bb1 at witness_debugger+0x81 #1 0x11668f9 at witness_checkorder+0xa09 #2 0x10cb639 at lockmgr_lock_fast_path+0x189 #3 0x11c15eb at vop_stdlock+0x3b #4 0x17395d9 at VOP_LOCK1_APV+0x69 #5 0x11e8381 at _vn_lock+0x61 #6 0x11d4e16 at vputx+0x1a6 #7 0x3421a512 at ext2_unmount+0xe2 #8 0x11cc336 at dounmount+0x526 #9 0x11cbce5 at sys_unmount+0x305 #10 0x1702f91 at syscall+0x361 #11 0xffc033a7 at doreallocblks+0xcb9e13a7 panic: lock (sleep mutex) EXT2FS not locked @ /usr/src/sys/fs/ext2fs/ext2_alloc.c:445 cpuid = 0 time = 1552556522 KDB: stack backtrace: db_trace_self_wrapper(1860dda,7478652f,6c615f32,2e636f6c,34343a63,...) at db_trace_self_wrapper+0x2a/frame 0x344647b0 kdb_backtrace(1827e67,5c8a21ea,0,34464870,e,...) at kdb_backtrace+0x2d/frame 0x34464818 vpanic(1743919,34464870,34464870,344648a0,11672b1,...) at vpanic+0x141/frame 0x34464850 panic(1743919,177be3a,34205458,3420582b,1bd,...) at panic+0x1b/frame 0x34464864 witness_unlock(270b709c,8,3420582b,1bd,129a4fa8,...) at witness_unlock+0xd1/frame 0x344648a0 __mtx_unlock_flags(270b70ac,0,3420582b,1bd,0,...) at __mtx_unlock_flags+0x55/frame 0x344648c8 ext2_valloc(33c1accc,81b0,129a4500,34464974,26ffd800,...) at ext2_valloc+0x6aa/frame 0x34464954 ext2_makeinode(34464b70,34464b88,33c1accc,344649d0,11e7dc1,...) at ext2_makeinode+0x51/frame 0x34464984 ext2_create(34464a00,176da1e,344649f8,200246,344649e4,...) at ext2_create+0x30/frame 0x344649a8 VOP_CREATE_APV(342202e0,34464a00,34464b88,34464a18,1dd89a4,...) at VOP_CREATE_APV+0x85/frame 0x344649d0 vn_open_cred(34464b28,34464be8,1b0,0,129a4500,2fc41c78) at vn_open_cred+0x260/frame 0x34464aa8 vn_open(34464b28,34464be8,1b0,2fc41c78,ffbfd5e0,...) at vn_open+0x3d/frame 0x34464ad0 kern_openat(3410d380,ffffff9c,ffbfd5e0,0,602,1b0) at kern_openat+0x326/frame 0x34464bd0 sys_openat(3410d380,3410d608,181dbf5,4,34464c38,...) at sys_openat+0x49/frame 0x34464bf8 syscall(34464ce8,3b,3b,3b,5c8a21ea,...) at syscall+0x361/frame 0x34464cdc Xint0x80_syscall() at 0xffc033a7/frame 0x34464cdc --- syscall (499, FreeBSD ELF32, sys_openat), eip = 0x20581063, esp = 0xffbfd5a8, ebp = 0xffbfd5c0 --- amdsmn_devclass() at 0x20581063 KDB: enter: panic [ thread pid 42144 tid 100304 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why db> reset