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

From: Jeff Roberson <jroberson_at_chesapeake.net>
Date: Tue, 17 Jul 2007 13:32:45 -0700 (PDT)
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.

Thanks,
Jeff

>
> However, using Attilio's patch with the old ULE works.
>
> Greetings,
>
> Stephan
>
> dmesg about CPU follows:
>
> FreeBSD 7.0-CURRENT #27
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Core(TM)2 CPU          6600  _at_ 2.40GHz (2404.13-MHz 686-class 
> CPU)
> Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
> AMD Features=0x20000000<LM>
> AMD Features2=0x1<LAHF>
> Cores per package: 2
> real memory  = 2146828288 (2047 MB)
> avail memory = 2091286528 (1994 MB)
> ACPI APIC Table: <A_M_I_ OEMAPIC >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0 (BSP): APIC ID:  0
> cpu1 (AP): APIC ID:  1
>
>
>
> Jeff Roberson wrote:
>> http://people.freebsd.org/~jeff/ule.diff
>> 
>> 
>> 
>> Briefly, this is still a very suitable scheduler for uniprocessor machines 
>> while providing stronger affinity and other performance improvements for 
>> multiprocessor machines.
>
Received on Tue Jul 17 2007 - 18:29:41 UTC

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