From owner-freebsd-java@FreeBSD.ORG Sat Jul 29 22:08:08 2006 Return-Path: X-Original-To: java@FreeBSD.org 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 8957116A4E0 for ; Sat, 29 Jul 2006 22:08:08 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone2.qsi.net.nz (drone2-svc-skyt.qsi.net.nz [202.89.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E5CE43D49 for ; Sat, 29 Jul 2006 22:08:07 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: (qmail 19163 invoked by uid 0); 29 Jul 2006 22:08:05 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 29 Jul 2006 22:08:05 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 746405642E; Sun, 30 Jul 2006 10:08:04 +1200 (NZST) Date: Sun, 30 Jul 2006 10:08:04 +1200 From: Jonathan Chen To: Andrew Pantyukhin Message-ID: <20060729220804.GD20989@osiris.chen.org.nz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: java@FreeBSD.org Subject: Re: linprocfs and linux-sun-{jdk,jre}15 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 22:08:08 -0000 On Sat, Jul 29, 2006 at 10:49:02PM +0400, Andrew Pantyukhin wrote: > If I run 'java' (either directly or through the wrapper) under > an unprivileged user with linprocfs mounted it hangs in > a CPU hog. Truss shows continuous read(2) calls all > with 'Permission denied' errors. > > If I unmount linprocfs and try again I get this error: > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location - find_vma failed > but everything works great after that. The fact of the matter is that any errors that you get with the linux-sun-jdk/jre is due to the linuxalator or the emulator/linux ports. The linux-sun-jdk/jre is used mainly to bootstrap the native build, after which the interest in getting any other functionality out of it to work falls expontentially. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards