From owner-freebsd-current@FreeBSD.ORG Mon Mar 3 22:09:13 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10B9CF64 for ; Mon, 3 Mar 2014 22:09:13 +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 8E21489D for ; Mon, 3 Mar 2014 22:09:12 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id 10so5060610lbg.35 for ; Mon, 03 Mar 2014 14:09:10 -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:content-type; bh=XH25TilnAsrvJPHbhxmXVvvZF/hMzpUB8RuW/DhTsUg=; b=aINtABYlqKRE9Oxi0Vf0puiiOoCqzMsRxbLwcf62dczSn7lS8EU8isXyzc1H6m6Y8f 6q3BsLnPV94Bc9PG2yBX85RicmywZiRwcWkSvfOwtsJkj8g/RuKGXreJPzFhnt0wJTja 0Ha/WeW3m6P6QFRZke2rqBcbbiraLWltwojGzyzpmXwjorAJzeAzmKoQxhMy9RbL8avi 8Pi+IUHcbQ4qWD2bK7kcX4xZweexOzcUvbSuqhS/zf5pjY82aCPgNS4q/m9KiPfjU02O BDyin2o4r+a6BJGq4eN/ljaIngCqj3YRi2ZFr6VeSOV5YI13C+lxqQRIcK/fKhrETVI5 USQg== MIME-Version: 1.0 X-Received: by 10.152.87.71 with SMTP id v7mr24667783laz.10.1393884550743; Mon, 03 Mar 2014 14:09:10 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Mon, 3 Mar 2014 14:09:10 -0800 (PST) Date: Mon, 3 Mar 2014 14:09:10 -0800 X-Google-Sender-Auth: WlmGAPYzBHiRJvctfdnw7S46vcY Message-ID: Subject: vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10 From: Craig Rodrigues To: freebsd-current Current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 22:09:13 -0000 [Resending] 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