Subject: Compat-Sunos trouble.
To: None <port-sparc@NetBSD.ORG>
From: Paul Boven <e.p.boven@student.utwente.nl>
List: port-sparc
Date: 11/25/1996 22:37:04
Hi everyone,

Has anyone gotten Compat_sunos to work, with any www-browser?

I have installed the libraries (from SunOS 4.1.2) in /emul/sunos/usr/lib 
and /emul/sunos/usr/5lib, and made a /emul/sunos/dev, currently only
populated by a /dev/zero and a MAKEDEV that won't work under NetBSD ;)

I'm trying to run Mosaic, has anyone gotten that or it's evil counterpart
to run on their Sparc?

ktrace output: 
 29161 ktrace   RET   ktrace 0
 29161 ktrace   CALL  execve(0xf7fff907,0xf7fff8b8,0xf7fff8c0)
 29161 ktrace   NAMI  "./Mosaic-sun-2.7b5"
 29161 Mosaic-sun-2.7b5 EMUL  "sunos"
 29161 Mosaic-sun-2.7b5 RET   execve 0
 29161 Mosaic-sun-2.7b5 CALL  open(0x220c,0,0x3a08c8)
 29161 Mosaic-sun-2.7b5 NAMI  "/emul/sunos/usr/lib/ld.so"
 29161 Mosaic-sun-2.7b5 NAMI  "/emul/sunos"
 29161 Mosaic-sun-2.7b5 NAMI  "/emul/sunos/usr/lib/ld.so"
 29161 Mosaic-sun-2.7b5 RET   open 3
 29161 Mosaic-sun-2.7b5 CALL  read(0x3,0xf7fff83c,0x20)
 29161 Mosaic-sun-2.7b5 GIO   fd 3 read 32 bytes
       "\M^A\^C\^A\v\0\0\M^@\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0"
 29161 Mosaic-sun-2.7b5 RET   read 32/0x20
 29161 Mosaic-sun-2.7b5 CALL  mmap(0,0xa000,0x5,0x80000002,0x3,0)
 29161 Mosaic-sun-2.7b5 RET   mmap 272236544/0x103a0000
 29161 Mosaic-sun-2.7b5 CALL  mmap(0x103a8000,0x2000,0x7,0x80000012,0x3,0x8000)
 29161 Mosaic-sun-2.7b5 RET   mmap 272269312/0x103a8000
 29161 Mosaic-sun-2.7b5 CALL  open(0x221b,0,0x7)
 29161 Mosaic-sun-2.7b5 NAMI  "/emul/sunos/dev/zero"
 29161 Mosaic-sun-2.7b5 NAMI  "/emul/sunos"
 29161 Mosaic-sun-2.7b5 NAMI  "/emul/sunos/dev/zero"
 29161 Mosaic-sun-2.7b5 RET   open 4
 29161 Mosaic-sun-2.7b5 PSIG  SIGSEGV SIG_DFL
 29161 Mosaic-sun-2.7b5 NAMI  "Mosaic-sun-2.7b5.core"

I made /emul/sunos/dev/zero a c 3 12 node, as per SunOS makefile.
(That one has to make a dev-directory is not mentioned in the manpage)

Any help? I seem to recall people have sucesfully ran eiter Mosaic or 
NetScape under NetBSD. (I currently run Mosaic-2.75b with lesstif, wich
dumps core just a bit too much).

Regards, Paul.
-- 
----------------------------------------------------------------------
Paul Boven, <e.p.boven@student.utwente.nl>  PE1NUT  QRV 145.575 JO32KF
  Nothing would get done in the world, if we didn't have insomniacs.
           Or at least, nothing would get done at night. 
----------------------------------------------------------------------