[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2019-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Rodney W. Grimes  changed:

   What|Removed |Added

 CC|sta...@freebsd.org  |

--- Comment #57 from Rodney W. Grimes  ---
Please do not put bugs on stable@, current@, hackers@, etc

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2018-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Eitan Adler  changed:

   What|Removed |Added

 Status|In Progress |Open

--- Comment #56 from Eitan Adler  ---
batch change of PRs untouched in 2018 marked "in progress" back to open.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-08-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Mark Millard  changed:

   What|Removed |Added

 CC||mar...@dsl-only.net

--- Comment #55 from Mark Millard  ---
(In reply to muxx.dev from comment #54)\

Looks  to me like ts==0x0 was the starting value
given to turnstile_broadcast in each backtrace
listed in this buzilla bug (213903), for example:

(kgdb) list *0x80b3a89c
0x80b3a89c is in turnstile_broadcast
(/usr/src/sys/kern/subr_turnstile.c:837).
832
833 /*
834  * Transfer the blocked list to the pending list.
835  */
836 mtx_lock_spin(_contested_lock);
837 TAILQ_CONCAT(>ts_pending, >ts_blocked[queue],
td_lockq);
838 mtx_unlock_spin(_contested_lock);
839
840 /*
841  * Give a turnstile to each thread.  The last thread gets
Current language:  auto; currently minimal
(kgdb) backtrace
. . .
#8  0x80b3a89c in turnstile_broadcast (ts=0x0, queue=1) at
/usr/src/sys/kern/subr_turnstile.c:837
#9  0x80ad48cf in __rw_wunlock_hard (c=0xf800437de858, tid=, file=, line=) at
/usr/src/sys/kern/kern_rwlock.c:1027
. . .

Note that ts==0x0 would be a problem for:

TAILQ_CONCAT(>ts_pending, >ts_blocked[queue], td_lockq);

So I wonder if __rw_wunlock_hard is providing a bad ts
value. If yes: the problem then occurs before the
turnstile_broadcast call is made.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-08-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

muxx@gmail.com changed:

   What|Removed |Added

 CC||muxx@gmail.com

--- Comment #54 from muxx@gmail.com ---
I can confirm the same crash on FreeBSD 11.0-RELEASE-p1 (GENERIC) on the
following hardware:

Aug 12 11:57:04 gw kernel: CPU: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
(2000.05-MHz K8-class CPU)
Aug 12 11:57:04 gw kernel: Origin="GenuineIntel"  Id=0x30678  Family=0x6 
Model=0x37  Stepping=8
Aug 12 11:57:04 gw kernel:
Features=0xbfebfbff
Aug 12 11:57:04 gw kernel:
Features2=0x41d8e3bf
Aug 12 11:57:04 gw kernel: AMD Features=0x28100800
Aug 12 11:57:04 gw kernel: AMD Features2=0x101
Aug 12 11:57:04 gw kernel: Structured Extended
Features=0x2282
Aug 12 11:57:04 gw kernel: VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
Aug 12 11:57:04 gw kernel: TSC: P-state invariant, performance statistics
Aug 12 11:57:04 gw kernel: real memory  = 8589934592 (8192 MB)
Aug 12 11:57:04 gw kernel: avail memory = 8137785344 (7760 MB)
Aug 12 11:57:04 gw kernel: Event timer "LAPIC" quality 600
Aug 12 11:57:04 gw kernel: ACPI APIC Table: 
Aug 12 11:57:04 gw kernel: WARNING: L1 data cache covers less APIC IDs than a
core
Aug 12 11:57:04 gw kernel: 0 < 1
Aug 12 11:57:04 gw kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
Aug 12 11:57:04 gw kernel: FreeBSD/SMP: 1 package(s) x 4 core(s)
Aug 12 11:57:04 gw kernel: random: unblocking device.
Aug 12 11:57:04 gw kernel: ACPI BIOS Warning (bug): 32/64X length mismatch in
FADT/Gpe0Block: 128/32 (20160527/tbfadt-650)
Aug 12 11:57:04 gw kernel: WARNING: Bogus Interrupt Polarity. Assume CONFORMS

more information from /var/log/messages and kgdb:

Aug 12 11:57:04 gw kernel: Fatal trap 12: page fault while in kernel mode
Aug 12 11:57:04 gw kernel: cpuid = 1; apic id = 02
Aug 12 11:57:04 gw kernel: fault virtual address= 0x30
Aug 12 11:57:04 gw kernel: fault code   = supervisor read data, page
not present
Aug 12 11:57:04 gw kernel: instruction pointer  = 0x20:0x80b3a89c
Aug 12 11:57:04 gw kernel: stack pointer=
0x28:0xfe0232609440
Aug 12 11:57:04 gw kernel: frame pointer=
0x28:0xfe0232609470
Aug 12 11:57:04 gw kernel: code segment = base 0x0, limit 0xf, type
0x1b
Aug 12 11:57:04 gw kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Aug 12 11:57:04 gw kernel: processor eflags = resume, IOPL = 0
Aug 12 11:57:04 gw kernel: current process  = 18204 (telegraf)
Aug 12 11:57:04 gw kernel: trap number  = 12
Aug 12 11:57:04 gw kernel: panic: page fault
Aug 12 11:57:04 gw kernel: cpuid = 1
Aug 12 11:57:04 gw kernel: KDB: stack backtrace:
Aug 12 11:57:04 gw kernel: #0 0x80b24077 at kdb_backtrace+0x67
Aug 12 11:57:04 gw kernel: #1 0x80ad93e2 at vpanic+0x182
Aug 12 11:57:04 gw kernel: #2 0x80ad9253 at panic+0x43
Aug 12 11:57:04 gw kernel: #3 0x80fa0d31 at trap_fatal+0x351
Aug 12 11:57:04 gw kernel: #4 0x80fa0f23 at trap_pfault+0x1e3
Aug 12 11:57:04 gw kernel: #5 0x80fa04cc at trap+0x26c
Aug 12 11:57:04 gw kernel: #6 0x80f84141 at calltrap+0x8
Aug 12 11:57:04 gw kernel: #7 0x80ad48cf at __rw_wunlock_hard+0x8f
Aug 12 11:57:04 gw kernel: #8 0x80e1a75c at vm_map_delete+0x3dc
Aug 12 11:57:04 gw kernel: #9 0x80e1c5f7 at vm_map_remove+0x47
Aug 12 11:57:04 gw kernel: #10 0x80a86c7f at exec_new_vmspace+0x22f
Aug 12 11:57:04 gw kernel: #11 0x80a5bfe8 at exec_elf64_imgact+0xa58
Aug 12 11:57:04 gw kernel: #12 0x80a84d4d at kern_execve+0x7dd
Aug 12 11:57:04 gw kernel: #13 0x80a841dc at sys_execve+0x4c
Aug 12 11:57:04 gw kernel: #14 0x80fa168e at amd64_syscall+0x4ce
Aug 12 11:57:04 gw kernel: #15 0x80f8442b at Xfast_syscall+0xfb

...

(kgdb) list *0x80b3a89c
0x80b3a89c is in turnstile_broadcast
(/usr/src/sys/kern/subr_turnstile.c:837).
832
833 /*
834  * Transfer the blocked list to the pending list.
835  */
836 mtx_lock_spin(_contested_lock);
837 TAILQ_CONCAT(>ts_pending, >ts_blocked[queue],
td_lockq);
838 mtx_unlock_spin(_contested_lock);
839
840 /*
841  * Give a turnstile to each thread.  The last thread gets
Current language:  auto; currently minimal
(kgdb) backtrace
#0  doadump (textdump=) at pcpu.h:221
#1  0x80ad8e69 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:366
#2  0x80ad941b in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:759

[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #53 from Chris Collins  ---
Both patches in this PR have fixed my kernel panic issues on 11.0

I tested the debug patch which didnt aim to fix but did as a side affect, and I
tested the later patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Kubilay Kocak  changed:

   What|Removed |Added

  Flags|mfc-stable10-,  |mfc-stable10+,
   |mfc-stable11-   |mfc-stable11+

--- Comment #52 from Kubilay Kocak  ---
Correctly (+, not -) document merge completion

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Mateusz Guzik  changed:

   What|Removed |Added

  Flags|mfc-stable10?,  |mfc-stable10-,
   |mfc-stable11?   |mfc-stable11-
 Status|Open|In Progress

--- Comment #51 from Mateusz Guzik  ---
The change was committed to stable/10. To the best of my knowledge all branches
with the original patch (head, stable/11, 11.1 and stable/10) have the issue
resolved.

Thanks everyone for reporting and testing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #50 from commit-h...@freebsd.org ---
A commit references this bug:

Author: mjg
Date: Tue Jul 11 03:45:48 UTC 2017
New revision: 320885
URL: https://svnweb.freebsd.org/changeset/base/320885

Log:
  Remove waiters check from the inline rw wunlock routine.

  This is a direct commit to stable/10.

  r310979 is a merge of depessimisation of locking primitives.
  The important part was getting rid of an attempt to grab the lock in the
  slow path immediately after the fast path failed. In addition to that
  temporary checks were added before all atomic ops. They have no impact on
  semantic nor correctness, they only avoid an atomic operation which is
  likely to fail.

  After the addition of atomic_fcmpset and further changes said checks
  became pessimal and got removed. This may get merged to stable/10.

  Reports started showing up about a crash in all branches having extra
  checks. The codepath is:
  .. -> vm_map_delete -> __rw_wunlock_hard -> turnstile_broadcast

  The kernel crashed trying to wake up nonexistent waiters. The lock value
  as found in the vmcore matches the panicking thread, so in particular
  there was no waiters bit set. The bit can only be cleared by the current
  owner.

  A debug patch was provided, which reportedly had a side effect of getting
  rid of the issue.

  Also one of the reporters said that reverting the patch which adds the
  extra checks makes the crash go away.

  It was also reported that head with the fcmpset changes (explicit checks
  removed) also stops crashing.

  Finally, one user tested crashing stable/10 variant with just the rw
  wunlock check removed.

  The common case in all but one reports was an Intel Atom cpu. Claiming
  a cpu bug at this point is bold and I'm going to refrain from it, but
  right now apart from cpu-specific optimisation made by the compiler on
  custom kernel compiles I don't see how this can be a software bug.

  This will have to be investigated more.

  Meanwhile, restore rw wunlock to pre-r310979 state.

  PR:   213903

Changes:
  stable/10/sys/sys/rwlock.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #49 from Ben Woods  ---
I am running FreeBSD 12-CURRENT r319025 without any patches and can confirm the
crashes do not occur for me anymore on my FreeNAS mini. Thanks for your help
with this!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #48 from Mateusz Guzik  ---
Thanks for testing. I'll commit the patch later today with few other
modifications.

That said, I expect the problem to be gone on head starting with r313270 and on
stable/11 starting with r315377, which also means it is included in all 11.1
builds.

That said, if someone running into the crash on one of the above could confirm
the newest version of their relevant branch makes the problem go away, that
would be nice.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #47 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #43)
Dear Mateusz,

I'm quite sure this patch has fixed the issue on 10-STABLE. My server is
running 6 days without reboot. Please go ahead and commit it. Thank you for
your support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #46 from Chris Collins  ---
I would hope this makes it into RELEASE 11.1, would be disappointed if that was
released with a known problem.  PFSense seem to have absolutely no motivation
to apply the patches supplied here, so I am hoping they use 11.1 after its
released and that has the patches applied.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Kubilay Kocak  changed:

   What|Removed |Added

  Flags||mfc-stable10?,
   ||mfc-stable11?
   Severity|Affects Only Me |Affects Some People
 CC||freebsd-b...@freebsd.org
   Assignee|freebsd-b...@freebsd.org|m...@freebsd.org
   Keywords||needs-qa

--- Comment #45 from Kubilay Kocak  ---
Can we get the proposed patches included as attachments in this issue please,
ideally, and if multiple versions are created over time, obsoleting the old
ones.

Also is this a candidate for upcoming releases? If so, please cc re@

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #44 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #43)
Ok patch applied. I'll let you know the results.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #43 from Mateusz Guzik  ---
Yes, apply the patch to a clean tree. Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #42 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #41)
Ok you are right. I reverted all files touched by previous patch. Am i right?
And then should i apply only this last patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #41 from Mateusz Guzik  ---
This looks like leftovers from the previous patch. Just restore the original
state of the tree and patch that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #40 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #39)
Mateusz,

I can test it, but my 10-STABLE version has a different code:

/* Release a write lock. */
#define __rw_wunlock(rw, tid, file, line) do {  \
uintptr_t _tid = (uintptr_t)(tid);  \
uintptr_t _v;   \
\
if ((rw)->rw_recurse)   \
(rw)->rw_recurse--; \
else {  \
_v = (rw)->rw_lock; \
if (_v != _tid || !_rw_write_unlock_fetch((rw), &_v))   \
_rw_wunlock_hard((rw), _v, _tid, (file), (line));\
}   \
} while (0)

How shoukd i adapt your patch in this code?

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Mark Linimon  changed:

   What|Removed |Added

   Keywords||patch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #39 from Mateusz Guzik  ---
Can someone who runs into the problem on stable/10 test the following please:
https://people.freebsd.org/~mjg/patches/rwlock-unlock.diff

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #38 from Chris Collins  ---
(In reply to Mateusz Guzik from comment #35)

Just to let you know my pfsense unit affected by this issue does not have an
atom cpu.

It has a celeron N3150 cpu.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #37 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #35)
Mateusz,

Yes i realized many changes has been made on 11-STABLE related to this issue. I
think it could be fixed as well. Anyway i have a server running with 11.1-BETA3
to confirm.

Regarding FreeBSD 10, i can test it for you, just provide a patch and let me
know.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #36 from Franco Fichtner  ---
You can use https://github.com/opnsense/src/commit/6b79b52c.patch on stable/10,
it was verified working on 11.0.


Cheers,
Franco

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #35 from Mateusz Guzik  ---
Hi there, sorry for late reply. This somehow fell through the cracks.

First of all there is no kernel bug per se that I can see, rather a bug in the
atom cpu which started manifesting itself. There were several changes to the
affected code path on stable/11 and in particular the condition which triggered
the bug is gone. I don't have any reports, but I suspect stable/11 is now
cleared. stable/10 will require a hack, but I'll need someone to test it as
don't have the hardware to reproduce.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #34 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #26)
Dear Mateusz,

Please, Can you confirm if it has been fixed in last STABLE? I've seen some
commits but i'm no sure.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #33 from Chris Collins  ---
I have applied your patch now Mateusz on 11-p10 so will report back if it
works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-06-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

chrysa...@chrysalisnet.org changed:

   What|Removed |Added

 CC||chrysa...@chrysalisnet.org

--- Comment #32 from chrysa...@chrysalisnet.org ---
I am getting turnstile_broadcast() at turnstile_broadcast panic's on a PFSense
unit which is based on FreeBSD 11.0-p8

The hardware is a intel celeron N3150.

Is it possible to provide a patch which I can pass onto the PFSense developers
to see if the proposed fix works on that?

Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #31 from Cassiano Peixoto  ---
Hi Mateusz,

After some time i had a server with FreeBSD 11-p1 crashed with your patch
applied. 

See bellow: 

(kgdb) list *0x80b317ac
0x80b317ac is in turnstile_broadcast
(/usr/src/sys/kern/subr_turnstile.c:837).
832 
833 /*
834  * Transfer the blocked list to the pending list.
835  */
836 mtx_lock_spin(_contested_lock);
837 TAILQ_CONCAT(>ts_pending, >ts_blocked[queue],
td_lockq);
838 mtx_unlock_spin(_contested_lock);
839 
840 /*
841  * Give a turnstile to each thread.  The last thread gets
Current language:  auto; currently minimal
(kgdb) bt
#0  doadump (textdump=) at pcpu.h:221
#1  0x80acfd69 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:366
#2  0x80ad031b in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:759
#3  0x80ad0153 in panic (fmt=0x0) at
/usr/src/sys/kern/kern_shutdown.c:690
#4  0x80ee2d21 in trap_fatal (frame=0xfe02378e0850, eva=32) at
/usr/src/sys/amd64/amd64/trap.c:841
#5  0x80ee2f13 in trap_pfault (frame=0xfe02378e0850, usermode=0) at
/usr/src/sys/amd64/amd64/trap.c:691
#6  0x80ee24bc in trap (frame=0xfe02378e0850) at
/usr/src/sys/amd64/amd64/trap.c:442
#7  0x80ec5951 in calltrap () at
/usr/src/sys/amd64/amd64/exception.S:236
#8  0x80b317ac in turnstile_broadcast (ts=0x0, queue=0) at
/usr/src/sys/kern/subr_turnstile.c:837
#9  0x80aabb70 in __mtx_unlock_sleep (c=0x81cab130, opts=, file=0x1 , line=1) at
/usr/src/sys/kern/kern_mutex.c:865
#10 0x80d42dd1 in swap_reserve_by_cred (incr=,
cred=) at /usr/src/sys/vm/swap_pager.c:224
#11 0x80d58f49 in kmap_alloc_wait (map=0xf800061d7c30, size=266240)
at /usr/src/sys/vm/vm_kern.c:437
#12 0x80a7cf5c in exec_copyin_args (args=0xfe02378e0a70,
fname=0x801436b58 , segflg=UIO_USERSPACE,
argv=0x801436a98, envv=0x801436b20)
at /usr/src/sys/kern/kern_exec.c:1326
#13 0x80a7cdb8 in sys_execve (td=0xf8013d03ba00,
uap=0xfe02378e0b80) at /usr/src/sys/kern/kern_exec.c:215
#14 0x80ee367e in amd64_syscall (td=, traced=0) at
subr_syscall.c:135
#15 0x80ec5c3b in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:396
#16 0x000800b45daa in ?? ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-05-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #30 from Cassiano Peixoto  ---
Hi Mateusz,

Any update about this issue?

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-04-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #29 from Ben Woods  ---
(In reply to Mateusz Guzik from comment #26)
I have been running with the patch with no crashes.

If you would like me to confirm whether the issue is still in CURRENT, I will
have to upgrade to the latest CURRENT without the patch, and let you know if I
get crashes again.

Let me know if this would be helpful for you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-04-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #28 from Cassiano Peixoto  ---
(In reply to Cassiano Peixoto from comment #27)
Hi Mateusz, any news about this issue?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-04-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #27 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #26)
Hi Mateuz, i can confirm only on stable/10. Maybe someone else can confirm it
to you. After the patch is running 13 days without crash. Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-04-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #26 from Mateusz Guzik  ---
So, can I please get confirmation that the problem is still present in current
and still present in stable/11 past r315395? There were several changes which
could have make the apparent cpu problem stop manifesting itself.

If so, I'll simply merge them to stable/10 as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #25 from Mateusz Guzik  ---
I'm working on an update on this, likely will be ready tomorrow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #24 from Cassiano Peixoto  ---
So guys, any committer available to commit this fix? It's really important.
Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #23 from Ben Woods  ---
I have also been running a week with this patch, with no more crashes. It
appears to have solved it - thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #22 from Cassiano Peixoto  ---
(In reply to Franco Fichtner from comment #21)
Hi Franco, i agree with you. Now it's 6 days with no crashing anymore. Mateusz,
can you take a look please?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #21 from Franco Fichtner  ---
This was only supposed to print further debug output, but something in here is
probably responsible for fixing it as it touches the same lines as r301157
that's been known to cause the panic in the first place...

-   else if ((rw)->rw_lock != _tid || !_rw_write_unlock((rw), _tid))\
-   _rw_wunlock_hard((rw), _tid, (file), (line));   \
+   else {  \
+   _v = (rw)->rw_lock; \
+   if (_v != _tid || !_rw_write_unlock_fetch((rw), &_v))   \
+   _rw_wunlock_hard((rw), _v, _tid, (file), (line));\
+   }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #20 from Cassiano Peixoto  ---
Hi guys,

After i applied Mateusz's patch it stopped crashing (2 days with no crash). So
it seems worked. Mateusz are you planning to commit it?

Thank you for your help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #19 from Scott Larson  ---
(In reply to Cassiano Peixoto from comment #15)

Tossing in that I've been seeing this panic on stock kernel 11.0-p8 machines
running on Atom C2750s. The failure shown by kgdb output looks identical to
what Cassiano posted for 10.3. In my case it doesn't require heavy traffic
however, most often it's happening at periods of off-peak load.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #18 from Cassiano Peixoto  ---
(In reply to Cassiano Peixoto from comment #17)
Hi Mateusz,

I got another customer to try. Can i apply this patch and only replace the
kernel or do i need to replace userland as well?

After that do you need only kgdb trace output?

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #17 from Cassiano Peixoto  ---
(In reply to Mateusz Guzik from comment #16)
Hi Mateusz,

Sorry but i can't try this patch, i had to rollback the old kernel to avoid
crashes. It's a production server and i can't let it down. :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #16 from Mateusz Guzik  ---
Can you please reproduce with
https://people.freebsd.org/~mjg/patches/rwlock-debug-10.diff appliled on top.
E.g. like this:

cd /usr/src
fetch https://people.freebsd.org/~mjg/patches/rwlock-debug-10.diff
patch -p1 < rwlock-debug-10.diff

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #15 from Cassiano Peixoto  ---
(In reply to Franco Fichtner from comment #14)
Hi Franco,

Here it is:
FreeBSD 10.3-STABLE #4: Mon Feb  6 09:29:52 BRST 2017
r...@bgp.server.us:/usr/obj/usr/src/sys/GENERIC

My debug bellow:

# kgdb kernel.debug /var/crash/vmcore.last 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 7; apic id = 0e
fault virtual address   = 0x30
fault code  = supervisor read data, page not present
instruction pointer = 0x20:0x80b2b4fa
stack pointer   = 0x28:0xfe0237a4f450
frame pointer   = 0x28:0xfe0237a4f480
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= resume, IOPL = 0
current process = 79530 (sh)
trap number = 12
panic: page fault
cpuid = 7
KDB: stack backtrace:
#0 0x80b16230 at kdb_backtrace+0x60
#1 0x80ad7036 at vpanic+0x126
#2 0x80ad6f03 at panic+0x43
#3 0x80f810cd at trap_fatal+0x35d
#4 0x80f813e8 at trap_pfault+0x308
#5 0x80f80a2a at trap+0x47a
#6 0x80f661dc at calltrap+0x8
#7 0x80ad4d80 at __rw_wunlock_hard+0x90
#8 0x80dffd9a at vm_map_delete+0x33a
#9 0x80e01b47 at vm_map_remove+0x47
#10 0x80a96759 at exec_new_vmspace+0x1e9
#11 0x80a73284 at exec_elf64_imgact+0xa44
#12 0x80a94ec4 at kern_execve+0x7d4
#13 0x80a9438c at sys_execve+0x4c
#14 0x80f81b00 at amd64_syscall+0x450
#15 0x80f664cb at Xfast_syscall+0xfb
Uptime: 19h0m34s
Dumping 1063 out of 8149 MB: (CTRL-C to abort)
..2%..11%..22%..31%..41%..52%..61%..71%..82%..91%

Reading symbols from /boot/kernel.off/coretemp.ko.symbols...done.
Loaded symbols for /boot/kernel.off/coretemp.ko.symbols
Reading symbols from /boot/modules/plcm.ko...done.
Loaded symbols for /boot/modules/plcm.ko
#0  doadump (textdump=) at pcpu.h:219
219 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) list *0x80b2b4fa
0x80b2b4fa is in turnstile_broadcast
(/usr/src/sys/kern/subr_turnstile.c:838).
833 
834 /*
835  * Transfer the blocked list to the pending list.
836  */
837 mtx_lock_spin(_contested_lock);
838 TAILQ_CONCAT(>ts_pending, >ts_blocked[queue],
td_lockq);
839 mtx_unlock_spin(_contested_lock);
840 
841 /*
842  * Give a turnstile to each thread.  The last thread gets
Current language:  auto; currently minimal
(kgdb) bt
#0  doadump (textdump=) at pcpu.h:219
#1  0x80ad6c53 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:486
#2  0x80ad7075 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:889
#3  0x80ad6f03 in panic (fmt=0x0) at
/usr/src/sys/kern/kern_shutdown.c:818
#4  0x80f810cd in trap_fatal (frame=, eva=) at /usr/src/sys/amd64/amd64/trap.c:858
#5  0x80f813e8 in trap_pfault (frame=0xfe0237a4f3a0,
usermode=) at /usr/src/sys/amd64/amd64/trap.c:681
#6  0x80f80a2a in trap (frame=0xfe0237a4f3a0) at
/usr/src/sys/amd64/amd64/trap.c:447
#7  0x80f661dc in calltrap () at
/usr/src/sys/amd64/amd64/exception.S:238
#8  0x80b2b4fa in turnstile_broadcast (ts=0x0, queue=1) at
/usr/src/sys/kern/subr_turnstile.c:838
#9  0x80ad4d80 in __rw_wunlock_hard (c=0xf8013a3b5318, tid=1,
file=0xf80009947001 "8?\201", line=1) at
/usr/src/sys/kern/kern_rwlock.c:1027
#10 0x80dffd9a in vm_map_delete (map=0xf8000c22b8c0, start=, end=140737488355328) at /usr/src/sys/vm/vm_map.c:2911
#11 0x80e01b47 in vm_map_remove (map=0xf8000c22b8c0,
start=140737488355328, end=1) at /usr/src/sys/vm/vm_map.c:3028
#12 0x80a96759 in exec_new_vmspace (imgp=0xfe0237a4f868,
sv=0x819858e8) at /usr/src/sys/kern/kern_exec.c:1084
#13 0x80a73284 in exec_elf64_imgact (imgp=0xfe0237a4f868) at
/usr/src/sys/kern/imgact_elf.c:881
#14 0x80a94ec4 in kern_execve (td=0xf80009947000,
args=0xfe0237a4fa78, mac_p=) at
/usr/src/sys/kern/kern_exec.c:606
#15 0x80a9438c in sys_execve (td=0xf80009947000, uap=) at /usr/src/sys/kern/kern_exec.c:222
#16 0x80f81b00 in amd64_syscall (td=0xf80009947000, traced=0) at
subr_syscall.c:141
#17 0x80f664cb in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:398
#18 

[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #14 from Franco Fichtner  ---
Hi Cassiano,

What's your output of uname -v?

Can you make sure to include a backtrace here from ddb? type "bt" at the prompt
when the panic happens. It may be related but not the same code path.


Cheers,
Franco

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #13 from Cassiano Peixoto  ---
(In reply to Franco Fichtner from comment #12)
Hi Franco,

I don't know exactly which svn version i'm using, because when i run uname -a
it doesn't show me. But anyway i updated my FreeBSD 10.3 on February 6th. Is it
makes sense to you?  How can i revert this commit?

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #12 from Franco Fichtner  ---
r301157 was backported to 10-STABLE, but 10.3 is unaffected.  There is no
10.3-STABLE.  Which one did you mean?

>From our experience r301157 is the bad commit as the panics have disappeared in
our latest OPNsense version which reverted the rwlock bits of this particular
patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


[Bug 213903] Kernel crashes from turnstile_broadcast (/usr/src/sys/kern/subr_turnstile.c:837)

2017-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Cassiano Peixoto  changed:

   What|Removed |Added

 CC||freebsd-stable@FreeBSD.org,
   ||peixoto.cassi...@gmail.com

--- Comment #11 from Cassiano Peixoto  ---
Guys,

I'm having the same issue here on FreeBSD 10.3-STABLE. I'm using Atom C2758 as
well. It has began after 10.3 update. It's very serious issue because many
production servers are crashing. Can someone take a look please?

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"