From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 20:23:53 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 433A516A407 for ; Tue, 17 Jul 2007 20:23:53 +0000 (UTC) (envelope-from bsd@kuehlbox.de) Received: from samael.qmail-ldap.de (mail.kuehlbox.de [62.159.47.22]) by mx1.freebsd.org (Postfix) with ESMTP id 9AF1913C4A7 for ; Tue, 17 Jul 2007 20:23:52 +0000 (UTC) (envelope-from bsd@kuehlbox.de) Received: (qmail 64715 invoked from network); 17 Jul 2007 20:23:50 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlbox.de; b=d5HLQwAjXVW+1N2VquQz2+uAtqA+ICCZI8VGTx6qlF7JRtbWEtRBwB1M3cEHT1YGR+IoiNF1oYRkaEGolJj8mKEapj8T3tmaCQZ4OIxOa7WgjBcq3eEfJI9dLHu+dFIx ; Received: from unknown (HELO [192.168.200.128]) (bsd@kuehlbox.de@[82.135.93.20]) (envelope-sender ) by samael.qmail-ldap.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Jul 2007 20:23:50 -0000 Message-ID: <469D2688.7070000@kuehlbox.de> Date: Tue, 17 Jul 2007 22:28:56 +0200 From: Teufel User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Jeff Roberson , current@freebsd.org, attilio@FreeBSD.org References: <20070716233030.D92541@10.0.0.1> In-Reply-To: <20070716233030.D92541@10.0.0.1> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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:23:53 -0000 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 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.