Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 10:02:39 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-drivers@freebsd.org
Cc:        KGB <380008156@qq.com>
Subject:   Re: Kernel panic of "spin lock held too long"
Message-ID:  <201006241002.39092.jhb@freebsd.org>
In-Reply-To: <tencent_3D0058516C43A6E009FFC897@qq.com>
References:  <tencent_3D0058516C43A6E009FFC897@qq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 June 2010 7:30:00 am KGB wrote:
> Hi All:
>      I am writing a driver module (named tej21.ko) under freebsd8-release(i386) and I had a problem of the kernel panic "spin lock held too long".
>  
>      When I kldload my driver module without smp support (kern.smp.disabled = 1),every thing is OK.
>      But when I support the smp ,I met the problem 'Kernel panic of "spin lock held too long" '.
>  
>      My Hardware : 
>           1.CPU: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz (2499.95-MHz 686-class CPU)
>  
>      Software:
>           freeBSD 8 release i386.
>  
>      The dump message is below.Why is there this problem,can someone give me advice? 
>  
>       /*------------------------------dump message ----------------------------------------------*/
>       Unread portion of the kernel message buffer:
>    spin lock 0xc0d9e580 (sched lock 1) held by 0xc5546b40 (tid 100003) too long

Can you get a trace of this thread (100003)?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006241002.39092.jhb>