OpenJDK-8-jre-jamvm mips version start failed

2016-06-03 Thread
Dear Group,

   I used QEMU run Debian8.4(jessie) MIPS(big endian) version, I need use
java environment for develop OSGI bundles.

   openjdk hospot jvm is very slow, i want to change to jamvm, but it can
not start successfully. the error meaasge is below:

  java: relocation error:
/usr/lib/jvm/java-8-openjdk-mips/jre/lib/mips/libjava.so: symbol
JVM_GetResourceLookupCacheURLs, version SUNWprivate_1.1 not defined in file
libjvm.so with link time reference.

  how can I solved this issue? thanks.

  I used command apt-get install openjdk-8-jre-jamvm for installing jre,
and use jessie-backport source as below:
  deb http://httpredir.debian.org/debian jessie-backports main contrib
non-free


I also got patch about this issue, how to patch openjdk-8-jre-jamvm mips
version?

https://github.com/xranby/jamvm/commit/25b39703b2c3468f666f6175ff94e46526d402a7

Regards,
Wayne


[Critical] jessie openjdk-8-jre-jamvm start failed

2016-06-01 Thread
Dear all,

   I used QEMU run Debian8.4(jessie) MIPS(big endian) version, I need use
java environment for develop OSGI bundles.

   openjdk hospot jvm is very slow, i want to change to jamvm, but it can
not start successfully. the error meaasge is below:

  java: relocation error:
/usr/lib/jvm/java-8-openjdk-mips/jre/lib/mips/libjava.so: symbol
JVM_GetResourceLookupCacheURLs, version SUNWprivate_1.1 not defined in file
libjvm.so with link time reference.

  how can I solved this issue? thanks.

  I used command apt-get install openjdk-8-jre-jamvm for installing jre,
and use jessie-backport source as below:
  deb http://httpredir.debian.org/debian jessie-backports main contrib
non-free


I also got patch about this issue, how to patch openjdk-8-jre-jamvm mips
version?

https://github.com/xranby/jamvm/commit/25b39703b2c3468f666f6175ff94e46526d402a7

Regards,
Wayne


Re: QEMU MIPS Debian8.4 run issue

2016-05-28 Thread
Dear Christian,

  Thanks for your replay, I found the root cause. Need use -M malata
parameter.

Regards,
Yanfei

2016-05-27 22:38 GMT+08:00 Christian Seiler <christ...@iwakd.de>:

> On 05/27/2016 06:23 AM, 飞颜 wrote:
> >   QEMU start command below:
> >   qemu-system-mips -M mips -kernel vmlinux-3.16.0-4-4kc-malta -initrd
> > initrd.gz -hda hda.img  -append "root=/dev/ram console=ttyS0" -nographice
> >
> > Only show message below, can not run.
> > qemu: Warning, could not load MIPS bios 'mips_bios.bin'
>
> This looks a lot like:
> https://www.linux-mips.org/wiki/QEMU#MIPS_BIOS_not_found_on_startup
>
> Since you start the whole thing with a -kernel command line, the
> firmware is actually irrelevant - so you could just create a
> dummy file for the MIPS BIOS:
>
> (as root)
> dd if=/dev/zero of=/usr/share/qemu/mips_bios.bin bs=1024 count=128
>
> Then the Qemu command should work. (Not tested, though, I've only
> ever used qemu-user with MIPS, not qemu-system.)
>
> Hope that helps.
>
> Regards,
> Christian
>


QEMU MIPS Debian8.4 run issue

2016-05-26 Thread
Dear all,

   I used Ubuntu x86 pc to run QEMU MIPS, but can not run.

  Ubuntu information:
  Linux version 3.13.0-24-generic (buildd@roseapple) (gcc version 4.8.2
(Ubuntu 4.8.2-19ubuntu1) ) #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014

  QEMU information:
  emu-system-mips --version
QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.24), Copyright (c)
2003-2008 Fabrice Bellard


  Debian img download URL:

http://ftp.de.debian.org/debian/dists/Debian8.4/main/installer-mips/20150422+deb8u3+b1/images/malta/netboot/


  QEMU start command below:
  qemu-system-mips -M mips -kernel vmlinux-3.16.0-4-4kc-malta -initrd
initrd.gz -hda hda.img  -append "root=/dev/ram console=ttyS0" -nographice

Only show message below, can not run.
qemu: Warning, could not load MIPS bios 'mips_bios.bin'

   Is QEMU start command wrong? Thanks.

Regards,
Wayen.Yan