Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Aug 2000 10:08:46 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Mark Abene <phiber@radicalmedia.com>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: em86
Message-ID:  <14726.53916.585060.311869@grasshopper.cs.duke.edu>
In-Reply-To: <20000731223126.T2866@radicalmedia.com>
References:  <20000731051254.M2866@radicalmedia.com> <14725.33823.884653.998738@grasshopper.cs.duke.edu> <20000731112927.O2866@radicalmedia.com> <14725.40416.628136.782665@grasshopper.cs.duke.edu> <20000731182649.P2866@radicalmedia.com> <14726.8485.261054.310851@grasshopper.cs.duke.edu> <20000731223126.T2866@radicalmedia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Mark Abene writes:
 > 
 > If I remember correctly, this is a known problem when trying to use an older
 > em86 with a newer glibc-2.1 based system.  I believe the support libraries
 > are unchanged, but you will need to upgrade the em86 rpm which is at...
 > ftp://ftp.alphalinux.org/pub/Linux-Alpha/em86/v2.2-1/
 > (also mirrored elsewhere)

I just tried, and the newer em86 helped somewhat.  But I"m still stuck..

I grabbed the list of rpms from
ftp://ftp.alphalinux.org/pub/Linux-Alpha/em86/v2.2-1/relnotes.2.2.1.html 
and I then installed:

em86-2.2-1
em86-fx-2.2-0
em86-libc-x86-2.2-0
em86-libc-base-libs-2.2-0
em86-libc-X11-libs-2.2-0
em86-libc-ImageMagick-libs-2.2-0
em86-libc-p2c-libs-2.2-0
em86-libc-svgalib-libs-2.2-0
em86-libc-tcltk-libs-2.2-0
em86-libc-xview-libs-2.2-0
em86-libc-binutils-libs-2.2-0
em86-libc-f2c-libs-2.2-0
em86-libc-libgr-libs-2.2-0
em86-libc-libpng-libs-2.2-0
em86-libc-misc-libs-2.2-0


Each of the "noarch" (x86 shared lib) rpms failed to install properly
(install script failed) because ldconfig86 doesn't work.  Here's what
seems to happen:

% setenv X86_TRACE_SYSCALLS all
% em86 /usr/bin/ldconfig86
[27423] SYSCALL: personality(0x0 )
   ....returns 0x0
[27423] SYSCALL: getpid()
   ....returns 0x6b1f
[27423] SYSCALL: geteuid()
   ....returns 0x56b
[27423] SYSCALL: getuid()
   ....returns 0x56b
[27423] SYSCALL: getegid()
   ....returns 0x32
[27423] SYSCALL: getgid()
   ....returns 0x32
[27423] SYSCALL: brk(0x0 )
=> brk(0x0, 0, 0x806277c, 0x80, 134621052, 2097148832)
   ....returns 0x8063960
[27423] SYSCALL: brk(0x80639e0 )
=> brk(0x80639e0, 134625632, 0x8063960, 0x80, 134621052, 2097148832)
   ....returns 0x80639e0
[27423] SYSCALL: brk(0x8064000 )
=> brk(0x8064000, 1568, 0x80639e0, 0x620, 134621052, 2097148832)
   ....returns 0x8064000
[27423] SYSCALL: open("/usr/x86/ld.so.conf" 0 438 )
   ....returns 0x3
[27423] SYSCALL: newfstat(3 0x7cfff434 )
=> do_newfstat(0x3, 0x7cfff434, 0x7cfff490, 0x8063968, 0, 2097149044)
   ....returns 0x0
[27423] SYSCALL: newfstat(3 0x7cfff310 )
=> do_newfstat(0x3, 0x7cfff310, 0x7cfff380, 0x80639d8, 134625640, 2097148752)
   ....returns 0x0
[27423] SYSCALL: old_mmap(0x7cfff35c )
=> do_old_mmap(0x0, 8192, 0x3, 0x22, -1, 0)
   ....returns 0x40024000
[27423] SYSCALL: read(3 0x40024000 8192 )
   ....returns 0x17
[27423] SYSCALL: close(3 )
   ....returns 0x0
[27423] SYSCALL: munmap(0x40024000 8192 )
=> do_munmap(0x40024000, 8192, 0x8063968, 0x0, 0, 2097148944)
   ....returns 0x0
[27423] SYSCALL: newstat("/usr/x86/usr/X11R6/lib" 0x7cfff3f8 )
=> do_newstat(0x80639d8, 0x2097148920, 0x7cfff45c, 0x80639d8, 0, 2097148984)
   ....returns 0x0
[27423] SYSCALL: open("/usr/x86/usr/X11R6/lib" 2048 134625752 )
   ....returns 0x3
[27423] SYSCALL: fcntl(3 2 0x1 )
   ....returns 0x0
[27423] SYSCALL: brk(0x8067000 )
=> brk(0x8067000, 4096, 0x8064000, 0x3000, 134625776, 2097148840)
   ....returns 0x8067000
[27423] SYSCALL: lseek(3 0 1 )
   ....returns 0x0
[27423] SYSCALL: getdents(3 0x7cffd5b0 7865 )
Signal 11 received
Alpha state: PC = 0x405002d0, instr = 0xb52c0000
<....>

% ldd `which em86`
        /lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x000000004011e000)
        libm.so.6.1 => /lib/libm.so.6.1 (0x0000000040220000)
        libdl.so.2.1 => /lib/libdl.so.2.1 (0x0000000040358000)
        libc.so.6.1 => /lib/libc.so.6.1 (0x000000004045c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000040000000)


Do you have any ideas?   The above mentioned doc says:
	NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE 
	This version only works on glibc-2.0.
	NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE 

I wouldn't know a glibc if it came up and bit me in the butt.  Could
this be the problem?  Do I need an older libc?  Blech..

Thanks,

Drew


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




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