Subject: Re: Linux emulation problems (1.6.2)
To: Mike M. Volokhov <>
From: Marc Tooley <>
List: tech-kern
Date: 06/11/2004 14:27:54
On Monday 17 May 2004 08:02, Mike M. Volokhov wrote:
> Yes, my assumption was about thread library, and you said the same.
> The overnet is not only program which have such troubles on 1.6.2.
> But I don't know how to debug Linux threaded binaries on NetBSD
> 1.6.2.

It was not the thread library, it was the fact that the Overnet 
programmer decided to do the dumb thing and try to create new 
directories using a trailing slash. In the earlier versions of NetBSD 
(and it looks like 1.6.2 as well) NetBSD did/does not allow this 

The fix to get overnet (and others) working was to either have the linux 
emulation layer strip off the trailing slash before passing it to the 
NetBSD kernel, or to make NetBSD natively allow trailing slashes in an 
mkdir call.

A patch to the linux emulation layer is available in kern/22038, right 
near the end, and might work for you.

Else, upgrade to -current and take your chances. :)