From owner-freebsd-java@FreeBSD.ORG Mon Mar 3 21:43:49 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 6614378E; Mon, 3 Mar 2014 21:43:49 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 339A066C; Mon, 3 Mar 2014 21:43:47 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id 10so5043192lbg.35 for ; Mon, 03 Mar 2014 13:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=V7PacECPOKoM8zIb2QJIZlzALNLK0aWRmH59v1qKy2A=; b=cla+C5TpuzHl7GKhwQGhjyMxa76HjXnvbYL+2vo2/5N0yKuaK2KpoBDV0mdVecY/Aq ea14wfzsqNL8fa6/yIt1194jqNQLRvkdxQaWkFNhqm1+2/kHcn7QpP91YYnDgnKR4xAX QhtITeEaBFbe6dJLMDUCDy3z7qXJ7FYjrskgsOs0uhyAPwyHA1fPTQuoavKtpSrUms6w k+D0nkhzKVNsb3iLzBfELgW9wqzVpW2tVywcvqIOQXoEpiqJ206+b9+F0kQi0vOR6arl A2GnSCkWKAnezZ4Vrcz+d/WQud+jYxZJBI36dRQX3F8TDArZC7rnmulCOjlS9eCRSRr2 c/Ow== MIME-Version: 1.0 X-Received: by 10.152.9.65 with SMTP id x1mr24523624laa.6.1393883025159; Mon, 03 Mar 2014 13:43:45 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Mon, 3 Mar 2014 13:43:44 -0800 (PST) Date: Mon, 3 Mar 2014 13:43:44 -0800 X-Google-Sender-Auth: 9l-HpZv2m7ERXit9cisD9l-dJ9Q Message-ID: Subject: vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10 From: Craig Rodrigues To: Konstantin Belousov , Peter Holm , Alan Cox , Jung-uk Kim , David Xu , Xin Li , Attilio Rao X-Mailman-Approved-At: Mon, 03 Mar 2014 21:54:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Mon, 03 Mar 2014 21:43:49 -0000 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? 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