Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 12:14:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258777] System freezing for minutes when deleting a large file
Message-ID:  <bug-258777-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258777

            Bug ID: 258777
           Summary: System freezing for minutes when deleting a large file
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zsolty_szasz@yahoo.com

Hi,

When I am deleting large files (ex. a 8GB mkv file) then system is freezing=
 for
minutes. Networking also drops to kilobytes per seconds, too. Have to wait =
for
minutes to be able to login by ssh. 'top' shows no problem like big cpu usa=
ge.
Please help!

Here is my config:

root@ryzen:~ # gpart list
Geom name: nvd0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 1953525127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: nvd0p1
   Mediasize: 524288 (512K)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,a0299b2f-2c53-11eb-84dc-002481816452,0x28,0x400)
   rawuuid: a0299b2f-2c53-11eb-84dc-002481816452
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: (null)
   length: 524288
   offset: 20480
   type: freebsd-boot
   index: 1
   end: 1063
   start: 40
2. Name: nvd0p2
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 544768
   Mode: r1w1e0
   efimedia: HD(2,GPT,c706b84e-2c53-11eb-84dc-002481816452,0x428,0x1000000)
   rawuuid: c706b84e-2c53-11eb-84dc-002481816452
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: freebsd-swap
   length: 8589934592
   offset: 544768
   type: freebsd-swap
   index: 2
   end: 16778279
   start: 1064
3. Name: nvd0p3
   Mediasize: 991614386176 (924G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 8590479360
   Mode: r1w1e1
   efimedia:
HD(3,GPT,d7ca9b72-2c53-11eb-84dc-002481816452,0x1000428,0x73706960)
   rawuuid: d7ca9b72-2c53-11eb-84dc-002481816452
   rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
   label: freebsd-ufs
   length: 991614386176
   offset: 8590479360
   type: freebsd-ufs
   index: 3
   end: 1953525127
   start: 16778280
Consumers:
1. Name: nvd0
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Mode: r2w2e3

root@ryzen:~ # tunefs -p /dev/nvd0p3
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       disabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  4096
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: space to hold for metadata blocks: (-k)            6408
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 root

root@ryzen:~ # uname -v
FreeBSD 14.0-CURRENT #0 main-n248992-9fae4766695: Sun Aug 29 10:23:52 EEST =
2021
    root@ryzen:/usr/obj/usr/src/amd64.amd64/sys/GENERIC

root@ryzen:~ # dmesg
---<<BOOT>>---
Copyright (c) 1992-2021 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-n248992-9fae4766695: Sun Aug 29 10:23:52 EEST =
2021
    root@ryzen:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git
llvmorg-12.0.1-0-gfed41342a82f)
WARNING: WITNESS option enabled, expect reduced performance.
VT(vga): text 80x25
CPU: AMD Ryzen 5 2400GE with Radeon Vega Graphics    (3194.07-MHz K8-class =
CPU)
  Origin=3D"AuthenticAMD"  Id=3D0x810f10  Family=3D0x17  Model=3D0x11  Step=
ping=3D0
=20
Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
=20
Features2=3D0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVB=
E,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=3D0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW=
,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
  Structured Extended
Features=3D0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHO=
PT,SHA>
  XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=3D0x1007<CLZERO,IRPerf,XSaveErPtr,=
IBPB>
  SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768
  TSC: P-state invariant, performance statistics
real memory  =3D 8589934592 (8192 MB)
avail memory =3D 6076522496 (5795 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) 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 <Version 2.1> irqs 0-23
ioapic1 <Version 2.1> irqs 24-55
Launching APs: 5 4 1 6 7 2 3
Timecounter "TSC-low" frequency 1597032864 Hz quality 1000
Cuse v0.1.36 @ /dev/cuse
random: entropy device external interface
kbd1 at kbdmux0
vtvga0: <VT VGA driver>
smbios0: <System Management BIOS> at iomem 0xf05d0-0xf05ee
smbios0: Version: 3.2, BCD Revision: 3.2
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>
acpi0: <ALASKA A M I>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> 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: <High Precision Event Timer> 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-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
amdsmn0: <AMD Family 17h System Management Network> on hostb0
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0
pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 1.1 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 PT 82571EB/82571GB (Copper)> port 0xf020-0xf03f mem
0xfcfa0000-0xfcfbffff,0xfcf80000-0xfcf9ffff irq 24 at device 0.0 on pci1
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: 00:24:81:81:64:52
em0: netmap queues/slots: TX 1/1024, RX 1/1024
em1: <Intel(R) PRO/1000 PT 82571EB/82571GB (Copper)> port 0xf000-0xf01f mem
0xfcf40000-0xfcf5ffff,0xfcf20000-0xfcf3ffff irq 25 at device 0.1 on pci1
em1: Using 1024 TX descriptors and 1024 RX descriptors
em1: Using an MSI interrupt
em1: Ethernet address: 00:24:81:81:64:53
em1: netmap queues/slots: TX 1/1024, RX 1/1024
pcib2: <ACPI PCI-PCI bridge> at device 1.2 on pci0
pci2: <ACPI PCI bus> on pcib2
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfcda0000-0xfcda7fff irq 28=
 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: <AHCI SATA controller> mem 0xfcd80000-0xfcd9ffff irq 29 at device 0.=
1 on
pci2
ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
pcib3: <ACPI PCI-PCI bridge> irq 30 at device 0.2 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 28 at device 0.0 on pci3
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 29 at device 1.0 on pci3
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 28 at device 4.0 on pci3
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 29 at device 5.0 on pci3
pci7: <ACPI PCI bus> on pcib7
ath0: <Atheros AR938x> mem 0xfcc00000-0xfcc1ffff irq 29 at device 0.0 on pc=
i7
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
Restoring Cal data from EEPROM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 3 RX streams; 3 TX streams
ath0: AR9380 mac 448.3 RF5110 phy 0.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
pcib8: <ACPI PCI-PCI bridge> irq 30 at device 6.0 on pci3
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> irq 31 at device 7.0 on pci3
pci9: <ACPI PCI bus> on pcib9
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
0xe000-0xe0ff mem 0xfcb04000-0xfcb04fff,0xfcb00000-0xfcb03fff irq 31 at dev=
ice
0.0 on pci9
re0: Using 1 MSI-X message
re0: Chip rev. 0x54000000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8251/8153 1000BASE-T media interface> 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: b4:2e:99:62:8b:ca
re0: netmap queues/slots: TX 1/256, RX 1/256
pcib10: <ACPI PCI-PCI bridge> at device 1.3 on pci0
pci10: <ACPI PCI bus> on pcib10
nvme0: <Generic NVMe Device> mem 0xfce00000-0xfce03fff irq 32 at device 0.0=
 on
pci10
pcib11: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci11: <ACPI PCI bus> on pcib11
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem
0xe0000000-0xefffffff,0xf0000000-0xf01fffff,0xfca00000-0xfca7ffff irq 52 at
device 0.0 on pci11
vgapci0: Boot video device
hdac0: <ATI (0x15de) HDA Controller> mem 0xfca80000-0xfca83fff irq 53 at de=
vice
0.1 on pci11
pci11: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfc800000-0xfc8fffff irq 55=
 at
device 0.3 on pci11
xhci1: 64 bytes context size, 64-bit DMA
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
xhci2: <XHCI (generic) USB 3.0 controller> mem 0xfc700000-0xfc7fffff irq 52=
 at
device 0.4 on pci11
xhci2: 64 bytes context size, 64-bit DMA
usbus2 on xhci2
usbus2: 5.0Gbps Super Speed USB v3.0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff pnpid PNP=
0900
on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounters tick every 1.000 msec
ugen1.1: <0x1022 XHCI root HUB> at usbus1
uhub0 on usbus1
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen0.1: <0x1022 XHCI root HUB> at usbus0
ugen2.1: <0x1022 XHCI root HUB> at usbus2
uhub1 on usbus0
uhub2 on usbus2
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
nvd0: <KINGSTON SA2000M81000G> NVMe namespace
nvd0: 953869MB (1953525168 512 byte sectors)
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
pcm1: <ATI R6xx (HDMI)> at nid 5 on hdaa0
pcm2: <ATI R6xx (HDMI)> at nid 7 on hdaa0
pcm3: <ATI R6xx (HDMI)> at nid 9 on hdaa0
Trying to mount root from ufs:/dev/nvd0p3 [rw]...
WARNING: WITNESS option enabled, expect reduced performance.
uhub2: 2 ports with 2 removable, self powered
uhub0: 8 ports with 8 removable, self powered
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> 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 (RAVEN 0x1002:0x15DD 0x1002:0x15DD 0x=
C9).
[drm] register mmio base: 0xFCA00000
[drm] register mmio size: 524288
[drm] add ip block number 0 <soc15_common>
[drm] add ip block number 1 <gmc_v9_0>
[drm] add ip block number 2 <vega10_ih>
[drm] add ip block number 3 <psp>
[drm] add ip block number 4 <gfx_v9_0>
[drm] add ip block number 5 <sdma_v4_0>
[drm] add ip block number 6 <powerplay>
[drm] add ip block number 7 <dm>
[drm] add ip block number 8 <vcn_v1_0>
drmn0: successfully loaded firmware image 'amdgpu/raven_gpu_info.bin'
[drm] BIOS signature incorrect 75 f
ATOM BIOS: 113-RAVEN-113
drmn0: successfully loaded firmware image 'amdgpu/raven_sdma.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: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
drmn0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
drmn0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0;
[drm] Detected VRAM RAM=3D2048M, BAR=3D256M
[drm] RAM width 128bits DDR4
[TTM] Zone  kernel: Available graphics memory: 3099278 KiB
[TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[TTM] Initializing pool allocator
[drm] amdgpu: 2048M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
drmn0: successfully loaded firmware image 'amdgpu/raven_asd.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_ta.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_pfp.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_me.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_ce.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_rlc.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_mec.bin'
drmn0: successfully loaded firmware image 'amdgpu/raven_mec2.bin'
[drm] use_doorbell being set to: [true]
amdgpu: [powerplay] hwmgr_sw_init smu backed is smu10_smu
drmn0: successfully loaded firmware image 'amdgpu/raven_vcn.bin'
[drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 5
[drm] PSP loading VCN firmware
[drm] reserve 0x400000 from 0xf47f800000 for PSP TMR
drmn0: RAS: ras ta ucode is not available
[drm] DM_PPLIB: values for F clock
[drm] DM_PPLIB:  1500000 in kHz, 4399 in mV
[drm] DM_PPLIB: values for DCF clock
[drm] DM_PPLIB:  300000 in kHz, 3649 in mV
[drm] DM_PPLIB:  600000 in kHz, 3974 in mV
[drm] DM_PPLIB:  626000 in kHz, 4174 in mV
[drm] DM_PPLIB:  654000 in kHz, 4325 in mV
[drm] Display Core initialized with v3.2.56!
[drm] Connector HDMI-A-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.HDMI-A-1
[drm]   - kern.vt.fb.default_mode
[drm] Connector DVI-D-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.DVI-D-1
[drm]   - kern.vt.fb.default_mode
[drm] Connector DP-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.DP-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] VCN decode and encode initialized successfully(under SPG Mode).
ugen2.2: <vendor 0x0a12 CSR8510 A10> at usbus2
[drm] fb mappable at 0xE0BCD000
[drm] vram apper at 0xE0000000
[drm] size 8294400
[drm] fb depth is 24
[drm]    pitch is 7680
WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.
VT: Replacing driver "vga" with new "fb".
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex vtdev (vtdev) r =3D 0 (0xffffffff81aea368) locked @
/usr/src/sys/dev/vt/vt_core.c:3011
stack backtrace:
#0 0xffffffff80c95b51 at witness_debugger+0x71
#1 0xffffffff80c96c6a at witness_warn+0x3fa
#2 0xffffffff80c885d3 at taskqueue_drain+0x33
#3 0xffffffff829614b3 at vt_kms_postswitch+0x73
#4 0xffffffff80a7119d at vt_fb_init+0xfd
#5 0xffffffff80a787f8 at vt_replace_backend+0x118
#6 0xffffffff80a712a3 at vt_fb_attach+0x13
#7 0xffffffff829620c5 at linux_register_framebuffer+0x535
#8 0xffffffff82969959 at __drm_fb_helper_initial_config_and_unlock+0x419
#9 0xffffffff82a1a726 at amdgpu_fbdev_init+0xe6
#10 0xffffffff82a12048 at amdgpu_device_init+0x2108
#11 0xffffffff82a255f7 at amdgpu_driver_load_kms+0x47
#12 0xffffffff82938656 at drm_dev_register+0xc6
#13 0xffffffff82a19ab1 at amdgpu_pci_probe+0x1d1
#14 0xffffffff80e8f430 at linux_pci_attach_device+0x2d0
#15 0xffffffff80c60d41 at device_attach+0x3c1
#16 0xffffffff80c608f0 at device_probe_and_attach+0x70
#17 0xffffffff80c627c8 at bus_generic_driver_added+0x58
Sleeping on "tq_drain" with the following non-sleepable locks held:
exclusive sleep mutex vtdev (vtdev) r =3D 0 (0xffffffff81aea368) locked @
/usr/src/sys/dev/vt/vt_core.c:3011
stack backtrace:
#0 0xffffffff80c95b51 at witness_debugger+0x71
#1 0xffffffff80c96c6a at witness_warn+0x3fa
#2 0xffffffff80c31245 at _sleep+0x55
#3 0xffffffff80c8869b at taskqueue_drain+0xfb
#4 0xffffffff829614b3 at vt_kms_postswitch+0x73
#5 0xffffffff80a7119d at vt_fb_init+0xfd
#6 0xffffffff80a787f8 at vt_replace_backend+0x118
#7 0xffffffff80a712a3 at vt_fb_attach+0x13
#8 0xffffffff829620c5 at linux_register_framebuffer+0x535
#9 0xffffffff82969959 at __drm_fb_helper_initial_config_and_unlock+0x419
#10 0xffffffff82a1a726 at amdgpu_fbdev_init+0xe6
#11 0xffffffff82a12048 at amdgpu_device_init+0x2108
#12 0xffffffff82a255f7 at amdgpu_driver_load_kms+0x47
#13 0xffffffff82938656 at drm_dev_register+0xc6
#14 0xffffffff82a19ab1 at amdgpu_pci_probe+0x1d1
#15 0xffffffff80e8f430 at linux_pci_attach_device+0x2d0
#16 0xffffffff80c60d41 at device_attach+0x3c1
#17 0xffffffff80c608f0 at device_probe_and_attach+0x70
lock order reversal: (Giant after non-sleepable)
 1st 0xffffffff81aea368 vtdev (vtdev, sleep mutex) @
/usr/src/sys/dev/vt/vt_core.c:3011
 2nd 0xffffffff81a029c0 Giant (Giant, sleep mutex) @
/usr/src/sys/kern/kern_synch.c:229
lock order Giant -> vtdev established at:
#0 0xffffffff80c94f69 at witness_checkorder+0x459
#1 0xffffffff80c012b4 at __mtx_lock_flags+0x94
#2 0xffffffff80a77de3 at vt_upgrade+0x363
#3 0xffffffff80baf820 at mi_startup+0x1f0
#4 0xffffffff80385022 at btext+0x22
lock order vtdev -> Giant attempted at:
#0 0xffffffff80c9589f at witness_checkorder+0xd8f
#1 0xffffffff80c012b4 at __mtx_lock_flags+0x94
#2 0xffffffff80c3151b at _sleep+0x32b
#3 0xffffffff80c8869b at taskqueue_drain+0xfb
#4 0xffffffff829614b3 at vt_kms_postswitch+0x73
#5 0xffffffff80a7119d at vt_fb_init+0xfd
#6 0xffffffff80a787f8 at vt_replace_backend+0x118
#7 0xffffffff80a712a3 at vt_fb_attach+0x13
#8 0xffffffff829620c5 at linux_register_framebuffer+0x535
#9 0xffffffff82969959 at __drm_fb_helper_initial_config_and_unlock+0x419
#10 0xffffffff82a1a726 at amdgpu_fbdev_init+0xe6
#11 0xffffffff82a12048 at amdgpu_device_init+0x2108
#12 0xffffffff82a255f7 at amdgpu_driver_load_kms+0x47
#13 0xffffffff82938656 at drm_dev_register+0xc6
#14 0xffffffff82a19ab1 at amdgpu_pci_probe+0x1d1
#15 0xffffffff80e8f430 at linux_pci_attach_device+0x2d0
#16 0xffffffff80c60d41 at device_attach+0x3c1
#17 0xffffffff80c608f0 at device_probe_and_attach+0x70
start FB_INFO:
type=3D11 height=3D1080 width=3D1920 depth=3D32
cmsize=3D16 size=3D8294400
pbase=3D0xe0bcd000 vbase=3D0xfffff800e0bcd000
name=3Ddrmn0 flags=3D0x0 stride=3D7680 bpp=3D32
cmap[0]=3D0 cmap[1]=3D7f0000 cmap[2]=3D7f00 cmap[3]=3Dc4a000
end FB_INFO
drmn0: fb0: amdgpudrmfb frame buffer device
drmn0: ring gfx uses VM inv eng 0 on hub 0
drmn0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
drmn0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
drmn0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
drmn0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
drmn0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
drmn0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
drmn0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
drmn0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
drmn0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
drmn0: ring sdma0 uses VM inv eng 0 on hub 1
drmn0: ring vcn_dec uses VM inv eng 1 on hub 1
drmn0: ring vcn_enc0 uses VM inv eng 4 on hub 1
drmn0: ring vcn_enc1 uses VM inv eng 5 on hub 1
drmn0: ring vcn_jpeg uses VM inv eng 6 on hub 1
[drm] Initialized amdgpu 3.36.0 20150101 for drmn0 on minor 0
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \134AOD.WQBA: 1 arguments were passed to a non-method ACPI object
(Buffer) (20210730/nsarguments-361)
acpi_wmi1: <ACPI-WMI mapping> on acpi0
acpi_wmi1: cannot find EC device
acpi_wmi1: Embedded MOF found
ACPI: \134GSA1.WQCC: 1 arguments were passed to a non-method ACPI object
(Buffer) (20210730/nsarguments-361)
driver bug: Unable to set devclass (class: ppc devname: (unknown))
CPU: AMD Ryzen 5 2400GE with Radeon Vega Graphics    (3194.07-MHz K8-class =
CPU)
  Origin=3D"AuthenticAMD"  Id=3D0x810f10  Family=3D0x17  Model=3D0x11  Step=
ping=3D0
=20
Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
=20
Features2=3D0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVB=
E,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=3D0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW=
,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
  Structured Extended
Features=3D0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHO=
PT,SHA>
  XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=3D0x1007<CLZERO,IRPerf,XSaveErPtr,=
IBPB>
  SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768
  TSC: P-state invariant, performance statistics
wlan0: Ethernet address: 18:d6:c7:1c:9e:de
bridge0: Ethernet address: 58:9c:fc:10:ff:99
uhub1: 22 ports with 22 removable, self powered
lo0: link state changed to UP
em1: promiscuous mode enabled
bridge0: link state changed to UP
wlan0: promiscuous mode enabled
em0: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from em0 (ifp
0xfffff80003abb800), ignoring.
re0: link state changed to DOWN
pflog0: promiscuous mode enabled
em1: link state changed to UP
ubt0 on uhub2
ubt0: <vendor 0x0a12 CSR8510 A10, class 224/1, rev 2.00/88.91, addr 1> on
usbus2
ng0: changing name to 'rds'
em0: link state changed to DOWN
em0: link state changed to UP

root@ryzen:~ # smartctl -i /dev/nvme0
smartctl 7.2 2020-12-30 r5155 [FreeBSD 14.0-CURRENT amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
Model Number:                       KINGSTON SA2000M81000G
Serial Number:                      50026B76842D576A
Firmware Version:                   S5Z42105
PCI Vendor/Subsystem ID:            0x2646
IEEE OUI Identifier:                0x0026b7
Controller ID:                      1
NVMe Version:                       1.3
Number of Namespaces:               1
Namespace 1 Size/Capacity:          1,000,204,886,016 [1.00 TB]
Namespace 1 Utilization:            474,523,889,664 [474 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            0026b7 6842d576a5
Local Time is:                      Wed Sep 29 15:12:59 2021 EEST

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258777-227>