From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 20:29:41 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9824A16A403; Tue, 17 Jul 2007 20:29:41 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 63D9E13C4BA; Tue, 17 Jul 2007 20:29:41 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l6HKTd4L051251 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 17 Jul 2007 16:29:40 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 17 Jul 2007 13:32:45 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Teufel In-Reply-To: <469D2688.7070000@kuehlbox.de> Message-ID: <20070717133131.J92541@10.0.0.1> References: <20070716233030.D92541@10.0.0.1> <469D2688.7070000@kuehlbox.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: attilio@freebsd.org, current@freebsd.org Subject: Re: ULE/SCHED_SMP diff for 7.0 - panic on x86 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 20:29:41 -0000 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 @ 2.40GHz (2404.13-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > Features=0xbfebfbff > Features2=0xe3bd > AMD Features=0x20000000 > AMD Features2=0x1 > Cores per package: 2 > real memory = 2146828288 (2047 MB) > avail memory = 2091286528 (1994 MB) > ACPI APIC Table: > 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. >