From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 6 14:12:13 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 0437616A4CF for ; Sun, 6 Jun 2004 14:12:13 -0700 (PDT) Received: from plum.flirble.org (plum.flirble.org [195.40.6.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D78F43D2F for ; Sun, 6 Jun 2004 14:12:12 -0700 (PDT) (envelope-from jake@poptart.org) Received: from nbumaster ([82.152.7.145] helo=poptart.org) by plum.flirble.org with asmtp (Exim 3.20 #3) id 1BX4w7-0008rE-00 for freebsd-emulation@freebsd.org; Sun, 06 Jun 2004 22:12:11 +0100 Received: from choccy.int.poptart.org ([10.0.0.1]) by poptart.org with esmtp (Exim 4.14) id 1BX4w7-0000kw-4Q for freebsd-emulation@freebsd.org; Sun, 06 Jun 2004 22:12:11 +0100 Message-ID: <40C388AA.6070509@poptart.org> Date: Sun, 06 Jun 2004 22:12:10 +0100 From: Jake Scott User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 21:12:13 -0000 I'm trying to get the Linux version of Veritas NetBackup 5.0 working on FreeBSD. It mainly works, but after performing one backup, then fails to perform any others. I've narrowed this down to a problem with "bpsched" interaction with the OS. When it starts up, it creates seveal message queues which it normally removes when it exits. Under the Linux emulation in FreeBSD, these message queues are not removed. So - when it starts up again, it is unable to re-create them. There are a *lot* of these messasges in the system log: linux: pid 2763 (bpsched): ioctl fd=5, cmd=0x8954 ('\M^I',84) is not implemented When starting up after the first time, the NetBackup bpsched log says: <32> main_bpsched: error creating req message queue: 17 <16> bpsched: scheduler exiting - error creating or getting message queue (209) The output of "ipcs -a" shows the following in the Message Queues section: q 65538 1280592210 --rw-rw-rw- root wheel root wheel 0 0 65536 0 0 no-entry no-entry 22:01:47 q 65539 1093288528 --rw------- root wheel root wheel 296 1 65536 2853 2754 22:04:56 22:03:26 22:03:16 q 65540 1331056194 --rw------- root wheel root wheel 0 0 65536 2763 2756 22:03:26 22:03:26 22:03:16 If I remove these, then I can do another backup. Has anyone got any ideas or experience with this? Thanks Jake From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 6 15:24:00 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 3374116A4CE for ; Sun, 6 Jun 2004 15:24:00 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FCC043D41 for ; Sun, 6 Jun 2004 15:23:59 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i56MNuRK062930; Sun, 6 Jun 2004 17:23:56 -0500 (CDT) (envelope-from dan) Date: Sun, 6 Jun 2004 17:23:55 -0500 From: Dan Nelson To: Jake Scott Message-ID: <20040606222355.GG42830@dan.emsphone.com> References: <40C388AA.6070509@poptart.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40C388AA.6070509@poptart.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-emulation@freebsd.org Subject: Re: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 22:24:00 -0000 In the last episode (Jun 06), Jake Scott said: > I'm trying to get the Linux version of Veritas NetBackup 5.0 working > on FreeBSD. It mainly works, but after performing one backup, then > fails to perform any others. Why not just use the native FreeBSD NetBackup client? -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 6 17:15:28 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 037C616A4CE for ; Sun, 6 Jun 2004 17:15:28 -0700 (PDT) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE78643D54 for ; Sun, 6 Jun 2004 17:15:25 -0700 (PDT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 882051FEC3; Sun, 6 Jun 2004 19:15:17 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 63849-03-4; Sun, 6 Jun 2004 19:15:15 -0500 (CDT) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id DDD6C1FE1E; Sun, 6 Jun 2004 19:15:15 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id DC34E1A99D; Sun, 6 Jun 2004 19:15:15 -0500 (CDT) Date: Sun, 6 Jun 2004 19:15:15 -0500 (CDT) From: Chris Dillon To: Dan Nelson In-Reply-To: <20040606222355.GG42830@dan.emsphone.com> Message-ID: <20040606190833.O64413@duey.wolves.k12.mo.us> References: <40C388AA.6070509@poptart.org> <20040606222355.GG42830@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us cc: freebsd-emulation@freebsd.org cc: Jake Scott Subject: Re: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 00:15:28 -0000 On Sun, 6 Jun 2004, Dan Nelson wrote: > In the last episode (Jun 06), Jake Scott said: >> I'm trying to get the Linux version of Veritas NetBackup 5.0 >> working on FreeBSD. It mainly works, but after performing one >> backup, then fails to perform any others. > > Why not just use the native FreeBSD NetBackup client? He's trying to run the master server and likely also the media server on FreeBSD, not just the client. He could (and should) run the native FreeBSD client even though he would be running the servers under Linux emulation on the same machine. I'd be interested in knowing how this turns out, as I'm currently running the master and media servers under Windows 2000 to back up various Windows and FreeBSD servers. -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures - PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 7 08:34:01 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 90A5516A4CE for ; Mon, 7 Jun 2004 08:34:01 +0000 (GMT) Received: from plum.flirble.org (plum.flirble.org [195.40.6.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3305243D45 for ; Mon, 7 Jun 2004 08:34:01 +0000 (GMT) (envelope-from jake@poptart.org) Received: from nbumaster ([82.152.7.145] helo=poptart.org) by plum.flirble.org with asmtp (Exim 3.20 #3) id 1BXFZk-000BGl-00; Mon, 07 Jun 2004 09:33:48 +0100 Received: from fruity ([82.152.7.145] helo=[127.0.0.1]) by poptart.org with esmtp (Exim 4.14) id 1BXFZh-0001Hq-B2; Mon, 07 Jun 2004 09:33:45 +0100 Message-ID: <40C42866.6070506@poptart.org> Date: Mon, 07 Jun 2004 09:33:42 +0100 From: Jake Scott User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Dillon References: <40C388AA.6070509@poptart.org> <20040606222355.GG42830@dan.emsphone.com> <20040606190833.O64413@duey.wolves.k12.mo.us> In-Reply-To: <20040606190833.O64413@duey.wolves.k12.mo.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-emulation@freebsd.org cc: Dan Nelson cc: Jake Scott Subject: Re: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 08:34:01 -0000 That's right - it's the Master/Media functionality I'm trying to get working under emulation. I've tried under FreeBSD 4.10, and that doesn't get close to working. FreeBSD 5's emulation is much better. I don't actually want to back up the FreeBSD machine itself- so I don't really care which client is on there. I have the feeling it would not be possible to have the Linux Masted/Media and the FreeBSD client co-existing on the same machine anyway, as the components share binaries and libraries that have to be at the same location on the file system. I suppose one way round this would be to use VmWare for Linux on the FreeBSD host, and run NetBackup under this in a "real" Linux environment, but that seems very messy. Regards Jake Chris Dillon wrote: > On Sun, 6 Jun 2004, Dan Nelson wrote: > >> In the last episode (Jun 06), Jake Scott said: >> >>> I'm trying to get the Linux version of Veritas NetBackup 5.0 working >>> on FreeBSD. It mainly works, but after performing one backup, then >>> fails to perform any others. >> >> >> Why not just use the native FreeBSD NetBackup client? > > > He's trying to run the master server and likely also the media server > on FreeBSD, not just the client. He could (and should) run the native > FreeBSD client even though he would be running the servers under Linux > emulation on the same machine. I'd be interested in knowing how this > turns out, as I'm currently running the master and media servers under > Windows 2000 to back up various Windows and FreeBSD servers. > From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 7 11:01:53 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 D5DF616A4D8 for ; Mon, 7 Jun 2004 11:01:53 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C941743D2F for ; Mon, 7 Jun 2004 11:01:53 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i57B1rCa043334 for ; Mon, 7 Jun 2004 11:01:53 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i57B1rFr043328 for emulation@freebsd.org; Mon, 7 Jun 2004 11:01:53 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 7 Jun 2004 11:01:53 GMT Message-Id: <200406071101.i57B1rFr043328@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 11:01:54 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2000/12/15] misc/23561 emulation Linux compatibility mode does not support o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i 4 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/20] misc/19391 emulation Evilness with Linux Terminus, causes X to o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator o [2002/11/27] kern/45785 emulation Linux WineX seems to require a few new li 4 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 7 15:55:34 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 3825F16A4CE for ; Mon, 7 Jun 2004 15:55:34 +0000 (GMT) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C672A43D55 for ; Mon, 7 Jun 2004 15:55:33 +0000 (GMT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 5D9F31FF93; Mon, 7 Jun 2004 10:55:25 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76504-01-10; Mon, 7 Jun 2004 10:55:23 -0500 (CDT) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id 9EB9A1FF8B; Mon, 7 Jun 2004 10:55:23 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 9CE151A993; Mon, 7 Jun 2004 10:55:23 -0500 (CDT) Date: Mon, 7 Jun 2004 10:55:23 -0500 (CDT) From: Chris Dillon To: Jake Scott In-Reply-To: <40C42866.6070506@poptart.org> Message-ID: <20040607103559.M66057@duey.wolves.k12.mo.us> References: <40C388AA.6070509@poptart.org> <20040606222355.GG42830@dan.emsphone.com> <40C42866.6070506@poptart.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us cc: freebsd-emulation@freebsd.org cc: Dan Nelson Subject: Re: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 15:55:34 -0000 On Mon, 7 Jun 2004, Jake Scott wrote: > That's right - it's the Master/Media functionality I'm trying to get > working under emulation. I've tried under FreeBSD 4.10, and that > doesn't get close to working. FreeBSD 5's emulation is much better. > > I don't actually want to back up the FreeBSD machine itself- so I > don't really care which client is on there. I have the feeling it > would not be possible to have the Linux Masted/Media and the FreeBSD > client co-existing on the same machine anyway, as the components > share binaries and libraries that have to be at the same location on > the file system. You're probably right. If you wanted to, you could move the Linux netbackup installation to /compat/linux/usr/openv/netbackup and put the FreeBSD client in its proper location. The client is (probably) necessary to do the catalog backups on the master server. In this situation, the Linux master server would see the Linux client for the catalog backups, but if you had to run the client for some other reason, you'd get the native FreeBSD client. > I suppose one way round this would be to use VmWare for Linux on the > FreeBSD host, and run NetBackup under this in a "real" Linux > environment, but that seems very messy. Yes, but FreeBSD's Linux compatability should be able to handle this, though it might need a little bit of help. -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures - PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 7 16:11:34 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 C655C16A4CE for ; Mon, 7 Jun 2004 16:11:34 +0000 (GMT) Received: from plum.flirble.org (plum.flirble.org [195.40.6.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91E2243D1F for ; Mon, 7 Jun 2004 16:11:34 +0000 (GMT) (envelope-from jake@poptart.org) Received: from nbumaster ([82.152.7.145] helo=poptart.org) by plum.flirble.org with asmtp (Exim 3.20 #3) id 1BXMij-0005ia-00; Mon, 07 Jun 2004 17:11:33 +0100 Received: from fruity ([82.152.7.145] helo=[127.0.0.1]) by poptart.org with esmtp (Exim 4.14) id 1BXMii-0001ch-Ry; Mon, 07 Jun 2004 17:11:32 +0100 Message-ID: <40C493B1.4040401@poptart.org> Date: Mon, 07 Jun 2004 17:11:29 +0100 From: Jake Scott User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Dillon References: <40C388AA.6070509@poptart.org> <20040606222355.GG42830@dan.emsphone.com> <20040606190833.O64413@duey.wolves.k12.mo.us> <40C42866.6070506@poptart.org> <20040607103559.M66057@duey.wolves.k12.mo.us> In-Reply-To: <20040607103559.M66057@duey.wolves.k12.mo.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-emulation@freebsd.org cc: Dan Nelson cc: Jake Scott Subject: Re: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 16:11:34 -0000 I'm sure the matter of the correct client layout can be sorted out. Maybe replacing bpbkar with the FreeBSD version? Anyhow - that's not the important bit for now. It's what this IOCTL that the bpsched process is doing is for - and why bpsched can't free it's message queue. I'd like to help out fixing this, but I'm fairly new to the ABI stuff so I'm not sure where to start. If I install a "propper" version of Linux and trace the system calls, would this help? Thanks Jake Chris Dillon wrote: > On Mon, 7 Jun 2004, Jake Scott wrote: > >> That's right - it's the Master/Media functionality I'm trying to get >> working under emulation. I've tried under FreeBSD 4.10, and that >> doesn't get close to working. FreeBSD 5's emulation is much better. >> >> I don't actually want to back up the FreeBSD machine itself- so I >> don't really care which client is on there. I have the feeling it >> would not be possible to have the Linux Masted/Media and the FreeBSD >> client co-existing on the same machine anyway, as the components >> share binaries and libraries that have to be at the same location on >> the file system. > > > You're probably right. If you wanted to, you could move the Linux > netbackup installation to /compat/linux/usr/openv/netbackup and put > the FreeBSD client in its proper location. The client is (probably) > necessary to do the catalog backups on the master server. In this > situation, the Linux master server would see the Linux client for the > catalog backups, but if you had to run the client for some other > reason, you'd get the native FreeBSD client. > >> I suppose one way round this would be to use VmWare for Linux on the >> FreeBSD host, and run NetBackup under this in a "real" Linux >> environment, but that seems very messy. > > > Yes, but FreeBSD's Linux compatability should be able to handle this, > though it might need a little bit of help. > > From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 7 19:18:17 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 07D7216A4CE for ; Mon, 7 Jun 2004 19:18:17 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9703A43D5A for ; Mon, 7 Jun 2004 19:18:16 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i57JIBoD083612; Mon, 7 Jun 2004 14:18:11 -0500 (CDT) (envelope-from dan) Date: Mon, 7 Jun 2004 14:18:11 -0500 From: Dan Nelson To: Jake Scott Message-ID: <20040607191811.GA22645@dan.emsphone.com> References: <40C388AA.6070509@poptart.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40C388AA.6070509@poptart.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-emulation@freebsd.org Subject: Re: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 19:18:17 -0000 In the last episode (Jun 06), Jake Scott said: > I'm trying to get the Linux version of Veritas NetBackup 5.0 working > on FreeBSD. It mainly works, but after performing one backup, then > fails to perform any others. > > I've narrowed this down to a problem with "bpsched" interaction with > the OS. When it starts up, it creates seveal message queues which it > normally removes when it exits. Under the Linux emulation in > FreeBSD, these message queues are not removed. So - when it starts > up again, it is unable to re-create them. [going back to the top of the thread, so we can get this output:] > There are a *lot* of these messasges in the system log: > > linux: pid 2763 (bpsched): ioctl fd=5, cmd=0x8954 ('\M^I',84) is not implemented This looks like it: #define SIOCGARP 0x8954 /* get ARP table entry */ , which is not currently handled in linux_ioctl.c. No idea why NetBackup thinks it needs to get at the arp table. > When starting up after the first time, the NetBackup bpsched log says: > > <32> main_bpsched: error creating req message queue: 17 17 is EEXIST. It could be differences between Linux and FreeBSD's implementation of the msgget() function. One thing to do would be to see if the queues hang around after a backup on a Linux box. On all of my idle media servers, there is just a single queue: q 2816 0x4c544952 -Rrw-rw-rw- root other root other 0 0 65536 3112 3079 13:55:40 13:55:40 9:27:02 0x4c544952 == 1280592210, so I think that first queue belongs there. The other two probably should have disappeared. It could be a problem with removal of the queues after a backup finishes, but the docs for both FreeBSD and Linux say that msgctl(id, IPC_RMID) removes the queue even if there are processes waiting on it. ktracing a process and watching for the return value of any msgctl calls would be useful. > <16> bpsched: scheduler exiting - error creating or getting message queue (209) > > The output of "ipcs -a" shows the following in the Message Queues section: > > q 65538 1280592210 --rw-rw-rw- root wheel root wheel 0 0 65536 0 0 no-entry no-entry 22:01:47 > q 65539 1093288528 --rw------- root wheel root wheel 296 1 65536 2853 2754 22:04:56 22:03:26 22:03:16 > q 65540 1331056194 --rw------- root wheel root wheel 0 0 65536 2763 2756 22:03:26 22:03:26 22:03:16 > > If I remove these, then I can do another backup. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 9 01:19:28 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 435E216A4CE for ; Wed, 9 Jun 2004 01:19:28 +0000 (GMT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2602E43D48 for ; Wed, 9 Jun 2004 01:19:28 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.197.67] helo=jerusalem.litteratus.org.litteratus.org) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BXrkP-0004WO-00 for emulation@freebsd.org; Tue, 08 Jun 2004 21:19:22 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16582.26002.427722.236615@jerusalem.litteratus.org> Date: Tue, 8 Jun 2004 21:19:14 -0400 To: emulation@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta16) "celeriac" XEmacs Lucid Subject: problems with linux and java X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 01:19:28 -0000 I am working with linux-sun-jdk14 under -Current, trying to bootstrap to the native jdk. However, running java from linux-sun-jdk14 produces: huff@jerusalem> javavm # # 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.2_04-b05 mixed mode) # # Error ID: 4F533F4C494E55583F491418160E435050030B # Heap at VM Abort: Heap ... and the process hangs, consuming CPU until killed. I have been told (possibly by Greg Lewis, though I cannot find the e-mail) this is a linux emulation issue. I have PROCFS and PSEUDOFS in the kernel, linux.ko and linprocfs.ko loaded, and linprocfs mounted. Linux_base is 7.1_7. Robert Huff From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 9 03:25:34 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 1548816A4CE for ; Wed, 9 Jun 2004 03:25:34 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A8343D64 for ; Wed, 9 Jun 2004 03:25:33 +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 i593POGR058288; Tue, 8 Jun 2004 23:25:24 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i593PNFE058287; Tue, 8 Jun 2004 23:25:23 -0400 (EDT) (envelope-from bv) Date: Tue, 8 Jun 2004 23:25:23 -0400 From: Bill Vermillion To: Robert Huff Message-ID: <20040609032523.GB58166@wjv.com> References: <16582.26002.427722.236615@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16582.26002.427722.236615@jerusalem.litteratus.org> 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 cc: emulation@freebsd.org Subject: Re: problems with linux and java 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: Wed, 09 Jun 2004 03:25:34 -0000 It's Tue, Jun 08, 2004 at 21:19 . I'm in a small dim room with doors labeled "Dungeon" and "Forbidden". There is noise, the door marked Dungeon flies open and Robert Huff SHOUTS: > > I am working with linux-sun-jdk14 under -Current, trying to > bootstrap to the native jdk. However, running java from > linux-sun-jdk14 produces: > > huff@jerusalem> javavm > # > # 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.2_04-b05 mixed mode) > # > # Error ID: 4F533F4C494E55583F491418160E435050030B > # > > Heap at VM Abort: > Heap > > ... and the process hangs, consuming CPU until killed. > I have been told (possibly by Greg Lewis, though I cannot find > the e-mail) this is a linux emulation issue. > I have PROCFS and PSEUDOFS in the kernel, linux.ko and > linprocfs.ko loaded, and linprocfs mounted. Linux_base is 7.1_7. > I am having similar problems on 4.10. When I posted to the Java list they suggested I post to emulation. When I had the problem the first time I totally cleaned /usr/src and/usr/obj and rebuilt. I get 'bad system call' This is what I'm running now. FreeBSD bilver.wjv.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jun 4 08:59:30 EDT 2004 root@bilver.wjv.com:/usr/obj/usr/src/sys/BILVER i386 Here is what I get. I had run make before and it errorer out, so I just ran script and ran it again to capture the error at the end. I also have a complete 8000 line output, but that part is not the problem, but anyone is welcome to look at it. Script started on Fri Jun 4 18:47:53 2004 root@bilver.wjv.com# make ===> jdk-1.4.2p6_4 depends on executable: gm4 - found ===> jdk-1.4.2p6_4 depends on executable: zip - found ===> jdk-1.4.2p6_4 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.4.2p6_4 depends on file: /usr/local/include/nspr/prtypes.h - found ===> jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found ===> Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14 ====================================================================== 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 Bad system call (core dumped) *** Error code 140 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. root@bilver.wjv.com# exit Script done on Fri Jun 4 18:48:03 2004 I'm rebuiling one of my machines back to a 4.9-RELEASE to see if it occurs there. That will be slow as it is an old PPro 180Mhz, and this is a 2.4GHz P4. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 9 16:56:27 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 E6C4516A4DF for ; Wed, 9 Jun 2004 16:56:27 +0000 (GMT) Received: from mail807.megamailservers.com (mail807.carrierinternetsolutions.com [69.49.106.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86A3143D39 for ; Wed, 9 Jun 2004 16:56:27 +0000 (GMT) (envelope-from strick@covad.net) X-POP-User: strick.covad.net Received: from mist.nodomain (h-67-101-100-175.snfccasy.dynamic.covad.net [67.101.100.175])i59GuLGo031260; Wed, 9 Jun 2004 12:56:21 -0400 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.12.11/8.12.11) with ESMTP id i59GuKBU000557; Wed, 9 Jun 2004 09:56:20 -0700 (PDT) (envelope-from dan@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.12.11/8.12.11/Submit) id i59GuKn8000556; Wed, 9 Jun 2004 09:56:20 -0700 (PDT) (envelope-from dan) Date: Wed, 9 Jun 2004 09:56:20 -0700 (PDT) From: Dan Strick Message-Id: <200406091656.i59GuKn8000556@mist.nodomain> To: roberthuff@rcn.com cc: emulation@freebsd.org Subject: Re: problems with linux and java X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 16:56:28 -0000 On Tue, 8 Jun 2004 21:19:14 -0400, Robert Huff wrote: >> > I am working with linux-sun-jdk14 under -Current, trying to > bootstrap to the native jdk. However, running java from > linux-sun-jdk14 produces: > > huff@jerusalem> javavm > # > # 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.2_04-b05 mixed mode) > # > # Error ID: 4F533F4C494E55583F491418160E435050030B > # > > Heap at VM Abort: > Heap > > ... and the process hangs, consuming CPU until killed. > I have been told (possibly by Greg Lewis, though I cannot find > the e-mail) this is a linux emulation issue. > I have PROCFS and PSEUDOFS in the kernel, linux.ko and > linprocfs.ko loaded, and linprocfs mounted. Linux_base is 7.1_7. >> Ugh ... Linux emulator support for Java has been broken for several years. I think it got sick somewhere between FreeBSD release 4.3 and 4.6.2. I used to think that I must have installed the Java runtime incorrectly but gradually became convinced the problem was in the Linux emulator. I posted a question about the problem to a couple of FreeBSD mailing lists and got no response. I asked a dozen or so other FreeBSD users if they had noticed this problem and not one of them would admit that they used the JRE on FreeBSD (or the Linux Netscape which may be the biggest JRE application) or that they cared one way or another. I suspect that the FreeBSD Linux emulator has gotten a couple of years out of date. I think this is important but I can't complain since I am in no position to maintain it myself. Dan Strick From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 9 18:27:11 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 85AEF16A4D3 for ; Wed, 9 Jun 2004 18:27:11 +0000 (GMT) Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF4B543D53 for ; Wed, 9 Jun 2004 18:27:10 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i59I9j6q011728; Wed, 9 Jun 2004 12:09:45 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.12.9p2/8.12.9) with ESMTP id i59I9inU017785; Wed, 9 Jun 2004 12:09:44 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.12.9p2/8.12.9/Submit) id i59I9iwZ017782; Wed, 9 Jun 2004 12:09:44 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16583.21096.370873.946340@gromit.timing.com> Date: Wed, 9 Jun 2004 12:09:44 -0600 From: John E Hein To: Dan Strick In-Reply-To: <200406091656.i59GuKn8000556@mist.nodomain> References: <200406091656.i59GuKn8000556@mist.nodomain> X-Mailer: VM 7.17 under Emacs 21.1.1 X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j cc: emulation@freebsd.org cc: roberthuff@rcn.com Subject: Re: problems with linux and java X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 18:27:11 -0000 Dan Strick wrote at 09:56 -0700 on Jun 9, 2004: > On Tue, 8 Jun 2004 21:19:14 -0400, Robert Huff wrote: > >> > > I am working with linux-sun-jdk14 under -Current, trying to > > bootstrap to the native jdk. However, running java from > > linux-sun-jdk14 produces: > > > > huff@jerusalem> javavm > > # > > # 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.2_04-b05 mixed mode) > > # > > # Error ID: 4F533F4C494E55583F491418160E435050030B > > # > > > > Heap at VM Abort: > > Heap > > > > ... and the process hangs, consuming CPU until killed. > > I have been told (possibly by Greg Lewis, though I cannot find > > the e-mail) this is a linux emulation issue. > > I have PROCFS and PSEUDOFS in the kernel, linux.ko and > > linprocfs.ko loaded, and linprocfs mounted. Linux_base is 7.1_7. > >> > > Ugh ... Linux emulator support for Java has been broken for several years. > I think it got sick somewhere between FreeBSD release 4.3 and 4.6.2. > I used to think that I must have installed the Java runtime incorrectly > but gradually became convinced the problem was in the Linux emulator. > I posted a question about the problem to a couple of FreeBSD mailing > lists and got no response. I asked a dozen or so other FreeBSD users > if they had noticed this problem and not one of them would admit that > they used the JRE on FreeBSD (or the Linux Netscape which may be the > biggest JRE application) or that they cared one way or another. > > I suspect that the FreeBSD Linux emulator has gotten a couple of > years out of date. I think this is important but I can't complain > since I am in no position to maintain it myself. FWIW, I built the FreeBSD native jdk14, jdk-1.4.2p6_4, port after building the linux jdk14 port, linux-sun-jdk-1.4.2.04, (to bootstrap the FreeBSD native jdk14 port) fine a couple months ago (end of April time frame). It was on a 4.8p18 system at the time, but I think I also succeeded with a 4.9 system, too. I believe I used linux-base-7.17 Had to make sure (per instructions spewed as part of the port build) that linprocfs was mounted or the build of the native jdk would die having this kind of issue when running the linux version of java... Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location But the OP didn't even get past running the linux version of java work. I was able to do this (using the aforementioned version of linux-base). I'd be surprised if some change in 4.10 broke it, but I can't rule it out since I haven't actually tried it. As far as -current goes, I'd be less surprised, but I don't know at all. From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 01:13:38 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 257D616A4F7 for ; Thu, 10 Jun 2004 01:13:38 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76F7A43D1D for ; Thu, 10 Jun 2004 01:13:37 +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 i5A1DYHV076026 for ; Wed, 9 Jun 2004 21:13:34 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5A1DXdn076025 for freebsd-emulation@freebsd.org; Wed, 9 Jun 2004 21:13:33 -0400 (EDT) (envelope-from bv) Date: Wed, 9 Jun 2004 21:13:33 -0400 From: Bill Vermillion To: freebsd-emulation@freebsd.org Message-ID: <20040610011333.GA75565@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: Further info on jdk14 problem 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: Thu, 10 Jun 2004 01:13:38 -0000 Looking at the docs I see that a valid javac needs to be installed. The linux-sun was giving 'bad system call' on my 4.10. So I decided to try to put in another javac to see if there would be a difference. I installed the linux-ibm-jdk1.4.1, and set the appropriate variables, and in the end I get the same 'bad system call' Snipped from the build: ------------------------------ Bootstrap Settings: JAVAWS_BOOTDIR = /usr/local/linux-ibm-jdk1.4.1 BOOTSTRAP J2SDK VERSION: Bad system call (core dumped) OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 ------------------------------ So does that indicate it is indeed an emulation problem, as it now occurs in both the sun-linux jdk and the ibm-linux. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 15:37:06 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 F079516A4CE for ; Thu, 10 Jun 2004 15:37:06 +0000 (GMT) Received: from Daffy.timing.com (ns1int.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC12743D45 for ; Thu, 10 Jun 2004 15:37:06 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i5AFal6q028096; Thu, 10 Jun 2004 09:36:47 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.12.9p2/8.12.9) with ESMTP id i5AFalnU024445; Thu, 10 Jun 2004 09:36:47 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.12.9p2/8.12.9/Submit) id i5AFakRn024442; Thu, 10 Jun 2004 09:36:46 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16584.32782.434690.477238@gromit.timing.com> Date: Thu, 10 Jun 2004 09:36:46 -0600 From: John E Hein To: bv@wjv.com In-Reply-To: <20040610011333.GA75565@wjv.com> References: <20040610011333.GA75565@wjv.com> X-Mailer: VM 7.17 under Emacs 21.1.1 X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j cc: freebsd-emulation@freebsd.org Subject: Further info on jdk14 problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 15:37:07 -0000 Bill Vermillion wrote at 21:13 -0400 on Jun 9, 2004: > Looking at the docs I see that a valid javac needs to be installed. > The linux-sun was giving 'bad system call' on my 4.10. > > So I decided to try to put in another javac to see if there would > be a difference. > > I installed the linux-ibm-jdk1.4.1, and set the appropriate > variables, and in the end I get the same 'bad system call' > > Snipped from the build: > ------------------------------ > Bootstrap Settings: > JAVAWS_BOOTDIR = /usr/local/linux-ibm-jdk1.4.1 > BOOTSTRAP J2SDK VERSION: Bad system call (core dumped) > OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 > ------------------------------ > > So does that indicate it is indeed an emulation problem, as it now > occurs in both the sun-linux jdk and the ibm-linux. I sent a message about it working for me yesterday on 4.8. I just checked 4.10 and it also works for me (also with linux_base-7.1_7). Add a -dl to the make of your linux-sun-jdk port and see the last thing it's doing before it dies. If it's a linux app that's being run, try using ktrace and the linux_kdump port to see where it's dying. Which linux_base do you have installed? From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 15:49:40 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 B5C8C16A4CE for ; Thu, 10 Jun 2004 15:49:40 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E633C43D48 for ; Thu, 10 Jun 2004 15:49:37 +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 i5AFmxIP087756; Thu, 10 Jun 2004 11:48:59 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5AFmwTh087755; Thu, 10 Jun 2004 11:48:58 -0400 (EDT) (envelope-from bv) Date: Thu, 10 Jun 2004 11:48:58 -0400 From: Bill Vermillion To: John E Hein Message-ID: <20040610154858.GA87267@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16584.32782.434690.477238@gromit.timing.com> 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 cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem 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: Thu, 10 Jun 2004 15:49:40 -0000 It's Thu, Jun 10, 2004 at 09:36 . I'm in a small dim room with doors labeled "Dungeon" and "Forbidden". There is noise, the door marked Dungeon flies open and John E Hein SHOUTS: > Bill Vermillion wrote at 21:13 -0400 on Jun 9, 2004: > > Looking at the docs I see that a valid javac needs to be installed. > > The linux-sun was giving 'bad system call' on my 4.10. > > > > So I decided to try to put in another javac to see if there would > > be a difference. > > > I installed the linux-ibm-jdk1.4.1, and set the appropriate > > variables, and in the end I get the same 'bad system call' > > Snipped from the build: > > ------------------------------ > > Bootstrap Settings: > > JAVAWS_BOOTDIR = /usr/local/linux-ibm-jdk1.4.1 > > BOOTSTRAP J2SDK VERSION: Bad system call (core dumped) > > OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 > > ------------------------------ > > So does that indicate it is indeed an emulation problem, as it now > > occurs in both the sun-linux jdk and the ibm-linux. > I sent a message about it working for me yesterday on 4.8. I just > checked 4.10 and it also works for me (also with linux_base-7.1_7). Did you have a working javac before you built it on the 4.10. My rear of the docs is that the linux-sun-jdk is used only if you don't have a working port. > Add a -dl to the make of your linux-sun-jdk port and see the last > thing it's doing before it dies. If it's a linux app that's being > run, try using ktrace and the linux_kdump port to see where it's > dying. > Which linux_base do you have installed? A grep on linux of pkg_info yields this: linux-ibm-jdk-1.4.1_2 IBM Java Development Kit 1.4.1 for Linux linux_base-7.1_5 The base set of packages needed in Linux mode linuxdoc-1.1_1 The Linuxdoc SGML DTD sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc The linux-ibm-jdk was installed when I tried to see if there was a problem with the sun-linux . I just ran with the -dl and get this. [Just the last few very long lines] ===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found true if [ -f /usr/ports/java/linux-sun-jdk14/scripts/pre-extract ]; then cd /usr/ports/java/linux-sun-jdk14 && /usr/bin/env PORTOBJFORMAT=elf BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" CURDIR=/usr/ports/java/linux-sun-jdk14 DISTDIR=/usr/ports/distfiles WRKDIR=/usr/ports/java/linux-sun-jdk14/work WRKSRC=/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_04 PATCHDIR=/usr/ports/java/linux-sun-jdk14/files SCRIPTDIR=/usr/ports/java/linux-sun-jdk14/scripts FILESDIR=/usr/ports/java/linux-sun-jdk14/files PORTSDIR=/usr/ports DEPENDS="" PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh /usr/ports/java/linux-sun-jdk14/scripts/pre-extract; fi /bin/mkdir -p /usr/ports/java/linux-sun-jdk14/work cd /usr/ports/java/linux-sun-jdk14/work && /usr/bin/tail -n 136192 /usr/ports/distfiles/j2sdk-1_4_2_04-linux-i586.bin > /usr/ports/java/linux-sun-jdk14/work/install.sfx && /bin/chmod +x /usr/ports/java/linux-sun-jdk14/work/install.sfx && /usr/ports/java/linux-sun-jdk14/work/install.sfx > /dev/null Bad system call (core dumped) *** Error code 140 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. root@bilver.wjv.com# exit Script done on Thu Jun 10 11:46:15 2004 Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 16:05:39 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 CDF4016A4CE for ; Thu, 10 Jun 2004 16:05:39 +0000 (GMT) Received: from Daffy.timing.com (ns2.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F27943D41 for ; Thu, 10 Jun 2004 16:05:39 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i5AG5D6q031076; Thu, 10 Jun 2004 10:05:13 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.12.9p2/8.12.9) with ESMTP id i5AG5CnU024642; Thu, 10 Jun 2004 10:05:12 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.12.9p2/8.12.9/Submit) id i5AG5CsH024639; Thu, 10 Jun 2004 10:05:12 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16584.34488.476072.477118@gromit.timing.com> Date: Thu, 10 Jun 2004 10:05:12 -0600 From: John E Hein To: bv@wjv.com In-Reply-To: <20040610154858.GA87267@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> <20040610154858.GA87267@wjv.com> X-Mailer: VM 7.17 under Emacs 21.1.1 X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 16:05:39 -0000 Bill Vermillion wrote at 11:48 -0400 on Jun 10, 2004: > Did you have a working javac before you built it on the 4.10. My > rear of the docs is that the linux-sun-jdk is used only if you > don't have a working port. No, there was no javac or anything java-esque on the system to begin with. As I said yesterday, I built the linux-sun-jdk in order to bootstrap the build for the native jdk. > A grep on linux of pkg_info yields this: > > linux-ibm-jdk-1.4.1_2 IBM Java Development Kit 1.4.1 for Linux > linux_base-7.1_5 The base set of packages needed in Linux mode > linuxdoc-1.1_1 The Linuxdoc SGML DTD > sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc > The linux-ibm-jdk was installed when I tried to see if there > was a problem with the sun-linux . According to CVS, it looks like glibc changed between linux_base-7.1_5 & 7.1_7. As did XFree86-libs. And a few other minor issues. > I just ran with the -dl and get this. [Just the last few very long > lines] > > ===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found > true > if [ -f /usr/ports/java/linux-sun-jdk14/scripts/pre-extract ]; then cd /usr/ports/java/linux-sun-jdk14 && /usr/bin/env PORTOBJFORMAT=elf BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" CURDIR=/usr/ports/java/linux-sun-jdk14 DISTDIR=/usr/ports/distfiles WRKDIR=/usr/ports/java/linux-sun-jdk14/work WRKSRC=/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_04 PATCHDIR=/usr/ports/java/linux-sun-jdk14/files SCRIPTDIR=/usr/ports/java/linux-sun-jdk14/scripts FILESDIR=/usr/ports/java/linux-sun-jdk14/files PORTSDIR=/usr/ports DEPENDS="" PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh /usr/ports/java/linux-sun-jdk14/scripts/pre-extract; fi > /bin/mkdir -p /usr/ports/java/linux-sun-jdk14/work > cd /usr/ports/java/linux-sun-jdk14/work && /usr/bin/tail -n 136192 /usr/ports/distfiles/j2sdk-1_4_2_04-linux-i586.bin > /usr/ports/java/linux-sun-jdk14/work/install.sfx && /bin/chmod +x /usr/ports/java/linux-sun-jdk14/work/install.sfx && /usr/ports/java/linux-sun-jdk14/work/install.sfx > /dev/null > Bad system call (core dumped) So did you ktrace that last bit (probably the install.sfx is a linux app... use file to tell)? From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 16:31:50 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 6CEA116A4CE for ; Thu, 10 Jun 2004 16:31:50 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C318143D55 for ; Thu, 10 Jun 2004 16:31:49 +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 i5AGVfSd012463; Thu, 10 Jun 2004 12:31:41 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5AGVau6012460; Thu, 10 Jun 2004 12:31:36 -0400 (EDT) (envelope-from bv) Date: Thu, 10 Jun 2004 12:31:30 -0400 From: Bill Vermillion To: John E Hein Message-ID: <20040610163130.GA87958@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> <20040610154858.GA87267@wjv.com> <16584.34488.476072.477118@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16584.34488.476072.477118@gromit.timing.com> 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 cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem 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: Thu, 10 Jun 2004 16:31:50 -0000 On Thu, Jun 10, 2004 at 10:05 , the murky waters churned and seethed, the dark weeds parted and the water took on the sinister, shifting visage we recognize as John E Hein. The great maw opened, and the following was heard: > Bill Vermillion wrote at 11:48 -0400 on Jun 10, 2004: > > Did you have a working javac before you built it on the 4.10. My > > rear of the docs is that the linux-sun-jdk is used only if you > > don't have a working port. > No, there was no javac or anything java-esque on the system to begin > with. As I said yesterday, I built the linux-sun-jdk in order to > bootstrap the build for the native jdk. I now went to the linux-sun-jdk tree did a make clean and was going to build the port and I noticed something that struck me as strange > > A grep on linux of pkg_info yields this: > > > > linux-ibm-jdk-1.4.1_2 IBM Java Development Kit 1.4.1 for Linux > > linux_base-7.1_5 The base set of packages needed in Linux mode > > linuxdoc-1.1_1 The Linuxdoc SGML DTD > > sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc > > The linux-ibm-jdk was installed when I tried to see if there > > was a problem with the sun-linux . The above shows that linux_base-7.1_5 is installed. BUT a make-clean shows that it was cleaning for linux_base_7.1_7. So just now tried a portupgrade and to get to the 7.1_7 version. It went along for awhile, started installing and then I see I get a failure with an excution failed on the script glib-2.2.4-33. > According to CVS, it looks like glibc changed between linux_base-7.1_5 > & 7.1_7. As did XFree86-libs. And a few other minor issues. That confirms that. I have vision problems so I normally don't run Xfree but live almost exclusively in a 80x24 test workd. > > I just ran with the -dl and get this. [Just the last few very long > > lines] > > > > ===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found > > true > > if [ -f /usr/ports/java/linux-sun-jdk14/scripts/pre-extract ]; then cd /usr/ports/java/linux-sun-jdk14 && /usr/bin/env PORTOBJFORMAT=elf BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" CURDIR=/usr/ports/java/linux-sun-jdk14 DISTDIR=/usr/ports/distfiles WRKDIR=/usr/ports/java/linux-sun-jdk14/work WRKSRC=/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_04 PATCHDIR=/usr/ports/java/linux-sun-jdk14/files SCRIPTDIR=/usr/ports/java/linux-sun-jdk14/scripts FILESDIR=/usr/ports/java/linux-sun-jdk14/files PORTSDIR=/usr/ports DEPENDS="" PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh /usr/ports/java/linux-sun-jdk14/scripts/pre-extract; fi > > /bin/mkdir -p /usr/ports/java/linux-sun-jdk14/work > > cd /usr/ports/java/linux-sun-jdk14/work && /usr/bin/tail -n 136192 /usr/ports/distfiles/j2sdk-1_4_2_04-linux-i586.bin > /usr/ports/java/linux-sun-jdk14/work/install.sfx && /bin/chmod +x /usr/ports/java/linux-sun-jdk14/work/install.sfx && /usr/ports/java/linux-sun-jdk14/work/install.sfx > /dev/null > > Bad system call (core dumped) > So did you ktrace that last bit (probably the install.sfx is a linux > app... use file to tell)? I did not use ktrace, and I'm not really a programmer - been more of a syadmin and fixer for a long time. Here is what I found in the work directory of the sun-linux-jdk install.sfx: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped install.sfx.core: ELF 32-bit LSB core file Intel 80386, version 1 (FreeBSD), FreeBSD-style, from 'install.sfx' So - before I continue on I'm going to try to upgrade the glibc. Your hints put me on hopefully the right track. -- Bill Vermillion - bv @ wjv . com From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 16:55:02 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 473A316A4DE for ; Thu, 10 Jun 2004 16:55:02 +0000 (GMT) Received: from Daffy.timing.com (mx1.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 085A343D4C for ; Thu, 10 Jun 2004 16:55:02 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i5AGt16q035929; Thu, 10 Jun 2004 10:55:01 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.12.9p2/8.12.9) with ESMTP id i5AGt1nU025141; Thu, 10 Jun 2004 10:55:01 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.12.9p2/8.12.9/Submit) id i5AGt0Rg025138; Thu, 10 Jun 2004 10:55:00 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16584.37476.784566.563221@gromit.timing.com> Date: Thu, 10 Jun 2004 10:55:00 -0600 From: John E Hein To: bv@wjv.com In-Reply-To: <20040610163130.GA87958@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> <20040610154858.GA87267@wjv.com> <16584.34488.476072.477118@gromit.timing.com> <20040610163130.GA87958@wjv.com> X-Mailer: VM 7.17 under Emacs 21.1.1 X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 16:55:02 -0000 Bill Vermillion wrote at 12:31 -0400 on Jun 10, 2004: > I now went to the linux-sun-jdk tree did a make clean and was going > to build the port and I noticed something that struck me as strange > > The above shows that linux_base-7.1_5 is installed. BUT > a make-clean shows that it was cleaning for linux_base_7.1_7. Nothing to worry about there. That just probably means you installed linux_base back when it was 7.1_5 (before early Feb or so). But you have since updated your ports tree, and now linux_base is 7.1_7. So when linux-sun-jdk goes to do a make clean on the dependencies, it says it's cleaning the work dirs for 7.1-7. You could use portupgrade (as you did) to update your linux_base if you want (or deinstall, then make install again) and you will get the newer version. > So just now tried a portupgrade and to get to the 7.1_7 version. > It went along for awhile, started installing and then > I see I get a failure with an excution failed on > the script glib-2.2.4-33. You didn't say what the failure was, but obviously installing 7.1_7 works okay here. > That confirms that. I have vision problems so I normally don't run > Xfree but live almost exclusively in a 80x24 test workd. You may not use it, but it's possible other ports want X in order to build. > > So did you ktrace that last bit (probably the install.sfx is a linux > > app... use file to tell)? > > I did not use ktrace, and I'm not really a programmer - been more > of a syadmin and fixer for a long time. ktrace is a valuable tool for a sysadmin and it's easy to use. And it's useful when reporting problems on mailing lists ;) > So - before I continue on I'm going to try to upgrade the glibc. > > Your hints put me on hopefully the right track. Good luck. From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 17:27:01 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 5A21B16A4CE for ; Thu, 10 Jun 2004 17:27:01 +0000 (GMT) Received: from comtv.ru (comtv.ru [217.10.32.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EABF43D48 for ; Thu, 10 Jun 2004 17:27:00 +0000 (GMT) (envelope-from pushkin@comtv.ru) Received: from [217.10.45.29] (account pushkin HELO comtv.ru) by comtv.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 30602212 for emulation@freebsd.org; Thu, 10 Jun 2004 21:26:48 +0400 Message-ID: <40C899D6.5050907@comtv.ru> Date: Thu, 10 Jun 2004 21:26:46 +0400 From: Sergey Poziturin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040221 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: emulation@freebsd.org References: <200406091656.i59GuKn8000556@mist.nodomain> In-Reply-To: <200406091656.i59GuKn8000556@mist.nodomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: problems with linux and java X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 17:27:01 -0000 Hello. I've successfully installed linux-sun-jdk-1.4.2.01_3 on 5.1, then built a native jdk-1.4.1p4 using it. And it worked. Since that time the system has become 5.2.1-release-p8 (using cvsup) and the linux-base has become linux_base-8-8.0_4 (using portupgrade). Everything (including both native and linux java ports) works fine without any changes. Best regards. [Team OS/2] Dan Strick wrote: > Ugh ... Linux emulator support for Java has been broken for several years. > I think it got sick somewhere between FreeBSD release 4.3 and 4.6.2. > I used to think that I must have installed the Java runtime incorrectly > but gradually became convinced the problem was in the Linux emulator. From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 18:36:56 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 C430A16A4CE for ; Thu, 10 Jun 2004 18:36:56 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B525343D31 for ; Thu, 10 Jun 2004 18:36:54 +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 i5AIaGD6016711; Thu, 10 Jun 2004 14:36:16 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5AIaF16016710; Thu, 10 Jun 2004 14:36:15 -0400 (EDT) (envelope-from bv) Date: Thu, 10 Jun 2004 14:36:15 -0400 From: Bill Vermillion To: John E Hein Message-ID: <20040610183615.GA14521@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> <20040610154858.GA87267@wjv.com> <16584.34488.476072.477118@gromit.timing.com> <20040610163130.GA87958@wjv.com> <16584.37476.784566.563221@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16584.37476.784566.563221@gromit.timing.com> 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 cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem 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: Thu, 10 Jun 2004 18:36:57 -0000 While John E Hein was trying to figure out why data written to /dev/null on Thu, Jun 10, 2004 at 10:55 was not readable, he gave up and decided to grace us with this: > Bill Vermillion wrote at 12:31 -0400 on Jun 10, 2004: > > I now went to the linux-sun-jdk tree did a make clean and was going > > to build the port and I noticed something that struck me as strange > > > > The above shows that linux_base-7.1_5 is installed. BUT > > a make-clean shows that it was cleaning for linux_base_7.1_7. > Nothing to worry about there. That just probably means you installed > linux_base back when it was 7.1_5 (before early Feb or so). But you > have since updated your ports tree, and now linux_base is 7.1_7. So > when linux-sun-jdk goes to do a make clean on the dependencies, it > says it's cleaning the work dirs for 7.1-7. That explains that. > You could use portupgrade (as you did) to update your linux_base if > you want (or deinstall, then make install again) and you will get the > newer version. Well now I'm in more trouble I think. I attempted to do a portupgrade and it went through all the proccesses of deinstalling the 7.1-5 and proceeded to make the 7.1-7, then it failed with: execution of glibc-2.2.4-33 script failed, exit status 0 **** error code 1. But it deinstalled and instead of what usually happens on a portupgrade it reinstalls the older version, however this did NOT happen and pkg_info now shows NO linux_base. There are no linux_base entries in /var/db/pkg. I figured I'd just check to make sure pkg_info wasn't lying :-) Does this mean I'm regressing ? :-). I'll attempt to install the package for 7.1-7 and see if I can get back to some semblance of order. > > So just now tried a portupgrade and to get to the 7.1_7 version. > > It went along for awhile, started installing and then > > I see I get a failure with an excution failed on > > the script glib-2.2.4-33. > You didn't say what the failure was, but obviously installing 7.1_7 > works okay here. No. That all that I get is the script failed. > > Xfree but live almost exclusively in a 80x24 test workd. > You may not use it, but it's possible other ports want X in order to > build. I don't have anything in make.conf that would preclude that. The only thing I normally don't build is cvsup-without-gui and I typically just put that in as a package to save all the ruby build time. > > > So did you ktrace that last bit (probably the install.sfx > > > is a linux app... use file to tell)? > > I did not use ktrace, and I'm not really a programmer - been more > > of a syadmin and fixer for a long time. > > ktrace is a valuable tool for a sysadmin and it's easy to use. > And it's useful when reporting problems on mailing lists ;) I'll investigate that - after I see how the installing the linux-base package works. Thanks. -- Bill Vermillion - bv @ wjv . com From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 18:52:10 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 838F816A4CE for ; Thu, 10 Jun 2004 18:52:10 +0000 (GMT) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 163E343D2F for ; Thu, 10 Jun 2004 18:52:08 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.12.8p2/8.12.8) with ESMTP id i5AIq76q047468; Thu, 10 Jun 2004 12:52:07 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.12.9p2/8.12.9) with ESMTP id i5AIq7nU025877; Thu, 10 Jun 2004 12:52:07 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.12.9p2/8.12.9/Submit) id i5AIq7RA025874; Thu, 10 Jun 2004 12:52:07 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16584.44503.75265.254038@gromit.timing.com> Date: Thu, 10 Jun 2004 12:52:07 -0600 From: John E Hein To: bv@wjv.com In-Reply-To: <20040610183615.GA14521@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> <20040610154858.GA87267@wjv.com> <16584.34488.476072.477118@gromit.timing.com> <20040610163130.GA87958@wjv.com> <16584.37476.784566.563221@gromit.timing.com> <20040610183615.GA14521@wjv.com> X-Mailer: VM 7.17 under Emacs 21.1.1 X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 18:52:10 -0000 Bill Vermillion wrote at 14:36 -0400 on Jun 10, 2004: > execution of glibc-2.2.4-33 script failed, exit status 0 > **** error code 1. Too vague for me (and an exit status of 0 being considered a failure seems... abnormal). Maybe you can determine which script is being run and where it's failing. This basically means trying to manually do what the port build is doing and figure out where it's breaking. Again, make -dl can be helpful here. How about other port dependencies? Did you do portupgrade -R (or is it -r?) to update linux_base deps (like rpm)? It's probably rpm that's trying to run that script that seems to be failing. This may be digressing to a ports@ rather than emulation@ issue. > > You didn't say what the failure was, but obviously installing 7.1_7 > > works okay here. > > No. That all that I get is the script failed. I meant "here" as in... works on my 4.10 box.