vmark hangs with libthr and libkse
davidxu at viatech.com.cn
Thu Aug 21 02:01:49 PDT 2003
----- Original Message -----
From: "Sheldon Hearn" <sheldonh at starjuice.net>
To: <deischen at freebsd.org>; <freebsd-java at freebsd.org>; <threads at freebsd.org>
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.
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?
> freebsd-threads at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
More information about the freebsd-threads