Re: ULE/SCHED_SMP diff for 7.0 - panic on x86

From: Eric Anderson <anderson_at_freebsd.org>
Date: Tue, 17 Jul 2007 15:41:29 -0500
Jeff Roberson wrote:
> On Tue, 17 Jul 2007, Jeff Roberson wrote:
> 
>> On Tue, 17 Jul 2007, Teufel wrote:
>>
>>> Hi,
>>>
>>> cvsuped kernel sources about 20 mins ago and applied Jeff's new ule 
>>> patch.
>>> System boots normaly up, but starting qemu with kqemu (either user or 
>>> user and kernel space) results immediatly in kernel trap 12
>>> applying Attilio's    patch 
>>> http://people.freebsd.org/~attilio/kqemu.diff fixed the kernel trap, 
>>> but hangs:
>>>
>>> spin lock 0xc0bbf780 (shed lock 1) held by 0xc5114880 (tid 100003) 
>>> too long
>>> panic: spin lock held too long
>>> cpuid = 0
>> Can you enable INVARIANTS, WITNESS, KDB and DDB in your kernel?  Then 
>> get me a trace when this happens and any other consoles prints that 
>> look relevant.
> 
> Can you also run ldd on the kqemu binary?  I'd like to know if it's 
> linked against libthr or libkse.

Note that there was recently a thread in -emulation that sorted this 
out.  Updating the kqemu and qemu ports should help.

Eric
Received on Tue Jul 17 2007 - 18:41:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC