Date: Tue, 23 Nov 2004 10:00:50 GMT From: "Jonathan Belson" <jon@witchspace.com> To: freebsd-java@FreeBSD.org Subject: Re: java/62837: linux-sun-jdk14 executables hang with COMPAT_LINUX in the the kernel. Message-ID: <200411231000.iANA0ox9060868@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR java/62837; it has been noted by GNATS.
From: "Jonathan Belson" <jon@witchspace.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: chris@vindaloo.com, freebsd-java@freebsd.org
Subject: Re: java/62837: linux-sun-jdk14 executables hang with COMPAT_LINUX
in the the kernel.
Date: Tue, 23 Nov 2004 09:54:40 -0000 (GMT)
I've just had a similar problem, but I think the kernel option in question
is _KPOSIX_PRIORITY_SCHEDULING, not COMPAT_LINUX. Adding that option my
local config and rebuilding made the issue go away. In the meantime, maybe
applying the following patch would save other people a few hours:
*** pkg-message.orig Tue Nov 23 09:50:03 2004
--- pkg-message Tue Nov 23 09:52:20 2004
***************
*** 15,18 ****
--- 15,22 ----
kldload linprocfs
mount /compat/linux/proc
+ If the java executables hang with a VM error, try adding the
+ option _KPOSIX_PRIORITY_SCHEDULING to your kernel config (if it isn't
+ there already) and rebuilding.
+
======================================================================
Cheers,
--Jon
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411231000.iANA0ox9060868>
