Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2015 22:46:33 +0200
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        Lev Serebryakov <lev@freebsd.org>, Oliver Pinter <oliver.pntr@gmail.com>,  Adrian Chadd <adrian@freebsd.org>, current@freebsd.org
Subject:   Re: converted ath(4) for testing Was: [Testers needed!] WiFi drivers changes
Message-ID:  <CAPQ4fftaFEC47=Qqah7M=nu521aBRCneRht5um2vWNtcgKx8Ug@mail.gmail.com>
In-Reply-To: <CAPQ4ffsedr2AfuEooOd7%2BZVNZUAHApkK38Ws9zh_GN0quekMQA@mail.gmail.com>
References:  <20150529151405.GA8509@ns.kevlo.org> <55686E8F.3030400@FreeBSD.org> <20150601153717.GX73119@FreeBSD.org> <CAPQ4ffupHTqDtfnJUysxyisCP4CUXGrmHMnazLaYMa_r4dJPJg@mail.gmail.com> <CAPQ4ffsedr2AfuEooOd7%2BZVNZUAHApkK38Ws9zh_GN0quekMQA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Jun 1, 2015 at 9:55 PM, Oliver Pinter
<oliver.pinter@hardenedbsd.org> wrote:
> On Mon, Jun 1, 2015 at 9:47 PM, Oliver Pinter
> <oliver.pinter@hardenedbsd.org> wrote:
>> On Mon, Jun 1, 2015 at 5:37 PM, Gleb Smirnoff <glebius@freebsd.org> wrote:
>>>   Hi!
>>>
>>> I've converted the ath(4), probably the most complex ieee80211 driver.
>>>
>>> The updated diff is uploaded to https://reviews.freebsd.org/D2655.
>>>
>>> Pretty sure it will panic or fail on first try :) Nevertheless,
>>> asking for your help. Please try to run it and report any problems
>>> to me.
>>
>> Hi!
>>
>> Do you have compile tested the code? I got this build error:
>>
>> --- if_ath.o ---
>> /usr/src/sys/dev/ath/if_ath.c:5732:26: error: no member named 'ic_ifp'
>> in 'struct ieee80211com'; did you mean 'ic_dfs'?
>>         struct ifnet *ifp = ic->ic_ifp;
>>                                 ^~~~~~
>>                                 ic_dfs
>> /usr/src/sys/net80211/ieee80211_var.h:197:29: note: 'ic_dfs' declared here
>>         struct ieee80211_dfs_state ic_dfs;      /* DFS state */
>>                                    ^
>> /usr/src/sys/dev/ath/if_ath.c:5732:16: error: initializing 'struct
>> ifnet *' with an expression of incompatible type 'struct
>> ieee80211_dfs_state'
>>         struct ifnet *ifp = ic->ic_ifp;
>>                       ^
>>
>
> diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
> index 53763a6..b719ed4 100644
> --- a/sys/dev/ath/if_ath.c
> +++ b/sys/dev/ath/if_ath.c
> @@ -5729,8 +5729,7 @@ ath_scan_end(struct ieee80211com *ic)
>  static void
>  ath_update_chw(struct ieee80211com *ic)
>  {
> -       struct ifnet *ifp = ic->ic_ifp;
> -       struct ath_softc *sc = ifp->if_softc;
> +       struct ath_softc *sc = ic->ic_softc;
>
>         DPRINTF(sc, ATH_DEBUG_STATE, "%s: called\n", __func__);
>         ath_set_channel(ic);
> diff --git a/sys/dev/ath/if_ath_tdma.c b/sys/dev/ath/if_ath_tdma.c
> index fd23db1..d4c9ccd 100644
> --- a/sys/dev/ath/if_ath_tdma.c
> +++ b/sys/dev/ath/if_ath_tdma.c
> @@ -359,7 +359,7 @@ ath_tdma_update(struct ieee80211_node *ni,
>  #define        TU_TO_TSF(_tu)  (((u_int64_t)(_tu)) << 10)
>         struct ieee80211vap *vap = ni->ni_vap;
>         struct ieee80211com *ic = ni->ni_ic;
> -       struct ath_softc *sc = ic->ic_ifp->if_softc;
> +       struct ath_softc *sc = ic->ic_softc;
>         struct ath_hal *ah = sc->sc_ah;
>         const HAL_RATE_TABLE *rt = sc->sc_currates;
>         u_int64_t tsf, rstamp, nextslot, nexttbtt, nexttbtt_full;
>

And the same test against my atheros seems like working fine, both the
secondary VAP creation and destruction. I'm able to run kismet without
panic, and that seems too working fine.

In ath case I got some LOR during boot and during kismet, see the
attached dmesgs.

One confusing thing, that the underlaying devices (ath0 and iwn0) has
gone from ifconfig, and that's a little confusing, when you have
multiple pci card and try to create multiple VAP to specific device.

op@opn ~> ifconfig wlan0 scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
IRA             f4:ec:38:e4:48:b8    1   54M -91:-96  100 EPS  RSN
Fridel          38:60:77:d4:6b:81    1   54M -83:-96  100 EP   RSN HTCAP WPA WME
B4              f8:1a:67:38:9d:d8    6   54M -86:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
fagi            f8:d1:11:bd:f9:f6    6   54M -92:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
Koka            10:fe:ed:b5:c7:6a   11   54M -77:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
Otti-home       b0:c5:54:86:16:9a   11   54M -93:-96  100 EPS  HTCAP
WPA RSN WME WPS
teszt           f8:1a:67:40:1d:b0   13   54M -93:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
Linksys70385    20:aa:4b:78:31:e4    2   54M -96:-96  100 EPS  RSN HTCAP WME WPS
teszt2          20:e5:2a:5d:30:2a    3   54M -93:-96  100 EP   HTCAP RSN WME WPS
hellooo         c0:4a:00:ea:5a:ea    5   54M -74:-96  100 EPS  RSN HTCAP ATH
op@opn ~> ifconfig wlan0 list ap
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
IRA             f4:ec:38:e4:48:b8    1   54M -91:-96  100 EPS  RSN
Fridel          38:60:77:d4:6b:81    1   54M -83:-96  100 EP   RSN HTCAP WPA WME
B4              f8:1a:67:38:9d:d8    6   54M -86:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
fagi            f8:d1:11:bd:f9:f6    6   54M -92:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
Koka            10:fe:ed:b5:c7:6a   11   54M -77:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
Otti-home       b0:c5:54:86:16:9a   11   54M -93:-96  100 EPS  HTCAP
WPA RSN WME WPS
teszt           f8:1a:67:40:1d:b0   13   54M -93:-96  100 EPS  RSN
HTCAP WPA WME ATH WPS
Linksys70385    20:aa:4b:78:31:e4    2   54M -96:-96  100 EPS  RSN HTCAP WME WPS
teszt2          20:e5:2a:5d:30:2a    3   54M -93:-96  100 EP   HTCAP RSN WME WPS
hellooo         c0:4a:00:ea:5a:ea    5   54M -74:-96  100 EPS  RSN HTCAP ATH
op@opn ~> ifconfig wlan0 list sta
ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG
c0:4a:00:ea:5a:ea    4    5 135M 20.0    0      7     64 EPS  AEHTRS+
RSN HTCAP ATH

>>>
>>> --
>>> Totus tuus, Glebius.
>>> _______________________________________________
>>> freebsd-current@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

[-- Attachment #2 --]
[1] Copyright (c) 1992-2015 The FreeBSD Project.
[1] Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
[1] 	The Regents of the University of California. All rights reserved.
[1] FreeBSD is a registered trademark of The FreeBSD Foundation.
[1] FreeBSD 11.0-CURRENT #10 68e0b6d(hardened/current/master+net80211)-dirty: Mon Jun  1 22:08:41 CEST 2015
[1]     root@opn:/usr/obj/usr/src/sys/OP-HBSD amd64
[1] FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525
[1] WARNING: WITNESS option enabled, expect reduced performance.
[1] VT: running with driver "vga".
[1] PAX: initialize and check PaX and HardeneBSD features.
[1] [PAX LOG] logging to system: enabled
[1] [PAX LOG] logging to user: disabled
[1] [PAX PAGEEXEC] status: opt-out
[1] [PAX MPROTECT] status: opt-out
[1] [PAX HARDENING] mmap MAP32_bit support: disabled
[1] [PAX HARDENING] procfs hardening: enabled
[1] [PAX HARDENING] randomize pids: enabled
[1] [PAX HARDENING] unset unsecure init variables: enabled
[1] [PAX ASLR] status: opt-out
[1] [PAX ASLR] mmap: 30 bit
[1] [PAX ASLR] exec base: 21 bit
[1] [PAX ASLR] stack: 26 bit
[1] [PAX HARDENING] ptrace hardening status: enabled
[1] [PAX HARDENING] ptrace hardening allowed gid : 50000
[1] [PAX SEGVGUARD] status: opt-in
[1] [PAX SEGVGUARD] expiry: 120 sec
[1] [PAX SEGVGUARD] suspension: 600 sec
[1] [PAX SEGVGUARD] maxcrahes: 5
[1] CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (2294.73-MHz K8-class CPU)
[1]   Origin="GenuineIntel"  Id=0x40651  Family=0x6  Model=0x45  Stepping=1
[1]   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
[1]   Features2=0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
[1]   AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
[1]   AMD Features2=0x21<LAHF,ABM>
[1]   Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID>
[1]   XSAVE Features=0x1<XSAVEOPT>
[1]   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
[1]   TSC: P-state invariant, performance statistics
[1] real memory  = 4294967296 (4096 MB)
[1] avail memory = 3981897728 (3797 MB)
[1] Event timer "LAPIC" quality 600
[1] ACPI APIC Table: <HPQOEM 1946    >
[1] FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
[1] FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
[1]  cpu0 (BSP): APIC ID:  0
[1]  cpu1 (AP): APIC ID:  1
[1]  cpu2 (AP): APIC ID:  2
[1]  cpu3 (AP): APIC ID:  3
[1] ioapic0 <Version 2.0> irqs 0-39 on motherboard
[1] random: entropy device infrastructure driver
[1] random: selecting highest priority adaptor <Dummy>
[1] kbd1 at kbdmux0
[1] netmap: loaded module
[1] random: SOFT: yarrow init()
[1] random: selecting highest priority adaptor <Yarrow>
[1] module_register_init: MOD_LOAD (vesa, 0xffffffff8084c760, 0) error 19
[1] random: live provider: "Intel Secure Key RNG"
[1] vtvga0: <VT VGA driver> on motherboard
[1] cryptosoft0: <software crypto> on motherboard
[1] aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM> on motherboard
[1] acpi0: <HPQOEM SLIC-MPC> on motherboard
[1] acpi0: Power Button (fixed)
[1] cpu0: <ACPI CPU> on acpi0
[1] cpu1: <ACPI CPU> on acpi0
[1] cpu2: <ACPI CPU> on acpi0
[1] cpu3: <ACPI CPU> on acpi0
[1] hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
[1] Timecounter "HPET" frequency 14318180 Hz quality 950
[1] Event timer "HPET" frequency 14318180 Hz quality 550
[1] Event timer "HPET1" frequency 14318180 Hz quality 440
[1] Event timer "HPET2" frequency 14318180 Hz quality 440
[1] Event timer "HPET3" frequency 14318180 Hz quality 440
[1] Event timer "HPET4" frequency 14318180 Hz quality 440
[1] atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
[1] atrtc0: Warning: Couldn't map I/O.
[1] Event timer "RTC" frequency 32768 Hz quality 0
[1] attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
[1] Timecounter "i8254" frequency 1193182 Hz quality 0
[1] Event timer "i8254" frequency 1193182 Hz quality 100
[1] Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
[1] acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
[1] acpi_ec0: <Embedded Controller: GPE 0x6> port 0x62,0x66 on acpi0
[1] pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
[1] pci0: <ACPI PCI bus> on pcib0
[1] vgapci0: <VGA-compatible display> port 0x4000-0x403f mem 0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
[1] vgapci0: Boot video device
[1] hdac0: <Intel Haswell HDA Controller> mem 0xd0910000-0xd0913fff irq 16 at device 3.0 on pci0
[1] xhci0: <Intel Panther Point USB 3.0 controller> mem 0xd0900000-0xd090ffff irq 16 at device 20.0 on pci0
[1] xhci0: 32 bytes context size, 64-bit DMA
[1] xhci0: Port routing mask set to 0xffffffff
[1] usbus0 on xhci0
[1] pci0: <simple comms> at device 22.0 (no driver attached)
[1] hdac1: <Intel Lynx Point-LP HDA Controller> mem 0xd0914000-0xd0917fff irq 22 at device 27.0 on pci0
[1] pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
[1] pci1: <ACPI PCI bus> on pcib1
[1] pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
[1] pci2: <ACPI PCI bus> on pcib2
[1] pci2: <unknown> at device 0.0 (no driver attached)
[1] pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
[1] pci3: <ACPI PCI bus> on pcib3
[1] re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x3000-0x30ff mem 0xd0600000-0xd0600fff,0xd0400000-0xd0403fff irq 18 at device 0.0 on pci3
[1] re0: Using 1 MSI-X message
[1] re0: turning off MSI enable bit.
[1] re0: ASPM disabled
[1] re0: Chip rev. 0x4c000000
[1] re0: MAC rev. 0x00000000
[1] miibus0: <MII bus> on re0
[1] rgephy0: <RTL8251 1000BASE-T media interface> PHY 1 on miibus0
[1] 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
[1] re0: Using defaults for TSO: 65518/35/2048
[1] re0: Ethernet address: a0:1d:48:ad:34:e5
[1] re0: netmap queues/slots: TX 1/256, RX 1/256
[1] pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
[1] pci4: <ACPI PCI bus> on pcib4
[1] ath0: <Qualcomm Atheros AR9565> mem 0xd0500000-0xd057ffff irq 19 at device 0.0 on pci4
[1] ath0: WB335 1-ANT card detected
[1] ar9300_attach: calling ar9300_hw_attach
[1] ar9300_hw_attach: calling ar9300_eeprom_attach
[1] ar9300_flash_map: unimplemented for now
[1] Restoring Cal data from DRAM
[1] Restoring Cal data from EEPROM
[1] Restoring Cal data from Flash
[1] Restoring Cal data from Flash
[1] Restoring Cal data from OTP
[1] ar9300_hw_attach: ar9300_eeprom_attach returned 0
[1] ath0: [HT] enabling HT modes
[1] ath0: [HT] enabling short-GI in 20MHz mode
[1] ath0: [HT] 1 stream STBC receive enabled
[1] ath0: [HT] 1 RX streams; 1 TX streams
[1] ath0: AR9565 mac 704.0 RF5110 phy 2417.9
[1] ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
[1] ehci0: <Intel Lynx Point LP USB 2.0 controller USB> mem 0xd091d000-0xd091d3ff irq 17 at device 29.0 on pci0
[1] usbus1: EHCI version 1.0
[1] usbus1 on ehci0
[1] isab0: <PCI-ISA bridge> at device 31.0 on pci0
[1] isa0: <ISA bus> on isab0
[1] ahci0: <Intel Lynx Point-LP AHCI SATA controller> port 0x4088-0x408f,0x4094-0x4097,0x4080-0x4087,0x4090-0x4093,0x4060-0x407f mem 0xd091c000-0xd091c7ff irq 19 at device 31.2 on pci0
[1] ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier not supported
[1] ahcich0: <AHCI channel> at channel 0 on ahci0
[1] battery0: <ACPI Control Method Battery> on acpi0
[1] acpi_acad0: <AC Adapter> on acpi0
[1] acpi_button0: <Sleep Button> on acpi0
[1] acpi_lid0: <Control Method Lid Switch> on acpi0
[1] acpi_tz0: <Thermal Zone> on acpi0
[1] acpi_tz1: <Thermal Zone> on acpi0
[1] acpi_tz2: <Thermal Zone> on acpi0
[1] acpi_tz3: <Thermal Zone> on acpi0
[1] acpi_tz4: <Thermal Zone> on acpi0
[1] acpi_tz5: <Thermal Zone> on acpi0
[1] acpi_tz6: <Thermal Zone> on acpi0
[1] acpi_tz7: <Thermal Zone> on acpi0
[1] atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
[1] atkbd0: <AT Keyboard> irq 1 on atkbdc0
[1] kbd0 at atkbd0
[1] atkbd0: [GIANT-LOCKED]
[1] psm0: <PS/2 Mouse> irq 12 on atkbdc0
[1] psm0: [GIANT-LOCKED]
[1] psm0: model Synaptics Touchpad, device ID 0
[1] vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
[1] coretemp0: <CPU On-Die Thermal Sensors> on cpu0
[1] est0: <Enhanced SpeedStep Frequency Control> on cpu0
[1] coretemp1: <CPU On-Die Thermal Sensors> on cpu1
[1] est1: <Enhanced SpeedStep Frequency Control> on cpu1
[1] coretemp2: <CPU On-Die Thermal Sensors> on cpu2
[1] est2: <Enhanced SpeedStep Frequency Control> on cpu2
[1] coretemp3: <CPU On-Die Thermal Sensors> on cpu3
[1] est3: <Enhanced SpeedStep Frequency Control> on cpu3
[1] Timecounters tick every 10.000 msec
[1] ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled
[1] hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
[1] hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
[1] pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
[1] hdacc1: <IDT 92HD91BXX HDA CODEC> at cad 0 on hdac1
[1] hdaa1: <IDT 92HD91BXX Audio Function Group> at nid 1 on hdacc1
[1] pcm1: <IDT 92HD91BXX (Analog 2.0+HP/2.0)> at nid 13,11 and 12 on hdaa1
[1] pcm2: <IDT 92HD91BXX (Analog Mic)> at nid 17 on hdaa1
[1] usbus0: 5.0Gbps Super Speed USB v3.0
[1] usbus1: 480Mbps High Speed USB v2.0
[1] ugen1.1: <Intel> at usbus1
[1] uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
[1] ugen0.1: <0x8086> at usbus0
[1] uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
[1] ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
[1] ada0: <ST500LT012-1DG142 1002YAM1> ATA8-ACS SATA 3.x device
[1] ada0: Serial Number S3P3W8YP
[1] ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
[1] ada0: Command Queueing enabled
[1] ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
[1] ada0: quirks=0x1<4K>
[1] ada0: Previously was known as ad0
[1] random: unblocking device.
[1] SMP: AP CPU #1 Launched!
[1] SMP: AP CPU #2 Launched!
[1] SMP: AP CPU #3 Launched!
[1] Timecounter "TSC-low" frequency 1147367132 Hz quality 1000
[1] WARNING: WITNESS option enabled, expect reduced performance.
[1] uhub1: 13 ports with 13 removable, self powered
[2] uhub0: 2 ports with 2 removable, self powered
[2] Root mount waiting for: usbus1 usbus0
[2] ugen0.2: <Generic> at usbus0
[3] ugen1.2: <vendor 0x8087> at usbus1
[3] uhub2: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.04, addr 2> on usbus1
[3] uhub2: 8 ports with 8 removable, self powered
[3] Trying to mount root from ufs:/dev/ada0s4a [rw]...
[11] GEOM_ELI: Device ada0s4h.eli created.
[11] GEOM_ELI: Encryption: AES-XTS 256
[11] GEOM_ELI:     Crypto: hardware
[13] wlan0: Ethernet address: 28:e3:47:2d:03:e6
[13] lock order reversal:
[13]  1st 0xfffffe0000bf33b0 ath0 (ath0) @ /usr/src/sys/dev/ath/if_ath.c:2428
[13]  2nd 0xfffffe0000bf1020 ath0_com_lock (ath0_com_lock) @ /usr/src/sys/net80211/ieee80211_proto.c:1325
[13] KDB: stack backtrace:
[13] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011a3fb890
[13] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011a3fb920
[13] __mtx_lock_flags() at __mtx_lock_flags+0xa5/frame 0xfffffe011a3fb970
[13] ieee80211_start_all() at ieee80211_start_all+0x24/frame 0xfffffe011a3fb990
[13] ath_parent() at ath_parent+0x673/frame 0xfffffe011a3fb9e0
[13] taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xfffffe011a3fba40
[13] taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe011a3fba70
[13] fork_exit() at fork_exit+0x84/frame 0xfffffe011a3fbab0
[13] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe011a3fbab0
[13] --- trap 0, rip = 0, rsp = 0xfffffe011a3fbb70, rbp = 0 ---
[16] re0: link state changed to DOWN
[16] wlan0: link state changed to UP
[18] lock order reversal:
[18]  1st 0xfffffe00efa59910 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3134
[18]  2nd 0xfffff80010d9d800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:281
[18] KDB: stack backtrace:
[18] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011c4ef350
[18] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011c4ef3e0
[18] _sx_xlock() at _sx_xlock+0x71/frame 0xfffffe011c4ef420
[18] ufsdirhash_add() at ufsdirhash_add+0x3d/frame 0xfffffe011c4ef470
[18] ufs_direnter() at ufs_direnter+0x5da/frame 0xfffffe011c4ef540
[18] ufs_mkdir() at ufs_mkdir+0x8c2/frame 0xfffffe011c4ef740
[18] VOP_MKDIR_APV() at VOP_MKDIR_APV+0xd8/frame 0xfffffe011c4ef770
[18] kern_mkdirat() at kern_mkdirat+0x209/frame 0xfffffe011c4ef9a0
[18] amd64_syscall() at amd64_syscall+0x253/frame 0xfffffe011c4efab0
[18] Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011c4efab0
[18] --- syscall (136, FreeBSD ELF64, sys_mkdir), rip = 0x13de0aaf8ca, rsp = 0x7ffffbdbfa78, rbp = 0x7ffffbdbff60 ---
[18] Security policy loaded: HardenedBSD Control Module (secadm)
[19] [PAX INTERNAL] the process has explicitly disabled features
[19]  -> fname: /usr/local/sbin/privoxy 
[19]  -> pid: 75235 ppid: 15453 p_pax: 0xaa<NOPAGEEXEC,NOMPROTECT,NOSEGVGUARD,NOASLR> 
[22] info: [drm] Initialized drm 1.1.0 20060810
[23] [PAX MPROTECT] prevented to introduce new RWX page...
[23]  -> p_comm: Xorg pid: 49043 ppid: 2497 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[31] lock order reversal:
[31]  1st 0xfffff80012ab0068 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2176
[31]  2nd 0xfffffe00efa8c778 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:263
[31]  3rd 0xfffff80012a9d418 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2176
[31] KDB: stack backtrace:
[31] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011c507cb0
[31] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011c507d40
[31] __lockmgr_args() at __lockmgr_args+0xa5c/frame 0xfffffe011c507e70
[31] ffs_lock() at ffs_lock+0x84/frame 0xfffffe011c507ec0
[31] VOP_LOCK1_APV() at VOP_LOCK1_APV+0xd9/frame 0xfffffe011c507ef0
[31] _vn_lock() at _vn_lock+0x9a/frame 0xfffffe011c507f60
[31] vget() at vget+0x67/frame 0xfffffe011c507fa0
[31] vfs_hash_get() at vfs_hash_get+0xdc/frame 0xfffffe011c507ff0
[31] ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe011c508080
[31] softdep_sync_buf() at softdep_sync_buf+0xa8f/frame 0xfffffe011c508160
[31] ffs_syncvnode() at ffs_syncvnode+0x259/frame 0xfffffe011c5081e0
[31] ffs_truncate() at ffs_truncate+0x6f4/frame 0xfffffe011c5083d0
[31] ufs_direnter() at ufs_direnter+0x767/frame 0xfffffe011c5084a0
[31] ufs_makeinode() at ufs_makeinode+0x5d3/frame 0xfffffe011c508660
[31] ufs_create() at ufs_create+0x2d/frame 0xfffffe011c508680
[31] VOP_CREATE_APV() at VOP_CREATE_APV+0xd2/frame 0xfffffe011c5086b0
[31] vn_open_cred() at vn_open_cred+0x30c/frame 0xfffffe011c508820
[31] kern_openat() at kern_openat+0x235/frame 0xfffffe011c5089a0
[31] amd64_syscall() at amd64_syscall+0x253/frame 0xfffffe011c508ab0
[31] Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011c508ab0
[31] --- syscall (499, FreeBSD ELF64, sys_openat), rip = 0x2d5e46f2f9a, rsp = 0x7fffe9150608, rbp = 0x7fffe91506e0 ---
[32] [PAX MPROTECT] prevented to introduce new RWX page...
[32]  -> p_comm: i3 pid: 3526 ppid: 33440 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[32] [PAX MPROTECT] prevented to introduce new RWX page...
[32]  -> p_comm: i3bar pid: 28224 ppid: 1 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[33] [PAX MPROTECT] prevented to introduce new RWX page...
[33]  -> p_comm: clipit pid: 87307 ppid: 1 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[76] wlan1: Ethernet address: 28:e3:47:2d:03:e6
[95] ath0: ath_edma_startrecv: called without resetting chip?

[-- Attachment #3 --]
hostb0@pci0:0:0:0:	class=0x060000 card=0x1946103c chip=0x0a048086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:	class=0x030000 card=0x1946103c chip=0x0a168086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT Integrated Graphics Controller'
    class      = display
    subclass   = VGA
hdac0@pci0:0:3:0:	class=0x040300 card=0x1946103c chip=0x0a0c8086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = multimedia
    subclass   = HDA
xhci0@pci0:0:20:0:	class=0x0c0330 card=0x1946103c chip=0x9c318086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP USB xHCI HC'
    class      = serial bus
    subclass   = USB
none0@pci0:0:22:0:	class=0x078000 card=0x1946103c chip=0x9c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP HECI'
    class      = simple comms
hdac1@pci0:0:27:0:	class=0x040300 card=0x1946103c chip=0x9c208086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP HD Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:	class=0x060400 card=0x1946103c chip=0x9c108086 rev=0xe4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP PCI Express Root Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:	class=0x060400 card=0x1946103c chip=0x9c128086 rev=0xe4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP PCI Express Root Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:2:	class=0x060400 card=0x1946103c chip=0x9c148086 rev=0xe4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP PCI Express Root Port 3'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:3:	class=0x060400 card=0x1946103c chip=0x9c168086 rev=0xe4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP PCI Express Root Port 4'
    class      = bridge
    subclass   = PCI-PCI
ehci0@pci0:0:29:0:	class=0x0c0320 card=0x1946103c chip=0x9c268086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP USB EHCI'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:31:0:	class=0x060100 card=0x1946103c chip=0x9c438086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:	class=0x010601 card=0x1946103c chip=0x9c038086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP SATA Controller 1 [AHCI mode]'
    class      = mass storage
    subclass   = SATA
none1@pci0:2:0:0:	class=0xff0000 card=0x1946103c chip=0x522710ec rev=0x01 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
re0@pci0:3:0:0:	class=0x020000 card=0x1946103c chip=0x816810ec rev=0x0c hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet
ath0@pci0:4:0:0:	class=0x028000 card=0x18e3103c chip=0x0036168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR9565 Wireless Network Adapter'
    class      = network

[-- Attachment #4 --]
[1] Copyright (c) 1992-2015 The FreeBSD Project.
[1] Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
[1] 	The Regents of the University of California. All rights reserved.
[1] FreeBSD is a registered trademark of The FreeBSD Foundation.
[1] FreeBSD 11.0-CURRENT #10 68e0b6d(hardened/current/master+net80211)-dirty: Mon Jun  1 22:08:41 CEST 2015
[1]     root@opn:/usr/obj/usr/src/sys/OP-HBSD amd64
[1] FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525
[1] WARNING: WITNESS option enabled, expect reduced performance.
[1] VT: running with driver "vga".
[1] PAX: initialize and check PaX and HardeneBSD features.
[1] [PAX LOG] logging to system: enabled
[1] [PAX LOG] logging to user: disabled
[1] [PAX PAGEEXEC] status: opt-out
[1] [PAX MPROTECT] status: opt-out
[1] [PAX HARDENING] mmap MAP32_bit support: disabled
[1] [PAX HARDENING] procfs hardening: enabled
[1] [PAX HARDENING] randomize pids: enabled
[1] [PAX HARDENING] unset unsecure init variables: enabled
[1] [PAX ASLR] status: opt-out
[1] [PAX ASLR] mmap: 30 bit
[1] [PAX ASLR] exec base: 21 bit
[1] [PAX ASLR] stack: 26 bit
[1] [PAX HARDENING] ptrace hardening status: enabled
[1] [PAX HARDENING] ptrace hardening allowed gid : 50000
[1] [PAX SEGVGUARD] status: opt-in
[1] [PAX SEGVGUARD] expiry: 120 sec
[1] [PAX SEGVGUARD] suspension: 600 sec
[1] [PAX SEGVGUARD] maxcrahes: 5
[1] CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (2294.73-MHz K8-class CPU)
[1]   Origin="GenuineIntel"  Id=0x40651  Family=0x6  Model=0x45  Stepping=1
[1]   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
[1]   Features2=0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
[1]   AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
[1]   AMD Features2=0x21<LAHF,ABM>
[1]   Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID>
[1]   XSAVE Features=0x1<XSAVEOPT>
[1]   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
[1]   TSC: P-state invariant, performance statistics
[1] real memory  = 4294967296 (4096 MB)
[1] avail memory = 3981897728 (3797 MB)
[1] Event timer "LAPIC" quality 600
[1] ACPI APIC Table: <HPQOEM 1946    >
[1] FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
[1] FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
[1]  cpu0 (BSP): APIC ID:  0
[1]  cpu1 (AP): APIC ID:  1
[1]  cpu2 (AP): APIC ID:  2
[1]  cpu3 (AP): APIC ID:  3
[1] ioapic0 <Version 2.0> irqs 0-39 on motherboard
[1] random: entropy device infrastructure driver
[1] random: selecting highest priority adaptor <Dummy>
[1] kbd1 at kbdmux0
[1] netmap: loaded module
[1] random: SOFT: yarrow init()
[1] random: selecting highest priority adaptor <Yarrow>
[1] module_register_init: MOD_LOAD (vesa, 0xffffffff8084c760, 0) error 19
[1] random: live provider: "Intel Secure Key RNG"
[1] vtvga0: <VT VGA driver> on motherboard
[1] cryptosoft0: <software crypto> on motherboard
[1] aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM> on motherboard
[1] acpi0: <HPQOEM SLIC-MPC> on motherboard
[1] acpi0: Power Button (fixed)
[1] cpu0: <ACPI CPU> on acpi0
[1] cpu1: <ACPI CPU> on acpi0
[1] cpu2: <ACPI CPU> on acpi0
[1] cpu3: <ACPI CPU> on acpi0
[1] hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
[1] Timecounter "HPET" frequency 14318180 Hz quality 950
[1] Event timer "HPET" frequency 14318180 Hz quality 550
[1] Event timer "HPET1" frequency 14318180 Hz quality 440
[1] Event timer "HPET2" frequency 14318180 Hz quality 440
[1] Event timer "HPET3" frequency 14318180 Hz quality 440
[1] Event timer "HPET4" frequency 14318180 Hz quality 440
[1] atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
[1] atrtc0: Warning: Couldn't map I/O.
[1] Event timer "RTC" frequency 32768 Hz quality 0
[1] attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
[1] Timecounter "i8254" frequency 1193182 Hz quality 0
[1] Event timer "i8254" frequency 1193182 Hz quality 100
[1] Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
[1] acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
[1] acpi_ec0: <Embedded Controller: GPE 0x6> port 0x62,0x66 on acpi0
[1] pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
[1] pci0: <ACPI PCI bus> on pcib0
[1] vgapci0: <VGA-compatible display> port 0x4000-0x403f mem 0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
[1] vgapci0: Boot video device
[1] hdac0: <Intel Haswell HDA Controller> mem 0xd0910000-0xd0913fff irq 16 at device 3.0 on pci0
[1] xhci0: <Intel Panther Point USB 3.0 controller> mem 0xd0900000-0xd090ffff irq 16 at device 20.0 on pci0
[1] xhci0: 32 bytes context size, 64-bit DMA
[1] xhci0: Port routing mask set to 0xffffffff
[1] usbus0 on xhci0
[1] pci0: <simple comms> at device 22.0 (no driver attached)
[1] hdac1: <Intel Lynx Point-LP HDA Controller> mem 0xd0914000-0xd0917fff irq 22 at device 27.0 on pci0
[1] pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
[1] pci1: <ACPI PCI bus> on pcib1
[1] pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
[1] pci2: <ACPI PCI bus> on pcib2
[1] pci2: <unknown> at device 0.0 (no driver attached)
[1] pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
[1] pci3: <ACPI PCI bus> on pcib3
[1] re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x3000-0x30ff mem 0xd0600000-0xd0600fff,0xd0400000-0xd0403fff irq 18 at device 0.0 on pci3
[1] re0: Using 1 MSI-X message
[1] re0: turning off MSI enable bit.
[1] re0: ASPM disabled
[1] re0: Chip rev. 0x4c000000
[1] re0: MAC rev. 0x00000000
[1] miibus0: <MII bus> on re0
[1] rgephy0: <RTL8251 1000BASE-T media interface> PHY 1 on miibus0
[1] 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
[1] re0: Using defaults for TSO: 65518/35/2048
[1] re0: Ethernet address: a0:1d:48:ad:34:e5
[1] re0: netmap queues/slots: TX 1/256, RX 1/256
[1] pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
[1] pci4: <ACPI PCI bus> on pcib4
[1] ath0: <Qualcomm Atheros AR9565> mem 0xd0500000-0xd057ffff irq 19 at device 0.0 on pci4
[1] ath0: WB335 1-ANT card detected
[1] ar9300_attach: calling ar9300_hw_attach
[1] ar9300_hw_attach: calling ar9300_eeprom_attach
[1] ar9300_flash_map: unimplemented for now
[1] Restoring Cal data from DRAM
[1] Restoring Cal data from EEPROM
[1] Restoring Cal data from Flash
[1] Restoring Cal data from Flash
[1] Restoring Cal data from OTP
[1] ar9300_hw_attach: ar9300_eeprom_attach returned 0
[1] ath0: [HT] enabling HT modes
[1] ath0: [HT] enabling short-GI in 20MHz mode
[1] ath0: [HT] 1 stream STBC receive enabled
[1] ath0: [HT] 1 RX streams; 1 TX streams
[1] ath0: AR9565 mac 704.0 RF5110 phy 2417.9
[1] ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
[1] ehci0: <Intel Lynx Point LP USB 2.0 controller USB> mem 0xd091d000-0xd091d3ff irq 17 at device 29.0 on pci0
[1] usbus1: EHCI version 1.0
[1] usbus1 on ehci0
[1] isab0: <PCI-ISA bridge> at device 31.0 on pci0
[1] isa0: <ISA bus> on isab0
[1] ahci0: <Intel Lynx Point-LP AHCI SATA controller> port 0x4088-0x408f,0x4094-0x4097,0x4080-0x4087,0x4090-0x4093,0x4060-0x407f mem 0xd091c000-0xd091c7ff irq 19 at device 31.2 on pci0
[1] ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier not supported
[1] ahcich0: <AHCI channel> at channel 0 on ahci0
[1] battery0: <ACPI Control Method Battery> on acpi0
[1] acpi_acad0: <AC Adapter> on acpi0
[1] acpi_button0: <Sleep Button> on acpi0
[1] acpi_lid0: <Control Method Lid Switch> on acpi0
[1] acpi_tz0: <Thermal Zone> on acpi0
[1] acpi_tz1: <Thermal Zone> on acpi0
[1] acpi_tz2: <Thermal Zone> on acpi0
[1] acpi_tz3: <Thermal Zone> on acpi0
[1] acpi_tz4: <Thermal Zone> on acpi0
[1] acpi_tz5: <Thermal Zone> on acpi0
[1] acpi_tz6: <Thermal Zone> on acpi0
[1] acpi_tz7: <Thermal Zone> on acpi0
[1] atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
[1] atkbd0: <AT Keyboard> irq 1 on atkbdc0
[1] kbd0 at atkbd0
[1] atkbd0: [GIANT-LOCKED]
[1] psm0: <PS/2 Mouse> irq 12 on atkbdc0
[1] psm0: [GIANT-LOCKED]
[1] psm0: model Synaptics Touchpad, device ID 0
[1] vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
[1] coretemp0: <CPU On-Die Thermal Sensors> on cpu0
[1] est0: <Enhanced SpeedStep Frequency Control> on cpu0
[1] coretemp1: <CPU On-Die Thermal Sensors> on cpu1
[1] est1: <Enhanced SpeedStep Frequency Control> on cpu1
[1] coretemp2: <CPU On-Die Thermal Sensors> on cpu2
[1] est2: <Enhanced SpeedStep Frequency Control> on cpu2
[1] coretemp3: <CPU On-Die Thermal Sensors> on cpu3
[1] est3: <Enhanced SpeedStep Frequency Control> on cpu3
[1] Timecounters tick every 10.000 msec
[1] ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled
[1] hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
[1] hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
[1] pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
[1] hdacc1: <IDT 92HD91BXX HDA CODEC> at cad 0 on hdac1
[1] hdaa1: <IDT 92HD91BXX Audio Function Group> at nid 1 on hdacc1
[1] pcm1: <IDT 92HD91BXX (Analog 2.0+HP/2.0)> at nid 13,11 and 12 on hdaa1
[1] pcm2: <IDT 92HD91BXX (Analog Mic)> at nid 17 on hdaa1
[1] usbus0: 5.0Gbps Super Speed USB v3.0
[1] usbus1: 480Mbps High Speed USB v2.0
[1] ugen1.1: <Intel> at usbus1
[1] uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
[1] ugen0.1: <0x8086> at usbus0
[1] uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
[1] ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
[1] ada0: <ST500LT012-1DG142 1002YAM1> ATA8-ACS SATA 3.x device
[1] ada0: Serial Number S3P3W8YP
[1] ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
[1] ada0: Command Queueing enabled
[1] ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
[1] ada0: quirks=0x1<4K>
[1] ada0: Previously was known as ad0
[1] random: unblocking device.
[1] SMP: AP CPU #1 Launched!
[1] SMP: AP CPU #2 Launched!
[1] SMP: AP CPU #3 Launched!
[1] Timecounter "TSC-low" frequency 1147367132 Hz quality 1000
[1] WARNING: WITNESS option enabled, expect reduced performance.
[1] uhub1: 13 ports with 13 removable, self powered
[2] uhub0: 2 ports with 2 removable, self powered
[2] Root mount waiting for: usbus1 usbus0
[2] ugen0.2: <Generic> at usbus0
[3] ugen1.2: <vendor 0x8087> at usbus1
[3] uhub2: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.04, addr 2> on usbus1
[3] uhub2: 8 ports with 8 removable, self powered
[3] Trying to mount root from ufs:/dev/ada0s4a [rw]...
[11] GEOM_ELI: Device ada0s4h.eli created.
[11] GEOM_ELI: Encryption: AES-XTS 256
[11] GEOM_ELI:     Crypto: hardware
[13] wlan0: Ethernet address: 28:e3:47:2d:03:e6
[13] lock order reversal:
[13]  1st 0xfffffe0000bf33b0 ath0 (ath0) @ /usr/src/sys/dev/ath/if_ath.c:2428
[13]  2nd 0xfffffe0000bf1020 ath0_com_lock (ath0_com_lock) @ /usr/src/sys/net80211/ieee80211_proto.c:1325
[13] KDB: stack backtrace:
[13] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011a3fb890
[13] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011a3fb920
[13] __mtx_lock_flags() at __mtx_lock_flags+0xa5/frame 0xfffffe011a3fb970
[13] ieee80211_start_all() at ieee80211_start_all+0x24/frame 0xfffffe011a3fb990
[13] ath_parent() at ath_parent+0x673/frame 0xfffffe011a3fb9e0
[13] taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xfffffe011a3fba40
[13] taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe011a3fba70
[13] fork_exit() at fork_exit+0x84/frame 0xfffffe011a3fbab0
[13] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe011a3fbab0
[13] --- trap 0, rip = 0, rsp = 0xfffffe011a3fbb70, rbp = 0 ---
[16] re0: link state changed to DOWN
[16] wlan0: link state changed to UP
[18] lock order reversal:
[18]  1st 0xfffffe00efa59910 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3134
[18]  2nd 0xfffff80010d9d800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:281
[18] KDB: stack backtrace:
[18] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011c4ef350
[18] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011c4ef3e0
[18] _sx_xlock() at _sx_xlock+0x71/frame 0xfffffe011c4ef420
[18] ufsdirhash_add() at ufsdirhash_add+0x3d/frame 0xfffffe011c4ef470
[18] ufs_direnter() at ufs_direnter+0x5da/frame 0xfffffe011c4ef540
[18] ufs_mkdir() at ufs_mkdir+0x8c2/frame 0xfffffe011c4ef740
[18] VOP_MKDIR_APV() at VOP_MKDIR_APV+0xd8/frame 0xfffffe011c4ef770
[18] kern_mkdirat() at kern_mkdirat+0x209/frame 0xfffffe011c4ef9a0
[18] amd64_syscall() at amd64_syscall+0x253/frame 0xfffffe011c4efab0
[18] Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011c4efab0
[18] --- syscall (136, FreeBSD ELF64, sys_mkdir), rip = 0x13de0aaf8ca, rsp = 0x7ffffbdbfa78, rbp = 0x7ffffbdbff60 ---
[18] Security policy loaded: HardenedBSD Control Module (secadm)
[19] [PAX INTERNAL] the process has explicitly disabled features
[19]  -> fname: /usr/local/sbin/privoxy 
[19]  -> pid: 75235 ppid: 15453 p_pax: 0xaa<NOPAGEEXEC,NOMPROTECT,NOSEGVGUARD,NOASLR> 
[22] info: [drm] Initialized drm 1.1.0 20060810
[23] [PAX MPROTECT] prevented to introduce new RWX page...
[23]  -> p_comm: Xorg pid: 49043 ppid: 2497 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[31] lock order reversal:
[31]  1st 0xfffff80012ab0068 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2176
[31]  2nd 0xfffffe00efa8c778 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:263
[31]  3rd 0xfffff80012a9d418 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2176
[31] KDB: stack backtrace:
[31] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011c507cb0
[31] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011c507d40
[31] __lockmgr_args() at __lockmgr_args+0xa5c/frame 0xfffffe011c507e70
[31] ffs_lock() at ffs_lock+0x84/frame 0xfffffe011c507ec0
[31] VOP_LOCK1_APV() at VOP_LOCK1_APV+0xd9/frame 0xfffffe011c507ef0
[31] _vn_lock() at _vn_lock+0x9a/frame 0xfffffe011c507f60
[31] vget() at vget+0x67/frame 0xfffffe011c507fa0
[31] vfs_hash_get() at vfs_hash_get+0xdc/frame 0xfffffe011c507ff0
[31] ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe011c508080
[31] softdep_sync_buf() at softdep_sync_buf+0xa8f/frame 0xfffffe011c508160
[31] ffs_syncvnode() at ffs_syncvnode+0x259/frame 0xfffffe011c5081e0
[31] ffs_truncate() at ffs_truncate+0x6f4/frame 0xfffffe011c5083d0
[31] ufs_direnter() at ufs_direnter+0x767/frame 0xfffffe011c5084a0
[31] ufs_makeinode() at ufs_makeinode+0x5d3/frame 0xfffffe011c508660
[31] ufs_create() at ufs_create+0x2d/frame 0xfffffe011c508680
[31] VOP_CREATE_APV() at VOP_CREATE_APV+0xd2/frame 0xfffffe011c5086b0
[31] vn_open_cred() at vn_open_cred+0x30c/frame 0xfffffe011c508820
[31] kern_openat() at kern_openat+0x235/frame 0xfffffe011c5089a0
[31] amd64_syscall() at amd64_syscall+0x253/frame 0xfffffe011c508ab0
[31] Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011c508ab0
[31] --- syscall (499, FreeBSD ELF64, sys_openat), rip = 0x2d5e46f2f9a, rsp = 0x7fffe9150608, rbp = 0x7fffe91506e0 ---
[32] [PAX MPROTECT] prevented to introduce new RWX page...
[32]  -> p_comm: i3 pid: 3526 ppid: 33440 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[32] [PAX MPROTECT] prevented to introduce new RWX page...
[32]  -> p_comm: i3bar pid: 28224 ppid: 1 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[33] [PAX MPROTECT] prevented to introduce new RWX page...
[33]  -> p_comm: clipit pid: 87307 ppid: 1 p_pax: 0x65<PAGEEXEC,MPROTECT,NOSEGVGUARD,ASLR> 
[76] wlan1: Ethernet address: 28:e3:47:2d:03:e6
[95] ath0: ath_edma_startrecv: called without resetting chip?
[121] [PAX INTERNAL] the process has explicitly disabled features
[121]  -> fname: /usr/local/bin/firefox 
[121]  -> pid: 50598 ppid: 69522 p_pax: 0xaa<NOPAGEEXEC,NOMPROTECT,NOSEGVGUARD,NOASLR> 
[711] wlan1: Ethernet address: 28:e3:47:2d:03:e6
[716] pid 89374 (kismet_server), uid 0: exited on signal 11 (core dumped)
[733] wlan1: permanently promiscuous mode enabled
[733] ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping
[736] lock order reversal:
[736]  1st 0xfffffe0000bf2838 ath0_node_lock (ath0_node_lock) @ /usr/src/sys/net80211/ieee80211_node.c:1841
[736]  2nd 0xfffffe0000bf33b0 ath0 (ath0) @ /usr/src/sys/dev/ath/if_ath_keycache.c:503
[736] KDB: stack backtrace:
[736] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011a3fb6b0
[736] witness_checkorder() at witness_checkorder+0xe26/frame 0xfffffe011a3fb740
[736] __mtx_lock_flags() at __mtx_lock_flags+0xa5/frame 0xfffffe011a3fb790
[736] ath_key_delete() at ath_key_delete+0x4b/frame 0xfffffe011a3fb7d0
[736] _ieee80211_crypto_delkey() at _ieee80211_crypto_delkey+0x90/frame 0xfffffe011a3fb810
[736] ieee80211_crypto_delkey() at ieee80211_crypto_delkey+0x1e/frame 0xfffffe011a3fb830
[736] ieee80211_node_delucastkey() at ieee80211_node_delucastkey+0x85/frame 0xfffffe011a3fb880
[736] ieee80211_sta_leave() at ieee80211_sta_leave+0x13/frame 0xfffffe011a3fb8a0
[736] sta_newstate() at sta_newstate+0x47e/frame 0xfffffe011a3fb8f0
[736] ath_newstate() at ath_newstate+0x3e7/frame 0xfffffe011a3fb990
[736] ieee80211_newstate_cb() at ieee80211_newstate_cb+0x18e/frame 0xfffffe011a3fb9e0
[736] taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xfffffe011a3fba40
[736] taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe011a3fba70
[736] fork_exit() at fork_exit+0x84/frame 0xfffffe011a3fbab0
[736] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe011a3fbab0
[736] --- trap 0, rip = 0, rsp = 0xfffffe011a3fbb70, rbp = 0 ---
[736] wlan0: link state changed to DOWN
[748] ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping
[750] ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping
[751] wlan0: link state changed to UP
[764] wlan0: link state changed to DOWN
[764] wlan1: permanently promiscuous mode disabled
[766] wlan0: link state changed to UP
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4fftaFEC47=Qqah7M=nu521aBRCneRht5um2vWNtcgKx8Ug>