[DragonFlyBSD - Bug #3088] (In Progress) Kernel panic in syncache_add

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Oct 21 17:35:16 PDT 2017

Issue #3088 has been updated by dillon.

Status changed from New to In Progress

This appears to be a missed initialization in the kernel.  I have pushed a fix to master and to the 5.0 release.  Please try pulling the latest from the repo and rebuilding the kernel, and report back if the problem continues to occur.  Basically there are two kmalloc's in netinet/tcp_syncache.c that did not specify M_ZERO when they should have.

You are getting some good dumps, so if my fix has not fixed it, we will try to debug the issue further by having you probe your dumps.



Bug #3088: Kernel panic in syncache_add

* Author: pa3k
* Status: In Progress
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
I'm using SuperMicro A1SAi-C2750 as small server with jails that was running fine with latest DragonFly BSD 4.8.1,
but since I upgraded to DragonFly BSD 5.0, I'm experiencing random crashes - always in syncache_add.

Tried also clean install and kernel rebuild,
server is actually running DragonFly v5.0.0.6.g0978b-RELEASE

24 hours of memtest is no problem for this server.
Crash summaries of latest server crashes are attached to this issue. I cannot find a patter how to reliably crash that server,
but core.txt.5 was right after reboot-after-panic while trying to copy core.txt.4 per scp from server.

Any help or hint how to fix or debug this problem is appreciated.

Also - should I be worried to see messages like this:
softdep_sync_metadata_bp(1): caught buf 0xffffff80af383f50 going away
on console?

Thanks in advance.

core.txt.3 (119 KB)
a1sai.txt (35 KB)
dfly.5.0.jpg (47.7 KB)
dfly.5.0.panic.jpg (60.6 KB)
dfly.5.0.trace.jpg (71.6 KB)
core.txt.4 (126 KB)
core.txt.5 (129 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list