From owner-freebsd-stable@freebsd.org Sat Aug 20 20:03:22 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EE80BC01D2; Sat, 20 Aug 2016 20:03:22 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D596C1434; Sat, 20 Aug 2016 20:03:21 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by mail-oi0-x244.google.com with SMTP id e80so8737973oig.2; Sat, 20 Aug 2016 13:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Gi12rmjzVeoR9vBDU8QaLtcQ81jBihOG/Flbx72z6PQ=; b=kCpDi/0jod5K87RvQSod24Df3rul7D9QfzLsZ/CQjvI+hdgtMUaWcjBP1BUUs6XjL2 12/tB9ryuD2cPaUP3uzLA3B/RDkSD5DJept5JFX92HpRVCYImRZ0dxt+4NTIVUoy1eJV UUOayTH0/o8DJZgtn5laMLfFSerZoTredJwIN0YxCOEY9ov7NpsLuwqgwWBk80M0GWqS T5YA00n8ZGNRnbZnhNPB4UU0GQRUsTIdS54FhwBsDHAF1+SQmI1tjiUv0sZq6aP3YM5X Quh4XOWQhn0el03sgrKTDuIoXcawuoFxwEfP/CpMAGNz0DMtlVjaHaOa7X4pt1Ki9Y4G qyKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gi12rmjzVeoR9vBDU8QaLtcQ81jBihOG/Flbx72z6PQ=; b=fMj85WV99CH7rwzlJf/6tl+Am07efWj7W5ZwW3+Rw1I7Y18/hHW+JTodcJrarwsG2x 3qchtsDhAIQeMlXuvQVEUVngW+imbaz+SkCPmgk9es4HT3+bFACnWRSAB5vByYhlp7Zh i/Z3cuZns8wEA8RWOhhfI00ykmWFS00J1sH8Jx4t5636Q7YhKizsWVmoeOpS2bdf2Ig2 MCaSCvYCSeQJmxUdShoIaFv5gLf4FoY6iHKcDN5b8umoCm/pev0zQwaN63XkrwzLwmyC xCuzoh0uSXFdpp6lhSPPx3bPHLdc0l0SflufCqtM+rs6s7rjqeEPAe2Qsko2ywW1XniL ULaQ== X-Gm-Message-State: AEkooutMTHg1LZLLeOeyONP+YWveWVFnMZsy1msVkA6PpRhcYVtpYU3wN3yd8gUWGlB2/sYpsfXEdkrPnILygQ== X-Received: by 10.202.236.20 with SMTP id k20mr7572241oih.162.1471723400980; Sat, 20 Aug 2016 13:03:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.51.196 with HTTP; Sat, 20 Aug 2016 13:03:20 -0700 (PDT) From: Frederic Chardon Date: Sat, 20 Aug 2016 22:03:20 +0200 Message-ID: Subject: kern.proc.pathname failure while booting from zfs To: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 20:03:22 -0000 Hi I see a strange interaction between zfs on root and kern.proc.pathname on my laptop. Whenever I try to use gcore it fails with: gcore 1023 gcore: kern.proc.pathname failure However, gcore /usr/local/bin/zsh 1023 is working properly. I made some tests booting from usb stick (fresh installworld, no src.conf, no make.conf, GENERIC kernel) What works: having / on ufs and importing a zfs pool later on. What doesn't: having / on zfs, whatever the settings for checksum, compression, or normalization. Both 11-stable and 12-current behave this way. Current from may-june worked properly. adb, chromium and virtualbox as well stopped working at approximately the same time, however I don't know if it is linked ("truss -f adb start-server" shows that garbage is passed to execl after forking). Any idea what's going on? Does anybody else see this? Thanks!