Stack trace

Kaya Saman kayasaman at gmail.com
Sun Sep 10 22:55:25 UTC 2017


Hi,

I moved to 12-Current after my systems kept freezing with 11.1-Release
and -Stable. Basically it seemed to only affect two of the machines
that I upgraded recently to 11.1-Release branch. These are embedded
Intel J1900 motherboards from SuperMicro.

Currently on 12-Current they seem to be doing really well like with the
previous 10.x-Release. Though I am seeing a kernel stack trace:

lock order reversal:
 1st 0xfffff80106be25f0 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:849
 2nd 0xfffff80106c53068 devfs (devfs) @
/usr/src/sys/kern/vfs_subr.c:2606
stack backtrace:
#0 0xffffffff80ac52d3 at witness_debugger+0x73
#1 0xffffffff80ac5152 at witness_checkorder+0xe02
#2 0xffffffff80a392fe at lockmgr_lock_fast_path+0x1ae
#3 0xffffffff8106a060 at VOP_LOCK1_APV+0xe0
#4 0xffffffff80b3df56 at _vn_lock+0x66
#5 0xffffffff80b2cac2 at vget+0x82
#6 0xffffffff809325bd at devfs_allocv+0xcd
#7 0xffffffff809320c3 at devfs_root+0x43
#8 0xffffffff80b234cc at vfs_donmount+0x11ec
#9 0xffffffff80b222b2 at sys_nmount+0x72
#10 0xffffffff80eee83b at amd64_syscall+0x79b
#11 0xffffffff80eccebb at Xfast_syscall+0xfb

Should I be alarmed about this?



Dmesg output from boot:

Copyright (c) 1992-2017 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 12.0-CURRENT #0 r323168: Tue Sep  5 09:56:32 BST 2017
    root@<>:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 5.0.0 (branches/release_50 312293) (based on LLVM
5.0.0svn)
WARNING: WITNESS option enabled, expect reduced performance.
VT(vga): resolution 640x480
CPU: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz (2000.05-MHz K8-class
CPU)
  Origin="GenuineIntel"  Id=0x30678  Family=0x6  Model=0x37  Stepping=8
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
Features2=0x41d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x101<LAHF,Prefetch>
  Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8084115456 (7709 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <SUPERM SMCI--MB>
WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: unblocking device.
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block:
128/32 (20170831/tbfadt-748)
ioapic0 <Version 2.0> irqs 0-86 on motherboard
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
Timecounter "TSC" frequency 2000049192 Hz quality 1000
random: entropy device external interface
netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff80f6d6a0, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <SUPERM SMCI--MB> on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
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 8
on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xe080-0xe087 mem 0x90000000-
0x903fffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
ahci0: <AHCI SATA controller> port 0xe070-0xe077,0xe060-0xe063,0xe050-
0xe057,0xe040-0xe043,0xe020-0xe03f mem 0x90a06000-0x90a067ff irq 19 at
device 19.0 on pci0
ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported
ahcich1: <AHCI channel> at channel 1 on ahci0
pci0: <encrypt/decrypt> at device 26.0 (no driver attached)
hdac0: <Intel BayTrail HDA Controller> mem 0x90a00000-0x90a03fff irq 22
at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci2: <ACPI PCI bus> on pcib2
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xd000-0xd01f 
mem 0x90900000-0x9097ffff,0x90980000-0x90983fff irq 18 at device 0.0 on
pci2
igb0: attach_pre capping queues at 4
igb0: using 1024 tx descriptors and 1024 rx descriptors
igb0: msix_init qsets capped at 4
igb0: pxm cpus: 4 queue msgs: 4 admincnt: 1
igb0: using 4 rx queues 4 tx queues 
igb0: Using MSIX interrupts with 5 vectors
igb0: allocated for 4 tx_queues
igb0: allocated for 4 rx_queues
igb0: Ethernet address: 0c:c4:7a:b0:5f:30
igb0: netmap queues/slots: TX 4/1024, RX 4/1024
pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> mem 0x90800000-0x90803fff irq 19 at device
0.0 on pci3
pci4: <ACPI PCI bus> on pcib4
pcib5: <PCI-PCI bridge> irq 16 at device 1.0 on pci4
pci5: <PCI bus> on pcib5
igb1: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xc000-0xc01f 
mem 0x90700000-0x9077ffff,0x90780000-0x90783fff irq 16 at device 0.0 on
pci5
igb1: attach_pre capping queues at 4
igb1: using 1024 tx descriptors and 1024 rx descriptors
igb1: msix_init qsets capped at 4
igb1: pxm cpus: 4 queue msgs: 4 admincnt: 1
igb1: using 4 rx queues 4 tx queues 
igb1: Using MSIX interrupts with 5 vectors
igb1: allocated for 4 tx_queues
igb1: allocated for 4 rx_queues
igb1: Ethernet address: 0c:c4:7a:b0:5f:31
igb1: netmap queues/slots: TX 4/1024, RX 4/1024
pcib6: <PCI-PCI bridge> irq 17 at device 2.0 on pci4
pci6: <PCI bus> on pcib6
pcib7: <PCI-PCI bridge> irq 18 at device 3.0 on pci4
pci7: <PCI bus> on pcib7
ahci1: <Marvell 88SE9230 AHCI SATA controller> port 0xb050-
0xb057,0xb040-0xb043,0xb030-0xb037,0xb020-0xb023,0xb000-0xb01f mem
0x90610000-0x906107ff irq 18 at device 0.0 on pci7
ahci1: AHCI v1.20 with 8 6Gbps ports, Port Multiplier not supported
ahci1: quirks=0x900<NOBSYRES,ALTSIG>
ahcich2: <AHCI channel> at channel 0 on ahci1
ahcich3: <AHCI channel> at channel 1 on ahci1
ahcich4: <AHCI channel> at channel 2 on ahci1
ahcich5: <AHCI channel> at channel 3 on ahci1
ahcich6: <AHCI channel> at channel 4 on ahci1
ahcich7: <AHCI channel> at channel 5 on ahci1
ahcich8: <AHCI channel> at channel 6 on ahci1
ahcich9: <AHCI channel> at channel 7 on ahci1
ehci0: <Intel BayTrail USB 2.0 controller> mem 0x90a05000-0x90a053ff
irq 23 at device 29.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
usbus0: 480Mbps High Speed USB v2.0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
uart0: <16950 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart2: <16950 or compatible> port 0x3e0-0x3e7 irq 3 on acpi0
uart3: <16950 or compatible> port 0x3e8-0x3ef irq 4 on acpi0
uart4: <16950 or compatible> port 0x2e0-0x2e7 irq 3 on acpi0
orm0: <ISA Option ROM> at iomem 0xd2000-0xd2fff 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]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq
2 on isa0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
tcp_init: WARNING: TCB hash size not a power of 2, clipped from 32000
to 32768.
hdacc0: <Realtek ALC888 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC888 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC888 (Front Analog)> at nid 27 and 25 on hdaa0
pcm1: <Realtek ALC888 (Internal Digital)> at nid 17 on hdaa0
hdacc1: <Intel (0x2882) HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel (0x2882) Audio Function Group> at nid 1 on hdacc1
hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (5) in association 1!
Disabling association.
pcm2: <Intel (0x2882) (HDMI/DP 8ch)> at nid 6 on hdaa1
ugen0.1: <Intel EHCI root HUB> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
usbus0
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <SAMSUNG MZ7LM240HMHQ-00005 GXT5204Q> ACS-2 ATA SATA 3.x device
ada0: Serial Number S2TWNX0J300288
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 228936MB (468862128 512 byte sectors)
ada0: quirks=0x3<4K,NCQ_TRIM_BROKEN>
ada1 at ahcich2 bus 0 scbus1 target 0 lun 0
ada1: <WDC WD101KRYZ-01JPDB0 01.01H01> ACS-2 ATA SATA 3.x device
ada1: Serial Number 7JHLZY0C
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 9537536MB (19532873728 512 byte sectors)
ada2 at ahcich3 bus 0 scbus2 target 0 lun 0
ada2: <WDC WD101KRYZ-01JPDB0 01.01H01> ACS-2 ATA SATA 3.x device
ada2: Serial Number 7JGJPUSC
ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 9537536MB (19532873728 512 byte sectors)
pass3 at ahcich9 bus 0 scbus8 target 0 lun 0
pass3: <Marvell Console 1.01> Removable Processor SCSI device
pass3: Serial Number HKDP221516WL
pass3: 150.000MB/s transfers (SATA 1.x, UDMA4, ATAPI 12bytes, PIO
8192bytes)
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from zfs:zroot/ROOT/default []...
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
uhub0: 8 ports with 8 removable, self powered
Root mount waiting for: usbus0
ugen0.2: <vendor 0x8087 product 0x07e6> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x8087 product 0x07e6, class 9/0, rev 2.00/0.14, addr 2>
on usbus0
uhub1: 4 ports with 4 removable, self powered
Root mount waiting for: usbus0
ugen0.3: <vendor 0x0409 product 0x005a> at usbus0
uhub2 on uhub1
uhub2: <vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 3>
on usbus0
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus0
ugen0.4: <vendor 0x046a product 0x002f> at usbus0
ukbd0 on uhub2
ukbd0: <vendor 0x046a product 0x002f, class 0/0, rev 2.00/1.00, addr 4>
on usbus0
kbd2 at ukbd0
lagg0: link state changed to DOWN
ums0 on uhub2
ums0: <vendor 0x046a product 0x002f, class 0/0, rev 2.00/1.00, addr 4>
on usbus0
ums0: 3 buttons and [XY] coordinates ID=0
Link state changed to up
igb0: link state changed to UP
lagg0: link state changed to UP
lagg0.192: link state changed to UP
lagg0.300: link state changed to UP
Link state changed to up
igb1: link state changed to UP


uname -a output: 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r323168:


Regards,


Kaya


More information about the freebsd-current mailing list