From owner-freebsd-java@FreeBSD.ORG Thu Mar 25 23:27:19 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 7346416A4CE for ; Thu, 25 Mar 2004 23:27:19 -0800 (PST) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6279D43D46 for ; Thu, 25 Mar 2004 23:27:18 -0800 (PST) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id i2Q7T2Nu010340; Fri, 26 Mar 2004 09:29:02 +0200 Received: from localhost (achill@localhost)i2Q7T1lg010336; Fri, 26 Mar 2004 09:29:02 +0200 Date: Fri, 26 Mar 2004 09:29:01 +0200 (EET) From: Achilleus Mantzios To: Mikler In-Reply-To: <1551912439.20040325095223@niks.by> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re[2]: sun jdk problem 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: Fri, 26 Mar 2004 07:27:19 -0000 O kyrios Mikler egrapse stis Mar 25, 2004 : > Hello Achilleus, > > Actually I'm to ask silly questions - but anyway that's JDK is pretty > important for me. So... Usually we do mount some devices. What a > device is that linprocfs? Is it created when i install linux_base. There is the kernel part and the userland part. linprocfs is a pseudodevice just like procfs,devfs,etc... In order to use linprocfs (i.e. mount it as i told you), you have to have the linux.ko driver installed (its compiled by default ) so put linux_load="YES" in your /boot/loader.conf, or just do #kldload linux.ko (as root). Then go to /usr/ports/emulators/linux_base and # make; make install or # portupgrade -r -R linux_base (not necessarilly in /usr/ports/emulators/linux_base) This will build a redhat 7.* userland for you to to execute (rh?) linux programs. Now do the mount of linprocfs. > And another one question. What lnux_base should I use. Thare are some > in ports tree. 8? or just linux base? > > Thanks! > > Tuesday, March 23, 2004, 3:21:24 PM, you wrote: > > AM> O kyrios Mikler egrapse stis Mar 23, 2004 : > > >> Hello! > >> > >> I've tried to compile jdk1.4 port with latest download of patches, sun > >> jdk scsl, and linux-sun-jdk-1_4_1_03 and linux_base_8 > >> but i'm getting some heap abort error after trying to start any > >> linux-sun-jdk executable. And thus my system is hanging with 98% CPU > >> load. The machine is Sun Sunfire v 65 x86 server... The OS is FreeBsd > >> 5.7 (or .2 - i don't remind - sorry). I've made brandelf on it - but > >> it does not help. kldstat shows kernel loaded. > > AM> 5.7 has not been invented yet! > > >> > >> Any suggestions and help would be Great!!! > > AM> did you mount linprocfs on /usr/compat/linux/proc ? > AM> e.g. in /etc/fstab > > AM> linprocfs /compat/linux/proc linprocfs rw 0 0 > > >> > >> > >> > > > > > -- -Achilleus