From owner-freebsd-stable@freebsd.org Tue Aug 23 07:35:58 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 2DDFDBC2732; Tue, 23 Aug 2016 07:35:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C0AA18D2; Tue, 23 Aug 2016 07:35:57 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u7N7ZqfT053060 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 23 Aug 2016 10:35:53 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u7N7ZqfT053060 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u7N7ZqU1053058; Tue, 23 Aug 2016 10:35:52 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 23 Aug 2016 10:35:52 +0300 From: Konstantin Belousov To: Frederic Chardon Cc: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Subject: Re: kern.proc.pathname failure while booting from zfs Message-ID: <20160823073552.GK83214@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home 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: Tue, 23 Aug 2016 07:35:58 -0000 On Tue, Aug 23, 2016 at 09:27:56AM +0200, Frederic Chardon wrote: > Le 20 ao??t 2016 22:03, "Frederic Chardon" a > ??crit : > > > > 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! > > Nobody else have this problem? I reinstalled the system from scratch and > still gcore fails with the same error, even in single user mode. Do you have a property on your root fs which forces it to ignore case in the file names ?