NetBSD Problem Report #8662

Received: (qmail 22025 invoked from network); 21 Oct 1999 18:15:07 -0000
Message-Id: <199910220114.SAA00389@dunno>
Date: Thu, 21 Oct 1999 18:14:19 -0700 (MST)
From: Charlie Root <root@dunno>
Reply-To: root@garbled.net
To: gnats-bugs@gnats.netbsd.org
Subject: COMPAT_AOUT wrecks bsdi compat
X-Send-Pr-Version: 3.95

>Number:         8662
>Category:       port-i386
>Synopsis:       COMPAT_AOUT wrecks bsdi compat
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 21 11:18:01 +0000 1999
>Closed-Date:    Tue Sep 14 17:43:53 +0000 2004
>Last-Modified:  Tue Sep 14 17:43:53 +0000 2004
>Originator:     Tim Rightnour
>Release:        19990906
>Organization:

>Environment:

System: NetBSD dunno 1.4K NetBSD 1.4K (SATELLITE) #0: Thu Oct 21 10:53:29 MST 1999 root@dunno:/usr/src/sys/arch/i386/compile/SATELLITE i386


>Description:
I installed the snapshot, and generic kernel available on the FTP site.
I also installed the navogator3 pkg from pkgsrc.

I then attempted to load a page with java on it, and got an annoying
message about my CLASSPATH being set wrong.  After verifying that I was
not out of my gourd (iit works fine on my 1.3 machine), I ktraced it
and noticed it was looking for the java files in /emul.

Removing COMPAT_AOUT from the kernel makes java in netscape function
perfectly again.

>How-To-Repeat:
Install ELF i386 kernel and userland.
install navigator3 pkg.
Attempt java.
ktrace.
growl.

>Fix:
Not sure.  Compat_aout is a bit invasive if it's overriding BSDI emul calls.
Odd that netscape functioned at all though I guess.

IMHO COMPAT_AOUT should be nuked from orbit.. but thats a different subject.

>Release-Note:
>Audit-Trail:

From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
To: root@garbled.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: port-i386/8662: COMPAT_AOUT wrecks bsdi compat
Date: Tue, 12 Sep 2000 00:47:45 +0200 (MET DST)

 I have just tried to reproduce this:

  * 1.5_ALPHA2 on i386, with COMPAT_AOUT (and COMPAT_NOMID) in the kernel
  * I do not have CLASSPATH set
  * installed pkgsrc/www/navigator3 pkg
  * Run /usr/X11R6/bin/netscape
  * (Notice how much faster is than Netscape 4)
  * Click through all the Applets on
    http://rfhs8012.fh-regensburg.de/~feyrer/NN/ScriptV2/script/tmpiggy/appletverz.html
  * See no output on the xterm that started /usr/X11R6/bin/netscape,
    no crash, no hang. Note that none of the Applets actually does
    anything, I guess that's because they're based one Java 1.2, which
    Netscape V3 doesn't understand. 

 Can you click through the above list and see what happens and/or post some
 URLs that raise the problem?


  - Hubert

 -- 
 Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>


From: Tim Rightnour <root@garbled.net>
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: port-i386/8662: COMPAT_AOUT wrecks bsdi compat
Date: Mon, 11 Sep 2000 21:20:34 -0700 (MST)

 On 11-Sep-00 Hubert Feyrer wrote:
 > Can you click through the above list and see what happens and/or post some
 > URLs that raise the problem?

 Not anymore.. after that incident.. I deleted all remnants of a.out from my
 machine, and took the horrible option out..

 I remember the URL I was probably trying to use though:

 http://w3.one.net/~rzutt/jchat.html

 ---
 Tim Rightnour <root@garbled.net>
 NetBSD: Free multi-architecture OS http://www.netbsd.org/
 NetBSD Mailing lists on the web: http://mail-index.netbsd.org/

From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
To: Tim Rightnour <root@garbled.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: port-i386/8662: COMPAT_AOUT wrecks bsdi compat
Date: Tue, 12 Sep 2000 13:20:22 +0200 (MET DST)

 On Mon, 11 Sep 2000, Tim Rightnour wrote:
 > I remember the URL I was probably trying to use though:
 > http://w3.one.net/~rzutt/jchat.html

 Works for me.

 Maybe I should note that I don't have a /emul/aout (or whatever it is
 called).


  - Hubert

 -- 
 Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>


From: Tim Rightnour <root@garbled.net>
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: port-i386/8662: COMPAT_AOUT wrecks bsdi compat
Date: Tue, 12 Sep 2000 09:51:50 -0700 (MST)

 On 12-Sep-00 Hubert Feyrer wrote:
 > Maybe I should note that I don't have a /emul/aout (or whatever it is
 > called).

 Yeah... I think thats the part that makes it actually go south.

 ---
 Tim Rightnour <root@garbled.net>
 NetBSD: Free multi-architecture OS http://www.netbsd.org/
 NetBSD Mailing lists on the web: http://mail-index.netbsd.org/
State-Changed-From-To: open->feedback 
State-Changed-By: fair 
State-Changed-When: Sun Jan 20 03:13:18 PST 2002 
State-Changed-Why:  
It's been over two years since this PR was filed, and at least one major 
release ago. I can't tell from reading this PR whether it was resolved 
or not. What's the current word? 

From: Tim Rightnour <root@garbled.net>
To: gnats@netbsd.org
Cc: port-i386-maintainer@netbsd.org, fair@netbsd.org
Subject: Re: port-i386/8662
Date: Fri, 08 Mar 2002 08:44:51 -0700 (MST)

 On 20-Jan-02 fair@netbsd.org wrote:
 > It's been over two years since this PR was filed, and at least one major
 > release ago. I can't tell from reading this PR whether it was resolved
 > or not. What's the current word?

 Apparently, COMPAT_AOUT is still a viable kernel option.  No work has been done
 on it in two years, therefore I have no reason to believe that this bug has
 been fixed.

 This bug either needs to be fixed, or COMPAT_AOUT ripped from the kernel and
 spat upon.  Preferrably the latter, as the option itself is hideously dangerous.

 ---
 Tim Rightnour <root@garbled.net>
 NetBSD: Free multi-architecture OS http://www.netbsd.org/
 NetBSD supported hardware database: http://mail-index.netbsd.org/cgi-bin/hw.cgi

State-Changed-From-To: feedback->open 
State-Changed-By: fair 
State-Changed-When: Tue Jul 23 20:34:51 PDT 2002 
State-Changed-Why:  
Feedback was provided - we need to fix this. 
State-Changed-From-To: open->suspended 
State-Changed-By: mycroft 
State-Changed-When: Sat Jul 3 22:02:31 UTC 2004 
State-Changed-Why:  
BSD/OS compatibility hasn't been maintained for years. 
State-Changed-From-To: suspended->closed 
State-Changed-By: jdolecek 
State-Changed-When: Tue Sep 14 17:42:59 UTC 2004 
State-Changed-Why:  
COMPAT_AOUT has been finally ripped from kernel, so this problem is not 
present anymore. Thanks for report. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.