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

Re: Solaris emulation in 2.4.19



On Sat, Oct 05, 2002 at 05:15:45PM +0100, C.Newport wrote:
> On Sat, 5 Oct 2002, Roy Bixler wrote:
> One thought - what filesystem are you using ?.

ext3

> The Solaris ls is unlikely to understand ext2 so unless you are
> using ufs you may be misleading yourself.

I just tried copying the Solaris 'cat' command over and got the same
result:

$ /usr/gnemul/solaris/usr/bin/cat
zsh: no such file or directory: /usr/gnemul/solaris/usr/bin/cat

While these:

$ ls -l /usr/gnemul/solaris/usr/bin/cat
-r-xr-xr-x    1 root     root        10092 Jul 10  2000 /usr/gnemul/solaris/usr/bin/cat*
$ file /usr/gnemul/solaris/usr/bin/cat
/usr/gnemul/solaris/usr/bin/cat: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked (uses shared libs), stripped

says otherwise.

On the Solaris side:

$ ls -l /usr/bin/cat
-r-xr-xr-x   1 root     bin        10092 Jul 10  2000 /usr/bin/cat*
$ ldd /usr/bin/cat
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
$ ls -l /usr/lib/libc.so.1
-rwxr-xr-x   1 root     bin      1136748 Dec 17  2001 /usr/lib/libc.so.1*
$ ls -l /usr/lib/libdl.so.1
-rwxr-xr-x   1 root     bin         4628 Dec 17  2001 /usr/lib/libdl.so.1*
$ ls -l /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
lrwxrwxrwx   1 root     root          29 Mar 12  2002 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1 -> ../../sun4u/lib/libc_psr.so.1*
$ ls -lL /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
-rwxr-xr-x   1 root     bin        17096 Jan  5  2000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1*

Back on Sparc64 Linux:

$ ls -l /usr/gnemul/solaris/usr/lib/libc.so.1
-rwxr-xr-x    1 root     root      1136748 Dec 17  2001 /usr/gnemul/solaris/usr/lib/libc.so.1*
$ ls -l /usr/gnemul/solaris/usr/lib/libdl.so.1
-rwxr-xr-x    1 root     root         4628 Dec 17  2001 /usr/gnemul/solaris/usr/lib/libdl.so.1*
$ ls -l /usr/gnemul/solaris/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
-rwxr-xr-x    1 root     root        17096 Jan  5  2000 /usr/gnemul/solaris/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1*

Also, I tried out 2.4.20-pre9 with Solaris emulation compiled into the
kernel.  The results are the same with the exception that the message
'set personality to 4100001' doesn't appear in 'dmesg' output anymore.

thx,

-- 
Roy Bixler <rcb@ucp.uchicago.edu>
The University of Chicago Press



Reply to: