Bug 205756

Summary: Kernel panic of "spin lock held too long" when install FreeBSD-10.2-RELEASE-amd64
Product: Base System Reporter: Rizal Muhammad Nur <ri24l_pwt>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: amd64, jhb
Priority: ---    
Version: 10.2-RELEASE   
Hardware: amd64   
OS: Any   

Description Rizal Muhammad Nur 2015-12-31 12:57:06 UTC
I am installing FreeBSD-10.2-RELEASE-amd64 in Supermicro 1028U-TR4T+ . Everytime FreeBSD boot process runs, server always restart itself. Before restart, console show:

===
spin lock 0xffffffff80f99d00 () held by 0xffffffff8079c720 (tid) too long
panic: spin lock held too long
cpuid = 0
===

Installation process and error message can be watched on https://www.youtube.com/watch?v=MzpKHMUMRwk

This error didn't show when install FreeBSD 9.3.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2016-01-01 20:05:27 UTC
This looks like a driver that uses a "fast" taskqueue with threads failed to startup, possibly due to the mutex not yet being initialized.  However, normally the kthreads for a taskqueue aren't created until after the queue has been initialized.  However, it might be that it wasn't a "fast" taskqueue, but a regular one was overwritten trashing its state.

Can you try a more recent 10-stable or 11 snapshot from http://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/ ?
Comment 2 Rizal Muhammad Nur 2016-01-02 11:18:49 UTC
(In reply to John Baldwin from comment #1)

I still have issue with installing version 10.1-RELEASE, 10.2-RELEASE, and 11.0-CURRENT-amd64-20151130-r291495. But the issue is gone when use FreeBSD-10.0-RELEASE-amd64-disc1.iso (ISO file doesn't exist in http://ftp.freebsd.org/pub/FreeBSD/releases/)