NetBSD Problem Report #1394

From gnats  Mon Aug 21 11:06:07 1995
Received: from forte.mathematik.uni-Bremen.de (thomas@forte.mathematik.uni-bremen.de [134.102.232.1]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id LAA17673 for <gnats-bugs@gnats.netbsd.org>; Mon, 21 Aug 1995 11:05:20 -0400
Message-Id: <199508211507.RAA28350@forte.mathematik.uni-Bremen.de>
Date: Mon, 21 Aug 1995 17:07:58 +0200
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-bugs@gnats.netbsd.org
Subject: trouble with linux compat open (?) call
X-Send-Pr-Version: 3.2

>Number:         1394
>Category:       kern
>Synopsis:       trouble with linux compat open (?) call
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 21 11:20:01 +0000 1995
>Closed-Date:    Tue Aug 22 11:08:53 +0000 1995
>Last-Modified:  Tue Aug 22 11:11:49 +0000 1995
>Originator:     Thomas Eberhardt
>Release:        NetBSD-current 950821
>Organization:
CeVis, University of Bremen, Germany
>Environment:

System: NetBSD ed209 1.0A NetBSD 1.0A (ED209) #4: Mon Aug 21 16:10:21 MET DST 1995     thomas@ed209:/usr/src/sys/arch/i386/compile/ED209 i386

Machine: i386
>Description:
	There seems to be some problem with the linux compat open syscall
	regarding nonexistant files (sorry for this very vague description).
>How-To-Repeat:
	If I run the linux ldd (version 1.7.3) with an nonexistant file
	as an argument, it just hangs and consume endless cpu-time.

	Starting the linux SimCity demo also just hangs shortly after
	startup. I looked into this and found that it tries to open
	two files (/usr/local/tclX/7.3b/tclIndex &
	/usr/local/tkX/3.6b/tclIndex) that are nonexistant on my machine.
	If I create two dummy files with this names the program starts
	up successfully. The SimCity demo used to startup without problems
	with the early versions of the linux compat code.
>Fix:
>Release-Note:
>Audit-Trail:

From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
To: gnats-bugs@NetBSD.ORG, gnats-admin@NetBSD.ORG
Cc:  Subject: Re: kern/1394: trouble with linux compat open (?) call
Date: Mon, 21 Aug 1995 23:32:16 +0200 (MES)

 On Mon, 21 Aug 1995 gnats-bugs@NetBSD.ORG wrote:

 > Thank you very much for your problem report.
 > It has the internal identification `kern/1394'.
 > The individual assigned to look at your
 > bug is: kern-bug-people (Kernel Bug People). 
 > 
 > >Category:       kern
 > >Responsible:    kern-bug-people (Kernel Bug People)
 > >Synopsis:       trouble with linux compat open (?) call
 > >Arrival-Date:   Mon Aug 21 11:20:01 1995
 > 

 [ Is it ok to just reply to this message if one wants to say something
   about his own problem report? ]

 Sorry for this problem report. It turned out (after looking closer to a
 ktrace output) that the problem lies in the fact that the linux C library
 also accesses the message catalog files under /usr/share/nls which caused
 the trouble since the format of the catalog files under NetBSD is
 different. The linux C library runs in circles when using then NetBSD
 catalog files.  When I remove/rename /usr/share/nls everything works
 fine. I'm now digging around to find the linux versions of the catalog
 files to put them under /emul/linux/usr/share/nls.

 /     Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>      \     Moo!  (__)
 |  Centrum fuer Complexe Systeme und Visualisierung (CeVis)   |__/--------(oo)
 | Universitaet Bremen, FB 3, Bibliothekstr. 1, D-28359 Bremen | * |______||\/
 \_o_ Germany, FAX: +49 421 218-4236, Tel: +49 421 218-2885 _o_/   ^^     ^^

State-Changed-From-To: open->closed 
State-Changed-By: fvdl 
State-Changed-When: Tue Aug 22 07:08:53 EDT 1995 
State-Changed-Why:  
State changed to closed; this problem was related to the emulation 
environment, and was not a kernel bug 
>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.