Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 17:54:04 -0800
From:      Charles Henrich <henrich@crh.cl.msu.edu>
To:        freebsd-emulation@FreeBSD.ORG
Subject:   Linux emu under 2.2.7?
Message-ID:  <19981029175404.11894@orbit.flnet.com>

next in thread | raw e-mail | index | archive | help
I've recently been attempting to run some programs compiled under RedHat 5.1
under BSD, but when I do they segfault.  Initially they were missing new
libraries (ld-2.0.7.so, libc-2.0.7.so, libm-2.0.7.so) when I brought them over
via rpm2cpio the software ran, but then segfaulted.  Any ideas anyone?

Results of the end of the ktrace:

  2842 prman    RET   open JUSTRETURN
  2842 prman    CALL  open(0xefbfceac,0,0)
  2842 prman    NAMI  "/compat/linux/lib/ld-linux.so.2"
  2842 prman    NAMI  "/compat/linux"
  2842 prman    NAMI  "/compat/linux/lib/ld-linux.so.2"
  2842 prman    RET   open 3
  2842 prman    CALL  read(0x3,0xefbfbe70,0x1000)
  2842 prman    GIO   fd 3 read 4096 bytes

  2842 prman    RET   read 4096/0x1000
  2842 prman    CALL  dup2(0xefbfbd74)
  2842 prman    RET   dup2 673558528/0x2825b000
  2842 prman    CALL  dup2(0xefbfbd74)
  2842 prman    RET   dup2 673558528/0x2825b000
  2842 prman    CALL  dup2(0xefbfbd74)
  2842 prman    RET   dup2 673595392/0x28264000
  2842 prman    CALL  close(0x3)
  2842 prman    RET   close 0
  2842 prman    CALL  old.recvfrom(0x2825b000,0x8e44,0x7)
  2842 prman    RET   old.recvfrom 0
  2842 prman    CALL  open(0xefbfceac,0,0)
  2842 prman    NAMI  "/compat/linux/usr/lib/ld-linux.so.2"
  2842 prman    NAMI  "/usr/lib/ld-linux.so.2"
  2842 prman    RET   open JUSTRETURN
  2842 prman    CALL  open(0xefbfceac,0,0)
  2842 prman    NAMI  "/compat/linux/usr/local/X11R5/lib/ld-linux.so.2"
  2842 prman    NAMI  "/usr/local/X11R5/lib/ld-linux.so.2"
  2842 prman    RET   open JUSTRETURN
  2842 prman    CALL  open(0xefbfceac,0,0)
  2842 prman    NAMI  "/compat/linux/usr/X11R5/lib/ld-linux.so.2"
  2842 prman    NAMI  "/usr/X11R5/lib/ld-linux.so.2"
  2842 prman    RET   open JUSTRETURN
  2842 prman    CALL  open(0xefbfceac,0,0)
  2842 prman    NAMI  "/compat/linux/usr/lib/ld-linux.so.2"
  2842 prman    NAMI  "/usr/lib/ld-linux.so.2"
  2842 prman    RET   open JUSTRETURN
  2842 prman    CALL  #91(0x28199000,0x1188)
  2842 prman    RET   #91 0
  2842 prman    CALL  old.recvfrom(0x8048000,0x14ffed,0x5)
  2842 prman    RET   old.recvfrom 0
  2842 prman    CALL  old.recvfrom(0x2819b000,0x1742f,0x5)
  2842 prman    RET   old.recvfrom 0
  2842 prman    CALL  old.recvfrom(0x281b4000,0x12e8,0x5)
  2842 prman    RET   old.recvfrom 0
  2842 prman    CALL  old.recvfrom(0x281b7000,0x9046d,0x5)
  2842 prman    RET   old.recvfrom 0
  2842 prman    CALL  old.recvfrom(0x2825b000,0x8e44,0x5)
  2842 prman    RET   old.recvfrom 0
  2842 prman    CALL  getpid
  2842 prman    RET   getpid 2842/0xb1a
  2842 prman    PSIG  SIGSEGV SIG_DFL



       Charles Henrich       Manex Visual Effects       henrich@flnet.com

                       http://orbit.flnet.com/~henrich

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981029175404.11894>