Kernel panic of "spin lock held too long"
John Baldwin
jhb at freebsd.org
Thu Jun 24 14:03:13 UTC 2010
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
More information about the freebsd-drivers
mailing list