From owner-freebsd-java@FreeBSD.ORG Tue Nov 23 10:00:50 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC74C16A4CE for ; Tue, 23 Nov 2004 10:00:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD2743D4C for ; Tue, 23 Nov 2004 10:00:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iANA0o5f060869 for ; Tue, 23 Nov 2004 10:00:50 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iANA0ox9060868; Tue, 23 Nov 2004 10:00:50 GMT (envelope-from gnats) Date: Tue, 23 Nov 2004 10:00:50 GMT Message-Id: <200411231000.iANA0ox9060868@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Jonathan Belson" 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 Reply-To: Jonathan Belson List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 10:00:50 -0000 The following reply was made to PR java/62837; it has been noted by GNATS. From: "Jonathan Belson" 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