From owner-freebsd-stable Tue Feb 19 13:47:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id 7670B37B402 for ; Tue, 19 Feb 2002 13:47:07 -0800 (PST) Received: from acm.org ([64.174.88.160]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GRS00M5CV6IDE@mta7.pltn13.pbi.net> for freebsd-stable@freebsd.org; Tue, 19 Feb 2002 13:47:07 -0800 (PST) Date: Tue, 19 Feb 2002 13:46:46 -0800 From: Andrew Houghton Subject: linux_sched_getscheduler error w/ linux-jdk-1.4.0 & linux-base-7.1_1 To: freebsd-stable@freebsd.org Message-id: <3C72C7C6.6050405@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8+) Gecko/20020215 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I posted a problem I was having w/ linux-jdk-1.4.0 to the freebsd-java list with no responses; I've since used truss to track it down to a permission error with linux_sched_getscheduler, so I'm re-asking here. Essentially, running the linux-jdk-1.4.0 as root works fine, running as user fails as follows: bash-2.05a$ javavm -version # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # # Error ID: 4F533F4C494E55580E43505002AB # Abort trap (core dumped) bash-2.05a$ This all appears to come down to the following (from truss): linux_sched_getscheduler(0x8f34) ERR#1 'Operation not permitted' I've found references to this in the archives, but all dealing with previous versions of the linux-jdk (which all work fine for me), and none with any particular resolution. I'm hoping/guessing it just comes down to a permissions error somewhere. Any thoughts? - Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message