From owner-freebsd-emulation@FreeBSD.ORG Tue Jun 15 13:20:24 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBC4316A4CE for ; Tue, 15 Jun 2004 13:20:23 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A97C43D1F for ; Tue, 15 Jun 2004 13:20:23 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.12.11) with ESMTP id i5FDK3GI012404 for ; Tue, 15 Jun 2004 09:20:03 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5FDK3cu012400 for freebsd-emulation@freebsd.org; Tue, 15 Jun 2004 09:20:03 -0400 (EDT) (envelope-from bv) Date: Tue, 15 Jun 2004 09:19:57 -0400 From: Bill Vermillion To: freebsd-emulation@freebsd.org Message-ID: <20040615131957.GB12240@wjv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on bilver.wjv.com Subject: Re: My continuing JDK14 build problems X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 13:20:24 -0000 > On or about Tue, Jun 15, 2004 at 09:41 , while attempting a > Zarathustra emulation Panagiotis Astithas thus spake: On or about Tue, Jun 15, 2004 at 09:41 , while attempting a Zarathustra emulation Panagiotis Astithas thus spake: > Bill Vermillion wrote: .... > >I get a failure trying to install the linux-sun-jdk14 that is > >required to bootstrap the jdk14. I even downloaded the linux rpm > >from Sun and installed that via rpm -install and > >in that also generates an install.sfx.core file just as > >builing from jdk14 or sun-linux-jdk14 with the standard files. > >Someone suggested setting the defaul brand to 3 in sysctl > >That made no difference. > >I always get a 'bad system call' as the final error. [I've posted > >those before]. > >But thinking more about this and recalling I had a bad system call > >on a commercial application that defaulted to a SVR4 and I had > >to brand it as Linux, I ran the sun-linux-jdk14 that extracted > >the install.sfx into the work directory. > >Then I performed a brandelf -t Linux on install.sfx. > >I them commented out the extract of the install.sfx in the > >Makefile so it wouid not re-extract and write over the rebranded > >image. > >Now when I run it I get this: > >--------- > >Script started on Mon Jun 14 15:26:54 2004 > >root@bilver.wjv.com# make > >====================================================================== > >Warning: This JDK may be unstable. You are advised to use the native > >FreeBSD JDK, in ports/java/jdk14. > > > >This Java VM will attempt to obtain some system information by > >accessing files in linux's procfs. You must install the Linux > >emulation procfs filesystem for this to work correctly. The JVM > >will exhibit various problems otherwise. This can be accomplished > >by adding the following line to your /etc/fstab file: > > > > linprocfs /compat/linux/proc linprocfs rw 0 0 > > > >and then, as root, executing the commands: > > > >kldload linprocfs > >mount /compat/linux/proc > > > >====================================================================== > >===> Extracting for linux-sun-jdk-1.4.2.04 > > > >>>Checksum OK for j2sdk-1_4_2_04-linux-i586.bin. > > > >===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 > >- found > >/usr/ports/java/linux-sun-jdk14/work/install.sfx: /lib/ld-linux.so.2: > >version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6) > >*** Error code 1 > > > >Stop in /usr/ports/java/linux-sun-jdk14. > >root@bilver.wjv.com# exit > > > >Script done on Mon Jun 14 15:26:58 2004 > >So the error changes from 'bad system call' to the above. > >Am I correct in thinking that if I can get that fixed I may be able > >to proceed. > >I'm treading in new territory here for me. Am I wrong in thinking > >that this may point to the problem. In the commerical application > >the rebrand to Linux cured the bad system call and that install > >continued. .... > >The kernel is set for only the 686 and the only things added > >are SC_HISTORY size set to 700, MAXCONS to 16, and a couple of > >other syscons - for the SCO compatible screen, plus default > >text display of green on black. I can't see any thing in there > >would be a problem, but I felt it was better to mention what I've > >changed than the typical "I dont see anything that could affect > >this". > Could you try with a GENERIC kernel, just to be on the safe > side? Also, have you tried with other versions of the Linux > libraries? We have the following in ports/emulators: I will do this. > linux_base > linux_base-6 > linux_base-8 Currently I have linux-base which currently is 7.1_7. I upgraded to that from an earlier when I first had the problems. I will also this. Thanks for the suggestion. Bill -- Bill Vermillion - bv @ wjv . com