From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 22:10:04 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 AB48D16A401 for ; Tue, 17 Jul 2007 22:10:04 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 7E27013C441 for ; Tue, 17 Jul 2007 22:10:04 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so2366887waf for ; Tue, 17 Jul 2007 15:10:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Frl42RLwz35fGOPmnmpbby3ve9zi44EahrtPKnHWORUYpweyLcAdLST//Ra+sdKgmR88nuaHLWXNSfFo78wd9Tz+iPaM8RVaRrzjb5xm/mOrqEHWiZqs8gBm669oe0Yvxba0X1hoL1zcXZbs9eRR2US8S/yKoqfV5NAkA7Czbqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AvELgVsoKEM/shl3iD5gPFgxBnI/e4NA8ilZ8TxkKmxiqirbkwL8RgK/trBWNRDD9WSa+mWFaMrJ5qlzkGMfDWTfYqhGLVgwJAEOQ68o1ngvuQyudc/dVQSxn2u9e/duAz68nNUUSS6pOd4MTW6+pXwdTLqK6x0gXCi3NyIajBQ= Received: by 10.115.55.1 with SMTP id h1mr847965wak.1184710201141; Tue, 17 Jul 2007 15:10:01 -0700 (PDT) Received: by 10.114.205.5 with HTTP; Tue, 17 Jul 2007 15:10:00 -0700 (PDT) Message-ID: Date: Tue, 17 Jul 2007 17:10:00 -0500 From: Matt To: "Eric Anderson" In-Reply-To: <469D2979.60006@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070716233030.D92541@10.0.0.1> <469D2688.7070000@kuehlbox.de> <20070717133131.J92541@10.0.0.1> <20070717134252.D92541@10.0.0.1> <469D2979.60006@freebsd.org> Cc: attilio@freebsd.org, Jeff Roberson , current@freebsd.org, Teufel 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 22:10:04 -0000 On 7/17/07, Eric Anderson wrote: > 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 > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > I am seeing the same behavior with kqemu panicking the system. An ldd against kqemu.ko doesn't show it linked to any shared libraries, and I have tried all of the combinations shown in the recent thread on the -emulation list (-DKSE in the kqemu port and Attilio's patch). Will let you know if I can get any debug information. My setup has been refusing to let me get any dumps lately (don't know what I messed up to cause that).