Re: Java & NetBSD (JNA or Linux emulation)

2019-04-01 Thread Kimihiro Nonaka
Hi,

On Mon, Apr 1, 2019 at 11:34 AM David Brownlee  wrote:

> The two obvious options would be to build the native libraries for NetBSD 
> (which in turn needs JNA) or to run under the oracle-8 JDK using Linux 
> emulation.

I created JNA pkgsrc because I needed it for OpenGrok 1.2.x. I use it
on NetBSD-8/amd64.
https://gist.github.com/nonakap/e2b5f0d0d5a2807ee6e82b4ae881b293

Regards,
-- 
Kimihiro Nonaka


daily CVS update output

2019-04-01 Thread NetBSD source update


Updating src tree:
P src/etc/MAKEDEV.tmpl
U src/etc/defaults/npf.boot.conf
U src/etc/rc.d/npf_boot
P src/external/gpl3/gcc.old/dist/gcc/config/vax/vax.c
P src/lib/libcurses/curses_private.h
P src/lib/libcurses/delwin.c
P src/lib/libcurses/newwin.c
P src/lib/libcurses/printw.c
P src/share/misc/acronyms.comp
P src/sys/arch/evbmips/cavium/autoconf.c
P src/sys/arch/evbmips/sbmips/machdep.c
P src/sys/arch/mips/include/pmap.h
P src/sys/arch/sparc64/sparc64/db_interface.c
P src/sys/arch/x86/pci/msipic.c
P src/sys/dev/iscsi/iscsi_utils.c
P src/sys/dev/pci/if_bnx.c

Updating xsrc tree:


Killing core files:




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  41049947 Apr  2 03:03 ls-lRA.gz


Re: Java & NetBSD (JNA or Linux emulation)

2019-04-01 Thread David Brownlee
On Mon, 1 Apr 2019 at 15:43, Jared McNeill  wrote:
>
> On Fri, 29 Mar 2019, David Brownlee wrote:
>
> > Trying to fire up wildfly under the Linux oracle-8 JDK instead of native 
> > OpenJDK8 seems to start up OK (bar an inotify error), and the dl4j 
> > processing works fine (yay), but the server will not respond to any
> > http requests - the port connects but no response is ever received.
>
> Does adding -Djava.net.preferIPv4Stack=true help? ISTR having to use that
> in the past.

Thanks - unfortunately that didn't help :( Server still non responsive
on 8080 and on the 9990 management port.
(Have also just ran standalone.sh from from a stock
wildfly-14.0.1.Final to confirm its not anything wacky we're adding to
the mix :)

Thanks

David


Re: Java & NetBSD (JNA or Linux emulation)

2019-04-01 Thread Jared McNeill

On Fri, 29 Mar 2019, David Brownlee wrote:


Trying to fire up wildfly under the Linux oracle-8 JDK instead of native 
OpenJDK8 seems to start up OK (bar an inotify error), and the dl4j processing 
works fine (yay), but the server will not respond to any
http requests - the port connects but no response is ever received.


Does adding -Djava.net.preferIPv4Stack=true help? ISTR having to use that 
in the past.


Re: iwm driver leads to kernel crash

2019-04-01 Thread Ryota Ozaki
On Mon, Apr 1, 2019 at 6:53 AM  wrote:
>
> Hi,
>
> would further dmesg outputs from the last 10 or so kernel crashes
> still be useful?

Yes, and if you have crashdumps, could you please provide detailed
information from them?  (see https://wiki.netbsd.org/panic/ for the
instructions).

> This still keeps happening (workaround so far is to use ethernet).
>
> Or maybe I'm looking at the wrong kind of bug and there is something
> to track / being worked on already?

I guess no.

Thanks,
  ozaki-r


Re: Built-in vs. Modular Xorg under -current

2019-04-01 Thread Chavdar Ivanov
The patch applied cleanly and the subsequent build finished. However,
the resulting Xorg does not even load GLX now:
...
[   412.701] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   412.716] (EE) Failed to load
/usr/X11R7/lib/modules/extensions/libglx.so:
/usr/X11R7/lib/modules/extensions/libglx.so: Undefined symbol
"glXGetProcAddressARB" (symnum = 492)


Maybe I was wrong to build this with '-u', I might try a full build later.

On Sun, 31 Mar 2019 at 22:00, Chavdar Ivanov  wrote:
>
> Thanks, I'll check it out right away.
>
> Chavdar
>
> On Sun, 31 Mar 2019 at 21:21, matthew green  wrote:
> >
> > > Is there anything I might be missing or our built-in Xorg is lacking
> > > for this hardware?
> >
> > this may be old Mesa on your intel GPU not supporting that.
> >
> > we're very close to switching xsrc to Mesa 18 for all ports.
> > it works on non x86, and this patch below is needed for x86.
> >
> >https://www.netbsd.org/~mrg/mesa18.src.working.v2.diffs
> >
> > you'll need to build with -V HAVE_MESA_VER=18, and it will
> > build llvm tools *and* libs and thus take a significantly
> > longer time to build, but this works for me on kaby lake
> > intel, bunch of radeon generations, and some nouveau ones.
> >
> >
> > .mrg.
>
>
>
> --
> 



--