ULE/SCHED_SMP diff for 7.0 - panic on x86

Eric Anderson anderson at freebsd.org
Tue Jul 17 20:41:38 UTC 2007


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




More information about the freebsd-current mailing list