Subject: Re: Solaris emulation on NetBSD 1.3.2?
To: None <werther@wservice.com>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 08/21/1998 05:14:27
Werther wrote:
> I've enabled Solaris emulation on my Sparc 2 running NetBSD 1.3.2 as
> per the compat_svr4 man page and things are, to some extent, working
> fine. That is, applications load okay, but as as soon as I run
> something that tries to access the net, I have the following problems:
>
> 1) Hostnames are resolved only if I add them to /etc/hosts. It goes
> without saying that /emul/svr4/etc/nsswitch.conf reads:
> hosts: dns files
> It's worth noticing that hostnames are resolved fine in native mode
> and even by SunOS applications.
Do you have /emul/svr4/etc/netconfig? And all the relevant /dev entries
in /emul/svr4/dev (rawip, tcp, ticlts, ticots, ticotsord, udp) as well?
Do you have the nss libs (nss_files.so.1, nss_dns.so.1, etc.) in /emul/svr4?
I'm still running NetBSD/SPARC 1.2.1 (don't ask :-P ) and I have the same
"hosts:" line in /emul/svr4/etc/nsswitch.conf and don't think I've had this
problem ...
> 2) A simple call to socket (either from C or from tcl/tk) fails.
> Okay, actually the call to socket succeds, but then there's nothing
> I can do with the descriptor -- except calling close.
Do you have libsocket.so.1 et al. in /emul/svr4?
- Greg