From owner-freebsd-current@freebsd.org Wed Mar 9 17:54:50 2016 Return-Path: Delivered-To: freebsd-current@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 23DAAAC9509 for ; Wed, 9 Mar 2016 17:54:50 +0000 (UTC) (envelope-from florian.ermisch@alumni.tu-berlin.de) Received: from mail-2.alumni.tu-berlin.de (mail-2.alumni.tu-berlin.de [130.149.5.29]) (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 E2A34AB7 for ; Wed, 9 Mar 2016 17:54:49 +0000 (UTC) (envelope-from florian.ermisch@alumni.tu-berlin.de) X-tubIT-Incoming-IP: 78.52.5.215 Received: from f052005215.adsl.alicedsl.de ([78.52.5.215] helo=unknown50465D80C999) by mailbox.alumni.tu-berlin.de (exim-4.76) with esmtpsa [UNKNOWN:AES256-SHA:256] id 1adiB2-0003pS-3z; Wed, 09 Mar 2016 18:45:40 +0100 In-Reply-To: <56E04873.9050200@vangyzen.net> References: <56E04873.9050200@vangyzen.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: limits: setrlimit umtxp: Invalid argument From: Florian Ermisch Date: Wed, 09 Mar 2016 18:45:37 +0100 To: Eric van Gyzen , Brendan Sechter , "freebsd-current@freebsd.org" Message-ID: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 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: Wed, 09 Mar 2016 17:54:50 -0000 Am 9. März 2016 16:59:47 MEZ, schrieb Eric van Gyzen : > On 03/09/2016 09:49, Brendan Sechter wrote: > > I am running an 11.0-CURRENT VM. > > After recently updating, the following appears on startup and > > dhclient fails to start. > > > > Starting dhclient. > > limits: setrlimit umtxp: Invalid argument > > /etc/rc.d/dhclient: WARNING: failed to start dhclient > > > > Similar messages appear for the following. > > > > devd pflog syslogd ntpd powerd sshd sendmail_submit > > sendmail_msp_queue cron > > > > Reverting to the previous kernel did not resolve the issue. > > I can manually start dhclient and ntp, but not sshd. > > > > I do not trust that my uname information is being updated with > > with build, but here it is. > > > > $ uname -vm > > FreeBSD 11.0-CURRENT #0 r287598: Thu Sep 10 14:45:48 JST 2015 > > root@:/usr/obj/usr/src/sys/MIRAGE_KERNEL amd64 > > This information comes directly from the running kernel, so it looks > like your kernel is not getting updated. This seems consistent > with the above error messages, although I haven't tested this > case. The userland tools are aware of the newly added umtxp > limit, but the kernel is not aware. > > Eric I got this problem on my laptop, too. I somehow managed not to install the kernel during a recent update so my userland is slightly newer than my 11-CURRENT r292755 kernel (and also forgot to make proper ZFS snapshots…). While I can build a newer kernel but when I boot i.e. r296556 `zfs(8)' coredumps and I can't mount anything but the rootfs… I guess I need to get kernel & userland back in sync to fix this. I will try to build the userland matching my kernel first as I know its revision from `uname -a`. If anyone has a better approach or tips, please let me know. Regards, Florian