Project

General

Profile

Actions

Bug #1141

closed

Linuxulator outdated

Added by robinj about 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

%./java
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
- find_vma failed
Bad system call

dmesg:

linux: syscall madvise is obsoleted or not implemented (pid=5211)

is the linux compatibility layer out of sync with the kernel?

Actions #1

Updated by corecode about 16 years ago

No, it is not out of sync, it is plain old. The linuxulator code needs
updating.

cheers
simon

Actions #2

Updated by robinj about 16 years ago

Fixing the linuxulator is out of my league, I'm afraid! If I can find some
other way of getting java 1.5 or 1.6 to work, I'll post it in the Wiki.

Thanks,

--Robin

Actions #3

Updated by alexh almost 16 years ago

IMHO madvice() is not as crucial so just implementing a stub returning zero, or
even error instead of the dummy function returning bad syscall should be enough
to fix this particular one.

Actions #4

Updated by corecode almost 16 years ago

Yes, madvice isn't the problem (and not the cause for the crash), but the
fact that we're missing all newer (i.e. 2.4.8+ (or so)) linux syscalls

cheers
simon

Actions #5

Updated by alexh over 15 years ago

IMHO the first step to get linuxulator updated is to get ltp (linux test
project) working for us. Point is to compile ltp on some linux machine and
then get it to run its test on DragonFly so one can see what we are missing.
If anyone gets ltp running, updating linuxulator will be a lot easier as
function after function can be added and directly tested, so please, if
someone has the time...

Cheers,
Alex Hornung

Actions

Also available in: Atom PDF