Date: Fri, 29 Jun 2001 02:47:41 +0300 (IDT) From: Roman Shterenzon <roman@harmonic.co.il> To: Roman Shterenzon <roman@harmonic.co.il> Cc: freebsd-stable@freebsd.org Subject: Re: Unable to run linux unace Message-ID: <993772061.3b3bc21db3df0@webmail.harmonic.co.il> In-Reply-To: <993766542.3b3bac8e564d4@webmail.harmonic.co.il> References: <993766542.3b3bac8e564d4@webmail.harmonic.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Roman Shterenzon <roman@harmonic.co.il>: > Hello, > I wanted to use linux unace from www.winace.com > (http://praf.nirvanet.net/winace/linunace203.tgz), > but unfortunately it doesn't work. > When I used truss on it, I've seen this: > > -- UNKNOWN SYSCALL 221 > (null)() ERR#78 'Function not > implemente > d' > linux_fcntl(0x0,0x1,0x0) = 3 (0x3) > linux_fcntl(0x1,0x1,0xbfbffae8) = 3 (0x3) > linux_fcntl(0x2,0x1,0x0) = 3 (0x3) > linux_newuname(0xbfbff910) = 1 (0x1) > -- UNKNOWN SYSCALL 201 > (null)() ERR#78 'Function not > implemente > d' > geteuid() = 0 (0x0) > getuid() = 0 (0x0) > getegid() = 0 (0x0) > getgid() = 0 (0x0) > linux_brk(0x0) = 1 (0x1) > linux_brk(0x80e0020) = 1 (0x1) > linux_brk(0x80e1000) = 1 (0x1) > getpid() = 0 (0x0) > linux_mmap(0xbfbff904) = 1 (0x1) > getrusage(0x0,0xbfbffa54) = 2 (0x2) > linux_mremap(0x280a7000,0x21000,0x41000,0x1) ERR#12 'Cannot allocate > memory' > linux_mmap(0xbfbff974) = 1 (0x1) > munmap(0x280a7000,0x21000) = 2 (0x2) > getrusage(0x0,0xbfbffa54) = 2 (0x2) > linux_mremap(0x280c8000,0x41000,0x61000,0x1) ERR#12 'Cannot allocate > memory' > linux_mmap(0xbfbff974) = 1 (0x1) > munmap(0x280c8000,0x41000) = 2 (0x2) > getrusage(0x0,0xbfbffa54) = 2 (0x2) > linux_mremap(0x28109000,0x61000,0x81000,0x1) ERR#12 'Cannot allocate > memory' > linux_mmap(0xbfbff974) > > etc. > And it takes 100% cpu. > I verified - this binary works on a linux system. > It's a static binary btw. > Any ideas what could be wrong here? > My machine is 4.3-STABLE as of Jun 16. > Thank you very much for your attention, > > --Roman Shterenzon, UNIX System Administrator and Consultant > [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > This is what I get when I run it on remote linux system: execve("./unace", ["./unace"], [/* 27 vars */]) = 0 shmat(0, 0, 0x1) = -1 ENOSYS (Function not implemented) fcntl(0, F_GETFD) = 0 fcntl(1, F_GETFD) = 0 fcntl(2, F_GETFD) = 0 uname({sys="Linux", node="xxxx.yyyy.com", ...}) = 0 semop(131601, 0, 38) = -1 ENOSYS (Function not implemented) geteuid() = 560 getuid() = 560 getegid() = 100 getgid() = 100 brk(0) = 0x80df6c4 brk(0x80df6e4) = 0x80df6e4 brk(0x80e0000) = 0x80e0000 getpid() = 20171 old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 135168, 266240, MREMAP_MAYMOVE) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 266240, 397312, MREMAP_MAYMOVE) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 397312, 528384, MREMAP_MAYMOVE) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 528384, 659456, MREMAP_MAYMOVE) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 659456, 790528, MREMAP_MAYMOVE) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 790528, 921600, MREMAP_MAYMOVE) = 0x40000000 getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0 mremap(0x40000000, 921600, 1052672, MREMAP_MAYMOVE) = 0x40000000 (I hope that I copy pasted it ok). It doesn't give me any hints :( --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?993772061.3b3bc21db3df0>