Skip site navigation (1)Skip section navigation (2)
Date:      4 Dec 1999 18:15:49 -0000
From:      gary@aaa-mainstreet.nl
To:        emulation@freebsd.org
Subject:   Re: VA for java (linux) on BSD - more info
Message-ID:  <19991204181549.14167.qmail@abc.aaa-mainstreet.nl>

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

Pedro Fernando Giffuni wrote:

> It might sound stupid, but are you running the POSIX (1004.1b? in LINT)
> scheduler extensions in the kernel ? Staroffice seems to run with them.

OK, I'm recompiling now - I'll let you know the results Monday.

I'm also in the process of trying redhat 6.0 (although I had improved
matters previously by copying some libraries from a mandrake system)

I said:
> I get lots of output.  One suspiscous bit of output looks like this:
>   9540 ide      CALL  #179
>   9540 ide      PSIG  SIGSYS SIG_DFL
>   9540 ide      NAMI  "ide.core"
>
> What is this linux_clone() business?
> Could the program be detecting that it is not running under linux and
> bombing out?

And Dan Nelson replied:

>  What's syscall #179 in Linux?  It doesn't look like we're emulating it.

179     UNIMPL  LINUX   rt_sigsuspend

The 'UNIMPL' looks worrying.    And probably the likely cause of all this?

How do I really determine if this is unimplemented?  And can I make
unimplemented calls simply perform a no-operation?

Any kernel hackers out there care to tell me how to create a kernel module
(.ko) that overides a linux system call?  (I believe I could do it for a
BSD call, after having read the helloworld module example, and the
'attacking BSD with system calls' paper, but I'm still not sure how to
replace a linux syscall  rather than a BSD one)

Thanks again to everyone who has answered on this mailing list.  It makes
a change for a visitor to a list to get genuinely helpful replies, rather
than arrogant "read the manual" replies.


Gary


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?19991204181549.14167.qmail>