From owner-freebsd-java@FreeBSD.ORG Tue Mar 4 18:44:43 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD075C51; Tue, 4 Mar 2014 18:44:43 +0000 (UTC) Received: from pp2.rice.edu (proofpoint2.mail.rice.edu [128.42.201.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 62677993; Tue, 4 Mar 2014 18:44:42 +0000 (UTC) Received: from pps.filterd (pp2.rice.edu [127.0.0.1]) by pp2.rice.edu (8.14.5/8.14.5) with SMTP id s24IgpJl014598; Tue, 4 Mar 2014 12:44:36 -0600 Received: from mh1.mail.rice.edu (mh1.mail.rice.edu [128.42.201.20]) by pp2.rice.edu with ESMTP id 1jcwhs8ndq-1; Tue, 04 Mar 2014 12:44:35 -0600 X-Virus-Scanned: by amavis-2.7.0 at mh1.mail.rice.edu, auth channel Received: from 108-254-203-201.lightspeed.hstntx.sbcglobal.net (108-254-203-201.lightspeed.hstntx.sbcglobal.net [108.254.203.201]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh1.mail.rice.edu (Postfix) with ESMTPSA id 01FDF4601A4; Tue, 4 Mar 2014 12:44:34 -0600 (CST) Message-ID: <53161F12.4050801@rice.edu> Date: Tue, 04 Mar 2014 12:44:34 -0600 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Craig Rodrigues , Konstantin Belousov , Peter Holm , Alan Cox , Jung-uk Kim , David Xu , Xin Li , Attilio Rao Subject: Re: vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10 References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=0 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.713890987064109 urlsuspect_oldscore=0.713890987064109 suspectscore=3 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=1 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 rbsscore=0.713890987064109 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1403040100 X-Mailman-Approved-At: Tue, 04 Mar 2014 19:03:43 +0000 Cc: freebsd-current Current , "jenkins-admin@freebsd.org" , "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 18:44:43 -0000 On 03/03/2014 17:12, Craig Rodrigues wrote: > [Resending, as the first message I sent didn't seem to go through to > all the recipients] > > Hi, > > As part of the Jenkins deployment in the FreeBSD cluster > the jenkins-admin team observed that when running Jenkins on FreeBSD 10, > the Java virtual machine from the openjdk6 or openjdk7 port > would coredump regularly. > > See item #10 here: https://wiki.freebsd.org/Jenkins > > On the advice of Jung-uk Kim, I put the following in /boot/loader.conf: > > vm.pmap.pcid_enabled="0" > > and rebooted. > > After that, the Java coredumping problems went away. > > Can someone with VM expertise look into this problem and suggest a fix? > At the end of January, Kostik was looking into another problem report with the PCID feature. However, I don't know where his efforts currently stand. Given the nature of the PCID feature, it's very likely that these problems all have the same root cause. > There are many reports of Java coredumping on FreeBSD 10, such as this > one: > http://lists.freebsd.org/pipermail/freebsd-java/2014-March/010606.html > > It would be good to fix this, so that Java works "out of the box" on > FreeBSD 10. It's not good when kernel tunables need to be set > so that Java can work. :( > > Thanks. > > -- > Craig