Date: Wed, 19 Mar 2008 03:07:17 -0400 From: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> To: David Xu <davidxu@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_affinity.c Message-ID: <47E0BBA5.8090903@gmail.com> In-Reply-To: <200803190638.m2J6cLKU059782@repoman.freebsd.org> References: <200803190638.m2J6cLKU059782@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I know this is off topic but the removal of KSE made it so it is not possible to get any Java VM running on 8-current (AMD64). Spcifically I have attached the results of attempting to install java/diablo-jdk15, java/linux-sun-jdk15, java/linux-sun-jdk16 with the second two giving false positive installs. I have contacted Greg Lewis and the -java@ mailing list and seems like they are as baffled as I am on the sitution.... If you would be so kind as to make a tempurary workaround to allow java/diablo-jdk15 to install/run correctly then it would be possible to build a native VM and this would give various intrested parties time to figure out how to how to not rely on KSE. Diablo: ===> Installing for diablo-jdk-1.5.0.07.01_9 ===> diablo-jdk-1.5.0.07.01_9 depends on executable: javavm - found ===> diablo-jdk-1.5.0.07.01_9 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> diablo-jdk-1.5.0.07.01_9 depends on file: /usr/local/libdata/pkgconfig/xp.pc - found ===> diablo-jdk-1.5.0.07.01_9 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> diablo-jdk-1.5.0.07.01_9 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found ===> diablo-jdk-1.5.0.07.01_9 depends on shared library: z.3 - found Fatal error 'kse_create() failed ' at line 444 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 2) *** Error code 1 (ignored) ===> Generating temporary packing list ===> Checking if java/diablo-jdk15 already installed Attempting to install either jdk15 or 16 with linux-sun-jdk15: gmake[2]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-amd64/hotspot-amd64/tmp/bsd_amd64_compiler2/product' # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2bc31f64, pid=2984, tid=16384 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode) # Problematic frame: # v blob 0x2bc31f64 # # An error report file with more information is saved as hs_err_pid2984.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # ^C[thread 131081 also had an error][thread 131081 also had an error] [thread 147466 also had an error] [thread 98311 also had an error] [thread 81926 also had an error] [thread 49156 also had an error] thread 114696 also had an error] [thread 65541 also had an error] [thread 32771 also had an error][thread 32771 also had an error] Attempting to install jdk16 with linux-sun-jdk16: gmake[2]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-amd64/hotspot-amd64/tmp/bsd_amd64_compiler2/product' # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2bc31f64, pid=2984, tid=16384 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode) # Problematic frame: # v blob 0x2bc31f64 # # An error report file with more information is saved as hs_err_pid2984.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # ^C[thread 131081 also had an error][thread 131081 also had an error] [thread 147466 also had an error] [thread 98311 also had an error] [thread 81926 also had an error] [thread 49156 also had an error] thread 114696 also had an error] [thread 65541 also had an error] [thread 32771 also had an error][thread 32771 also had an error] Berfor anyone asks I have both linuxprocfs and linux kmods loaded and a linuxprocfs mounted: > kldstat Id Refs Address Size Name 1 19 0xffffffff80100000 acf2c8 kernel (/boot/kernel/kernel) 2 1 0xffffffff80bd0000 9dc8 linprocfs.ko (/boot/kernel/linprocfs.ko) 3 2 0xffffffff80bda000 3aa58 linux.ko (/boot/kernel/linux.ko) 4 1 0xffffffff80c15000 1a598 snd_hda.ko (/boot/kernel/snd_hda.ko) 5 2 0xffffffff80c30000 665a8 sound.ko (/boot/kernel/sound.ko) 6 1 0xffffffffb0885000 a492 fuse.ko (/usr/local/modules/fuse.ko) > df -k Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad8s2a 507630 244024 222996 52% / devfs 1 1 0 100% /dev /dev/ad8s2e 507630 4496 462524 1% /tmp /dev/ad8s2f 361317584 185022582 147389596 56% /usr /dev/ad8s2d 5059630 130124 4524736 3% /var procfs 4 4 0 100% /proc linprocfs 4 4 0 100% /usr/compat/linux/proc And all three ports installed with no problem before KSE was removed. David Xu wrote: > davidxu 2008-03-19 06:38:21 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_affinity.c > Log: > if passed thread pointer is equal to current thread, pass -1 to kernel > to speed up searching. > > Revision Changes Path > 1.2 +19 -11 src/lib/libthr/thread/thr_affinity.c > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E0BBA5.8090903>