Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 22:28:56 +0200
From:      Teufel <bsd@kuehlbox.de>
To:        Jeff Roberson <jroberson@chesapeake.net>,  current@freebsd.org,  attilio@FreeBSD.org
Subject:   Re: ULE/SCHED_SMP diff for 7.0 - panic on x86
Message-ID:  <469D2688.7070000@kuehlbox.de>
In-Reply-To: <20070716233030.D92541@10.0.0.1>
References:  <20070716233030.D92541@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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

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  @ 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.




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