From owner-freebsd-threads@FreeBSD.ORG Thu Aug 21 02:01:48 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 BFADC16A4BF; Thu, 21 Aug 2003 02:01:48 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B9B43FB1; Thu, 21 Aug 2003 02:01:38 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from [192.168.1.240] (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RKXCQ85L; Thu, 21 Aug 2003 16:43:04 +0800 Date: Thu, 21 Aug 2003 17:05:26 +0800 From: David Xu To: Sheldon Hearn , deischen@freebsd.org , freebsd-java@freebsd.org , threads@freebsd.org Message-Id: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Mail 1.0 Subject: Re: vmark hangs with libthr and libkse 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: Thu, 21 Aug 2003 09:01:49 -0000 ----- Original Message ----- From: "Sheldon Hearn" To: ; ; Sent: Thursday, August 21, 2003 2:57 PM Subject: Re: vmark hangs with libthr and libkse > On (2003/08/20 16:11), Sheldon Hearn wrote: > > > > Any messages on the console or break-to-debugger info? Are you using > > > SCHED_4BSD or SCHED_ULE? > > > > I think it was SCHED_4BSD. I scribbled the panic down on a piece of > > paper, but can't find it now. *sigh* > > Nope, it's SCHED_ULE. > ULE does not work with KSE, I have uploaded a patch, please try it. http://people.freebsd.org/~davidxu/kse/kse_ule.diff You can not get cpu affinity for KSE process with this scheduler, The patch only let KSE process work under ULE scheduler. I have not fully tested it, for some reason, I won't commit the patch. > > > > I just do what my old man told me when I complained that banging my head > > > > against the wall hurt... "Don't do that, then". :-) > > > > > > No, please do that and give us some more info. We claim there > > > are no bugs in libkse, so it's up to you to prove us wrong :-) > > > > Okay, let me finish my work, sync my disks and give it another whirl > > this afternoon. :-) > > I tried with libkse and now I don't even get a useful panic. Just "page > fault" and disk sync! > > I've found my scrap of paper, though. Here's what I got last week: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > code = supervisor write, page not present > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 4 (g_down) > > I don't have DDB in my kernel > > I could reinstall a kernel with DDB enabled. But then what do I do when > I get my "page fault" followed by disk sync? > > I realize that the person seeing the problem is usually the person who > should diagnose it, but I'm under hard pressure on a deadline for work. > > Perhaps someone else with a bit more free time could try this out? > > Ciao, > Sheldon. > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" -- David Xu