1This is a SysVR4 emulator derived from work done as part of the NetBSD 2Project by Christos Zoulas. It has been ported to FreeBSD by Mark Newton. 3 4To use it: 5 61. Choose one of: 7 a. Add "device streams" to your kernel config file and rebuild, 8 reboot; or 9 b. Build and install the streams module in /sys/modules/streams 10 112. Build and install the svr4 module in /sys/modules/svr4 12 133. Type "kldload svr4" to start it up. 14 154. Grab compat_sol26.tar.gz or compat_svr4.tar.gz from 16 http://www.freebsd.org/~newton/freebsd-svr4 and install them in 17 /compat/svr4 18 195. Run "sh SVR4_MAKEDEV all" in /compat/svr4/dev 20 216. Mount a Solaris/x86 v2.6 or v7 CD-ROM on /cdrom (also works with 22 v2.4 and v2.5.1, but you need different symlinks in /compat/svr4) 23 247. Brand any executables you want to run, and/or set the 25 kern.fallback_elf_brand sysctl to 'SVR4' to establish this as the 26 default emulator for unbranded executables. 27 288. See if your SysVR4 programs work. 29 30It's early days yet, folks -- You'll probably have trouble getting 100% 31functionality out of most things (specifically, poll() on a socket doesn't 32look like it works at the moment, so Netscape doesn't work (among other 33things)). Patches will be appreciated. 34 35 - Mark Newton 36 newton@atdot.dotat.org 37 38$FreeBSD: releng/10.3/sys/modules/svr4/README 267734 2014-06-22 16:48:21Z gavin $ 39