Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

FreeBSD emulation broken?



Hi,

I have a few old FreeBSD binaries which stopped running in these days.
At least, they were running fine on 5.99.8.  But now, they all core dump.

Here is an example:

# ktruss -di /usr/local/bin/Dp/dpkeyserv 
  2899      1 ktruss   emul(netbsd)
  2899      1 ktruss   fktrace                     = 0
  2899      1 ktruss   fcntl(0x4, 0x3, 0)          = 1
  2899      1 ktruss   fcntl(0x4, 0x4, 0x1)        = 0
  2899      1 dpkeyserv emul(freebsd)
  2899      1 dpkeyserv execve("/usr/local/bin/Dp/dpkeyserv", 0xbfbfe7c0, 
0xbfbfe7c8) JUSTRETURN
  2899      1 dpkeyserv open("/emul/freebsd", 0, 0x1b6) Err#2 ENOENT
  2899      1 dpkeyserv SIGSEGV SIG_DFL

dpkeyserv is statically linked (may be FreeBSD 2.?).

Of course, kernel has compatibility options:

# Compatibility options
options         COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
options         COMPAT_09       # NetBSD 0.9
options         COMPAT_10       # NetBSD 1.0
options         COMPAT_11       # NetBSD 1.1
options         COMPAT_12       # NetBSD 1.2, 386BSD, and BSDI
options         COMPAT_13       # NetBSD 1.3, 386BSD, and BSDI
options         COMPAT_14       # NetBSD 1.4
options         COMPAT_15       # NetBSD 1.5
options         COMPAT_16       # NetBSD 1.6
options         COMPAT_20       # NetBSD 2.0
options         COMPAT_30       # NetBSD 3.0
options         COMPAT_40       # NetBSD 4.0
options         COMPAT_50       # NetBSD 5.0
options         COMPAT_43       # 4.3BSD, 386BSD, and BSDI
#options        COMPAT_386BSD_MBRPART # recognize old partition ID
#options        TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.

options         COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
#options        COMPAT_SVR4     # binary compatibility with SVR4
#options        COMPAT_IBCS2    # binary compatibility with SCO and ISC
options         COMPAT_LINUX    # binary compatibility with Linux
options         COMPAT_FREEBSD  # binary compatibility with FreeBSD


Any idea?

-- 
Takahiro Kambe <taca%back-street.net@localhost>



Home | Main Index | Thread Index | Old Index