Bug #1141

Linuxulator outdated

Added by robinj about 8 years ago. Updated over 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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


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

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


#1 Updated by corecode about 8 years ago

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


#2 Updated by robinj about 8 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.



#3 Updated by alexh over 7 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.

#4 Updated by corecode over 7 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


#5 Updated by alexh about 7 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...

Alex Hornung

Also available in: Atom PDF