From owner-freebsd-hackers@freebsd.org Sun Jul 2 15:34:14 2017 Return-Path: Delivered-To: freebsd-hackers@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 20BA4DA81E3 for ; Sun, 2 Jul 2017 15:34:14 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E18B76E928 for ; Sun, 2 Jul 2017 15:34:13 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 78B71433D0; Sun, 2 Jul 2017 17:34:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JCCPAU0iFCke; Sun, 2 Jul 2017 17:34:07 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id B11EC433CF for ; Sun, 2 Jul 2017 17:34:07 +0200 (CEST) To: FreeBSD Hackers From: Willem Jan Withagen Subject: Reporting missing calls..... Message-ID: Date: Sun, 2 Jul 2017 17:34:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2017 15:34:14 -0000 Hi, I spent the larger part of the weekend finding out why my ceph daemons were crashing without much logging, tracebacks or cores... Turns out I got bitten by the fact that 11.1 does introduce fdatasync, which is used by ceph. Compilation is on a server that I also test the RC's on, so there fdatasync was available. But the jails were not upgraded, and missed fdatasync. So that is definitely a pilot error on my end. But it would have helped me enormously if the late binding error got logged in something like /var/log/messages.... Especially since these are daemons, which can for quite some time before a call to fdatasync is made, it took me quite some time to actually run the daemon in the foreground and see this little pesky line about missing fdatasync. Would it be hard to add this to the code, or did I just mis other signs? --WjW