freebsd / drm-kmod

drm driver for FreeBSD
158 stars 69 forks source link

AMD Navi 5700XT on 13-CURRENT does not work #42

Closed tsujp closed 2 years ago

tsujp commented 3 years ago

Unsure of the exact cause here as I was trying out FreeBSD today but unable to get past a base vanilla install; stuck at installing GPU drivers.

I installed drm-devel-kmod from ports but when attempting to load /boot/modules/amdgpu.ko either within /etc/rc.conf or manually via kldload the machine auto-restarts or hangs with no display output as I've been dropped into a debugger.

both sysctl debug.debugger_on_panic=0 and/or sysctl debug.witness.watch=-1 followed by kldload /boot/modules/amdgpu.ko do nothing to change this.

Here are some logs, if I am missing more please instruct on how to provide them (very, very new to FreeBSD).

Very long logs spoiler ``` tbsd dumped core - see /var/crash/vmcore.1 Sat Nov 28 20:26:28 AWST 2020 FreeBSD tbsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 9e082d278b9-c254726(main): Thu Nov 26 04:50:43 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 panic: dummy ctx GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex vtdev (vtdev) r = 0 (0xffffffff818e6350) locked @ /usr/src/sys/dev/vt/vt_core.c:2825 stack backtrace: #0 0xffffffff80c540b1 at witnespanic: dummy ctx cpuid = 13 time = 1606566339 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00aa6044d8 vpanic() at vpanic+0x181/frame 0xfffffe00aa604528 panic() at panic+0x43/frame 0xfffffe00aa604588 fpu_kern_leave() at fpu_kern_leave+0x21c/frame 0xfffffe00aa6045b8 dcn20_validate_bandwidth() at dcn20_validate_bandwidth+0x15f/frame 0xfffffe00aa6045f0 dc_validate_global_state() at dc_validate_global_state+0x2ce/frame 0xfffffe00aa604650 amdgpu_dm_atomic_check() at amdgpu_dm_atomic_check+0xff0/frame 0xfffffe00aa604930 drm_atomic_check_only() at drm_atomic_check_only+0x400/frame 0xfffffe00aa6049b0 drm_atomic_commit() at drm_atomic_commit+0x13/frame 0xfffffe00aa6049d0 drm_client_modeset_commit_atomic() at drm_client_modeset_commit_atomic+0x148/frame 0xfffffe00aa604a40 drm_client_modeset_commit_force() at drm_client_modeset_commit_force+0x69/frame 0xfffffe00aa604a90 drm_fb_helper_restore_fbdev_mode_unlocked() at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a/frame 0xfffffe00aa604ac0 taskqueue_run_locked() at taskqueue_run_locked+0xaa/frame 0xfffffe00aa604b40 taskqueue_thread_loop() at taskqueue_thread_loop+0x94/frame 0xfffffe00aa604b70 fork_exit() at fork_exit+0x80/frame 0xfffffe00aa604bb0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00aa604bb0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- Uptime: 2m22s Dumping 1213 out of 32687 MB:..2%..11%..22%..31%..41%..51%..61%..72%..81%..91% No symbol "zombproc" in current context. Reading symbols from /boot/kernel/acpi_wmi.ko...Reading symbols from /usr/lib/debug//boot/kernel/acpi_wmi.ko.debug...done. done. Loaded symbols for /boot/kernel/acpi_wmi.ko Reading symbols from /boot/kernel/if_iwm.ko...Reading symbols from /usr/lib/debug//boot/kernel/if_iwm.ko.debug...done. done. Loaded symbols for /boot/kernel/if_iwm.ko Reading symbols from /boot/kernel/iwm3168fw.ko...Reading symbols from /usr/lib/debug//boot/kernel/iwm3168fw.ko.debug...done. done. Loaded symbols for /boot/kernel/iwm3168fw.ko Reading symbols from /boot/kernel/intpm.ko...Reading symbols from /usr/lib/debug//boot/kernel/intpm.ko.debug...done. done. Loaded symbols for /boot/kernel/intpm.ko Reading symbols from /boot/kernel/smbus.ko...Reading symbols from /usr/lib/debug//boot/kernel/smbus.ko.debug...done. done. Loaded symbols for /boot/kernel/smbus.ko Reading symbols from /boot/kernel/uhid.ko...Reading symbols from /usr/lib/debug//boot/kernel/uhid.ko.debug...done. done. Loaded symbols for /boot/kernel/uhid.ko Reading symbols from /boot/kernel/wmt.ko...Reading symbols from /usr/lib/debug//boot/kernel/wmt.ko.debug...done. done. Loaded symbols for /boot/kernel/wmt.ko Reading symbols from /boot/kernel/ums.ko...Reading symbols from /usr/lib/debug//boot/kernel/ums.ko.debug...done. done. Loaded symbols for /boot/kernel/ums.ko Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /usr/lib/debug//boot/kernel/ng_ubt.ko.debug...done. done. Loaded symbols for /boot/kernel/ng_ubt.ko Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /usr/lib/debug//boot/kernel/netgraph.ko.debug...done. done. Loaded symbols for /boot/kernel/netgraph.ko Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /usr/lib/debug//boot/kernel/ng_hci.ko.debug...done. done. Loaded symbols for /boot/kernel/ng_hci.ko Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /usr/lib/debug//boot/kernel/ng_bluetooth.ko.debug...done. done. Loaded symbols for /boot/kernel/ng_bluetooth.ko Reading symbols from /boot/kernel/snd_uaudio.ko...Reading symbols from /usr/lib/debug//boot/kernel/snd_uaudio.ko.debug...done. done. Loaded symbols for /boot/kernel/snd_uaudio.ko Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /usr/lib/debug//boot/kernel/ng_l2cap.ko.debug...done. done. Loaded symbols for /boot/kernel/ng_l2cap.ko Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /usr/lib/debug//boot/kernel/ng_btsocket.ko.debug...done. done. Loaded symbols for /boot/kernel/ng_btsocket.ko Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /usr/lib/debug//boot/kernel/ng_socket.ko.debug...done. done. Loaded symbols for /boot/kernel/ng_socket.ko Reading symbols from /boot/modules/amdgpu.ko...done. Loaded symbols for /boot/modules/amdgpu.ko Reading symbols from /boot/modules/drm.ko...done. Loaded symbols for /boot/modules/drm.ko Reading symbols from /boot/kernel/linuxkpi.ko...Reading symbols from /usr/lib/debug//boot/kernel/linuxkpi.ko.debug...done. done. Loaded symbols for /boot/kernel/linuxkpi.ko Reading symbols from /boot/kernel/backlight.ko...Reading symbols from /usr/lib/debug//boot/kernel/backlight.ko.debug...done. done. Loaded symbols for /boot/kernel/backlight.ko Reading symbols from /boot/modules/linuxkpi_gplv2.ko...done. Loaded symbols for /boot/modules/linuxkpi_gplv2.ko Reading symbols from /boot/kernel/lindebugfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/lindebugfs.ko.debug...done. done. Loaded symbols for /boot/kernel/lindebugfs.ko Reading symbols from /boot/modules/ttm.ko...done. Loaded symbols for /boot/modules/ttm.ko Reading symbols from /boot/modules/amdgpu_navi10_gpu_info_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_gpu_info_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_sos_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_sos_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_asd_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_asd_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_smc_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_smc_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_pfp_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_pfp_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_me_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_me_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_ce_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_ce_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_rlc_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_rlc_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_mec_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_mec_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_mec2_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_mec2_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_sdma_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_sdma_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_sdma1_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_sdma1_bin.ko Reading symbols from /boot/modules/amdgpu_navi10_vcn_bin.ko...done. Loaded symbols for /boot/modules/amdgpu_navi10_vcn_bin.ko #0 doadump (textdump=1) at src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 doadump (textdump=1) at src/sys/amd64/include/pcpu_aux.h:55 #1 0xffffffff80be4ea0 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:486 #2 0xffffffff80be5300 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:919 #3 0xffffffff80be5053 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:843 #4 0xffffffff8100928c in fpu_kern_leave (td=0x0, ctx=0xfffff800c6e72800) at /usr/src/sys/amd64/amd64/fpu.c:1222 #5 0xffffffff829a676f in dcn20_validate_bandwidth () from /boot/modules/amdgpu.ko #6 0xffffffff8293f09e in dc_validate_global_state () from /boot/modules/amdgpu.ko #7 0xffffffff82915a80 in amdgpu_dm_atomic_check () from /boot/modules/amdgpu.ko #8 0xffffffff82b21360 in drm_atomic_check_only () from /boot/modules/drm.ko #9 0xffffffff82b21793 in drm_atomic_commit () from /boot/modules/drm.ko #10 0xffffffff82b2e408 in drm_client_modeset_commit_atomic () from /boot/modules/drm.ko #11 0xffffffff82b2e169 in drm_client_modeset_commit_force () from /boot/modules/drm.ko #12 0xffffffff82b6e5aa in drm_fb_helper_restore_fbdev_mode_unlocked () from /boot/modules/drm.ko #13 0xffffffff80c464ba in taskqueue_run_locked (queue=0xfffffe00aa47ec00) at /usr/src/sys/kern/subr_taskqueue.c:476 #14 0xffffffff80c47544 in taskqueue_thread_loop (arg=Unhandled dwarf expression opcode 0xa3 ) at /usr/src/sys/kern/subr_taskqueue.c:793 #15 0xffffffff80b9f8c0 in fork_exit ( callout=0xffffffff80c474b0 , arg=0xffffffff81cf8f30, frame=0xfffffe00aa604bc0) at /usr/src/sys/kern/kern_fork.c:1069 #16 0xffffffff8100627e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:1082 #17 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) ------------------------------------------------------------------------ ps -axlww UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 3 -16 0 0 0 swapin DLs - 0:00.00 [kernel] 0 1 0 2 20 0 11928 1168 wait DLs - 0:00.00 [init] 0 2 0 10 -16 0 0 0 crypto_w DL - 0:00.00 [crypto] 0 3 0 8 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 0] 0 4 0 10 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 1] 0 5 0 12 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 2] 0 6 0 10 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 3] 0 7 0 10 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 4] 0 8 0 15 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 5] 0 9 0 8 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 6] 0 10 0 5 -16 0 0 0 audit_wo DL - 0:00.00 [audit] 0 11 0 0 155 0 0 0 - RL - 23:50.76 [idle] 0 12 0 -1 -56 0 0 0 - WL - 0:00.98 [intr] 0 13 0 4 -8 0 0 0 - DL - 0:00.01 [geom] 0 14 0 15 -16 0 0 0 seqstate DL - 0:00.00 [sequencer 00] 0 15 0 14 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 7] 0 16 0 15 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 8] 0 17 0 15 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 9] 0 18 0 8 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 10] 0 19 0 11 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 11] 0 20 0 12 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 12] 0 21 0 10 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 13] 0 22 0 10 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 14] 0 23 0 13 -16 0 0 0 crypto_r DL - 0:00.00 [crypto returns 15] 0 24 0 11 -16 0 0 0 - RL - 0:00.00 [cam] 0 25 0 4 -68 0 0 0 - DL - 0:00.08 [usb] 0 26 0 6 -16 0 0 0 - DL - 0:00.00 [soaiod1] 0 27 0 14 -16 0 0 0 - DL - 0:00.00 [soaiod2] 0 28 0 0 -16 0 0 0 - DL - 0:00.00 [soaiod3] 0 29 0 9 -16 0 0 0 - DL - 0:00.00 [soaiod4] 0 30 0 8 -16 0 0 0 - DL - 0:00.02 [rand_harvestq] 0 31 0 15 -16 0 0 0 psleep DL - 0:00.01 [pagedaemon] 0 32 0 14 -16 0 0 0 psleep DL - 0:00.00 [vmdaemon] 0 33 0 11 -16 0 0 0 qsleep DL - 0:00.03 [bufdaemon] 0 34 0 0 -16 0 0 0 vlruwt DL - 0:00.00 [vnlru] 0 35 0 10 16 0 0 0 syncer DL - 0:00.00 [syncer] 0 115 1 7 52 0 12864 2084 pause Ds - 0:00.00 [adjkerntz] 0 732 0 8 -16 0 0 0 sleep DL - 0:00.00 [ng_queue] 0 891 1 12 20 0 11592 1620 select Ds - 0:00.00 [devd] 0 914 1 0 23 0 13284 2728 select Ds - 0:00.00 [dhclient] 0 917 1 6 4 0 13284 2852 select Ds - 0:00.00 [dhclient] 65 1001 1 3 22 0 13288 2984 select DCs - 0:00.00 [dhclient] 0 1012 1 8 52 0 13192 2396 select Ds - 0:00.00 [moused] 0 1035 1 9 52 0 13192 2396 select Ds - 0:00.00 [moused] 0 1227 1 11 1 0 13012 2752 select Ds - 0:00.00 [syslogd] 0 1377 1 6 20 0 18200 7012 select Ds - 0:00.00 [sendmail] 25 1380 1 8 52 0 18200 5552 pause Ds - 0:00.00 [sendmail] 0 1397 1 6 52 0 21036 8472 select Ds - 0:00.00 [sshd] 0 1404 1 13 20 0 13056 2744 nanslp Ds - 0:00.00 [cron] 0 1424 1 11 20 0 13696 3280 wait Ds - 0:00.01 [login] 0 1425 1 12 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 0 1426 1 10 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 0 1427 1 7 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 0 1428 1 9 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 0 1429 1 4 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 0 1430 1 15 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 0 1431 1 3 52 0 12984 2320 ttyin Ds+ - 0:00.00 [getty] 1000 1432 1424 11 20 0 15284 4872 wait D - 0:00.01 [bash] 0 1446 1432 4 20 0 14668 4272 select D+ - 0:00.00 [sudo] 0 1447 1446 5 20 0 12864 2152 - R+ - 0:00.00 [kldload] ------------------------------------------------------------------------ vmstat -s 660846 cpu context switches 295319 device interrupts 3234 software interrupts 520417 traps 649516 system calls 36 kernel threads created 1092 fork() calls 295 vfork() calls 24 rfork() calls 0 swap pager pageins 0 swap pager pages paged in 0 swap pager pageouts 0 swap pager pages paged out 755 vnode pager pageins 5499 vnode pager pages paged in 0 vnode pager pageouts 0 vnode pager pages paged out 0 page daemon wakeups 0 pages examined by the page daemon 0 clean page reclamation shortfalls 0 pages reactivated by the page daemon 55029 copy-on-write faults 154 copy-on-write optimized faults 478224 zero fill pages zeroed 0 zero fill pages prezeroed 403 intransit blocking page faults 561317 total VM faults taken 624 page faults requiring I/O 0 pages affected by kernel thread creation 90729 pages affected by fork() 10316 pages affected by vfork() 846 pages affected by rfork() 706865 pages freed 0 pages freed by daemon 0 pages freed by exiting processes 0 pages active 0 pages inactive 0 pages in the laundry queue 0 pages wired down 0 virtual user pages wired down 0 pages free 0 bytes per page 0 total name lookups cache hits (0% pos + 0% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% ------------------------------------------------------------------------ vmstat -m Type InUse MemUse Requests Size(s) vtbuf 24 3072K 46 4096 vt 11 5K 11 384 ddb_capture 1 64K 1 65536 DEVFS3 486 122K 510 256 DEVFS1 452 452K 509 1024 DEVFS_RULE 59 21K 59 64,384 DEVFS 24 1K 27 16,128 DEVFSP 4 1K 4 64 NFSD V4client 1 1K 1 256 NFSD lckfile 1 1K 1 256 NFSD session 1 1K 1 1024 pfs_nodes 30 12K 30 384 pfs_vncache 1 64K 1 65536 GEOM 286 49K 1687 16,32,64,128,256,512,1024,2048,8192,16384,32768 raid_data 0 0K 240 32,128,256 isadev 8 1K 8 128 evdev 9 9K 10 1024 acpiintr 1 1K 1 64 cdev 2 1K 2 256 filedesc 5 37K 23 32,4096,16384 pwddesc 60 4K 1448 64 sigio 0 0K 1 64 filecaps 1 1K 187 16,32,64 kdtrace 392 87K 1780 64,256 kenv 99 12K 99 16,32,64,128,8192 kqueue 60 4K 1448 64 proc-args 152 6K 1277 16,32,64,128,256 hhook 13 4K 13 256 ithread 199 34K 199 32,128,256 prison 10 1K 10 32 KTRACE 100 13K 100 128 linker 761 3760K 1033 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 acpica 10405 1061K 471554 16,32,64,128,256,384,512,1024,2048,4096 lockf 32 4K 67 64,128 loginclass 2 1K 2 64 devbuf 28046 49873K 29457 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,65536 temp 67 19K 5727 16,32,64,128,256,1024,2048,8192,16384,32768,65536 acpitask 1 64K 1 65536 kbdmux 9 22K 10 16,384,1024,2048,16384 module 538 68K 538 128 mtx_pool 2 72K 2 8192,65536 osd 3 1K 9 16,32,64,128,256 pmchooks 1 1K 1 128 pmc 1 1K 1 64 pgrp 23 3K 50 128 session 21 3K 32 128 proc 3 132K 3 4096,65536 subproc 196 291K 1584 384,4096 cred 28 7K 183 256 plimit 19 5K 325 256 uidinfo 5 17K 30 128,16384 dumper 2 1K 2 128,512 sysctl 0 0K 146 32,64 sysctloid 34903 1987K 35246 16,32,64,128,256 sysctltmp 0 0K 3293 16,32,64,256,1024 tidhash 3 260K 3 8192 callout 16 4096K 16 umtx 738 93K 738 128 p1003.1b 1 1K 1 16 SWAP 1 260K 1 bus 1653 156K 31562 16,32,64,128,256,2048,4096 bus-sc 152 3971K 10032 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 devstat 16 33K 16 32,4096 eventhandler 124 11K 124 64,128 firmware 28 3K 28 16,32,128 gtaskqueue 102 34K 102 16,32,256,8192 kobj 354 1416K 762 4096 Per-cpu 1 1K 1 32 rman 395 43K 871 16,32,128 sbuf 1 4K 2573 16,32,64,128,256,4096,32768,65536 toponodes 43 6K 43 128 acpisem 52 7K 52 128 acpidev 80 5K 80 64 taskqueue 57 7K 57 16,32,128,256 terminal 11 3K 11 256 Unitno 25 2K 67 32,64 vmem 3 148K 4 2048,4096,16384 ioctlops 0 0K 137 256,384,1024 select 12 2K 81 128 iov 0 0K 335820 16,64,128,256,384 selfd 31 2K 7347 64 procdesc 1 1K 24 128 msg 4 30K 4 2048,4096,8192,16384 sem 4 106K 4 2048,4096 shm 1 32K 1 32768 tty 17 17K 17 1024 mbuf_tag 0 0K 24 32 shmfd 1 8K 1 8192 soname 4 1K 13663 16,32,64,128 pcb 16 3081K 57 16,32,64,1024,2048 CAM SIM 7 2K 7 256 nvd 2 1K 2 64,256 nvme 1055 152K 24708 128,1024,2048,4096 vfscache 3 8240K 3 16384,32768 vfs_hash 1 4096K 1 vnodes 1 1K 1 256 namei_tracker 0 0K 29 32 mount 16 1K 89 16,32,64,128,256,1024 statfs 0 0K 13 4096 vnodemarker 2 1K 18 512 chacha20random 1 4K 1 4096 BPF 10 18K 10 128,256,512,4096 ifnet 3 5K 3 128,2048 ifaddr 42 12K 42 16,32,64,128,256,384,2048,4096 ether_multi 17 2K 22 16,32,64,128 clone 8 1K 8 128 lltable 10 3K 10 256,384 tun 3 1K 3 32 pfil 3 1K 3 128 nhops 6 1K 6 128 routetbl 15 4K 15 32,64,128,384,1024 vnet 1 1K 1 64 vnet_data 1 168K 1 vnet_data_free 1 1K 1 32 80211node 0 0K 9 16 80211scan 1 16K 1 16384 igmp 2 1K 2 128 in_multi 2 1K 3 256 encap_export_host 8 1K 8 32,64 tfo_ccache 1 128K 1 hostcache 1 32K 1 32768 tcpfunc 1 1K 1 64 syncache 1 68K 1 in6_multi 15 2K 15 32,256 mld 2 1K 2 128 ip6ndp 3 1K 3 64,256 inpcbpolicy 6 1K 62 32 secasvar 1 1K 1 1024 sahead 1 1K 1 1024 ipsecpolicy 1 1K 1 1024 ipsec-saq 2 2K 2 1024 crypto 3 3K 3 64,256,2048 CAM XPT 38 3K 99 16,32,128,512,1024,2048,65536 audit_evclass 233 8K 291 32 pagedep 2 513K 75 256 inodedep 2 4097K 99 384 bmsafemap 1 8K 73 256,8192 newblk 2 8193K 33895 256 indirdep 0 0K 11 256,32768 freefrag 0 0K 11 128 freeblks 0 0K 19 256 freefile 0 0K 25 128 diradd 1 1K 51 128 mkdir 0 0K 14 128 dirrem 0 0K 27 256 newdirblk 0 0K 7 128 freework 1 1K 24 16,256 jaddref 0 0K 65 256 jremref 0 0K 41 256 jnewblk 0 0K 33894 128 jfreefrag 0 0K 11 128 jseg 5 2K 91 256 jsegdep 3 1K 34011 128 sbdep 0 0K 7 128 savedino 0 0K 16 256 jblocks 2 1K 2 128,256 softdep 1 1K 1 1024 ufs_dirhash 51 11K 51 16,32,64,128,256,512 ufs_quota 1 4096K 1 ufs_mount 5 41K 6 32,64,512,8192,16384,32768 vm_pgdata 1 1K 1 128 entropy 1 1K 19 32,64,4096 CAM DEV 10 20K 26 2048 UMA 255 5K 255 16,32 CAM CCB 0 0K 509 2048 CAM path 13 1K 90 32 CAM periph 8 2K 32 16,32,64,128,256 acpi_perf 16 2K 16 128 hdaa 9 68K 9 1024,2048,4096,8192,16384,32768 hdac 2 2K 2 512,1024 hdacc 2 1K 2 32 feeder 34 4K 46 32,128 mixer 9 36K 9 4096 rpc 2 8K 2 4096 pci_link 16 2K 16 32,128 atkbddev 2 1K 2 64 apmdev 1 1K 1 128 CAM I/O Scheduler 3 1K 3 128 intr 4 472K 4 65536 MCA 45 12K 45 128,512 cpus 2 1K 2 64 nexusdev 5 1K 5 16 CAM queue 17 6K 68 16,32,512 UART 15 15K 15 16,1024,2048 fpukern_ctx 1 1K 6 1024 memdesc 1 4K 1 4096 USB 79 167K 95 16,32,128,256,384,1024,2048,4096,8192,32768 USBdev 73 21K 84 32,64,128,256,384,512,2048,4096 CAM dev queue 7 1K 7 64 madt_table 0 0K 2 128,4096 io_apic 2 6K 2 2048,4096 local_apic 1 16K 1 16384 msi 22 3K 22 128 netgraph_msg 0 0K 40 64,128,256,1024,32768 netgraph_hook 10 2K 10 128 netgraph_node 9 3K 19 128,256 netgraph_hci 1 1K 1 256 netgraph_l2cap 1 1K 1 128 netgraph_btsocks_hci_raw 1 8K 23 128,8192 netgraph_btsocks_l2cap_raw 1 1K 1 32 netgraph_btsocks_l2cap 1 1K 1 32 netgraph_path 0 0K 11 16 netgraph_sock 0 0K 18 128 linux 1461 1897K 1730 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 linuxcurrent 22 5K 38 64,256 idr 48 17K 48 128,384 lkpifw 13 1K 26 32 idr 1 1K 1 16 debugfsint 3 1K 3 16,64 drm_driver 1 1K 1 32 drm_kms 2 2K 2 64,1024 ------------------------------------------------------------------------ vmstat -z ITEM SIZE LIMIT USED FREE REQ FAILSLEEP XDOMAIN UMA Kegs: 384, 0, 197, 0, 197, 0, 0, 0 UMA Zones: 2560, 0, 227, 0, 227, 0, 0, 0 UMA Slabs 0: 112, 0, 11272, 0, 11272, 0, 0, 0 UMA Slabs 1: 176, 0, 10, 0, 10, 0, 0, 0 UMA Hash: 256, 0, 0, 0, 0, 0, 0, 0 2 Bucket: 32, 0, 347, 3559, 11765, 636, 0, 0 4 Bucket: 48, 0, 36, 1476, 13759, 294, 0, 0 8 Bucket: 80, 0, 238, 662, 70384,1562, 0, 0 16 Bucket: 144, 0, 175, 1141, 2973, 0, 0, 0 32 Bucket: 256, 0, 275, 880, 2402, 28, 0, 0 64 Bucket: 512, 0, 911, 49, 5982, 706, 0, 0 128 Bucket: 1024, 0, 615, 168, 4156, 800, 0, 0 256 Bucket: 2048, 0, 573, 15, 11887, 351, 0, 0 SMR SHARED: 24, 0, 2, 61, 2, 0, 0, 0 SMR CPU: 32, 0, 2, 61, 2, 0, 0, 0 vmem: 1856, 0, 1, 1, 1, 0, 0, 0 vmem btag: 56, 0, 13304, 428, 13304, 367, 0, 0 VM OBJECT: 264, 0, 1141, 344, 24678, 0, 0, 0 RADIX NODE: 144, 0, 25049, 1080, 106567, 0, 0, 0 KMAP ENTRY: 96, 0, 111, 0, 133, 0, 0, 0 MAP ENTRY: 96, 0, 891, 2301, 77828, 0, 0, 0 VMSPACE: 2544, 0, 24, 81, 1413, 0, 0, 0 fakepg: 104, 0, 0, 0, 0, 0, 0, 0 pcpu-4: 4, 0, 0, 0, 0, 0, 0, 0 pcpu-8: 8, 0, 3170, 2204, 3173, 0, 0, 0 pcpu-16: 16, 0, 7, 247, 7, 0, 0, 0 pcpu-32: 32, 0, 0, 0, 0, 0, 0, 0 pcpu-64: 64, 0, 452, 380, 452, 0, 0, 0 malloc-16: 16, 0, 290, 3960, 216653, 0, 0, 0 malloc-16: 16, 0, 250, 1750, 250, 0, 0, 0 malloc-16: 16, 0, 35, 1965, 38, 0, 0, 0 malloc-16: 16, 0, 378, 3372, 7874, 0, 0, 0 malloc-16: 16, 0, 14620, 2380, 14932, 0, 0, 0 malloc-16: 16, 0, 90, 2910, 1667, 0, 0, 0 malloc-16: 16, 0, 263, 3737, 1573, 0, 0, 0 malloc-16: 16, 0, 69, 2181, 150, 0, 0, 0 malloc-32: 32, 0, 549, 1971, 21766, 0, 0, 0 malloc-32: 32, 0, 361, 1403, 504, 0, 0, 0 malloc-32: 32, 0, 19, 1619, 37, 0, 0, 0 malloc-32: 32, 0, 272, 1870, 4724, 0, 0, 0 malloc-32: 32, 0, 7013, 1303, 7318, 0, 0, 0 malloc-32: 32, 0, 53, 1585, 334, 0, 0, 0 malloc-32: 32, 0, 349, 1793, 552, 0, 0, 0 malloc-32: 32, 0, 59, 823, 104, 0, 0, 0 malloc-64: 64, 0, 2959, 1010, 12296, 0, 0, 0 malloc-64: 64, 0, 30, 663, 41, 0, 0, 0 malloc-64: 64, 0, 39, 717, 68, 0, 0, 0 malloc-64: 64, 0, 726, 849, 10114, 0, 0, 0 malloc-64: 64, 0, 3161, 682, 3276, 0, 0, 0 malloc-64: 64, 0, 216, 792, 3153, 0, 0, 0 malloc-64: 64, 0, 11527, 821, 346641, 0, 0, 0 malloc-64: 64, 0, 51, 453, 87, 0, 0, 0 malloc-128: 128, 0, 6638, 34096, 252066, 0, 0, 0 malloc-128: 128, 0, 402, 311, 918, 0, 0, 0 malloc-128: 128, 0, 162, 396, 242, 0, 0, 0 malloc-128: 128, 0, 386, 9441, 35033, 0, 0, 0 malloc-128: 128, 0, 12658, 269, 12845, 0, 0, 0 malloc-128: 128, 0, 1187, 2347, 28451, 0, 0, 0 malloc-128: 128, 0, 4683, 370, 17231, 0, 0, 0 malloc-128: 128, 0, 64, 432, 285, 0, 0, 0 malloc-256: 256, 0, 39, 246, 4346, 0, 0, 0 malloc-256: 256, 0, 29, 196, 495, 0, 0, 0 malloc-256: 256, 0, 17, 223, 47, 0, 0, 0 malloc-256: 256, 0, 289, 176, 1013, 0, 0, 0 malloc-256: 256, 0, 326, 154, 379, 0, 0, 0 malloc-256: 256, 0, 406, 224, 960, 0, 0, 0 malloc-256: 256, 0, 844, 161, 1857, 0, 0, 0 malloc-256: 256, 0, 140, 33940, 34256, 0, 0, 0 malloc-384: 384, 0, 1, 19, 18, 0, 0, 0 malloc-384: 384, 0, 7, 33, 7, 0, 0, 0 malloc-384: 384, 0, 59, 41, 59, 0, 0, 0 malloc-384: 384, 0, 178, 62, 2235, 0, 0, 0 malloc-384: 384, 0, 76, 34, 77, 0, 0, 0 malloc-384: 384, 0, 3, 17, 3, 0, 0, 0 malloc-384: 384, 0, 226, 314, 1362, 0, 0, 0 malloc-384: 384, 0, 1, 129, 98, 0, 0, 0 malloc-512: 512, 0, 18, 62, 21, 0, 0, 0 malloc-512: 512, 0, 17, 7, 17, 0, 0, 0 malloc-512: 512, 0, 5, 59, 21, 0, 0, 0 malloc-512: 512, 0, 1, 47, 248, 0, 0, 0 malloc-512: 512, 0, 11, 29, 17, 0, 0, 0 malloc-512: 512, 0, 11, 21, 27, 0, 0, 0 malloc-512: 512, 0, 6, 26, 8, 0, 0, 0 malloc-512: 512, 0, 0, 56, 459, 0, 0, 0 malloc-1024: 1024, 0, 4, 60, 105, 0, 0, 0 malloc-1024: 1024, 0, 22, 2, 22, 0, 0, 0 malloc-1024: 1024, 0, 13, 3, 13, 0, 0, 0 malloc-1024: 1024, 0, 37, 43, 991, 0, 0, 0 malloc-1024: 1024, 0, 102, 30, 136, 0, 0, 0 malloc-1024: 1024, 0, 13, 55, 2426, 0, 0, 0 malloc-1024: 1024, 0, 543, 37, 605, 0, 0, 0 malloc-1024: 1024, 0, 12, 28, 163, 0, 0, 0 malloc-2048: 2048, 0, 7, 37, 1842, 0, 0, 0 malloc-2048: 2048, 0, 7, 1, 7, 0, 0, 0 malloc-2048: 2048, 0, 19, 97, 531, 0, 0, 0 malloc-2048: 2048, 0, 9, 13, 258, 0, 0, 0 malloc-2048: 2048, 0, 40, 4, 75, 0, 0, 0 malloc-2048: 2048, 0, 9, 7, 1152, 0, 0, 0 malloc-2048: 2048, 0, 354, 16, 406, 0, 0, 0 malloc-2048: 2048, 0, 1, 13, 41, 0, 0, 0 malloc-4096: 4096, 0, 1, 0, 1, 0, 0, 0 malloc-4096: 4096, 0, 2, 9, 19, 0, 0, 0 malloc-4096: 4096, 0, 379, 3, 796, 0, 0, 0 malloc-4096: 4096, 0, 64, 33, 21185, 0, 0, 0 malloc-4096: 4096, 0, 19, 2, 22, 0, 0, 0 malloc-4096: 4096, 0, 14, 1, 17, 0, 0, 0 malloc-4096: 4096, 0, 179, 5, 222, 0, 0, 0 malloc-4096: 4096, 0, 2, 0, 2, 0, 0, 0 malloc-8192: 8192, 0, 3, 0, 3, 0, 0, 0 malloc-8192: 8192, 0, 1, 0, 1, 0, 0, 0 malloc-8192: 8192, 0, 2, 0, 2, 0, 0, 0 malloc-8192: 8192, 0, 8, 4, 674, 0, 0, 0 malloc-8192: 8192, 0, 3, 1, 4, 0, 0, 0 malloc-8192: 8192, 0, 2, 0, 2, 0, 0, 0 malloc-8192: 8192, 0, 21, 1, 22, 0, 0, 0 malloc-8192: 8192, 0, 4, 5, 154, 0, 0, 0 malloc-16384: 16384, 0, 0, 0, 0, 0, 0, 0 malloc-16384: 16384, 0, 1, 0, 1, 0, 0, 0 malloc-16384: 16384, 0, 0, 0, 0, 0, 0, 0 malloc-16384: 16384, 0, 2, 2, 1022, 0, 0, 0 malloc-16384: 16384, 0, 5, 7, 15, 0, 0, 0 malloc-16384: 16384, 0, 1, 12, 22, 0, 0, 0 malloc-16384: 16384, 0, 12, 0, 13, 0, 0, 0 malloc-16384: 16384, 0, 2, 12, 56, 0, 0, 0 malloc-32768: 32768, 0, 0, 0, 0, 0, 0, 0 malloc-32768: 32768, 0, 1, 0, 1, 0, 0, 0 malloc-32768: 32768, 0, 1, 0, 1, 0, 0, 0 malloc-32768: 32768, 0, 5, 8, 869, 0, 0, 0 malloc-32768: 32768, 0, 14, 3, 49, 0, 0, 0 malloc-32768: 32768, 0, 2, 2, 4, 0, 0, 0 malloc-32768: 32768, 0, 11, 0, 11, 0, 0, 0 malloc-32768: 32768, 0, 0, 2, 6, 0, 0, 0 malloc-65536: 65536, 0, 2, 0, 2, 0, 0, 0 malloc-65536: 65536, 0, 1, 0, 1, 0, 0, 0 malloc-65536: 65536, 0, 0, 0, 0, 0, 0, 0 malloc-65536: 65536, 0, 1, 5, 788, 0, 0, 0 malloc-65536: 65536, 0, 10, 1, 34, 0, 0, 0 malloc-65536: 65536, 0, 0, 9, 36, 0, 0, 0 malloc-65536: 65536, 0, 12, 1, 14, 0, 0, 0 malloc-65536: 65536, 0, 2, 0, 2, 0, 0, 0 SLEEPQUEUE: 88, 0, 370, 238, 370, 0, 0, 0 kenv: 258, 0, 21, 234, 6400, 0, 0, 0 Files: 80, 0, 80, 720, 15784, 0, 0, 0 filedesc0: 1072, 0, 60, 171, 1448, 0, 0, 0 PWD: 32, 0, 14, 2002, 170, 0, 0, 0 rl_entry: 40, 0, 81, 1535, 81, 0, 0, 0 TURNSTILE: 136, 0, 370, 113, 370, 0, 0, 0 rangeset pctrie nodes: 144, 0, 0, 0, 0, 0, 0, 0 umtx pi: 96, 0, 0, 0, 0, 0, 0, 0 umtx_shm: 88, 0, 0, 0, 0, 0, 0, 0 swrbuf: 832, 128, 0, 0, 0, 0, 0, 0 swwbuf: 832, 64, 0, 0, 0, 0, 0, 0 nfspbuf: 832, 128, 0, 0, 0, 0, 0, 0 mdpbuf: 832, 25, 0, 0, 0, 0, 0, 0 vnpbuf: 832, 512, 0, 0, 0, 0, 0, 0 clpbuf: 832, 128, 0, 128, 9246, 104, 0, 0 pbuf: 832, 16, 0, 0, 0, 0, 0, 0 MAC labels: 40, 0, 0, 0, 0, 0, 0, 0 PROC: 1320, 0, 59, 76, 1447, 0, 0, 0 THREAD: 1792, 0, 331, 37, 331, 0, 0, 0 cpuset: 104, 0, 43, 422, 43, 0, 0, 0 domainset: 40, 0, 0, 0, 0, 0, 0, 0 audit_record: 1280, 0, 0, 0, 0, 0, 0, 0 mbuf_packet: 256, 0, 256, 689, 1393, 0, 0, 0 mbuf: 256, 13039172, 16897, 773, 18420, 0, 0, 0 mbuf_cluster: 2048, 2037370, 17329, 19, 17338, 0, 0, 0 mbuf_jumbo_page: 4096, 1018685, 256, 0, 256, 0, 0, 0 mbuf_jumbo_9k: 9216, 301832, 0, 0, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 169780, 0, 0, 0, 0, 0, 0 epoch_record pcpu: 256, 0, 4, 12, 4, 0, 0, 0 FPU_save_area: 896, 0, 1, 8, 1, 0, 0, 0 ttyinq: 160, 0, 120, 180, 585, 0, 0, 0 ttyoutq: 256, 0, 64, 116, 312, 0, 0, 0 IOMMU_MAP_ENTRY: 120, 0, 0, 0, 0, 0, 0, 0 DEVCTL: 1024, 1000, 0, 0, 756, 0, 0, 0 g_bio: 384, 0, 0, 1350, 65514, 0, 0, 0 cryptop: 280, 0, 0, 0, 0, 0, 0, 0 crypto_session: 72, 0, 0, 0, 0, 0, 0, 0 vtnet_tx_hdr: 24, 0, 0, 0, 0, 0, 0, 0 VNODE: 488, 0, 714, 94, 741, 0, 0, 0 BUF TRIE: 144, 0, 1011, 1097, 15159, 0, 0, 0 S VFS Cache: 104, 0, 1472, 361, 1518, 0, 0, 0 STS VFS Cache: 144, 0, 0, 0, 0, 0, 0, 0 L VFS Cache: 320, 0, 0, 0, 0, 0, 0, 0 LTS VFS Cache: 360, 0, 0, 0, 0, 0, 0, 0 NAMEI: 1024, 0, 0, 104, 33894, 0, 0, 0 TMPFS node: 224, 0, 0, 0, 0, 0, 0, 0 DIRHASH: 1024, 0, 96, 16, 96, 0, 0, 0 NCLNODE: 592, 0, 0, 0, 0, 0, 0, 0 Mountpoints: 2752, 0, 2, 2, 2, 0, 0, 0 pipe: 744, 0, 3, 92, 465, 0, 0, 0 AIO: 208, 0, 0, 0, 0, 0, 0, 0 AIOP: 32, 0, 0, 0, 0, 0, 0, 0 AIOCB: 744, 0, 0, 0, 0, 0, 0, 0 AIOLIO: 272, 0, 0, 0, 0, 0, 0, 0 ksiginfo: 112, 0, 91, 1205, 131, 0, 0, 0 itimer: 352, 0, 0, 0, 0, 0, 0, 0 KNOTE: 160, 0, 0, 0, 0, 0, 0, 0 socket: 944, 1045984, 17, 67, 4385, 0, 0, 0 ipq: 56, 51200, 0, 0, 0, 0, 0, 0 udp_inpcb: 488, 1045984, 2, 94, 56, 0, 0, 0 udpcb: 32, 1045984, 2, 1510, 56, 0, 0, 0 tcp_inpcb: 488, 1045984, 3, 29, 5, 0, 0, 0 tcpcb: 1048, 1045984, 3, 41, 5, 0, 0, 0 tcptw: 88, 27767, 0, 0, 0, 0, 0, 0 syncache: 168, 15360, 0, 0, 0, 0, 0, 0 hostcache: 96, 15360, 0, 0, 0, 0, 0, 0 sackhole: 32, 0, 0, 0, 0, 0, 0, 0 tfo: 4, 0, 0, 0, 0, 0, 0, 0 tfo_ccache_entries: 80, 0, 0, 0, 0, 0, 0, 0 tcpreass: 48, 127335, 0, 0, 0, 0, 0, 0 tcp_log: 416, 5000000, 0, 0, 0, 0, 0, 0 tcp_log_bucket: 176, 0, 0, 0, 0, 0, 0, 0 tcp_log_node: 120, 0, 0, 0, 0, 0, 0, 0 udplite_inpcb: 488, 1045984, 0, 0, 0, 0, 0, 0 ripcb: 488, 1045984, 1, 7, 1, 0, 0, 0 IPsec SA lft_c: 16, 0, 0, 0, 0, 0, 0, 0 unpcb: 256, 1045984, 10, 230, 4264, 0, 0, 0 routing nhops: 256, 0, 8, 112, 14, 0, 0, 0 rtentry: 176, 0, 11, 173, 14, 0, 0, 0 swpctrie: 144, 4074784, 0, 0, 0, 0, 0, 0 swblk: 136, 4074761, 0, 0, 0, 0, 0, 0 FFS inode: 160, 0, 669, 181, 694, 0, 0, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 669, 141, 694, 0, 0, 0 NetGraph items: 72, 4096, 0, 256, 60, 0, 0, 0 NetGraph data items: 72, 4096, 0, 352, 54, 0, 0, 0 linux_dma_pctrie: 144, 0, 0, 0, 0, 0, 0, 0 linux_dma_object: 24, 0, 0, 0, 0, 0, 0, 0 drm_sched_fence: 184, 0, 3, 39, 3, 0, 0, 0 amdgpu_sync: 32, 0, 0, 0, 0, 0, 0, 0 amdgpu_fence: 72, 0, 4, 28, 4, 0, 0, 0 ------------------------------------------------------------------------ vmstat -i interrupt total rate irq3: uart2 uart4 1 0 irq4: uart3 uart5+ 2 0 cpu0:timer 3302 166 cpu1:timer 1832 92 cpu2:timer 1006 51 cpu3:timer 2072 104 cpu4:timer 1904 96 cpu5:timer 1640 82 cpu6:timer 1847 93 cpu7:timer 2156 108 cpu8:timer 1199 60 cpu9:timer 2227 112 cpu10:timer 1613 81 cpu11:timer 2079 104 cpu12:timer 1821 91 cpu13:timer 3012 151 cpu14:timer 3594 181 cpu15:timer 3565 179 irq59: nvme0:admin 22 1 irq60: nvme0:io0 1703 86 irq61: nvme0:io1 1272 64 irq62: nvme0:io2 1416 71 irq63: nvme0:io3 2005 101 irq64: nvme0:io4 3370 169 irq65: nvme0:io5 3502 176 irq66: nvme0:io6 3631 182 irq67: nvme0:io7 3894 196 irq68: xhci0 272537 13694 irq69: ahci0 443 22 irq70: re0 76 4 irq71: hdac0 4 0 irq72: xhci1 1395 70 irq73: hdac1 19 1 irq76: iwm0 23 1 irq77: vgapci0 4 0 Total 330188 16591 ------------------------------------------------------------------------ pstat -T 80/1045984 files 0M/0M swap space ------------------------------------------------------------------------ pstat -s Device 1K-blocks Used Avail Capacity ------------------------------------------------------------------------ iostat tty nvd0 ada0 ada1 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 3 120 115 146 16.4 2.7 1 0.0 2.8 1 0.0 0 0 0 0 99 ------------------------------------------------------------------------ ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME ------------------------------------------------------------------------ ipcs -T msginfo: msgmax: 16384 (max characters in a message) msgmni: 40 (# of message queues) msgmnb: 2048 (max characters in a message queue) msgtql: 40 (max # of messages in system) msgssz: 8 (size of a message segment) msgseg: 2048 (# of message segments in system) shminfo: shmmax: 536870912 (max shared memory segment size) shmmin: 1 (min shared memory segment size) shmmni: 192 (max number of shared memory identifiers) shmseg: 128 (max shared memory segments per process) shmall: 131072 (max amount of shared memory in pages) seminfo: semmni: 50 (# of semaphore identifiers) semmns: 340 (# of semaphores in system) semmnu: 150 (# of undo structures in system) semmsl: 340 (max # of semaphores per id) semopm: 100 (max # of operations per semop call) semume: 50 (max # of undo entries per process) semusz: 632 (size in bytes of undo structure) semvmx: 32767 (semaphore maximum value) semaem: 16384 (adjust on exit max value) ------------------------------------------------------------------------ netstat -s tcp: 0 packets sent 0 data packets (0 bytes) 0 data packets (0 bytes) retransmitted 0 data packets unnecessarily retransmitted 0 resends initiated by MTU discovery 0 ack-only packets (0 delayed) 0 URG only packets 0 window probe packets 0 window update packets 0 control packets 0 packets received 0 acks (for 0 bytes) 0 duplicate acks 0 acks for unsent data 0 packets (0 bytes) received in-sequence 0 completely duplicate packets (0 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 0 out-of-order packets (0 bytes) 0 packets (0 bytes) of data after window 0 window probes 0 window update packets 0 packets received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 0 discarded due to full reassembly queue 0 connection requests 0 connection accepts 0 bad connection attempts 0 listen queue overflows 0 ignored RSTs in the windows 0 connections established (including accepts) 0 times used RTT from hostcache 0 times used RTT variance from hostcache 0 times used slow-start threshold from hostcache 2 connections closed (including 0 drops) 0 connections updated cached RTT on close 0 connections updated cached RTT variance on close 0 connections updated cached ssthresh on close 0 embryonic connections dropped 0 segments updated rtt (of 0 attempts) 0 retransmit timeouts 0 connections dropped by rexmit timeout 0 persist timeouts 0 connections dropped by persist timeout 0 Connections (fin_wait_2) dropped because of timeout 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 0 correct ACK header predictions 0 correct data packet header predictions 0 syncache entries added 0 retransmitted 0 dupsyn 0 dropped 0 completed 0 bucket overflow 0 cache overflow 0 reset 0 stale 0 aborted 0 badack 0 unreach 0 zone failures 0 cookies sent 0 cookies received 0 hostcache entries added 0 bucket overflow 0 SACK recovery episodes 0 segment rexmits in SACK recovery episodes 0 byte rexmits in SACK recovery episodes 0 SACK options (SACK blocks) received 0 SACK options (SACK blocks) sent 0 SACK scoreboard overflow 0 packets with ECN CE bit set 0 packets with ECN ECT(0) bit set 0 packets with ECN ECT(1) bit set 0 successful ECN handshakes 0 times ECN reduced the congestion window 0 packets with matching signature received 0 packets with bad signature received 0 times failed to make signature due to no SA 0 times unexpected signature received 0 times no signature provided by segment 0 Path MTU discovery black hole detection activations 0 Path MTU discovery black hole detection min MSS activations 0 Path MTU discovery black hole detection failures TCP connection count by state: 0 connections in CLOSED state 3 connections in LISTEN state 0 connections in SYN_SENT state 0 connections in SYN_RCVD state 0 connections in ESTABLISHED state 0 connections in CLOSE_WAIT state 0 connections in FIN_WAIT_1 state 0 connections in CLOSING state 0 connections in LAST_ACK state 0 connections in FIN_WAIT_2 state 0 connections in TIME_WAIT state udp: 26 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 0 with no checksum 0 dropped due to no socket 21 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 5 delivered 5 datagrams output 0 times multicast source filter matched ip: 29 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 27 packets for this host 0 packets for unknown/unsupported protocol 0 packets forwarded (0 packets fast forwarded) 2 packets not forwardable 0 packets received for unknown multicast group 0 redirects sent 5 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header icmp: 0 calls to icmp_error 0 errors not generated in response to an icmp message 0 messages with bad code fields 0 messages less than the minimum length 0 messages with bad checksum 0 messages with bad length 0 multicast echo requests ignored 0 multicast timestamp requests ignored 0 message responses generated 0 invalid return addresses 0 no return routes arp: 2 ARP requests sent 0 ARP requests failed to sent 1 ARP reply sent 2 ARP requests received 1 ARP reply received 3 ARP packets received 0 total packets dropped due to no ARP entry 0 ARP entrys timed out 0 Duplicate IPs seen ip6: 0 total packets received 0 with size smaller than minimum 0 with data size < data length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 fragments that exceeded limit 0 atomic fragments 0 packets reassembled ok 0 packets for this host 0 packets forwarded 0 packets not forwardable 0 redirects sent 0 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 packets that violated scope rules 0 multicast packets which we don't join Mbuf statistics: 0 one mbuf 0 one ext mbuf 0 two or more ext mbuf 0 packets whose headers are not contiguous 0 tunneling packets that can't find gif 0 packets discarded because of too many headers 0 failures of source address selection icmp6: 0 calls to icmp6_error 0 errors not generated in response to an icmp6 message 0 errors not generated because of rate limitation 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Histogram of error messages to be generated: 0 no route 0 administratively prohibited 0 beyond scope 0 address unreachable 0 port unreachable 0 packet too big 0 time exceed transit 0 time exceed reassembly 0 erroneous header field 0 unrecognized next header 0 unrecognized option 0 redirect 0 unknown 0 message responses generated 0 messages with too many ND options 0 messages with bad ND options 0 bad neighbor solicitation messages 0 bad neighbor advertisement messages 0 bad router solicitation messages 0 bad router advertisement messages 0 bad redirect messages 0 default routers overflows 0 prefix overflows 0 neighbour entries overflows 0 redirect overflows 0 messages with invalid hop limit 0 path MTU changes rip6: 0 messages received 0 checksum calculations on inbound 0 messages with bad checksum 0 messages dropped due to no socket 0 multicast messages dropped due to no socket 0 messages dropped due to full socket buffers 0 delivered 0 datagrams output pfkey: 0 requests sent from userland 0 bytes sent from userland 0 messages with invalid length field 0 messages with invalid version field 0 messages with invalid message type field 0 messages too short 0 messages with memory allocation failure 0 messages with duplicate extension 0 messages with invalid extension type 0 messages with invalid sa type 0 messages with invalid address extension 0 requests sent to userland 0 bytes sent to userland 0 messages toward single socket 0 messages toward all sockets 0 messages toward registered sockets 0 messages with memory allocation failure ------------------------------------------------------------------------ netstat -m 17153/1462/18615 mbufs in use (current/cache/total) 16640/708/17348/2037370 mbuf clusters in use (current/cache/total/max) 256/689 mbuf+clusters out of packet secondary zone in use (current/cache) 256/0/256/1018685 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/301832 9k jumbo clusters in use (current/cache/total/max) 0/0/0/169780 16k jumbo clusters in use (current/cache/total/max) 38592K/1781K/40373K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 sendfile syscalls 0 sendfile syscalls completed without I/O request 0 requests for I/O initiated by sendfile 0 pages read by sendfile as part of a request 0 pages were valid at time of a sendfile request 0 pages were valid and substituted to bogus page 0 pages were requested for read ahead by applications 0 pages were read ahead by sendfile 0 times sendfile encountered an already busy page 0 requests for sfbufs denied 0 requests for sfbufs delayed ------------------------------------------------------------------------ netstat -anA Active Internet connections (including servers) Tcpcb Proto Recv-Q Send-Q Local Address Foreign Address (state) fffff800be8cad58 udp4 0 0 *.514 *.* fffff800be8cab70 udp6 0 0 *.514 *.* ------------------------------------------------------------------------ netstat -aL Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address unix 0/0/4 /var/run/devd.pipe unix 0/0/4 /var/run/devd.seqpacket.pipe ------------------------------------------------------------------------ fstat USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root kldload 1447 root / 2 drwxr-xr-x 1024 r root kldload 1447 wd / 20164544 drwxr-xr-x 512 r root kldload 1447 text / 80284 -r-xr-xr-x 8720 r root kldload 1447 ctty /dev 120 crw------- ttyv0 rw root kldload 1447 0 /dev 120 crw------- ttyv0 rw root kldload 1447 1 /dev 120 crw------- ttyv0 rw root kldload 1447 2 /dev 120 crw------- ttyv0 rw root sudo 1446 root / 2 drwxr-xr-x 1024 r root sudo 1446 wd / 20164544 drwxr-xr-x 512 r root sudo 1446 text / 20244858 -rwsr-xr-x 143872 r root sudo 1446 ctty /dev 120 crw------- ttyv0 rw root sudo 1446 0 /dev 120 crw------- ttyv0 rw root sudo 1446 1 /dev 120 crw------- ttyv0 rw root sudo 1446 2 /dev 120 crw------- ttyv0 rw root sudo 1446 3 / 9872080 -rw------- 40960 r root sudo 1446 5* pipe fffff8000562b8b8 <-> fffff8000562ba18 0 rw root sudo 1446 6* pipe fffff8000562ba18 <-> fffff8000562b8b8 0 rw tsujp bash 1432 root / 2 drwxr-xr-x 1024 r tsujp bash 1432 wd / 20164544 drwxr-xr-x 512 r tsujp bash 1432 text / 20244868 -rwxr-xr-x 911112 r tsujp bash 1432 ctty /dev 120 crw------- ttyv0 rw tsujp bash 1432 0 /dev 120 crw------- ttyv0 rw tsujp bash 1432 1 /dev 120 crw------- ttyv0 rw tsujp bash 1432 2 /dev 120 crw------- ttyv0 rw tsujp bash 1432 255 /dev 120 crw------- ttyv0 rw root getty 1431 root / 2 drwxr-xr-x 1024 r root getty 1431 wd / 2 drwxr-xr-x 1024 r root getty 1431 text / 19826702 -r-xr-xr-x 31016 r root getty 1431 ctty /dev 127 crw------- ttyv7 rw root getty 1431 0 /dev 127 crw------- ttyv7 rw root getty 1431 1 /dev 127 crw------- ttyv7 rw root getty 1431 2 /dev 127 crw------- ttyv7 rw root getty 1430 root / 2 drwxr-xr-x 1024 r root getty 1430 wd / 2 drwxr-xr-x 1024 r root getty 1430 text / 19826702 -r-xr-xr-x 31016 r root getty 1430 ctty /dev 126 crw------- ttyv6 rw root getty 1430 0 /dev 126 crw------- ttyv6 rw root getty 1430 1 /dev 126 crw------- ttyv6 rw root getty 1430 2 /dev 126 crw------- ttyv6 rw root getty 1429 root / 2 drwxr-xr-x 1024 r root getty 1429 wd / 2 drwxr-xr-x 1024 r root getty 1429 text / 19826702 -r-xr-xr-x 31016 r root getty 1429 ctty /dev 125 crw------- ttyv5 rw root getty 1429 0 /dev 125 crw------- ttyv5 rw root getty 1429 1 /dev 125 crw------- ttyv5 rw root getty 1429 2 /dev 125 crw------- ttyv5 rw root getty 1428 root / 2 drwxr-xr-x 1024 r root getty 1428 wd / 2 drwxr-xr-x 1024 r root getty 1428 text / 19826702 -r-xr-xr-x 31016 r root getty 1428 ctty /dev 124 crw------- ttyv4 rw root getty 1428 0 /dev 124 crw------- ttyv4 rw root getty 1428 1 /dev 124 crw------- ttyv4 rw root getty 1428 2 /dev 124 crw------- ttyv4 rw root getty 1427 root / 2 drwxr-xr-x 1024 r root getty 1427 wd / 2 drwxr-xr-x 1024 r root getty 1427 text / 19826702 -r-xr-xr-x 31016 r root getty 1427 ctty /dev 123 crw------- ttyv3 rw root getty 1427 0 /dev 123 crw------- ttyv3 rw root getty 1427 1 /dev 123 crw------- ttyv3 rw root getty 1427 2 /dev 123 crw------- ttyv3 rw root getty 1426 root / 2 drwxr-xr-x 1024 r root getty 1426 wd / 2 drwxr-xr-x 1024 r root getty 1426 text / 19826702 -r-xr-xr-x 31016 r root getty 1426 ctty /dev 122 crw------- ttyv2 rw root getty 1426 0 /dev 122 crw------- ttyv2 rw root getty 1426 1 /dev 122 crw------- ttyv2 rw root getty 1426 2 /dev 122 crw------- ttyv2 rw root getty 1425 root / 2 drwxr-xr-x 1024 r root getty 1425 wd / 2 drwxr-xr-x 1024 r root getty 1425 text / 19826702 -r-xr-xr-x 31016 r root getty 1425 ctty /dev 121 crw------- ttyv1 rw root getty 1425 0 /dev 121 crw------- ttyv1 rw root getty 1425 1 /dev 121 crw------- ttyv1 rw root getty 1425 2 /dev 121 crw------- ttyv1 rw root login 1424 root / 2 drwxr-xr-x 1024 r root login 1424 wd / 20164544 drwxr-xr-x 512 r root login 1424 text / 19827745 -r-sr-xr-x 25472 r root login 1424 ctty /dev 120 crw------- ttyv0 rw root login 1424 0 /dev 120 crw------- ttyv0 rw root login 1424 1 /dev 120 crw------- ttyv0 rw root login 1424 2 /dev 120 crw------- ttyv0 rw root login 1424 3* local dgram fffff800058a6e00 <-> fffff80005653d00 root cron 1404 root / 2 drwxr-xr-x 1024 r root cron 1404 wd / 11476629 drwxr-x--- 512 r root cron 1404 text / 19824134 -r-xr-xr-x 45976 r root cron 1404 0 /dev 33 crw-rw-rw- null rw root cron 1404 1 /dev 33 crw-rw-rw- null rw root cron 1404 2 /dev 33 crw-rw-rw- null rw root cron 1404 3 / 11476612 drwxr-xr-x 1024 r root cron 1404 4 / 11476883 -rw------- 4 w root sshd 1397 root / 2 drwxr-xr-x 1024 r root sshd 1397 wd / 2 drwxr-xr-x 1024 r root sshd 1397 text / 19824090 -r-xr-xr-x 309704 r root sshd 1397 0 /dev 33 crw-rw-rw- null rw root sshd 1397 1 /dev 33 crw-rw-rw- null rw root sshd 1397 2 /dev 33 crw-rw-rw- null rw root sshd 1397 3* internet6 stream tcp fffffe00dae258f0 root sshd 1397 4* internet stream tcp fffffe00dae254d8 smmsp sendmail 1380 root / 2 drwxr-xr-x 1024 r smmsp sendmail 1380 wd / 11557294 drwxrwx--- 512 r smmsp sendmail 1380 text / 19826858 -r-xr-sr-x 752648 r smmsp sendmail 1380 0 /dev 33 crw-rw-rw- null r smmsp sendmail 1380 1 /dev 33 crw-rw-rw- null w smmsp sendmail 1380 2 /dev 33 crw-rw-rw- null w smmsp sendmail 1380 3* local dgram fffff8000563ee00 <-> fffff800056fec00 smmsp sendmail 1380 4 / 11557306 -rw------- 50 w root sendmail 1377 root / 2 drwxr-xr-x 1024 r root sendmail 1377 wd / 11557293 drwxr-xr-x 512 r root sendmail 1377 text / 19826858 -r-xr-sr-x 752648 r root sendmail 1377 0 /dev 33 crw-rw-rw- null r root sendmail 1377 1 /dev 33 crw-rw-rw- null w root sendmail 1377 2 /dev 33 crw-rw-rw- null w root sendmail 1377 3* internet stream tcp fffffe00dae228f0 root sendmail 1377 4* local dgram fffff800058d9d00 <-> fffff80005653d00 root sendmail 1377 5 / 11476881 -rw------- 79 w root syslogd 1227 root / 2 drwxr-xr-x 1024 r root syslogd 1227 wd / 2 drwxr-xr-x 1024 r root syslogd 1227 text / 19823999 -r-xr-xr-x 54424 r root syslogd 1227 0 /dev 33 crw-rw-rw- null rw root syslogd 1227 1 /dev 33 crw-rw-rw- null rw root syslogd 1227 2 /dev 33 crw-rw-rw- null rw root syslogd 1227 3* pipe fffff80051191ba0 <-> fffff80051191d00 0 rw root syslogd 1227 4* pipe fffff80051191d00 <-> fffff80051191ba0 0 rw root syslogd 1227 5 /dev 19 crw------- klog r root syslogd 1227 6* internet6 dgram udp fffff800056cbd58 root syslogd 1227 7* internet dgram udp fffff800056cbb70 root syslogd 1227 8* local dgram fffff800056fec00 root syslogd 1227 9* local dgram fffff80005653d00 root syslogd 1227 10 / 11476612 drwxr-xr-x 1024 r root syslogd 1227 11 / 11476683 -rw------- 4 w root syslogd 1227 13 - - bad - root syslogd 1227 14 / 11476670 -rw-r--r-- 60800 w root syslogd 1227 15 / 11476672 -rw------- 60 w root syslogd 1227 16 / 11476666 -rw------- 1705 w root syslogd 1227 17 / 11476669 -rw-r----- 778 w root syslogd 1227 18 / 11476667 -rw------- 532 w root syslogd 1227 19 / 11476668 -rw------- 60 w root syslogd 1227 20 / 11476673 -rw-r--r-- 200 w root syslogd 1227 22 / 11476674 -rw------- 60 w root syslogd 1227 23 / 11476675 -rw-r--r-- 60 w root syslogd 1227 24 / 11476676 -rw-r----- 60 w root moused 1035 root / 2 drwxr-xr-x 1024 r root moused 1035 wd / 2 drwxr-xr-x 1024 r root moused 1035 text / 19824162 -r-xr-xr-x 41568 r root moused 1035 0 /dev 33 crw-rw-rw- null rw root moused 1035 1 /dev 33 crw-rw-rw- null rw root moused 1035 2 /dev 33 crw-rw-rw- null rw root moused 1035 3 /dev 208 crw-r--r-- ums1 rw root moused 1035 4 /dev 20 crw------- consolectl rw root moused 1035 5 / 11476612 drwxr-xr-x 1024 r root moused 1035 6 / 11476677 -rw------- 4 w root moused 1012 root / 2 drwxr-xr-x 1024 r root moused 1012 wd / 2 drwxr-xr-x 1024 r root moused 1012 text / 19824162 -r-xr-xr-x 41568 r root moused 1012 0 /dev 33 crw-rw-rw- null rw root moused 1012 1 /dev 33 crw-rw-rw- null rw root moused 1012 2 /dev 33 crw-rw-rw- null rw root moused 1012 3 /dev 203 crw-r--r-- ums0 rw root moused 1012 4 /dev 20 crw------- consolectl rw root moused 1012 5 / 11476612 drwxr-xr-x 1024 r root moused 1012 6 / 11476663 -rw------- 4 w _dhcp dhclient 1001 root / 2 drwxr-xr-x 1024 r _dhcp dhclient 1001 wd / 2 drwxr-xr-x 1024 r _dhcp dhclient 1001 text / 80307 -r-xr-xr-x 100232 r _dhcp dhclient 1001 0 /dev 33 crw-rw-rw- null rw _dhcp dhclient 1001 1 /dev 33 crw-rw-rw- null rw _dhcp dhclient 1001 2 /dev 33 crw-rw-rw- null rw _dhcp dhclient 1001 3 / 11557302 drwxr-xr-x 512 r _dhcp dhclient 1001 4* local stream fffff80051581e00 <-> fffff80051581d00 _dhcp dhclient 1001 5 / 11557307 -rw-r--r-- 4 w _dhcp dhclient 1001 7 /dev 35 crw------- bpf r _dhcp dhclient 1001 8* route raw 0 fffff800056c2760 _dhcp dhclient 1001 9 / 11476656 ---------- 762 w _dhcp dhclient 1001 11* pipe fffff80005689160 <-> fffff80005689000 0 rw root dhclient 917 root / 2 drwxr-xr-x 1024 r root dhclient 917 wd / 2 drwxr-xr-x 1024 r root dhclient 917 text / 80307 -r-xr-xr-x 100232 r root dhclient 917 0 /dev 33 crw-rw-rw- null rw root dhclient 917 1 /dev 33 crw-rw-rw- null rw root dhclient 917 2 /dev 33 crw-rw-rw- null rw root dhclient 917 3 / 11557302 drwxr-xr-x 512 r root dhclient 917 4* local stream fffff80051581e00 <-> fffff80051581d00 root dhclient 917 5 / 11557307 -rw-r--r-- 4 w root dhclient 917 8 /dev 35 crw------- bpf w root dhclient 917 9* internet raw ip fffff800a8bb8d58 root dhclient 917 10* pipe fffff80005689000 <-> fffff80005689160 0 rw root dhclient 914 root / 2 drwxr-xr-x 1024 r root dhclient 914 wd / 2 drwxr-xr-x 1024 r root dhclient 914 text / 80307 -r-xr-xr-x 100232 r root dhclient 914 0 /dev 33 crw-rw-rw- null rw root dhclient 914 1 /dev 33 crw-rw-rw- null rw root dhclient 914 2 /dev 33 crw-rw-rw- null rw root dhclient 914 3 root dhclient 914 6* local stream fffff80051581d00 <-> fffff80051581e00 root devd 891 root / 2 drwxr-xr-x 1024 r root devd 891 wd / 2 drwxr-xr-x 1024 r root devd 891 text / 80321 -r-xr-xr-x 1083816 r root devd 891 0 /dev 33 crw-rw-rw- null rw root devd 891 1 /dev 33 crw-rw-rw- null rw root devd 891 2 /dev 33 crw-rw-rw- null rw root devd 891 3 /dev 5 crw------- devctl r root devd 891 4* local stream fffff800056fee00 root devd 891 5* local seqpak fffff80005653e00 root devd 891 6 / 11476612 drwxr-xr-x 1024 r root devd 891 7 / 11476648 -rw------- 3 w root devd 891 8* local dgram fffff80005653c00 <-> fffff80005653d00 root ng_queue 732 root / 2 drwxr-xr-x 1024 r root ng_queue 732 wd / 2 drwxr-xr-x 1024 r root adjkerntz 115 root / 2 drwxr-xr-x 1024 r root adjkerntz 115 wd / 2 drwxr-xr-x 1024 r root adjkerntz 115 text / 80352 -r-xr-xr-x 9720 r root adjkerntz 115 0 /dev 33 crw-rw-rw- null rw root adjkerntz 115 1 /dev 33 crw-rw-rw- null rw root adjkerntz 115 2 /dev 33 crw-rw-rw- null rw root init 1 root / 2 drwxr-xr-x 1024 r root init 1 wd / 2 drwxr-xr-x 1024 r root init 1 text / 80309 -r-xr-xr-x 1345832 r root kernel 0 root / 2 drwxr-xr-x 1024 r root kernel 0 wd / 2 drwxr-xr-x 1024 r ------------------------------------------------------------------------ dmesg ---<>--- Copyright (c) 1992-2020 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 9e082d278b9-c254726(main): Thu Nov 26 04:50:43 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 1024x768 CPU: AMD Ryzen 7 3700X 8-Core Processor (3600.08-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x870f10 Family=0x17 Model=0x71 Stepping=0 Features=0x178bfbff Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x75c237ff Structured Extended Features=0x219c91a9 Structured Extended Features2=0x400004 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x108b657 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics real memory = 34359738368 (32768 MB) avail memory = 33284272128 (31742 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 1 package(s) x 2 cache groups x 4 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-55 Launching APs: 15 14 9 12 11 1 13 10 8 2 4 7 5 6 3 Timecounter "TSC-low" frequency 1800039780 Hz quality 1000 random: entropy device external interface WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0. kbd1 at kbdmux0 000.000057 [4346] netmap_init netmap: loaded module [ath_hal] loaded nexus0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: acpi0: 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 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 350 Event timer "HPET2" frequency 14318180 Hz quality 350 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.2 (no driver attached) pcib1: at device 1.1 on pci0 pci1: on pcib1 nvme0: mem 0xfcf00000-0xfcf03fff at device 0.0 on pci1 pcib2: at device 1.3 on pci0 pci2: on pcib2 xhci0: mem 0xfcaa0000-0xfcaa7fff at device 0.0 on pci2 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 ahci0: mem 0xfca80000-0xfca9ffff at device 0.1 on pci2 ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 pcib3: at device 0.2 on pci2 pci3: on pcib3 pcib4: at device 0.0 on pci3 pci4: on pcib4 pcib5: at device 1.0 on pci3 pci5: on pcib5 pcib6: at device 4.0 on pci3 pci6: on pcib6 re0: port 0xf000-0xf0ff mem 0xfc904000-0xfc904fff,0xfc900000-0xfc903fff at device 0.0 on pci6 re0: Using 1 MSI-X message re0: Chip rev. 0x54000000 re0: MAC rev. 0x00100000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 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:d8:61:a1:82:5f re0: netmap queues/slots: TX 1/256, RX 1/256 pcib7: at device 5.0 on pci3 pci7: on pcib7 pci7: at device 0.0 (no driver attached) pcib8: at device 6.0 on pci3 pci8: on pcib8 pcib9: at device 7.0 on pci3 pci9: on pcib9 pcib10: at device 3.1 on pci0 pci10: on pcib10 pcib11: mem 0xfcc00000-0xfcc03fff at device 0.0 on pci10 pci11: on pcib11 pcib12: at device 0.0 on pci11 pci12: on pcib12 vgapci0: port 0xe000-0xe0ff mem 0xe0000000-0xefffffff,0xf0000000-0xf01fffff,0xfcb00000-0xfcb7ffff at device 0.0 on pci12 hdac0: mem 0xfcba0000-0xfcba3fff at device 0.1 on pci12 pcib13: at device 7.1 on pci0 pci13: on pcib13 pci13: at device 0.0 (no driver attached) pcib14: at device 8.1 on pci0 pci14: on pcib14 pci14: at device 0.0 (no driver attached) pci14: at device 0.1 (no driver attached) xhci1: mem 0xfc500000-0xfc5fffff at device 0.3 on pci14 xhci1: 64 bytes context size, 64-bit DMA usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 hdac1: mem 0xfc700000-0xfc707fff at device 0.4 on pci14 pcib15: at device 8.2 on pci0 pci15: on pcib15 ahci1: mem 0xfce00000-0xfce007ff at device 0.0 on pci15 ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich8: at channel 0 on ahci1 pcib16: at device 8.3 on pci0 pci16: on pcib16 ahci2: mem 0xfcd00000-0xfcd007ff at device 0.0 on pci16 ahci2: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich9: at channel 0 on ahci2 isab0: at device 20.3 on pci0 isa0: on isab0 acpi_button0: on acpi0 uart2: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0 uart3: <16x50 with 256 byte FIFO> iomem 0xfedca000-0xfedcafff,0xfedc8000-0xfedc8fff irq 4 on acpi0 uart4: <16x50 with 256 byte FIFO> iomem 0xfedce000-0xfedcefff,0xfedcc000-0xfedccfff irq 3 on acpi0 uart5: <16x50 with 256 byte FIFO> iomem 0xfedcf000-0xfedcffff,0xfedcd000-0xfedcdfff irq 4 on acpi0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 uart0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. hwpstate0: on cpu0 Timecounters tick every 1.000 msec ugen0.1: <0x1022 XHCI root HUB> at usbus0 ugen1.1: <0x1022 XHCI root HUB> at usbus1 uhub0 on usbus0 uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub1 on usbus1 uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 nvd0: NVMe namespace nvd0: 488386MB (1000215216 512 byte sectors) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 pcm1: at nid 5 on hdaa0 pcm2: at nid 7 on hdaa0 pcm3: at nid 9 on hdaa0 pcm4: at nid 11 on hdaa0 pcm5: at nid 13 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm6: at nid 20 and 24,26 on hdaa1 pcm7: at nid 27 and 25 on hdaa1 Trying to mount root from ufs:/dev/nvd0p2 [rw]... WARNING: WITNESS option enabled, expect reduced performance. ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number S4FMNJ0MC01752J ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ACS-2 ATA SATA 3.x device ada1: Serial Number S1DBNSAF457090B ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada1: Command Queueing enabled ada1: 238475MB (488397168 512 byte sectors) ada1: quirks=0x3<4K,NCQ_TRIM_BROKEN> ada2 at ahcich5 bus 0 scbus3 target 0 lun 0 ada2: ACS-2 ATA SATA 3.x device ada2: Serial Number S21MNWAG710612D ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada2: Command Queueing enabled ada2: 238475MB (488397168 512 byte sectors) ada2: quirks=0x3<4K,NCQ_TRIM_BROKEN> Setting hostuuid: b978c78d-c58c-0515-a4f5-00d861a1825f. Setting hostid: 0x2ab9673c. Starting file system checks: /dev/nvd0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/nvd0p2: clean, 118553749 free (2925 frags, 14818853 blocks, 0.0% fragmentation) Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/perl5/5.32/mach/CORE /usr/local/llvm10/lib 32-bit compatibility ldconfig path: /usr/lib32 Setting hostname: tbsd. 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 uhub1: 8 ports with 8 removable, self powered re0: link state changed to DOWN uhub0: 22 ports with 22 removable, self powered ugen1.2: at usbus1 uhub2 on uhub1 uhub2: on usbus1 uhub2: MTT enabled uhub2: 2 ports with 2 removable, self powered ugen0.2: at usbus0 ugen1.3: at usbus1 ukbd0 on uhub2 ukbd0: on usbus1 kbd2 at ukbd0 ugen0.3: at usbus0 ugen1.4: at usbus1 ukbd1 on uhub2 ukbd1: on usbus1 kbd3 at ukbd1 ukbd2 on uhub2 ukbd2: on usbus1 kbd4 at ukbd2 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:d8:61:a1:82:5f media: Ethernet autoselect (none) status: no carrier nd6 options=29 Starting devd. Autoloading module: acpi_wmi.ko acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 driver bug: Unable to set devclass (class: ppc devname: (unknown)) acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 Autoloading module: if_iwm.ko iwm0: mem 0xfc800000-0xfc801fff at device 0.0 on pci7 iwm0: hw rev 0x220, fw ver 22.361476.0, address 5c:87:9c:3d:15:4e Autoloading module: intpm.ko intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 Autoloading module: acpi_wmi.ko Autoloading module: acpi_wmi.ko ugen1.5: at usbus1 Autoloading module: uhid.ko Autoloading module: wmt.ko uhid0 on uhub0 uhid0: on usbus0 Autoloading module: uhid.ko Autoloading module: ums.ko Autoloading module: ng_ubt.ko ubt0 on uhub0 ubt0: on usbus0 Autoloading module: ng_ubt.ko Autoloading module: uhid.ko Autoloading module: ums.ko Autoloading module: uhid.ko Autoloading module: wmt.ko Autoloading module: snd_uaudio.ko Autoloading module: uhid.ko Autoloading module: wmt.ko ugen1.6: at usbus1 uhub3 on uhub1 uhub3: on usbus1 Autoloading module: ng_ubt.ko Autoloading module: ng_ubt.ko Autoloading module: ng_ubt.ko Autoloading module: ng_ubt.ko WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() Waiting 30s for the default route interface: re0: link state changed to UP uhub3: 2 ports with 2 removable, self powered ugen1.3: at usbus1 (disconnected) ukbd0: at uhub2, port 1, addr 2 (disconnected) ukbd0: detached . ugen1.3: at usbus1 ums0 on uhub2 ums0: on usbus1 ums0: 5 buttons and [XYZT] coordinates ID=0 ukbd0 on uhub2 ukbd0: on usbus1 kbd2 at ukbd0 ums1 on uhub2 ums1: on usbus1 ums1: 5 buttons and [XYZT] coordinates ID=0 uhid1 on uhub2 uhid1: on usbus1 uaudio0 on uhub1 uaudio0: on usbus1 uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm8: on uaudio0 uaudio0: HID volume keys found. ......(re0) 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 Updating motd:. Creating and/or trimming log files. Updating /var/run/os-release done. Starting syslogd. Clearing /tmp. Nov 28 20:23:31 tbsd savecore[1255]: reboot after panic: dummy ctx Writing crash summary to /var/crash/core.txt.0. Mounting late filesystems:. Starting sendmail_submit. Starting sendmail_msp_queue. Performing sanity check on sshd configuration. Starting sshd. Starting cron. Configuring vt: blanktime. Starting background file system checks in 60 seconds. Sat Nov 28 20:23:39 AWST 2020 [drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! [drm] initializing kernel modesetting (NAVI10 0x1002:0x731F 0x1462:0x381A 0xC1). [drm] register mmio base: 0xFCB00000 [drm] register mmio size: 524288 [drm] set register base offset for ATHUB [drm] set register base offset for CLKA [drm] set register base offset for CLKA [drm] set register base offset for CLKA [drm] set register base offset for CLKA [drm] set register base offset for CLKA [drm] set register base offset for DF [drm] set register base offset for DMU [drm] set register base offset for GC [drm] set register base offset for HDP [drm] set register base offset for MMHUB [drm] set register base offset for MP0 [drm] set register base offset for MP1 [drm] set register base offset for NBIF [drm] set register base offset for NBIF [drm] set register base offset for OSSSYS [drm] set register base offset for SDMA0 [drm] set register base offset for SDMA1 [drm] set register base offset for SMUIO [drm] set register base offset for THM [drm] set register base offset for UVD [drm] add ip block number 0 [drm] add ip block number 1 [drm] add ip block number 2 [drm] add ip block number 3 [drm] add ip block number 4 [drm] add ip block number 5 [drm] add ip block number 6 [drm] add ip block number 7 [drm] add ip block number 8 drmn0: successfully loaded firmware image with name: amdgpu/navi10_gpu_info.bin [drm] VCN decode is enabled in VM mode [drm] VCN encode is enabled in VM mode [drm] VCN jpeg decode is enabled in VM mode [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit drmn0: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used) drmn0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0; [drm] Detected VRAM RAM=8176M, BAR=256M [drm] RAM width 256bits GDDR6 [TTM] Zone kernel: Available graphics memory: 16735748 KiB [TTM] Zone dma32: Available graphics memory: 2097152 KiB [TTM] Initializing pool allocator [drm] amdgpu: 8176M of VRAM memory ready [drm] amdgpu: 8176M of GTT memory ready. [drm] GART: num cpu pages 131072, num gpu pages 131072 [drm] PCIE GART of 512M enabled (table at 0x0000008000300000). Nov 28 20:25:32 tbsd kernel: Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0; drmn0: successfully loaded firmware image with name: amdgpu/navi10_sos.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_asd.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_smc.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_pfp.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_me.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_ce.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_rlc.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_mec.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_mec2.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_sdma.bin drmn0: successfully loaded firmware image with name: amdgpu/navi10_sdma1.bin [drm] use_doorbell being set to: [true] [drm] use_doorbell being set to: [true] drmn0: successfully loaded firmware image with name: amdgpu/navi10_vcn.bin [drm] Found VCN firmware Version ENC: 1.9 DEC: 5 VEP: 0 Revision: 0 [drm] PSP loading VCN firmware [drm] reserve 0x900000 from 0x81fe400000 for PSP TMR amdgpu: [powerplay] smu driver if version = 0x00000033, smu fw if version = 0x00000036, smu fw version = 0x002a3600 (42.54.0) amdgpu: [powerplay] SMU driver if version not matched amdgpu: [powerplay] SMU is initialized successfully! [drm] Display Core initialized with v3.2.48! [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode Nov 28 20:25:39 tbsd kernel: amdgpu: [powerplay] SMU driver if version not matched [drm] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Connector DP-3: get mode from tunables: [drm] - kern.vt.fb.modes.DP-3 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] kiq ring mec 2 pipe 1 q 0 [drm] ring test on 10 succeeded in 76 usecs [drm] ring test on 10 succeeded in 17 usecs [drm] gfx 0 ring me 0 pipe 0 q 0 [drm] ring test on 0 succeeded in 16 usecs [drm] gfx 1 ring me 0 pipe 1 q 0 [drm] ring test on 1 succeeded in 3 usecs [drm] compute ring 0 mec 1 pipe 0 q 0 [drm] ring test on 2 succeeded in 5 usecs [drm] compute ring 1 mec 1 pipe 1 q 0 [drm] ring test on 3 succeeded in 3 usecs [drm] compute ring 2 mec 1 pipe 2 q 0 [drm] ring test on 4 succeeded in 3 usecs [drm] compute ring 3 mec 1 pipe 3 q 0 [drm] ring test on 5 succeeded in 3 usecs [drm] compute ring 4 mec 1 pipe 0 q 1 [drm] ring test on 6 succeeded in 7 usecs [drm] compute ring 5 mec 1 pipe 1 q 1 [drm] ring test on 7 succeeded in 3 usecs [drm] compute ring 6 mec 1 pipe 2 q 1 [drm] ring test on 8 succeeded in 3 usecs [drm] compute ring 7 mec 1 pipe 3 q 1 [drm] ring test on 9 succeeded in 6 usecs [drm] ring test on 11 succeeded in 19 usecs [drm] ring test on 12 succeeded in 19 usecs [drm] VCN decode and encode initialized successfully(under DPG Mode). [drm] fb mappable at 0xE04C9000 [drm] vram apper at 0xE0000000 [drm] size 14745600 [drm] fb depth is 24 [drm] pitch is 10240 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0. VT: Replacing driver "efifb" with new "fb". taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex vtdev (vtdev) r = 0 (0xffffffff818e6350) locked @ /usr/src/sys/dev/vt/vt_core.c:2825 stack backtrace: #0 0xffffffff80c540b1 at witnespanic: dummy ctx cpuid = 13 time = 1606566339 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00aa6044d8 vpanic() at vpanic+0x181/frame 0xfffffe00aa604528 panic() at panic+0x43/frame 0xfffffe00aa604588 fpu_kern_leave() at fpu_kern_leave+0x21c/frame 0xfffffe00aa6045b8 dcn20_validate_bandwidth() at dcn20_validate_bandwidth+0x15f/frame 0xfffffe00aa6045f0 dc_validate_global_state() at dc_validate_global_state+0x2ce/frame 0xfffffe00aa604650 amdgpu_dm_atomic_check() at amdgpu_dm_atomic_check+0xff0/frame 0xfffffe00aa604930 drm_atomic_check_only() at drm_atomic_check_only+0x400/frame 0xfffffe00aa6049b0 drm_atomic_commit() at drm_atomic_commit+0x13/frame 0xfffffe00aa6049d0 drm_client_modeset_commit_atomic() at drm_client_modeset_commit_atomic+0x148/frame 0xfffffe00aa604a40 drm_client_modeset_commit_force() at drm_client_modeset_commit_force+0x69/frame 0xfffffe00aa604a90 drm_fb_helper_restore_fbdev_mode_unlocked() at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a/frame 0xfffffe00aa604ac0 taskqueue_run_locked() at taskqueue_run_locked+0xaa/frame 0xfffffe00aa604b40 taskqueue_thread_loop() at taskqueue_thread_loop+0x94/frame 0xfffffe00aa604b70 fork_exit() at fork_exit+0x80/frame 0xfffffe00aa604bb0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00aa604bb0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- Uptime: 2m22s Dumping 1213 out of 32687 MB:..2%..11%..22%..31%..41%..51%..61%..72%..81%..91% ------------------------------------------------------------------------ kernel config options CONFIG_AUTOGENERATED ident GENERIC machine amd64 cpu HAMMER makeoptions WITH_CTF=1 makeoptions DEBUG=-g options EVDEV_SUPPORT options XENHVM options USB_DEBUG options ATH_ENABLE_11N options AH_AR5416_INTERRUPT_MITIGATION options IEEE80211_SUPPORT_MESH options IEEE80211_DEBUG options SC_PIXEL_MODE options VESA options PCI_IOV options PCI_HP options EARLY_AP_STARTUP options SMP options NETGDB options NETDUMP options DEBUGNET options ZSTDIO options GZIO options EKCD options IOMMU options VERBOSE_SYSINIT=0 options MALLOC_DEBUG_MAXZONES=8 options WITNESS_SKIPSPIN options WITNESS options QUEUE_MACRO_DEBUG_TRASH options INVARIANT_SUPPORT options INVARIANTS options DEADLKRES options GDB options FULL_BUF_TRACKING options DDB options BUF_TRACKING options KDB_TRACE options KDB options RCTL options RACCT_DEFAULT_TO_DISABLED options RACCT options INCLUDE_CONFIG_FILE options DDB_CTF options KDTRACE_HOOKS options KDTRACE_FRAME options MAC options CAPABILITIES options CAPABILITY_MODE options AUDIT options HWPMC_HOOKS options KBD_INSTALL_CDEV options PRINTF_BUFR_SIZE=128 options _KPOSIX_PRIORITY_SCHEDULING options SYSVSEM options SYSVMSG options SYSVSHM options STACK options KTRACE options SCSI_DELAY=5000 options COMPAT_FREEBSD12 options COMPAT_FREEBSD11 options COMPAT_FREEBSD10 options COMPAT_FREEBSD9 options COMPAT_FREEBSD7 options COMPAT_FREEBSD6 options COMPAT_FREEBSD5 options COMPAT_FREEBSD4 options COMPAT_FREEBSD32 options EFIRT options GEOM_LABEL options GEOM_RAID options TMPFS options PSEUDOFS options PROCFS options CD9660 options MSDOSFS options NFS_ROOT options NFSLOCKD options NFSD options NFSCL options MD_ROOT options QUOTA options UFS_GJOURNAL options UFS_DIRHASH options UFS_ACL options SOFTUPDATES options FFS options SCTP_SUPPORT options TCP_RFC7413 options TCP_HHOOK options TCP_BLACKBOX options TCP_OFFLOAD options IPSEC_SUPPORT options INET6 options INET options VIMAGE options PREEMPTION options NUMA options SCHED_ULE options NEW_PCIB options GEOM_PART_GPT options GEOM_PART_MBR options GEOM_PART_EBR options GEOM_PART_BSD device isa device mem device io device uart_ns8250 device cpufreq device acpi device pci device fdc device ahci device ata device mvs device siis device ahc device ahd device esp device hptiop device isp device mpt device mps device mpr device sym device isci device ocs_fc device pvscsi device scbus device ch device da device sa device cd device pass device ses device amr device arcmsr device ciss device iir device ips device mly device twa device smartpqi device tws device aac device aacp device aacraid device ida device mfi device mlx device mrsas device pmspcv device twe device nvme device nvd device vmd device vmd_bus device atkbdc device atkbd device psm device kbdmux device vga device splash device sc device vt device vt_vga device vt_efifb device agp device cbb device pccard device cardbus device uart device ppc device ppbus device lpt device ppi device puc device iflib device em device ix device ixv device ixl device iavf device ice device vmx device axp device bxe device le device ti device miibus device ae device age device alc device ale device bce device bfe device bge device cas device dc device et device fxp device gem device hme device jme device lge device msk device nfe device nge device re device rl device sge device sis device sk device ste device stge device vge device vr device xl device wlan device wlan_wep device wlan_ccmp device wlan_tkip device wlan_amrr device an device ath device ath_pci device ath_hal device ath_rate_sample device ipw device iwi device iwn device malo device mwl device ral device wi device wpi device crypto device loop device padlock_rng device rdrand_rng device ether device vlan device tuntap device md device gif device firmware device bpf device uhci device ohci device ehci device xhci device usb device ukbd device umass device sound device snd_cmi device snd_csa device snd_emu10kx device snd_es137x device snd_hda device snd_ich device snd_via8233 device mmc device mmcsd device sdhci device rtsx device virtio device virtio_pci device vtnet device virtio_blk device virtio_scsi device virtio_balloon device hyperv device xenpci device netmap device evdev device uinput ------------------------------------------------------------------------ ddb capture buffer ```
valpackett commented 3 years ago

dcn20_validate_bandwidth

Looks like something that was fixed by #20? Try building from git instead of ports (though I think an update recently did land into ports..)

Also try 5.5-wip from https://github.com/freebsd/drm-kmod/pull/40

pbpjackd commented 3 years ago

@tsujp With drm-devel-kmod-5.4.62.g20201109 the 5700XT works for me. You might want to give it a try again.

However, only with 1 monitor connected. if I connect a second monitor, the system hangs itself.

pbpjackd commented 3 years ago

@myfreeweb

dcn20_validate_bandwidth

Looks like something that was fixed by #20? Try building from git instead of ports (though I think an update recently did land into ports..)

Also try 5.5-wip from #40

How to test the 5.5-wip branch ? I can build it successfully and install the modules. However, when I try to load them it fails with:

Loading kernel modules: link_elf_obj: symbol ttm_bo_mmap_obj undefined Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80 bytes leaked). linker_load_file: /boot/modules/drm.ko - unsupported file type KLD amdgpu.ko: depends on drmn - not available or version mismatch linker_load_file: /boot/modules/amdgpu.ko - unsupported file type kldload: an error occurred while loading module amdgpu. Please check dmesg(8) for more details. Test machine runs: FreeBSD devil 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r368710

valpackett commented 3 years ago

@pbpjackd don't use the 5.5-wip branch of this repo right now, I said #40

something like:

git fetch origin pull/40/head:5.5-amd
git checkout 5.5-amd

or

git remote add myfreeweb https://github.com/myfreeweb/drm-kmod
git fetch --all
git checkout 5.5-wip-amd-pr
tsujp commented 3 years ago

I will have the time to give FreeBSD a ago again sometime in the new year, unfortunately all the storage interfaces on my motherboard are taken right now so when I have a free drive I can partition it and attempt FreeBSD again; if that's before 13-RELEASE I'll give these things a shot thank you @myfreeweb and @pbpjackd.

evadot commented 3 years ago

Any updates ?

pbpjackd commented 3 years ago

@evadot Now on FBSD 13 with latest DRM from ports I do not see any crashes or whatsoever.

However two issues I have which might be related to DRM.

  1. Suspend/Resume with 2 Monitors connected leads to "sort of tearing" after resume. Does not happen with only 1 Monitor connected. Only known workaround for me is to kill xorg and restart X.
  2. Certain programs are very choppy. E.g., firefox video playback or just scrolling. Also GIMP is basically unusable slow and does not feel responsive at all.

Not sure if this belongs here. Maybe I should file a new ticket ?

bdsm commented 3 years ago

Trying on the September 16th 14-CURRENT snapshot with a PowerColor 5700XT, running into some similar issues with this card still. I've also messed around with other recent 14 snapshots with identical results.

With drm-current-kmod-5.4.144.g20210908 from ports, I am able to get amdgpu to load and can start X fine, however in the same vein as @pbpjackd I am getting kernel panics when I attempt to use multihead. If amdgpu loads with two displays plugged in, the kernel will immediately panic, however bizarrely enough, waiting until after it is loaded and then plug in a second display, I get mirrored output on that display, only for the kernel to panic when I then start X. However, one display works perfectly fine, and this is without hw.syscons.disable=1 or any additional measures taken. Since I can get it to mirror displays on a TTY/console unpanicked prior to starting X, I am somewhat tempted to see if I can get multihead working with some sort of Wayland solution at some point, since it's only when I start X that a panic is guaranteed.

With drm-devel-kmod-5.5.19.g20210909 from ports, the system will hang on loading modules with no output. Adding hw.syscons.disable=1 to /boot/loader.conf results in a small colorful strip about ~20 pixels in height forming across the top of the screen at boot and amdgpu never seems to fully take over - I am never able to blindly input anything here either, leading me to believe it is hanging at the same point. I end up needing to boot into single user where I blindly input commands to remove hw.syscons.disable=1 from /boot/loader.conf and continue receiving output in the future. This occurs when using hw.syscons.disable=1 on any drm-kmod version with this card, including drm-current-kmod in ports, which otherwise works mostly fine for me. I suspect the option isn't necessary for me considering 5.4 works fine without it, and it only seems to cause issues regardless of version.

I attempted to use some of the branches/PRs mentioned in https://github.com/FreeBSDDesktop/kms-drm/issues/255 and others mentioned here, specifically the ones in https://github.com/unrelentingtech/drm-kmod/ by @unrelentingtech just to see if I got any different results. My attempts include trying some of the newer unmentioned branches that've cropped up there since, like the 5.6-wip and 5.7 branches, even the DankBSD ones, since they seemed to contain work primarily on amdgpu. I have also tried running what's currently in git here for 5.5. However, it seems that with anything newer than 5.4, I consistently get the same issues mentioned above with the drm-devel-kmod version in ports.

I suspect there may have been some sort of regression somewhere at some point, as I cannot get even one display to output anything useful and not hang using any branch or repo on any version greater than the 5.4.X ones on my 5700XT. Various 5.4.X versions consistently seem to work to the extent described above. I wish I had more to show you, but due to the nature of the issue and lack of output, I don't have much to provide you with other than recounting my anecdotal experiences.

If @pbpjackd ever found a solution on getting multihead to work on any of the 5.4.X versions, I would greatly appreciate hearing back on that. Lack of working multihead is the only reason I've been messing around with all these other versions, forks, and branches.

With regard to everything I've said, I've seen no difference in behavior with manually loading amdgpu as opposed to listing it in /etc/rc.conf under kld_list.

I am happy to give any suggestions you have a shot as it seems little progress has been made on this issue in the past... nearly a year at this point, and I don't have anything better to do.

valpackett commented 3 years ago

I suspect the option isn't necessary for me

True. hw.syscons.disable=1 is irrelevant after #61 was merged, which is in master, 5.5-stable and 5.6-wip. Also it was always only relevant if your screen resolution was big enough to actually cause the conflict to happen.

I suspect there may have been some sort of regression somewhere at some point

There might be! I think the new FPU context stuff has only been actually tested on Renoir. (Renoir has dcn21 while Navi10 has dcn20)

Could it be #103 not getting merged into master? (#114) Though if

I have also tried running what's currently in git here for 5.5

means 5.5-stable, that should not be the problem.

(upd: since you're saying "snapshots" you are using a GENERIC (with-INVARIANTS) kernel, right? #103 is related to that. with a GENERIC-NODEBUG this issue should be avoided. this might also explain 5.6 not working, 5.6 doesn't yet have a thing that avoids the INVARIANTS failure)

bdsm commented 3 years ago

(upd: since you're saying "snapshots" you are using a GENERIC (with-INVARIANTS) kernel, right? #103 is related to that. with a GENERIC-NODEBUG this issue should be avoided. this might also explain 5.6 not working, 5.6 doesn't yet have a thing that avoids the INVARIANTS failure)

Wow, guess I'm out of the loop. Compiling a NODEBUG kernel fixed both the multihead issues I was having on 5.4 and got 5.5 to seemingly work normally as well. I'll have to mess around more after I get some rest. This is pretty great, thank you for getting back to me on that so soon. I was getting ready to shamefully sulk back to my old Gentoo install so I could get things done, I haven't used FreeBSD (on desktops at least) very extensively prior to these past few days.

valpackett commented 3 years ago

got 5.5 to seemingly work normally as well

Well then it likely is #114. To be sure, please confirm what you mean by 5.5 — master or 5.5-stable? 5.5-stable currently should work on a debug (INVARIANTS) kernel, master only will after #114. Ports releases are cut from master.

fixed […] the multihead issues I was having on 5.4

Now that is interesting, haha.

bdsm commented 3 years ago

got 5.5 to seemingly work normally as well

please confirm what you mean by 5.5

I was referring to the version currently in ports as drm-devel-kmod, not one I snagged from git or the stable release. But I can test that later at some point if need be.

Might also give 5.6-wip a shot soon.

valpackett commented 3 years ago

currently in ports as drm-devel-kmod

Yep, that's a tag off of master, and it doesn't have my #103 fix. Makes sense. #114 should fix.

jrtc27 commented 3 years ago

5.15 is a long way off but that further improves things and fixes the janky (and brittle) FPU use once and for all by doing it properly (ie have the non-FPU-enabled C files enable the FPU when they call into the FPU-using C files), which Linux needed to be able to support AArch64 (without -mgeneral-regs-only compilers like to use the qN registers on AArch64 for inlined memcpy's).

jrtc27 commented 3 years ago

(and thus, when drm-kmod eventually catches up to that, any hacks like #114 should finally be gone)

evadot commented 2 years ago

So, where are we on this ? Is it solved ?

valpackett commented 2 years ago

Yes? This was just another report of The FPU Issue. We probably would've gotten a lot of reports from navi10 users if FPU stuff broke again :)