From owner-freebsd-threads@FreeBSD.ORG Sat Aug 16 09:13:33 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF7FE37B401; Sat, 16 Aug 2003 09:13:33 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A31D4400E; Sat, 16 Aug 2003 09:13:33 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp42.pn.xcllnt.net (dhcp42.pn.xcllnt.net [192.168.4.242]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7GGDWwO090963; Sat, 16 Aug 2003 09:13:32 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp42.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7GGDWtV039952; Sat, 16 Aug 2003 09:13:32 -0700 (PDT) (envelope-from marcel@dhcp42.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h7GGDWf3039951; Sat, 16 Aug 2003 09:13:32 -0700 (PDT) (envelope-from marcel) Date: Sat, 16 Aug 2003 09:13:32 -0700 From: Marcel Moolenaar To: deischen@freebsd.org Message-ID: <20030816161332.GA39823@dhcp42.pn.xcllnt.net> References: <20030811234058.GA944@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: threads@freebsd.org Subject: Re: KSE/ia64: NULL thread pointer in _thr_sig_add() X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 16:13:34 -0000 On Sat, Aug 16, 2003 at 06:13:36AM -0400, Daniel Eischen wrote: > On Mon, 11 Aug 2003, Marcel Moolenaar wrote: > > > On Mon, Aug 11, 2003 at 02:34:08PM +0800, David Xu wrote: > > > > > > I have a patch trying to fix the problem, I haven't tested it, > > > http://people.freebsd.org/~davidxu/kse/thr_kern.c.diff > > > I think some calls of kse_set_curthread is bogus, Dan might need to > > > rethink it. > > > > I think this is it. I now get sig 11, but it looks like a faulty > > use of random(). It appears random() is not thread safe and this > > particular test program uses random. > > > > I'll continue to run tests, but so far it looks like the patch is > > fixing KSE/ia64. > > So as of now, where do we stand for KSE on ia64? Do ACE tests > pass? Good question. I don't know. I wanted to try it at home in case I ran into other kernel panics, but I cannot compile. There's at least a problem with the mutex_d test, so I suspect that we still have some lingering issues. This does not look to be related to thread pointers. I don't know to what extend it will affect ACE. I think I fixed all of the kernel panics that were caused by using KSE on ia64, so I would suggest to try ACE on pluto1. The machine does not have the absolute latest libkse (aug 12) but it should be good enough for a first try. Note that pluto1 is building packages, so you're not on an idle machine. Please don't use pluto2 for now. It hasn't got the latest kernel... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net