freebsd / drm-kmod

drm driver for FreeBSD
157 stars 68 forks source link

drm.ko from 5.9-wip to 5.10 panicks on load #154

Closed vishwin closed 2 years ago

vishwin commented 2 years ago

Describe the bug drm.ko from 5.9-wip panicks on load with mutex Giant not owned at /usr/src/sys/kern/subr_bus.c:874

FreeBSD version FreeBSD ardmore 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n253876-1e9ce60a6d7: Mon Mar 21 01:15:30 EDT 2022 root@ardmore:/usr/obj/usr/src/amd64.amd64/sys/ARDMORE-DEBUG amd64

PCI Info

pciconf -lv ``` hostb0@pci0:0:0:0: class=0x060000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x1604 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Broadwell-U Host Bridge -OPI' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x1616 subvendor=0x17aa subdevice=0x2225 vendor = 'Intel Corporation' device = 'HD Graphics 5500' class = display subclass = VGA hdac0@pci0:0:3:0: class=0x040300 rev=0x09 hdr=0x00 vendor=0x8086 device=0x160c subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Broadwell-U Audio Controller' class = multimedia subclass = HDA xhci0@pci0:0:20:0: class=0x0c0330 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9cb1 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP USB xHCI Controller' class = serial bus subclass = USB none0@pci0:0:22:0: class=0x078000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9cba subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP MEI Controller' class = simple comms em0@pci0:0:25:0: class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x15a3 subvendor=0x17aa subdevice=0x2226 vendor = 'Intel Corporation' device = 'Ethernet Connection (3) I218-V' class = network subclass = ethernet hdac1@pci0:0:27:0: class=0x040300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca0 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP High Definition Audio Controller' class = multimedia subclass = HDA pcib1@pci0:0:28:0: class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c9a subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP PCI Express Root Port' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:1: class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c94 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP PCI Express Root Port' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:4: class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c98 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP PCI Express Root Port' class = bridge subclass = PCI-PCI ehci0@pci0:0:29:0: class=0x0c0320 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca6 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP USB EHCI Controller' class = serial bus subclass = USB isab0@pci0:0:31:0: class=0x060100 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9cc3 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP LPC Controller' class = bridge subclass = PCI-ISA ahci0@pci0:0:31:2: class=0x010601 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9c83 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP SATA Controller [AHCI Mode]' class = mass storage subclass = SATA ichsmb0@pci0:0:31:3: class=0x0c0500 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca2 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP SMBus Controller' class = serial bus subclass = SMBus pchtherm0@pci0:0:31:6: class=0x118000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca4 subvendor=0x17aa subdevice=0x2223 vendor = 'Intel Corporation' device = 'Wildcat Point-LP Thermal Management Controller' class = dasp rtsx0@pci0:2:0:0: class=0xff0000 rev=0x01 hdr=0x00 vendor=0x10ec device=0x5227 subvendor=0x17aa subdevice=0x2223 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTS5227 PCI Express Card Reader' iwm0@pci0:3:0:0: class=0x028000 rev=0x59 hdr=0x00 vendor=0x8086 device=0x095b subvendor=0x8086 subdevice=0x5210 vendor = 'Intel Corporation' device = 'Wireless 7265' class = network vgapci1@pci0:8:0:0: class=0x030200 rev=0xa2 hdr=0x00 vendor=0x10de device=0x137a subvendor=0x17aa subdevice=0x2225 vendor = 'NVIDIA Corporation' device = 'GM108GLM [Quadro K620M / Quadro M500M]' class = display subclass = 3D ```

DRM KMOD version drm-devel-kmod 5.9.g20220318, from ae722b137024d7cf240471836d48de6067aa87b6

To Reproduce kldload drm

Screenshots N/A

Additional context core.txt incoming?

vishwin commented 2 years ago
core.txt ``` ardmore dumped core - see /var/crash/vmcore.7 Mon 21 Mar 2022 01:37:04 EDT FreeBSD ardmore 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n253876-1e9ce60a6d7: Mon Mar 21 01:15:30 EDT 2022 root@ardmore:/usr/obj/usr/src/amd64.amd64/sys/ARDMORE-DEBUG amd64 panic: mutex Giant not owned at /usr/src/sys/kern/subr_bus.c:874 GNU gdb (GDB) 11.2 [GDB v11.2 for FreeBSD] Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd14.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: ---<>--- Copyright (c) 1992-2022 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 14.0-CURRENT #0 main-n253876-1e9ce60a6d7: Mon Mar 21 01:15:30 EDT 2022 root@ardmore:/usr/obj/usr/src/amd64.amd64/sys/ARDMORE-DEBUG amd64 FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 2880x1620 CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (2394.59-MHz K8-class CPU) Origin="GenuineIntel" Id=0x306d4 Family=0x6 Model=0x3d Stepping=4 Features=0xbfebfbff Features2=0x7ffafbbf AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x21c27ab Structured Extended Features3=0x9c000600 XSAVE Features=0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8144629760 (7767 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. Security policy loaded: MAC/ntpd (mac_ntpd) ioapic0 irqs 0-39 Launching APs: 1 2 3 TCP Hpts created 4 swi interrupt threads and bound 0 to cpus HPTS is in INVARIANT mode!! Cuse v0.1.36 @ /dev/cuse random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x9cbfd000-0x9cbfd01e smbios0: Version: 2.7, BCD Revision: 2.7 aesni0: acpi0: acpi_ec0: port 0x62,0x66 on 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 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 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-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x4000-0x403f mem 0xf2000000-0xf2ffffff,0xc0000000-0xdfffffff at device 2.0 on pci0 vgapci0: Boot video device hdac0: mem 0xf4230000-0xf4233fff at device 3.0 on pci0 xhci0: mem 0xf4220000-0xf422ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (no driver attached) em0: port 0x4080-0x409f mem 0xf4200000-0xf421ffff,0xf423e000-0xf423efff at device 25.0 on pci0 em0: EEPROM V0.2-3 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using an MSI interrupt <6>em0: Ethernet address: 54:ee:75:50:69:b5 <6>em0: netmap queues/slots: TX 1/1024, RX 1/1024 hdac1: mem 0xf4234000-0xf4237fff at device 27.0 on pci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 rtsx0: <2.1e Realtek RTS5227 PCIe MMC/SD Card Reader> mem 0xf4100000-0xf4100fff at device 0.0 on pci1 rtsx0: No card is detected pcib2: at device 28.1 on pci0 pci2: on pcib2 iwm0: mem 0xf4000000-0xf4001fff at device 0.0 on pci2 pcib3: at device 28.4 on pci0 pci3: on pcib3 vgapci1: port 0x3000-0x307f mem 0xf3000000-0xf3ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff at device 0.0 on pci3 ehci0: mem 0xf423d000-0xf423d3ff at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x40a8-0x40af,0x40b4-0x40b7,0x40a0-0x40a7,0x40b0-0x40b3,0x4060-0x407f mem 0xf423c000-0xf423c7ff at device 31.2 on pci0 ahci0: AHCI v1.30 with 3 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich2: at channel 2 on ahci0 ichsmb0: port 0xefa0-0xefbf mem 0xf4238000-0xf42380ff at device 31.3 on pci0 pchtherm0: mem 0xf423b000-0xf423bfff at device 31.6 on pci0 acpi_wmi0: on acpi0 acpi_wmi0: Embedded MOF found ACPI: \_SB.WMI1.WQBA: 1 arguments were passed to a non-method ACPI object (Buffer) (20210930/nsarguments-361) acpi_wmi1: on acpi0 acpi_wmi1: Embedded MOF found ACPI: \_SB.WMI2.WQBB: 1 arguments were passed to a non-method ACPI object (Buffer) (20210930/nsarguments-361) acpi_wmi2: on acpi0 acpi_wmi2: Embedded MOF found ACPI: \_SB.WMI3.WQBC: 1 arguments were passed to a non-method ACPI object (Buffer) (20210930/nsarguments-361) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. psm0: model Synaptics Touchpad, device ID 0 battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 est0: on cpu0 Timecounter "TSC-low" frequency 1197228465 Hz quality 1000 Timecounters tick every 1.000 msec ugen1.1: at usbus1 ugen0.1: at usbus0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20,21 and 26 on hdaa1 pcm2: at nid 18 on hdaa1 uhub0 on usbus0 uhub0: on usbus0 uhub1 on usbus1 uhub1: on usbus1 iwm0: hw rev 0x210, fw ver 22.361476.0, address 34:02:86:03:0d:90 smbus0: on ichsmb0 smb0: on smbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 3.x device ada0: Serial Number JS1000620LP6KT ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors) ada1 at ahcich2 bus 0 scbus1 target 0 lun 0 ada1: ACS-4 ATA SATA 3.x device ada1: Serial Number FEB407770B0800021319 ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 244198MB (500118192 512 byte sectors) Trying to mount root from ufs:/dev/ada1p2 [rw]... WARNING: WITNESS option enabled, expect reduced performance. WARNING: / was not properly dismounted <118>Waiting 30s for the root mount holders: usbus0 usbus1 uhub0: 15 ports with 15 removable, self powered ugen0.2: at usbus0 uhub2 on uhub0 uhub2: on usbus0 uhub1: 3 ports with 3 removable, self powered <118>. uhub2: 4 ports with 3 removable, self powered ugen1.2: at usbus1 uhub3 on uhub1 uhub3: on usbus1 ugen0.3: at usbus0 uhub4 on uhub2 uhub4: on usbus0 uhub4: MTT enabled uhub3: 8 ports with 8 removable, self powered <118>. uhub4: 4 ports with 4 removable, self powered ugen0.4: at usbus0 uhub5 on uhub4 uhub5: on usbus0 <118>. uhub5: 4 ports with 4 removable, self powered <118>. ugen0.5: at usbus0 uaudio0 on uhub5 uaudio0: on usbus0 uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: No MIDI sequencer. pcm3: on uaudio0 uaudio0: No HID volume keys found. ugen0.6: at usbus0 uhub6 on uhub2 uhub6: on usbus0 uhub6: MTT enabled <118>. uhub6: 3 ports with 3 removable, self powered ugen0.7: at usbus0 ums0 on uhub6 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen0.8: at usbus0 ukbd0 on uhub6 ukbd0: on usbus0 kbd2 at ukbd0 <118>. ugen0.9: at usbus0 ubt0 on uhub0 ubt0: on usbus0 ugen0.10: at usbus0 <118>. ugen0.11: at usbus0 uhub7 on uhub0 uhub7: on usbus0 <118>. uhub7: 4 ports with 3 removable, self powered ugen0.12: at usbus0 uhub8 on uhub7 uhub8: on usbus0 <118>. uhub8: 4 ports with 4 removable, self powered <118>. usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device Western Digital Elements 25A3 (0x1058:0x25a3) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Western Digital Elements 25A3 (0x1058:0x25a3) ugen0.13: at usbus0 umass0 on uhub7 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:2:0: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number 575831324435313734343946 da0: 400.000MB/s transfers da0: 3815415MB (7813969920 512 byte sectors) da0: quirks=0x2 <118>.. usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device Western Digital Elements 107C (0x1058:0x107c) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Western Digital Elements 107C (0x1058:0x107c) ugen0.14: at usbus0 umass1 on uhub7 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x8100 umass1:3:1: Attached to scbus3 da1 at umass-sim1 bus 1 scbus3 target 0 lun 0 da1: Fixed Direct Access SPC-4 SCSI device da1: Serial Number 5743433445314C4A30504450 da1: 400.000MB/s transfers da1: 3815415MB (976746240 4096 byte sectors) da1: quirks=0x2 <118>Setting hostuuid: 4058a481-54c6-11cb-ad4d-9dbab9489e6e. <118>Setting hostid: 0xc26d8a20. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) <118>Starting file system checks: <118>/dev/ada1p2: 25634 files, 2163377 used, 372494 free (5166 frags, 45916 blocks, 0.2% fragmentation) <118>/dev/ada0p1: DEFER FOR BACKGROUND CHECKING <118>/dev/ada1p4: DEFER FOR BACKGROUND CHECKING <118>Mounting local filesystems: WARNING: /usr/home was not properly dismounted WARNING: /usr/local was not properly dismounted <118>. <118>Loading kernel modules: drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io <5>[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). <6>[drm] Got stolen memory base 0x9e000000, size 0x2000000 lkpi_iic0: on drmn0 iicbus0: on lkpi_iic0 iic0: on iicbus0 lkpi_iic1: on drmn0 iicbus1: on lkpi_iic1 iic1: on iicbus1 lkpi_iic2: on drmn0 iicbus2: on lkpi_iic2 iic2: on iicbus2 lkpi_iic3: on drmn0 iicbus3: on lkpi_iic3 iic3: on iicbus3 sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! <6>[drm] Initialized i915 1.6.0 20200715 for drmn0 on minor 0 panic: mutex Giant not owned at /usr/src/sys/kern/subr_bus.c:874 cpuid = 1 time = 1647840918 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00852aea50 vpanic() at vpanic+0x17f/frame 0xfffffe00852aeaa0 panic() at panic+0x43/frame 0xfffffe00852aeb00 __mtx_assert() at __mtx_assert+0xb9/frame 0xfffffe00852aeb10 device_probe_and_attach() at device_probe_and_attach+0x2a/frame 0xfffffe00852aeb40 bus_generic_attach() at bus_generic_attach+0x18/frame 0xfffffe00852aeb60 lkpi_i2c_add_adapter() at lkpi_i2c_add_adapter+0x5b/frame 0xfffffe00852aeb80 drm_dp_port_set_pdt() at drm_dp_port_set_pdt+0x1e9/frame 0xfffffe00852aebd0 drm_dp_send_link_address() at drm_dp_send_link_address+0x89a/frame 0xfffffe00852aed00 drm_dp_check_and_send_link_address() at drm_dp_check_and_send_link_address+0x27/frame 0xfffffe00852aed40 drm_dp_mst_link_probe_work() at drm_dp_mst_link_probe_work+0x268/frame 0xfffffe00852aedf0 linux_work_fn() at linux_work_fn+0xe8/frame 0xfffffe00852aee40 taskqueue_run_locked() at taskqueue_run_locked+0xb0/frame 0xfffffe00852aeec0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd2/frame 0xfffffe00852aeef0 fork_exit() at fork_exit+0x85/frame 0xfffffe00852aef30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00852aef30 --- trap 0x1670, rip = 0, rsp = 0x3760, rbp = 0xe --- Uptime: 20s Dumping 524 out of 8060 MB:..4%..13%..22%..31%..43%..52%..61%..71%..83%..92% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=textdump@entry=1) at /usr/src/sys/kern/kern_shutdown.c:406 #2 0xffffffff80ad02f2 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:527 #3 0xffffffff80ad07fe in vpanic ( fmt=0xffffffff8117205f "mutex %s not owned at %s:%d", ap=) at /usr/src/sys/kern/kern_shutdown.c:965 #4 0xffffffff80ad0553 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:889 #5 0xffffffff80aab919 in __mtx_assert (c=, what=, file=, line=) at /usr/src/sys/kern/kern_mutex.c:1092 #6 0xffffffff80b0cbca in bus_topo_assert () at /usr/src/sys/kern/subr_bus.c:874 #7 device_probe_and_attach (dev=dev@entry=0xfffff800057efa00) at /usr/src/sys/kern/subr_bus.c:2981 #8 0xffffffff80b0e288 in bus_generic_attach (dev=) at /usr/src/sys/kern/subr_bus.c:3798 #9 0xffffffff80dd51eb in lkpi_i2c_add_adapter (adapter=0xfffff800011e2438) at /usr/src/sys/compat/linuxkpi/common/src/linux_i2c.c:190 #10 0xffffffff83500b89 in drm_dp_port_set_pdt () from /boot/modules/drm.ko #11 0xffffffff8350037a in drm_dp_send_link_address () from /boot/modules/drm.ko #12 0xffffffff834ffa17 in drm_dp_check_and_send_link_address () from /boot/modules/drm.ko #13 0xffffffff834fcfa8 in drm_dp_mst_link_probe_work () from /boot/modules/drm.ko #14 0xffffffff80de2978 in linux_work_fn (context=0xfffff800011e2438, pending=) at /usr/src/sys/compat/linuxkpi/common/src/linux_work.c:299 #15 0xffffffff80b35720 in taskqueue_run_locked ( queue=queue@entry=0xfffff800011ece00) at /usr/src/sys/kern/subr_taskqueue.c:477 #16 0xffffffff80b367c2 in taskqueue_thread_loop (arg=) at /usr/src/sys/kern/subr_taskqueue.c:794 #17 0xffffffff80a87185 in fork_exit ( callout=0xffffffff80b366f0 , arg=0xfffff800011f6440, frame=0xfffffe00852aef40) at /usr/src/sys/kern/kern_fork.c:1102 #18 (kgdb) ------------------------------------------------------------------------ ps -axlww UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 1 -16 0 0 0 swapin DLs - 0:00.02 [kernel] 0 1 0 3 22 0 11808 316 wait DLs - 0:00.00 [init] 0 2 0 0 -60 0 0 0 - WL - 0:00.00 [clock] 0 3 0 0 -16 0 0 0 crypto_w DL - 0:00.00 [crypto] 0 4 0 0 -16 0 0 0 - RL - 0:00.00 [cam] 0 5 0 1 -16 0 0 0 pftm DL - 0:00.00 [pf purge] 0 6 0 1 -16 0 0 0 - DL - 0:00.00 [rand_harvestq] 0 7 0 0 -16 0 0 0 psleep DL - 0:00.00 [pagedaemon] 0 8 0 0 -16 0 0 0 psleep DL - 0:00.00 [vmdaemon] 0 9 0 1 -16 0 0 0 - RL - 0:00.00 [bufdaemon] 0 10 0 1 -16 0 0 0 audit_wo DL - 0:00.00 [audit] 0 11 0 0 155 0 0 0 - RL - 0:00.00 [idle] 0 12 0 -1 -56 0 0 0 - WL - 0:00.00 [intr] 0 13 0 0 -16 0 0 0 sleep DL - 0:00.00 [ng_queue] 0 14 0 0 -8 0 0 0 - DL - 0:00.00 [geom] 0 15 0 2 -16 0 0 0 seqstate DL - 0:00.00 [sequencer 00] 0 16 0 3 -68 0 0 0 - DL - 0:00.00 [usb] 0 17 0 3 -16 0 0 0 tzpoll DL - 0:00.00 [acpi_thermal] 0 18 0 1 16 0 0 0 syncer DL - 0:00.00 [syncer] 0 19 0 0 -16 0 0 0 vlruwt DL - 0:00.00 [vnlru] 0 20 1 2 52 0 13624 1736 wait Ds+ - 0:00.00 [sh] 0 17209 0 1 -8 0 0 0 t->zthr_ DL - 0:00.03 [zfskern] 0 55246 20 3 52 0 13624 2260 wait D+ - 0:00.00 [sh] 0 63460 55246 2 52 0 12860 1968 - R+ - 0:00.00 [kldload] ------------------------------------------------------------------------ vmstat -s 54072 cpu context switches 9265 device interrupts 167 software interrupts 14104 traps 13188 system calls 20 kernel threads created 56 fork() calls 54 vfork() calls 0 rfork() calls 0 swap pager pageins 0 swap pager pages paged in 0 swap pager pageouts 0 swap pager pages paged out 361 vnode pager pageins 2616 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 3473 copy-on-write faults 13 copy-on-write optimized faults 8448 zero fill pages zeroed 0 zero fill pages prezeroed 44 intransit blocking page faults 15319 total VM faults taken 320 page faults requiring I/O 0 pages affected by kernel thread creation 2508 pages affected by fork() 1882 pages affected by vfork() 0 pages affected by rfork() 47758 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) NFSD session 1 1K 1 1024 nullfs_hash 1 1024K 1 nullfs_node 2 1K 2 64 nullfs_mount 2 1K 2 128 pfs_nodes 20 8K 20 384 pfs_vncache 2 17K 2 32,16384 tmpfs mount 1 1K 1 128 tmpfs name 0 0K 1 128 tmpfs dir 0 0K 1 64 GEOM 115 23K 1510 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768 raid_data 0 0K 216 32,128,256 isadev 7 1K 7 128 CAM I/O Scheduler 4 1K 4 128 BACKLIGHT 1 1K 1 64 CAM queue 12 8K 23 16,32,1024 cdev 2 1K 2 256 pwddesc 24 2K 131 64 filecaps 0 0K 48 16,32 kdtrace 798 195K 1024 64,256 kenv 110 12K 110 16,32,64,128,8192 kqueue 24 2K 131 64 proc-args 39 2K 300 16,32,64,128 hhook 15 4K 17 16,32,256 ithread 120 22K 120 32,128,256 prison 14 1K 14 16,32 KTRACE 100 13K 100 128 linker 345 4184K 391 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 evdev 11 12K 11 512,1024,2048 lockf 2 1K 6 64,128 loginclass 2 1K 2 64 cache 1 1K 1 32 devbuf 4382 12898K 8649 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,65536 temp 46 35K 1168 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768 module 480 60K 480 128 mtx_pool 2 72K 2 8192,65536 osd 106 2K 259 16,32,64,128,256 pmchooks 1 1K 1 128 pmc 1 1K 1 64 session 2 1K 2 128 proc 3 33K 3 1024,16384 subproc 82 118K 189 384,4096 cred 13 4K 29 256 CAM dev queue 5 1K 5 64 scsi_da 0 0K 70 16,32,64,256 kbdmux 7 22K 7 16,384,1024,2048,16384 plimit 2 1K 20 256 uidinfo 2 5K 2 128,4096 dumper 2 1K 2 128,512 sysctl 0 0K 5 32,64 sysctloid 51012 2958K 51486 16,32,64,128 sysctltmp 0 0K 6 64,1024 tidhash 3 158K 3 2048,32768 callout 4 1024K 4 umtx 1584 198K 1584 128 p1003.1b 1 1K 1 16 SWAP 1 1044K 1 bus 1198 112K 7565 16,32,64,128,256,2048 bus-sc 110 2269K 3033 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 devstat 12 25K 12 32,4096 eventhandler 147 13K 147 64,128 firmware 20 2K 20 16,32,128 gtaskqueue 30 27K 30 16,32,256,8192 kobj 307 1228K 648 4096 Per-cpu 1 1K 1 32 rman 236 28K 686 32,128 sbuf 1 4K 939 16,32,64,128,256,512,4096 toponodes 12 2K 12 128 taskqueue 183 23K 303 16,32,64,128,256,4096 terminal 11 3K 11 256 Unitno 28 2K 90 32,64 vmem 3 145K 3 512,16384 ioctlops 0 0K 1 256 iov 0 0K 735 64,256,384 msg 4 30K 4 2048,4096,8192,16384 sem 4 106K 4 2048,4096 shm 1 32K 1 32768 tty 12 12K 12 1024 entropy 1 1K 2 32 shmfd 1 8K 1 8192 pcb 12 1545K 12 16,1024,2048 hdaa 10 39K 10 256,384,1024,2048,16384 hdac 2 2K 2 256,1024 hdacc 2 1K 2 32 feeder 22 3K 28 32,128 mixer 4 16K 4 4096 ddb_capture 1 64K 1 65536 USB 125 240K 154 16,32,128,256,384,1024,2048,4096,8192,16384,32768 vfscache 3 2051K 3 1024,2048 USBdev 82 11K 88 32,64,128,256,384,2048 vfs_hash 1 1024K 1 vnodes 1 1K 1 256 namei_tracker 0 0K 1 32 mount 154 7K 269 16,32,64,128,256,1024 statfs 0 0K 33 4096 acpiwmi 17 2K 20 64,128,256 vnodemarker 3 2K 8 512 chacha20random 1 1K 1 1024 iconv 2 1K 2 128 BPF 3 1K 3 128 ifnet 4 7K 4 128,2048 ifaddr 24 9K 24 16,32,64,256,384,2048,4096 clone 10 2K 10 128 lltable 10 3K 10 256 tun 3 1K 3 32 iflib 17 111K 21 16,64,128,512,1024,4096,8192,16384,32768 pfil 4 1K 4 128 nhops 6 1K 6 128 routetbl 19 7K 21 64,128,256,384,1024,2048 vnet 1 1K 1 64 vnet_data 1 180K 1 vnet_data_free 1 1K 1 32 80211node 0 0K 1 16 80211scan 1 16K 1 16384 netgraph_btsocks_hci_raw 1 8K 1 8192 netgraph 1 1K 1 64 netgraph_node 8 2K 8 128,256 igmp 3 1K 3 128 encap_export_host 8 1K 8 32,64 tfo_ccache 1 128K 1 hostcache 1 32K 1 32768 LRO 2 40K 2 8192,32768 tcp_hpts 10 9602K 10 16,32,256 acpiintr 1 1K 1 64 tcpfunc 1 1K 1 64 syncache 1 68K 1 mld 2 1K 2 128 ip6ndp 2 1K 2 64 secasvar 1 1K 1 1024 sahead 1 1K 1 1024 ipsecpolicy 1 1K 1 1024 ipsec-saq 2 2K 2 1024 pf_hash 5 11524K 5 2048 pf_ifnet 7 4K 10 256,2048 lkpikmalloc 1075 255K 1183 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768 idr 36 13K 36 128,384 radix 1 1K 1 1024 crypto 4 1K 4 64,256,384 acpica 8399 860K 128301 16,32,64,128,256,384,512,1024,2048,4096 acpitask 1 64K 1 65536 acpisem 53 7K 53 128 acpidev 56 4K 56 64 vtbuf 24 4272K 46 4096 vt 14 165K 14 384,4096 CAM SIM 5 1K 5 128 audit_evclass 237 8K 296 32 ufs_trim 2 16K 2 8192 pagedep 4 769K 4 256 inodedep 4 3073K 5 384 bmsafemap 4 25K 4 256,8192 newblk 3 6144K 3 freefile 0 0K 1 128 diradd 0 0K 1 128 dirrem 0 0K 1 256 freework 3 1K 3 32 sbdep 0 0K 3 128 softdep 3 3K 3 1024 ufs_dirhash 42 9K 42 16,32,64,128,256,512 ufs_quota 1 1024K 1 ufs_mount 12 82K 16 32,512,4096,8192,16384,32768 vm_pgdata 1 1K 1 128 CAM XPT 43 4K 64 16,32,128,256,512,1024,2048 UMA 363 7K 363 16,32 autofs 1 1K 1 128 CAM DEV 7 14K 10 2048 CAM CCB 0 0K 60 2048 CAM path 11 1K 53 32 CAM periph 10 3K 26 16,32,64,128,256 acpi_perf 4 2K 4 384 DEVFS3 178 45K 209 256 DEVFS1 423 423K 484 1024 rpc 2 8K 2 4096 aesni_data 2 1K 2 32,256 pci_link 16 2K 16 32,128 atkbddev 2 1K 2 64 apmdev 1 1K 1 128 DEVFS 26 1K 27 16,128 DEVFSP 0 0K 4 64 fdesc_mount 1 1K 1 16 busdma 11097 694K 11097 64,128 bounce 11095 44380K 11095 intr 4 472K 4 65536 MCA 12 2K 12 32,128 cpus 2 1K 2 16 nexusdev 7 1K 7 16 fpukern_ctx 4 4K 4 1024 memdesc 1 4K 1 4096 msdosfs_node 0 0K 1 256 msdosfs_mount 1 1K 1 512 msdosfs_fat 1 1K 1 256 NFSD V4client 1 1K 1 256 NFSD lckfile 1 1K 1 256 madt_table 0 0K 2 32,4096 io_apic 1 4K 1 4096 local_apic 1 4K 1 4096 msi 16 2K 16 128 kstat_data 23 23K 29 1024 solaris 7479 15378K 50316 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,65536 taskq 2 1K 2 128,256 drm_driver 1 1K 1 32 ------------------------------------------------------------------------ vmstat -z ITEM SIZE LIMIT USED FREE REQ FAILSLEEP XDOMAIN UMA Kegs: 384, 0, 323, 0, 323, 0, 0, 0 UMA Zones: 1024, 0, 335, 0, 335, 0, 0, 0 UMA Slabs 0: 112, 0, 4773, 0, 4773, 0, 0, 0 UMA Slabs 1: 176, 0, 8, 0, 8, 0, 0, 0 UMA Hash: 256, 0, 0, 0, 0, 0, 0, 0 2 Bucket: 32, 0, 223, 793, 1559, 0, 0, 0 4 Bucket: 48, 0, 36, 980, 74, 0, 0, 0 8 Bucket: 80, 0, 135, 372, 836, 0, 0, 0 16 Bucket: 144, 0, 93, 409, 1287, 0, 0, 0 32 Bucket: 256, 0, 123, 250, 908, 2, 0, 0 64 Bucket: 512, 0, 109, 27, 351, 7, 0, 0 128 Bucket: 1024, 0, 99, 32, 524, 906, 0, 0 256 Bucket: 2048, 0, 172, 14, 545, 2, 0, 0 SMR SHARED: 24, 0, 7, 501, 7, 0, 0, 0 SMR CPU: 32, 0, 7, 501, 7, 0, 0, 0 vmem: 1856, 0, 1, 7, 1, 0, 0, 0 vmem btag: 56, 0, 14613, 130, 14623, 102, 0, 0 VM OBJECT: 264, 0, 351, 129, 1985, 0, 0, 0 RADIX NODE: 144, 0, 4169, 235, 10106, 0, 0, 0 KMAP ENTRY: 96, 0, 22, 0, 28, 0, 0, 0 MAP ENTRY: 96, 0, 104, 778, 5063, 0, 0, 0 VMSPACE: 2552, 0, 4, 20, 112, 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, 3919, 653, 3967, 0, 0, 0 pcpu-16: 16, 0, 21, 741, 21, 0, 0, 0 pcpu-32: 32, 0, 0, 0, 0, 0, 0, 0 pcpu-64: 64, 0, 479, 283, 479, 0, 0, 0 malloc-16: 16, 0, 7, 755, 8, 0, 0, 0 malloc-16: 16, 0, 441, 829, 515, 0, 0, 0 malloc-16: 16, 0, 470, 800, 3622, 0, 0, 0 malloc-16: 16, 0, 240, 776, 56170, 0, 0, 0 malloc-16: 16, 0, 20856, 480, 21140, 0, 0, 0 malloc-16: 16, 0, 802, 722, 8752, 0, 0, 0 malloc-16: 16, 0, 120, 896, 178, 0, 0, 0 malloc-16: 16, 0, 0, 254, 3, 0, 0, 0 malloc-32: 32, 0, 25, 991, 31, 0, 0, 0 malloc-32: 32, 0, 165, 851, 350, 0, 0, 0 malloc-32: 32, 0, 217, 799, 4079, 0, 0, 0 malloc-32: 32, 0, 389, 881, 6199, 0, 0, 0 malloc-32: 32, 0, 8732, 158, 8854, 0, 0, 0 malloc-32: 32, 0, 490, 780, 2516, 0, 0, 0 malloc-32: 32, 0, 14, 1002, 78, 0, 0, 0 malloc-32: 32, 0, 244, 772, 374, 0, 0, 0 malloc-64: 64, 0, 2, 506, 6, 0, 0, 0 malloc-64: 64, 0, 477, 539, 724, 0, 0, 0 malloc-64: 64, 0, 870, 1162, 10490, 0, 0, 0 malloc-64: 64, 0, 2963, 847, 4733, 0, 0, 0 malloc-64: 64, 0, 5196, 392, 5202, 0, 0, 0 malloc-64: 64, 0, 11719, 727, 12272, 0, 0, 0 malloc-64: 64, 0, 188, 828, 224, 0, 0, 0 malloc-64: 64, 0, 19, 997, 747, 0, 0, 0 malloc-128: 128, 0, 23, 355, 31, 0, 0, 0 malloc-128: 128, 0, 379, 377, 384, 0, 0, 0 malloc-128: 128, 0, 146, 610, 6272, 0, 0, 0 malloc-128: 128, 0, 5117, 301, 60502, 0, 0, 0 malloc-128: 128, 0, 16417, 215, 16486, 0, 0, 0 malloc-128: 128, 0, 5092, 326, 6979, 0, 0, 0 malloc-128: 128, 0, 80, 298, 82, 0, 0, 0 malloc-128: 128, 0, 485, 397, 522, 0, 0, 0 malloc-256: 256, 0, 17, 231, 25, 0, 0, 0 malloc-256: 256, 0, 897, 95, 1076, 0, 0, 0 malloc-256: 256, 0, 342, 216, 6936, 0, 0, 0 malloc-256: 256, 0, 47, 139, 67, 0, 0, 0 malloc-256: 256, 0, 10, 238, 28, 0, 0, 0 malloc-256: 256, 0, 720, 210, 1912, 0, 0, 0 malloc-256: 256, 0, 36, 212, 46, 0, 0, 0 malloc-256: 256, 0, 13, 173, 200, 0, 0, 0 malloc-384: 384, 0, 0, 0, 0, 0, 0, 0 malloc-384: 384, 0, 41, 79, 53, 0, 0, 0 malloc-384: 384, 0, 592, 218, 7922, 0, 0, 0 malloc-384: 384, 0, 17, 103, 19, 0, 0, 0 malloc-384: 384, 0, 49, 71, 50, 0, 0, 0 malloc-384: 384, 0, 84, 36, 812, 0, 0, 0 malloc-384: 384, 0, 22, 38, 22, 0, 0, 0 malloc-384: 384, 0, 4, 86, 7, 0, 0, 0 malloc-512: 512, 0, 0, 30, 4, 0, 0, 0 malloc-512: 512, 0, 9, 111, 14, 0, 0, 0 malloc-512: 512, 0, 14, 166, 776, 0, 0, 0 malloc-512: 512, 0, 2, 58, 8, 0, 0, 0 malloc-512: 512, 0, 0, 0, 0, 0, 0, 0 malloc-512: 512, 0, 8, 112, 421, 0, 0, 0 malloc-512: 512, 0, 1, 29, 1, 0, 0, 0 malloc-512: 512, 0, 0, 0, 0, 0, 0, 0 malloc-1024: 1024, 0, 0, 16, 2, 0, 0, 0 malloc-1024: 1024, 0, 64, 32, 76, 0, 0, 0 malloc-1024: 1024, 0, 4548, 60, 10021, 0, 0, 0 malloc-1024: 1024, 0, 20, 44, 29, 0, 0, 0 malloc-1024: 1024, 0, 22, 42, 24, 0, 0, 0 malloc-1024: 1024, 0, 475, 53, 1242, 0, 0, 0 malloc-1024: 1024, 0, 6, 42, 18, 0, 0, 0 malloc-1024: 1024, 0, 1, 15, 1, 0, 0, 0 malloc-2048: 2048, 0, 0, 16, 4, 0, 0, 0 malloc-2048: 2048, 0, 26, 14, 28, 0, 0, 0 malloc-2048: 2048, 0, 364, 36, 952, 0, 0, 0 malloc-2048: 2048, 0, 15, 33, 1216, 0, 0, 0 malloc-2048: 2048, 0, 9, 23, 12, 0, 0, 0 malloc-2048: 2048, 0, 475, 13, 979, 0, 0, 0 malloc-2048: 2048, 0, 2, 14, 2, 0, 0, 0 malloc-2048: 2048, 0, 0, 0, 0, 0, 0, 0 malloc-4096: 4096, 0, 3, 1, 3, 0, 0, 0 malloc-4096: 4096, 0, 15, 7, 22, 0, 0, 0 malloc-4096: 4096, 0, 79, 13, 265, 0, 0, 0 malloc-4096: 4096, 0, 43, 1, 64, 0, 0, 0 malloc-4096: 4096, 0, 8, 6, 42, 0, 0, 0 malloc-4096: 4096, 0, 209, 3, 469, 0, 0, 0 malloc-4096: 4096, 0, 2, 2, 2, 0, 0, 0 malloc-4096: 4096, 0, 307, 1, 648, 0, 0, 0 malloc-8192: 8192, 0, 0, 0, 0, 0, 0, 0 malloc-8192: 8192, 0, 16, 0, 16, 0, 0, 0 malloc-8192: 8192, 0, 6, 4, 30, 0, 0, 0 malloc-8192: 8192, 0, 5, 1, 7, 0, 0, 0 malloc-8192: 8192, 0, 0, 0, 0, 0, 0, 0 malloc-8192: 8192, 0, 15, 4, 182, 0, 0, 0 malloc-8192: 8192, 0, 4, 0, 4, 0, 0, 0 malloc-8192: 8192, 0, 1, 0, 1, 0, 0, 0 malloc-16384: 16384, 0, 0, 0, 0, 0, 0, 0 malloc-16384: 16384, 0, 6, 1, 10, 0, 0, 0 malloc-16384: 16384, 0, 7, 9, 149, 0, 0, 0 malloc-16384: 16384, 0, 4, 0, 4, 0, 0, 0 malloc-16384: 16384, 0, 2, 0, 2, 0, 0, 0 malloc-16384: 16384, 0, 7, 6, 216, 0, 0, 0 malloc-16384: 16384, 0, 0, 0, 0, 0, 0, 0 malloc-16384: 16384, 0, 0, 0, 0, 0, 0, 0 malloc-32768: 32768, 0, 1, 0, 1, 0, 0, 0 malloc-32768: 32768, 0, 4, 0, 4, 0, 0, 0 malloc-32768: 32768, 0, 1, 0, 1, 0, 0, 0 malloc-32768: 32768, 0, 2, 0, 2, 0, 0, 0 malloc-32768: 32768, 0, 0, 0, 0, 0, 0, 0 malloc-32768: 32768, 0, 2, 6, 46, 0, 0, 0 malloc-32768: 32768, 0, 0, 0, 0, 0, 0, 0 malloc-32768: 32768, 0, 0, 0, 0, 0, 0, 0 malloc-65536: 65536, 0, 1, 0, 1, 0, 0, 0 malloc-65536: 65536, 0, 4, 0, 4, 0, 0, 0 malloc-65536: 65536, 0, 1, 2, 7, 0, 0, 0 malloc-65536: 65536, 0, 0, 0, 0, 0, 0, 0 malloc-65536: 65536, 0, 0, 0, 0, 0, 0, 0 malloc-65536: 65536, 0, 7, 3, 198, 0, 0, 0 malloc-65536: 65536, 0, 2, 0, 2, 0, 0, 0 malloc-65536: 65536, 0, 1, 0, 1, 0, 0, 0 SLEEPQUEUE: 88, 0, 793, 341, 793, 0, 0, 0 kenv: 258, 0, 24, 96, 6092, 0, 0, 0 Files: 80, 0, 3, 501, 796, 0, 0, 0 filedesc0: 1072, 0, 24, 32, 131, 0, 0, 0 PWD: 32, 0, 3, 505, 6, 0, 0, 0 TURNSTILE: 136, 0, 793, 137, 793, 0, 0, 0 rangeset pctrie nodes: 144, 0, 0, 0, 0, 0, 0, 0 rl_entry: 40, 0, 19, 997, 19, 0, 0, 0 lkpicurr: 168, 0, 14, 82, 14, 0, 0, 0 lkpimm: 168, 0, 3, 46, 3, 0, 0, 0 umtx pi: 96, 0, 0, 0, 0, 0, 0, 0 umtx_shm: 88, 0, 0, 0, 0, 0, 0, 0 ertt: 72, 0, 0, 0, 0, 0, 0, 0 ertt_txseginfo: 40, 0, 0, 0, 0, 0, 0, 0 swrbuf: 2624, 128, 0, 0, 0, 0, 0, 0 swwbuf: 2624, 64, 0, 0, 0, 0, 0, 0 fusepbuf: 2624, 128, 0, 0, 0, 0, 0, 0 nfspbuf: 2624, 128, 0, 0, 0, 0, 0, 0 mdpbuf: 2624, 25, 0, 0, 0, 0, 0, 0 clpbuf: 2624, 128, 0, 24, 44, 0, 0, 0 vnpbuf: 2624, 512, 0, 0, 0, 0, 0, 0 pbuf: 2624, 16, 0, 0, 0, 0, 0, 0 FPU_save_area: 832, 0, 775, 41, 894, 0, 0, 0 MAC labels: 40, 0, 0, 0, 0, 0, 0, 0 PROC: 1352, 0, 23, 33, 130, 0, 0, 0 PGRP: 88, 0, 2, 250, 2, 0, 0, 0 THREAD: 1808, 0, 773, 19, 892, 0, 0, 0 cpuset: 104, 0, 11, 493, 11, 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, 0, 0, 0, 0, 0, 0 mbuf: 256, 3198390, 257, 251, 257, 0, 0, 0 mbuf_cluster: 2048, 499748, 0, 0, 0, 0, 0, 0 mbuf_jumbo_page: 4096, 249874, 256, 252, 256, 0, 0, 0 mbuf_jumbo_9k: 9216, 74036, 0, 0, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 41645, 0, 0, 0, 0, 0, 0 epoch_record pcpu: 256, 0, 4, 58, 4, 0, 0, 0 NetGraph items: 72, 4096, 0, 0, 0, 0, 0, 0 NetGraph data items: 72, 4096, 0, 0, 0, 0, 0, 0 ttyinq: 160, 0, 15, 47, 15, 0, 0, 0 ttyoutq: 256, 0, 8, 54, 8, 0, 0, 0 IOMMU_MAP_ENTRY: 120, 0, 0, 0, 0, 0, 0, 0 DEVCTL: 1024, 1000, 698, 0, 698, 0, 0, 0 g_bio: 384, 0, 0, 150, 21613, 0, 0, 0 linux_dma_pctrie: 144, 0, 0, 0, 0, 0, 0, 0 linux_dma_object: 32, 0, 0, 0, 0, 0, 0, 0 cryptop: 280, 0, 0, 0, 0, 0, 0, 0 vtnet_tx_hdr: 24, 0, 0, 0, 0, 0, 0, 0 VNODE: 448, 0, 322, 38, 327, 0, 0, 0 BUF TRIE: 144, 0, 84, 226, 167, 0, 0, 0 S VFS Cache: 104, 0, 341, 289, 352, 0, 0, 0 STS VFS Cache: 144, 0, 0, 0, 0, 0, 0, 0 L VFS Cache: 320, 0, 0, 30, 1, 0, 0, 0 LTS VFS Cache: 360, 0, 0, 0, 0, 0, 0, 0 NAMEI: 1024, 0, 0, 80, 1376, 0, 0, 0 TMPFS node: 224, 0, 1, 123, 2, 0, 0, 0 NCLNODE: 608, 0, 0, 0, 0, 0, 0, 0 DIRHASH: 1024, 0, 77, 35, 77, 0, 0, 0 autofs_request: 5280, 0, 0, 0, 0, 0, 0, 0 autofs_node: 200, 0, 0, 0, 0, 0, 0, 0 fuse_ticket: 184, 0, 0, 0, 0, 0, 0, 0 pipe: 744, 0, 0, 32, 38, 0, 0, 0 Mountpoints: 2752, 0, 10, 10, 10, 0, 0, 0 AIO: 208, 0, 0, 0, 0, 0, 0, 0 AIOP: 32, 0, 0, 0, 0, 0, 0, 0 AIOCB: 552, 0, 0, 0, 0, 0, 0, 0 AIOLIO: 272, 0, 0, 0, 0, 0, 0, 0 ksiginfo: 112, 0, 31, 473, 31, 0, 0, 0 itimer: 352, 0, 0, 0, 0, 0, 0, 0 KNOTE: 160, 0, 0, 0, 0, 0, 0, 0 socket: 960, 257923, 0, 0, 0, 0, 0, 0 IPsec SA lft_c: 16, 0, 0, 0, 0, 0, 0, 0 udp_inpcb: 424, 0, 0, 0, 0, 0, 0, 0 udp_inpcb ports: 32, 0, 0, 0, 0, 0, 0, 0 udplite_inpcb: 424, 0, 0, 0, 0, 0, 0, 0 udplite_inpcb ports: 32, 0, 0, 0, 0, 0, 0, 0 ripcb: 424, 0, 0, 0, 0, 0, 0, 0 ripcb ports: 32, 0, 0, 0, 0, 0, 0, 0 unpcb: 256, 257923, 0, 0, 0, 0, 0, 0 tcp_inpcb: 424, 0, 0, 0, 0, 0, 0, 0 tcp_inpcb ports: 32, 0, 0, 0, 0, 0, 0, 0 udpcb: 32, 257923, 0, 0, 0, 0, 0, 0 routing nhops: 256, 0, 0, 0, 0, 0, 0, 0 tcpreass: 48, 31234, 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 tcpcb: 1104, 257923, 0, 0, 0, 0, 0, 0 tcptw: 72, 27767, 0, 0, 0, 0, 0, 0 syncache: 168, 15360, 0, 0, 0, 0, 0, 0 hostcache: 64, 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 ipq: 56, 15617, 0, 0, 0, 0, 0, 0 rtentry: 176, 0, 0, 0, 0, 0, 0, 0 pf mtags: 56, 0, 0, 0, 0, 0, 0, 0 pf tags: 104, 0, 0, 0, 0, 0, 0, 0 pf states: 312, 100000, 0, 0, 0, 0, 0, 0 pf state keys: 88, 0, 0, 0, 0, 0, 0, 0 pf source nodes: 136, 10000, 0, 0, 0, 0, 0, 0 pf table entry counters: 64, 0, 0, 0, 0, 0, 0, 0 pf table entries: 160, 0, 0, 0, 0, 0, 0, 0 pf frags: 248, 0, 0, 0, 0, 0, 0, 0 pf frag entries: 40, 5000, 0, 0, 0, 0, 0, 0 pf state scrubs: 40, 0, 0, 0, 0, 0, 0, 0 ada_ccb: 272, 0, 0, 120, 5074, 0, 0, 0 da_ccb: 544, 0, 0, 80, 862, 0, 0, 0 swpctrie: 144, 999516, 0, 0, 0, 0, 0, 0 swblk: 136, 999514, 0, 0, 0, 0, 0, 0 FFS inode: 192, 0, 291, 143, 292, 0, 0, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 291, 143, 292, 0, 0, 0 taskq_zone: 192, 0, 0, 248, 200, 0, 0, 0 reference_cache: 40, 0, 35, 981, 276, 0, 0, 0 reference_history_cache: 8, 0, 35, 981, 276, 0, 0, 0 zfs_btree_leaf_cache: 4096, 0, 320, 31, 602, 0, 0, 0 metaslab_alloc_trace_cache: 72, 0, 0, 0, 0, 0, 0, 0 ddt_cache: 24824, 0, 14, 4, 28, 0, 0, 0 ddt_entry_cache: 392, 0, 0, 0, 0, 0, 0, 0 zio_cache: 1232, 0, 8, 288, 8407, 0, 0, 0 zio_link_cache: 48, 0, 0, 1270, 5026, 0, 0, 0 zio_buf_512: 512, 0, 7, 113, 4272, 0, 0, 0 zio_data_buf_512: 512, 0, 0, 0, 0, 0, 0, 0 zio_buf_1024: 1024, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_1024: 1024, 0, 0, 0, 0, 0, 0, 0 zio_buf_1536: 1536, 0, 2, 22, 6, 0, 0, 0 zio_data_buf_1536: 1536, 0, 0, 8, 4, 0, 0, 0 zio_buf_2048: 2048, 0, 2, 30, 13, 0, 0, 0 zio_data_buf_2048: 2048, 0, 0, 8, 4, 0, 0, 0 zio_buf_2560: 2560, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_2560: 2560, 0, 0, 0, 0, 0, 0, 0 zio_buf_3072: 3072, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_3072: 3072, 0, 0, 0, 0, 0, 0, 0 zio_buf_3584: 3584, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_3584: 3584, 0, 0, 0, 0, 0, 0, 0 zio_buf_4096: 4096, 0, 251, 13, 939, 0, 0, 0 zio_data_buf_4096: 4096, 0, 0, 80, 114, 0, 0, 0 zio_buf_5120: 5120, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_5120: 5120, 0, 0, 0, 0, 0, 0, 0 zio_buf_6144: 6144, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_6144: 6144, 0, 0, 0, 0, 0, 0, 0 zio_buf_7168: 7168, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_7168: 7168, 0, 0, 0, 0, 0, 0, 0 zio_buf_8192: 8192, 0, 0, 10, 54, 0, 0, 0 zio_data_buf_8192: 8192, 0, 0, 4, 4, 0, 0, 0 zio_buf_10240: 10240, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_10240: 10240, 0, 0, 0, 0, 0, 0, 0 zio_buf_12288: 12288, 0, 0, 6, 16, 0, 0, 0 zio_data_buf_12288: 12288, 0, 0, 0, 0, 0, 0, 0 zio_buf_14336: 14336, 0, 0, 0, 0, 0, 0, 0 zio_data_buf_14336: 14336, 0, 0, 0, 0, 0, 0, 0 zio_buf_16384: 16384, 0, 50, 13, 218, 0, 0, 0 zio_data_buf_16384: 16384, 0, 0, 3, 9, 0, 0, 0 zio_buf_comb_20480: 20480, 0, 0, 4, 7, 0, 0, 0 zio_buf_comb_24576: 24576, 0, 1, 5, 9, 0, 0, 0 zio_buf_comb_28672: 28672, 0, 0, 1, 3, 0, 0, 0 zio_buf_comb_32768: 32768, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_40960: 40960, 0, 0, 2, 2, 0, 0, 0 zio_buf_comb_49152: 49152, 0, 0, 2, 3, 0, 0, 0 zio_buf_comb_57344: 57344, 0, 0, 2, 2, 0, 0, 0 zio_buf_comb_65536: 65536, 0, 0, 2, 3, 0, 0, 0 zio_buf_comb_81920: 81920, 0, 0, 1, 2, 0, 0, 0 zio_buf_comb_98304: 98304, 0, 0, 4, 6, 0, 0, 0 zio_buf_comb_114688: 114688, 0, 0, 17, 64, 0, 0, 0 zio_buf_comb_131072: 131072, 0, 59, 21, 328, 0, 0, 0 zio_buf_comb_163840: 163840, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_196608: 196608, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_229376: 229376, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_262144: 262144, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_327680: 327680, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_393216: 393216, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_458752: 458752, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_524288: 524288, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_655360: 655360, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_786432: 786432, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_917504: 917504, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_1048576: 1048576, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_1310720: 1310720, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_1572864: 1572864, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_1835008: 1835008, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_2097152: 2097152, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_2621440: 2621440, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_3145728: 3145728, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_3670016: 3670016, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_4194304: 4194304, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_5242880: 5242880, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_6291456: 6291456, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_7340032: 7340032, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_8388608: 8388608, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_10485760: 10485760, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_12582912: 12582912, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_14680064: 14680064, 0, 0, 0, 0, 0, 0, 0 zio_buf_comb_16777216: 16777216, 0, 0, 0, 0, 0, 0, 0 abd_chunk: 4096, 0, 46, 6, 50, 0, 0, 0 sa_cache: 296, 0, 0, 0, 0, 0, 0, 0 dnode_t: 1032, 0, 527, 41, 655, 0, 0, 0 arc_buf_hdr_t_full: 352, 0, 271, 59, 2437, 0, 0, 0 arc_buf_hdr_t_full_crypt: 416, 0, 0, 0, 0, 0, 0, 0 arc_buf_hdr_t_l2only: 96, 0, 0, 0, 0, 0, 0, 0 arc_buf_t: 64, 0, 174, 842, 2690, 0, 0, 0 dmu_buf_impl_t: 408, 0, 660, 60, 2912, 0, 0, 0 zil_lwb_cache: 352, 0, 0, 0, 0, 0, 0, 0 zil_zcw_cache: 80, 0, 0, 0, 0, 0, 0, 0 sio_cache_0: 136, 0, 0, 0, 0, 0, 0, 0 sio_cache_1: 152, 0, 0, 0, 0, 0, 0, 0 sio_cache_2: 168, 0, 0, 0, 0, 0, 0, 0 zfs_znode_cache: 464, 0, 0, 0, 0, 0, 0, 0 drm_sched_fence: 184, 0, 0, 0, 0, 0, 0, 0 active_node: 72, 0, 0, 252, 5, 0, 0, 0 i915_buddy_block: 72, 0, 0, 0, 0, 0, 0, 0 intel_context: 416, 0, 4, 26, 8, 0, 0, 0 i915_lut_handle: 32, 0, 0, 0, 0, 0, 0, 0 drm_i915_gem_object: 840, 0, 15, 17, 25, 0, 0, 0 i915_request: 608, 0, 4, 44, 12, 0, 0, 0 execute_cb: 104, 0, 0, 0, 0, 0, 0, 0 i915_dependency: 96, 0, 0, 0, 0, 0, 0, 0 i915_priolist: 56, 0, 0, 508, 8, 0, 0, 0 i915_vma: 688, 0, 15, 33, 25, 0, 0, 0 ------------------------------------------------------------------------ vmstat -i interrupt total rate irq1: atkbd0 2 0 irq9: acpi0 171 2 irq23: ehci0 82 1 cpu0:timer 2536 33 cpu1:timer 735 10 cpu2:timer 1567 20 cpu3:timer 2860 37 irq48: hdac0 6 0 irq49: xhci0 3679 48 irq51: hdac1 40 1 irq53: iwm0 22 0 irq54: ahci0 5082 66 irq55: vgapci0 181 2 Total 16963 220 ------------------------------------------------------------------------ pstat -T 3/257923 files 0M/0M swap space ------------------------------------------------------------------------ pstat -s Device 1K-blocks Used Avail Capacity ------------------------------------------------------------------------ iostat tty ada0 ada1 da0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 21 4.8 6 0.0 19.8 248 4.8 19.2 19 0.4 0 0 3 0 97 ------------------------------------------------------------------------ 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 UDP tunneled pkts 0 UDP tunneled pkt cnt with errors 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 with dsack 0 dsack bytes received (no TLP involved) 0 dsack bytes received (TLP responsible) 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 0 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 retransmissions lost 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 ACE SYN packets with Non-ECT 0 ACE SYN packets with ECT0 0 ACE SYN packets with ECT1 0 ACE SYN packets with CE 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 0 times connection in TIME-WAIT responded with ACK 0 times connection in TIME-WAIT was actively recycled 0 times connection in TIME-WAIT responded with RST TCP connection count by state: 0 connections in CLOSED state 0 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: 0 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 0 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 0 delivered 0 datagrams output 0 times multicast source filter matched ip: 0 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 0 packets for this host 0 packets for unknown/unsupported protocol 0 packets forwarded (0 packets fast forwarded) 0 packets not forwardable 0 packets received for unknown multicast group 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 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: 0 ARP requests sent 0 ARP requests failed to sent 0 ARP replies sent 0 ARP requests received 0 ARP replies received 0 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 257/251/508 mbufs in use (current/cache/total) 0/0/0/499748 mbuf clusters in use (current/cache/total/max) 0/0 mbuf+clusters out of packet secondary zone in use (current/cache) 256/252/508/249874 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/74036 9k jumbo clusters in use (current/cache/total/max) 0/0/0/41645 16k jumbo clusters in use (current/cache/total/max) 1088K/1070K/2159K 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) fffffe00d16fa450 tcp4 0 0 *.7745 *.* LISTEN fffff80028f43848 udp4 0 0 *.7745 *.* fffff80012f9b1a8 udp4 0 0 *.* *.* fffff800287aeb98 icm6 828 0 *.* *.* fffff80012e47d40 icm6 828 0 *.* *.* fffff800280a1000 icm6 0 0 *.* *.* ------------------------------------------------------------------------ netstat -aL Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp4 0/0/5 *.7745 ------------------------------------------------------------------------ fstat USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root kldload 63460 root / 2 drwxr-xr-x 1024 r root kldload 63460 wd / 2 drwxr-xr-x 1024 r root kldload 63460 text / 1043585 -r-xr-xr-x 9672 r root kldload 63460 ctty /dev 10 crw------- console rw root kldload 63460 0 /dev 10 crw------- console rw root kldload 63460 1 /dev 10 crw------- console rw root kldload 63460 2 /dev 10 crw------- console rw root sh 55246 root / 2 drwxr-xr-x 1024 r root sh 55246 wd / 2 drwxr-xr-x 1024 r root sh 55246 text / 160596 -r-xr-xr-x 170584 r root sh 55246 ctty /dev 10 crw------- console rw root sh 55246 0 /dev 10 crw------- console rw root sh 55246 1 /dev 10 crw------- console rw root sh 55246 2 /dev 10 crw------- console rw root sh 55246 10 / 241336 -r-xr-xr-x 1754 r root zfskern 17209 root / 2 drwxr-xr-x 1024 r root zfskern 17209 wd / 2 drwxr-xr-x 1024 r root sh 20 root / 2 drwxr-xr-x 1024 r root sh 20 wd / 2 drwxr-xr-x 1024 r root sh 20 text / 160596 -r-xr-xr-x 170584 r root sh 20 ctty /dev 10 crw------- console rw root sh 20 0 /dev 10 crw------- console rw root sh 20 1 /dev 10 crw------- console rw root sh 20 2 /dev 10 crw------- console rw root sh 20 10 / 241272 -rw-r--r-- 5030 r root init 1 root / 2 drwxr-xr-x 1024 r root init 1 wd / 2 drwxr-xr-x 1024 r root init 1 text / 1043582 -r-xr-xr-x 1294880 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-2022 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 14.0-CURRENT #0 main-n253876-1e9ce60a6d7: Mon Mar 21 01:15:30 EDT 2022 root@ardmore:/usr/obj/usr/src/amd64.amd64/sys/ARDMORE-DEBUG amd64 FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 2880x1620 CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (2394.59-MHz K8-class CPU) Origin="GenuineIntel" Id=0x306d4 Family=0x6 Model=0x3d Stepping=4 Features=0xbfebfbff Features2=0x7ffafbbf AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x21c27ab Structured Extended Features3=0x9c000600 XSAVE Features=0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8144629760 (7767 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. Security policy loaded: MAC/ntpd (mac_ntpd) ioapic0 irqs 0-39 Launching APs: 1 2 3 TCP Hpts created 4 swi interrupt threads and bound 0 to cpus HPTS is in INVARIANT mode!! Cuse v0.1.36 @ /dev/cuse random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x9cbfd000-0x9cbfd01e smbios0: Version: 2.7, BCD Revision: 2.7 aesni0: acpi0: acpi_ec0: port 0x62,0x66 on 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 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 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-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x4000-0x403f mem 0xf2000000-0xf2ffffff,0xc0000000-0xdfffffff at device 2.0 on pci0 vgapci0: Boot video device hdac0: mem 0xf4230000-0xf4233fff at device 3.0 on pci0 xhci0: mem 0xf4220000-0xf422ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (no driver attached) em0: port 0x4080-0x409f mem 0xf4200000-0xf421ffff,0xf423e000-0xf423efff at device 25.0 on pci0 em0: EEPROM V0.2-3 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using an MSI interrupt em0: Ethernet address: 54:ee:75:50:69:b5 em0: netmap queues/slots: TX 1/1024, RX 1/1024 hdac1: mem 0xf4234000-0xf4237fff at device 27.0 on pci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 rtsx0: <2.1e Realtek RTS5227 PCIe MMC/SD Card Reader> mem 0xf4100000-0xf4100fff at device 0.0 on pci1 rtsx0: No card is detected pcib2: at device 28.1 on pci0 pci2: on pcib2 iwm0: mem 0xf4000000-0xf4001fff at device 0.0 on pci2 pcib3: at device 28.4 on pci0 pci3: on pcib3 vgapci1: port 0x3000-0x307f mem 0xf3000000-0xf3ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff at device 0.0 on pci3 ehci0: mem 0xf423d000-0xf423d3ff at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x40a8-0x40af,0x40b4-0x40b7,0x40a0-0x40a7,0x40b0-0x40b3,0x4060-0x407f mem 0xf423c000-0xf423c7ff at device 31.2 on pci0 ahci0: AHCI v1.30 with 3 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich2: at channel 2 on ahci0 ichsmb0: port 0xefa0-0xefbf mem 0xf4238000-0xf42380ff at device 31.3 on pci0 pchtherm0: mem 0xf423b000-0xf423bfff at device 31.6 on pci0 acpi_wmi0: on acpi0 acpi_wmi0: Embedded MOF found ACPI: \134_SB.WMI1.WQBA: 1 arguments were passed to a non-method ACPI object (Buffer) (20210930/nsarguments-361) acpi_wmi1: on acpi0 acpi_wmi1: Embedded MOF found ACPI: \134_SB.WMI2.WQBB: 1 arguments were passed to a non-method ACPI object (Buffer) (20210930/nsarguments-361) acpi_wmi2: on acpi0 acpi_wmi2: Embedded MOF found ACPI: \134_SB.WMI3.WQBC: 1 arguments were passed to a non-method ACPI object (Buffer) (20210930/nsarguments-361) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. psm0: model Synaptics Touchpad, device ID 0 battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 est0: on cpu0 Timecounter "TSC-low" frequency 1197228465 Hz quality 1000 Timecounters tick every 1.000 msec ugen1.1: at usbus1 ugen0.1: at usbus0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20,21 and 26 on hdaa1 pcm2: at nid 18 on hdaa1 uhub0 on usbus0 uhub0: on usbus0 uhub1 on usbus1 uhub1: on usbus1 iwm0: hw rev 0x210, fw ver 22.361476.0, address 34:02:86:03:0d:90 smbus0: on ichsmb0 smb0: on smbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 3.x device ada0: Serial Number JS1000620LP6KT ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors) ada1 at ahcich2 bus 0 scbus1 target 0 lun 0 ada1: ACS-4 ATA SATA 3.x device ada1: Serial Number FEB407770B0800021319 ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 244198MB (500118192 512 byte sectors) Trying to mount root from ufs:/dev/ada1p2 [rw]... WARNING: WITNESS option enabled, expect reduced performance. WARNING: / was not properly dismounted Waiting 30s for the root mount holders: usbus0 usbus1 uhub0: 15 ports with 15 removable, self powered ugen0.2: at usbus0 uhub2 on uhub0 uhub2: on usbus0 uhub1: 3 ports with 3 removable, self powered . uhub2: 4 ports with 3 removable, self powered ugen1.2: at usbus1 uhub3 on uhub1 uhub3: on usbus1 ugen0.3: at usbus0 uhub4 on uhub2 uhub4: on usbus0 uhub4: MTT enabled uhub3: 8 ports with 8 removable, self powered . uhub4: 4 ports with 4 removable, self powered ugen0.4: at usbus0 uhub5 on uhub4 uhub5: on usbus0 . uhub5: 4 ports with 4 removable, self powered . ugen0.5: at usbus0 uaudio0 on uhub5 uaudio0: on usbus0 uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: No MIDI sequencer. pcm3: on uaudio0 uaudio0: No HID volume keys found. ugen0.6: at usbus0 uhub6 on uhub2 uhub6: on usbus0 uhub6: MTT enabled . uhub6: 3 ports with 3 removable, self powered ugen0.7: at usbus0 ums0 on uhub6 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen0.8: at usbus0 ukbd0 on uhub6 ukbd0: on usbus0 kbd2 at ukbd0 . ugen0.9: at usbus0 ubt0 on uhub0 ubt0: on usbus0 ugen0.10: at usbus0 . ugen0.11: at usbus0 uhub7 on uhub0 uhub7: on usbus0 . uhub7: 4 ports with 3 removable, self powered ugen0.12: at usbus0 uhub8 on uhub7 uhub8: on usbus0 . uhub8: 4 ports with 4 removable, self powered . usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device Western Digital Elements 25A3 (0x1058:0x25a3) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Western Digital Elements 25A3 (0x1058:0x25a3) ugen0.13: at usbus0 umass0 on uhub7 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:2:0: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number 575831324435313734343946 da0: 400.000MB/s transfers da0: 3815415MB (7813969920 512 byte sectors) da0: quirks=0x2 .. usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device Western Digital Elements 107C (0x1058:0x107c) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Western Digital Elements 107C (0x1058:0x107c) ugen0.14: at usbus0 umass1 on uhub7 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x8100 umass1:3:1: Attached to scbus3 da1 at umass-sim1 bus 1 scbus3 target 0 lun 0 da1: Fixed Direct Access SPC-4 SCSI device da1: Serial Number 5743433445314C4A30504450 da1: 400.000MB/s transfers da1: 3815415MB (976746240 4096 byte sectors) da1: quirks=0x2 Setting hostuuid: 4058a481-54c6-11cb-ad4d-9dbab9489e6e. Setting hostid: 0xc26d8a20. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Starting file system checks: /dev/ada1p2: 25634 files, 2163377 used, 372494 free (5166 frags, 45916 blocks, 0.2% fragmentation) /dev/ada0p1: DEFER FOR BACKGROUND CHECKING /dev/ada1p4: DEFER FOR BACKGROUND CHECKING Mounting local filesystems: WARNING: /usr/home was not properly dismounted WARNING: /usr/local was not properly dismounted . Loading kernel modules: drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). [drm] Got stolen memory base 0x9e000000, size 0x2000000 lkpi_iic0: on drmn0 iicbus0: on lkpi_iic0 iic0: on iicbus0 lkpi_iic1: on drmn0 iicbus1: on lkpi_iic1 iic1: on iicbus1 lkpi_iic2: on drmn0 iicbus2: on lkpi_iic2 iic2: on iicbus2 lkpi_iic3: on drmn0 iicbus3: on lkpi_iic3 iic3: on iicbus3 sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! [drm] Initialized i915 1.6.0 20200715 for drmn0 on minor 0 panic: mutex Giant not owned at /usr/src/sys/kern/subr_bus.c:874 cpuid = 1 time = 1647840918 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00852aea50 vpanic() at vpanic+0x17f/frame 0xfffffe00852aeaa0 panic() at panic+0x43/frame 0xfffffe00852aeb00 __mtx_assert() at __mtx_assert+0xb9/frame 0xfffffe00852aeb10 device_probe_and_attach() at device_probe_and_attach+0x2a/frame 0xfffffe00852aeb40 bus_generic_attach() at bus_generic_attach+0x18/frame 0xfffffe00852aeb60 lkpi_i2c_add_adapter() at lkpi_i2c_add_adapter+0x5b/frame 0xfffffe00852aeb80 drm_dp_port_set_pdt() at drm_dp_port_set_pdt+0x1e9/frame 0xfffffe00852aebd0 drm_dp_send_link_address() at drm_dp_send_link_address+0x89a/frame 0xfffffe00852aed00 drm_dp_check_and_send_link_address() at drm_dp_check_and_send_link_address+0x27/frame 0xfffffe00852aed40 drm_dp_mst_link_probe_work() at drm_dp_mst_link_probe_work+0x268/frame 0xfffffe00852aedf0 linux_work_fn() at linux_work_fn+0xe8/frame 0xfffffe00852aee40 taskqueue_run_locked() at taskqueue_run_locked+0xb0/frame 0xfffffe00852aeec0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd2/frame 0xfffffe00852aeef0 fork_exit() at fork_exit+0x85/frame 0xfffffe00852aef30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00852aef30 --- trap 0x1670, rip = 0, rsp = 0x3760, rbp = 0xe --- Uptime: 20s Dumping 524 out of 8060 MB:..4%..13%..22%..31%..43%..52%..61%..71%..83%..92% ------------------------------------------------------------------------ kernel config options CONFIG_AUTOGENERATED ident ARDMORE-DEBUG machine amd64 cpu HAMMER makeoptions WITH_EXTRA_TCP_STACKS=1 makeoptions WITH_CTF=1 makeoptions DEBUG=-g options AUTOFS options MAC_NTPD options NETGRAPH_ETHER options NETGRAPH_EIFACE options NETGRAPH_BRIDGE options NETGRAPH_BLUETOOTH_UBT options NETGRAPH_BLUETOOTH_SOCKET options NETGRAPH_BLUETOOTH_L2CAP options NETGRAPH_BLUETOOTH_HCI options NETGRAPH_BLUETOOTH options NETGRAPH_SOCKET options NETGRAPH options IMAGACT_BINMISC options FILEMON options MSDOSFS_ICONV options LIBICONV options FUSEFS options FDESCFS options NULLFS options TCPHPTS options IICHID_SAMPLING options HID_DEBUG 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 PPS_SYNC options COMPAT_LINUXKPI options PCI_IOV options PCI_HP options IOMMU options EARLY_AP_STARTUP options SMP options NETGDB options NETDUMP options DEBUGNET options ZSTDIO options GZIO options EKCD 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_FREEBSD13 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 KERN_TLS options SCTP_SUPPORT options TCP_RFC7413 options TCP_HHOOK options TCP_BLACKBOX options TCP_OFFLOAD options FIB_ALGO options ROUTE_MPATH options IPSEC_SUPPORT options INET6 options INET options VIMAGE options PREEMPTION options NUMA options SCHED_ULE options NEW_PCIB options CC_NEWRENO options GEOM_PART_GPT options GEOM_PART_MBR options GEOM_PART_EBR options GEOM_PART_BSD options TMPFS options MSDOSFS options COMPAT_LINUXKPI device isa device mem device io device uart_ns8250 device cpufreq device acpi device smbios device pci device fdc device ahci device ata device mvs device siis device ahc device ahd 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 arcmsr device ciss device ips 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 atkbdc device atkbd device psm device kbdmux device vga device splash device sc device vt device vt_vga device vt_efifb device vt_vbefb device agp device cbb device cardbus device uart device ppc device ppbus device lpt device ppi device puc device iflib device em device igc device ixl device iavf device ice device vmx device axp device mlxfw device miibus device wlan device wlan_wep device wlan_ccmp device wlan_tkip device wlan_amrr device crypto device aesni device loop device padlock_rng device rdrand_rng device ether device vlan device tuntap device md device gif device firmware device xz 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 kvm_clock device hyperv device xenpci device xentimer device netmap device evdev device uinput device hid device iwm device rtwn device rtwnfw device rtwn_usb device uether device urndis device lagg device uhid device ums device snd_uaudio device pf device pflog device smbus device smb device ichsmb device pchtherm device acpi_wmi device nmdm device ucom device uplcom device uslcom device backlight ------------------------------------------------------------------------ ddb capture buffer ```
evadot commented 2 years ago

I can't reproduce here on apollolake and skylake, and based on the panic message I don't see how it can comes from DRM (nor linuxkpi we just call bus_generic_attach)

vishwin commented 2 years ago

Still happening on 5.10. No such panic on 5.4 (or the previous 5.5). Looks like the difference maker is lkpi I2C stuff

evadot commented 2 years ago

I've changed a bit some stuff in linux_i2c recently, might worth the try.

vishwin commented 2 years ago

Same panic as of freebsd/freebsd-src@cd7e11f78de (next commit is D35403 and its __FreeBSD_version bump, but holding off due to resulting expensive rebuild), now with additional VBIOS error message:

<118>Loading kernel modules:
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
<5>[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
<6>[drm] Got stolen memory base 0x9e000000, size 0x2000000
drmn0: [drm] Failed to find VBIOS tables (VBT)
lkpi_iic0: <LinuxKPI I2C> on drmn0
iicbus0: <Philips I2C bus> on lkpi_iic0
iic0: <I2C generic I/O> on iicbus0
lkpi_iic1: <LinuxKPI I2C> on drmn0
iicbus1: <Philips I2C bus> on lkpi_iic1
iic1: <I2C generic I/O> on iicbus1
lkpi_iic2: <LinuxKPI I2C> on drmn0
iicbus2: <Philips I2C bus> on lkpi_iic2
iic2: <I2C generic I/O> on iicbus2
lkpi_iic3: <LinuxKPI I2C> on drmn0
iicbus3: <Philips I2C bus> on lkpi_iic3
iic3: <I2C generic I/O> on iicbus3
sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
lkpi_iic4: <LinuxKPI I2C> on drm2
iicbus4: <Philips I2C bus> on lkpi_iic4
iic4: <I2C generic I/O> on iicbus4
lkpi_iic5: <LinuxKPI I2C> on drm3
iicbus5: <Philips I2C bus> on lkpi_iic5
iic5: <I2C generic I/O> on iicbus5
lkpi_iic6: <LinuxKPI I2C> on drm5
iicbus6: <Philips I2C bus> on lkpi_iic6
iic6: <I2C generic I/O> on iicbus6
<6>[drm] Initialized i915 1.6.0 20200917 for drmn0 on minor 0
panic: mutex Giant not owned at /usr/src/sys/kern/subr_bus.c:874
cpuid = 1
time = 1654618030
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00852aea50
vpanic() at vpanic+0x151/frame 0xfffffe00852aeaa0
panic() at panic+0x43/frame 0xfffffe00852aeb00
__mtx_assert() at __mtx_assert+0xb9/frame 0xfffffe00852aeb10
device_probe_and_attach() at device_probe_and_attach+0x2a/frame 0xfffffe00852aeb40
bus_generic_attach() at bus_generic_attach+0x18/frame 0xfffffe00852aeb60
lkpi_i2c_add_adapter() at lkpi_i2c_add_adapter+0x7f/frame 0xfffffe00852aeb80
drm_dp_port_set_pdt() at drm_dp_port_set_pdt+0x1f8/frame 0xfffffe00852aebd0
drm_dp_send_link_address() at drm_dp_send_link_address+0x89a/frame 0xfffffe00852aed00
drm_dp_check_and_send_link_address() at drm_dp_check_and_send_link_address+0x27/frame 0xfffffe00852aed40
drm_dp_mst_link_probe_work() at drm_dp_mst_link_probe_work+0x271/frame 0xfffffe00852aedf0
linux_work_fn() at linux_work_fn+0xe8/frame 0xfffffe00852aee40
taskqueue_run_locked() at taskqueue_run_locked+0xb0/frame 0xfffffe00852aeec0
taskqueue_thread_loop() at taskqueue_thread_loop+0xd2/frame 0xfffffe00852aeef0
fork_exit() at fork_exit+0x85/frame 0xfffffe00852aef30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00852aef30
--- trap 0x268a3e4e, rip = 0x34e3db98054fb880, rsp = 0x2cefc3940f63a08c, rbp = 0xf4b33282bee1a627 ---
Uptime: 20s
Dumping 526 out of 8060 MB:..4%..13%..22%..31%..43%..52%..61%..73%..83%..92%

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55      __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1  dump_savectx () at /usr/src/sys/kern/kern_shutdown.c:401
#2  0xffffffff80aaf6e5 in dumpsys (di=0x0)
    at /usr/src/sys/x86/include/dump.h:87
#3  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:430
#4  kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:537
#5  0xffffffff80aafb1e in vpanic (fmt=<optimized out>, 
    ap=ap@entry=0xfffffe00852aeae0) at /usr/src/sys/kern/kern_shutdown.c:975
#6  0xffffffff80aaf883 in panic (fmt=<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:899
#7  0xffffffff80a8a729 in __mtx_assert (c=<optimized out>, 
    what=<optimized out>, file=<unavailable>, line=<unavailable>)
    at /usr/src/sys/kern/kern_mutex.c:1092
#8  0xffffffff80aec40a in bus_topo_assert ()
    at /usr/src/sys/kern/subr_bus.c:874
#9  device_probe_and_attach (dev=dev@entry=0xfffff80005b95100)
    at /usr/src/sys/kern/subr_bus.c:2984
#10 0xffffffff80aedac8 in bus_generic_attach (dev=<optimized out>)
    at /usr/src/sys/kern/subr_bus.c:3801
#11 0xffffffff80db41df in lkpi_i2c_add_adapter (adapter=0xfffff8000584cc38)
    at /usr/src/sys/compat/linuxkpi/common/src/linux_i2c.c:224
#12 0xffffffff83501318 in drm_dp_port_set_pdt () from /boot/modules/drm.ko
#13 0xffffffff83500aea in drm_dp_send_link_address ()
   from /boot/modules/drm.ko
#14 0xffffffff83500187 in drm_dp_check_and_send_link_address ()
   from /boot/modules/drm.ko
#15 0xffffffff834fd931 in drm_dp_mst_link_probe_work ()
   from /boot/modules/drm.ko
#16 0xffffffff80dc2668 in linux_work_fn (context=0xfffff8000584cc38, 
    pending=<optimized out>)
    at /usr/src/sys/compat/linuxkpi/common/src/linux_work.c:299
#17 0xffffffff80b15080 in taskqueue_run_locked (
    queue=queue@entry=0xfffff800011db100)
    at /usr/src/sys/kern/subr_taskqueue.c:514
#18 0xffffffff80b16142 in taskqueue_thread_loop (arg=<optimized out>)
    at /usr/src/sys/kern/subr_taskqueue.c:826
#19 0xffffffff80a664d5 in fork_exit (
    callout=0xffffffff80b16070 <taskqueue_thread_loop>, 
    arg=0xfffff80001651d40, frame=0xfffffe00852aef40)
    at /usr/src/sys/kern/kern_fork.c:1102
#20 <signal handler called>
#21 0x34e3db98054fb880 in ?? ()
Backtrace stopped: Cannot access memory at address 0x2cefc3940f63a08c
(kgdb) 
evadot commented 2 years ago

Does https://reviews.freebsd.org/D35478 helps you ? I honestly don't understand why it is not needed for me but ...

vishwin commented 2 years ago

After D35478, so far so good with only the laptop screen. Will need to continue testing with multiple (high pixel density) monitor setup when I have access to it again in a couple days

vishwin commented 2 years ago

Unfortunately, after loading i915kms.ko (drm.ko loaded fine after D35478), the dual high pixel density screen setup resulted in a complete black screen hang. Input devices (keyboard included) stuck, hard reset needed. No log messages whatsoever this time.

Interestingly, both laptop screen only (which itself is a high pixel density screen) and laptop + standard pixel density monitor do not exhibit the hang. This setup does not seem to cause a framebuffer video mode change whereas dual high pixel density does.

evadot commented 2 years ago

Can you share more info on your setup ? (Which screens are connected and how)

vishwin commented 2 years ago

Built-in laptop screen (high pixel density) is eDP, high pixel density external monitor is DisplayPort, standard pixel density external monitor is VGA. All video I/O goes through Intel only

evadot commented 2 years ago

And eDP + VGA work, edp + VGA + DP doesn't ? What about eDP + DP ?

vishwin commented 2 years ago

Don't have all three at my disposal at the same time, the problem configuration is eDP + DP.

evadot commented 2 years ago

Does it hangs too if you plug the DP screen after loading the module ? Or do you have some panic that could help finding what's going on ?

vishwin commented 2 years ago

The DP monitor lives on a docking station so I will see what happens when I hotplug that

vishwin commented 2 years ago

No hang on hotplug.

evadot commented 2 years ago

No hang on hotplug.

No hang and work ? No hang and panic ?

vishwin commented 2 years ago

No hang and works when hotplugged after loading the module.

vishwin commented 2 years ago

Relevant output when hotplugged:

Jun 23 22:49:50 ardmore kernel: fbd0 on drmn0
Jun 23 22:49:50 ardmore kernel: device_attach: fbd0 attach returned 6
Jun 23 22:49:50 ardmore kernel: lkpi_iic7: <LinuxKPI I2C> on drmn0
Jun 23 22:49:50 ardmore kernel: iicbus7: <Philips I2C bus> on lkpi_iic7
Jun 23 22:49:50 ardmore kernel: iic7: <I2C generic I/O> on iicbus7
Jun 23 22:49:50 ardmore kernel: ugen0.4: <LENOVO Lenovo ThinkPad Dock> at usbus0
Jun 23 22:49:50 ardmore kernel: uhub3 on uhub0
Jun 23 22:49:50 ardmore kernel: uhub3: <LENOVO Lenovo ThinkPad Dock, class 9/0, rev 3.00/50.41, addr 3> on usbus0
Jun 23 22:49:50 ardmore kernel: uhub3: 4 ports with 3 removable, self powered
Jun 23 22:49:50 ardmore kernel: fbd0 on drmn0
Jun 23 22:49:50 ardmore kernel: device_attach: fbd0 attach returned 6
Jun 23 22:49:50 ardmore kernel: lkpi_iic8: <LinuxKPI I2C> on drmn0
Jun 23 22:49:50 ardmore kernel: iicbus8: <Philips I2C bus> on lkpi_iic8
Jun 23 22:49:50 ardmore kernel: iic8: <I2C generic I/O> on iicbus8
vishwin commented 2 years ago

No hang and works when manually loaded after booting into single-user mode, with the DisplayPort monitor. This is on freebsd/freebsd-src@d8f3ef8f544 with device iic built into the kernel

evadot commented 2 years ago

Not sure I understand, if you load it from single user mode it works but if you load it in multi user (either by hand or via kld_list) it hang ?

vishwin commented 2 years ago

Fully works when loaded via kld_list now, not sure why it didn't before