From owner-freebsd-java@FreeBSD.ORG Tue Nov 23 09:54:46 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED0C16A4CE for ; Tue, 23 Nov 2004 09:54:46 +0000 (GMT) Received: from mta09-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5BE343D3F for ; Tue, 23 Nov 2004 09:54:44 +0000 (GMT) (envelope-from jon@witchspace.com) Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8]) by mta09-winn.mailhost.ntl.com with ESMTP <20041123095443.DHLN29450.mta09-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com> for ; Tue, 23 Nov 2004 09:54:43 +0000 Received: from witchspace.com ([81.110.67.239]) by aamta04-winn.mailhost.ntl.com with SMTP <20041123095442.GKOH2076.aamta04-winn.mailhost.ntl.com@witchspace.com> for ; Tue, 23 Nov 2004 09:54:42 +0000 Received: (qmail 838 invoked from network); 23 Nov 2004 09:54:40 -0000 Received: from unknown (HELO webmail.home) (127.0.0.1) by localhost.home with SMTP; 23 Nov 2004 09:54:40 -0000 Received: from 192.168.0.1 (SquirrelMail authenticated user jon); by webmail.home with HTTP; Tue, 23 Nov 2004 09:54:40 -0000 (GMT) Message-ID: <1230.192.168.0.1.1101203680.squirrel@192.168.0.1> Date: Tue, 23 Nov 2004 09:54:40 -0000 (GMT) From: "Jonathan Belson" To: freebsd-gnats-submit@FreeBSD.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: chris@vindaloo.com cc: freebsd-java@freebsd.org Subject: Re: java/62837: linux-sun-jdk14 executables hang with COMPAT_LINUX in the the kernel. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 09:54:46 -0000 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