From owner-svn-src-all@freebsd.org Wed Oct 19 22:33:42 2016 Return-Path: Delivered-To: svn-src-all@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 36C05C19225 for ; Wed, 19 Oct 2016 22:33:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 F1E9E845 for ; Wed, 19 Oct 2016 22:33:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x231.google.com with SMTP id m138so49770939itm.0 for ; Wed, 19 Oct 2016 15:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bWJIeAVd9mLYwQYm4sth4APhKnVNOBvI1SPKLk1TTrE=; b=iAl2G/Dif+P3BQiF05GwjM7nramli+Ql+ApminHW36ywozwFRoJ/6mOlIt/MC4i4+u JumYk7fhQWM/LjfuLeZTTSDQS9KHjNKd6wMFIiv+pOGC3INILEPD5X0aWufw5p8uZJuA x0btfvGboGIQaliLBwP9EYkNz5mNhIeXa1dy/9oue9C/YFmJpmPJ2veM5V2C2SeTraYh LPPV13qywXylCBv5WFmjyerj1M9ZmUfAW/ihVl1AQjSce7RwHDvFXxF4kTNeGbCTe619 5Vw7aPi3CPdTIg3eOofPJXWvo7JC0OWfD0Bb0XkKWvvxYF59Uk80TA4iDHHc9mdODWzd WQbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bWJIeAVd9mLYwQYm4sth4APhKnVNOBvI1SPKLk1TTrE=; b=X5Nv0bO2Qg/lK2L3yBWCbQKj07YG88q3bpcW87TjH81rM/qSCVNO0nnHd/csqX682Y jbNWDBwkOmoDM7M0KpNUcrBueLusuvTWwlhqv92nVKf3o/0E1umm8iGCL5QZ2WXmPdn4 vRCaiRgCD6LMQeyNmHva1l8cMJHAJNvMwzMihLHU4SD0xKyZUEixaLJbosYXmf7VkVVL smfsALO4reb6X8H3NS7EPQIiZ3zLJIqC3u2MrM0/so7MgqGdRGYcyXH7sEvhCXyJTzDt VOJr/E3J9bZYFcKKPk8e1Mk9v/qD7cPtG9DMBMe/LTA+uIPxFpzzPkyBNyFhooA3anPY 8BfQ== X-Gm-Message-State: AA6/9RlANlhpywOA1xmKyCrZrNevIgoU9aIKK4LSFmJIOfhapf1POQJA4F94pGahSFWjXzN0+eSP5UzpOG+1IQ== X-Received: by 10.36.112.199 with SMTP id f190mr5931993itc.60.1476916420386; Wed, 19 Oct 2016 15:33:40 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.77.85 with HTTP; Wed, 19 Oct 2016 15:33:39 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <1660864.e2huCtGy6v@ralph.baldwin.cx> References: <201610141710.u9EHArlL089412@repo.freebsd.org> <3841347.BNPZXPm7N3@ralph.baldwin.cx> <1660864.e2huCtGy6v@ralph.baldwin.cx> From: Warner Losh Date: Wed, 19 Oct 2016 16:33:39 -0600 X-Google-Sender-Auth: 1lyl0rJpDc1j4n6gdLvlXeQbM50 Message-ID: Subject: Re: svn commit: r307326 - head/sys/boot/efi/loader To: John Baldwin Cc: Doug Ambrisko , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , src-committers , Doug Ambrisko , Ravi Pokala Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 22:33:42 -0000 On Wed, Oct 19, 2016 at 11:34 AM, John Baldwin wrote: > On Wednesday, October 19, 2016 02:01:18 AM Warner Losh wrote: >> One of my systems would export these as sysctls: >> >> smbios.bios.reldate="07/05/2013" >> smbios.bios.vendor="American Megatrends Inc." >> smbios.bios.version="3.00" >> smbios.chassis.maker="Supermicro" >> smbios.chassis.serial="0123456789" >> smbios.chassis.tag="To Be Filled By O.E.M." >> smbios.chassis.version="0123456789" >> smbios.memory.enabled="268435456" >> smbios.planar.location="To be filled by O.E.M." >> smbios.planar.maker="Supermicro" >> smbios.planar.product="X9SRH-7F/7TF" >> smbios.planar.serial="VM13CS028237" >> smbios.planar.tag="To be filled by O.E.M." >> smbios.planar.version="0123456789" >> smbios.socket.enabled="1" >> smbios.socket.populated="1" >> smbios.system.family="To be filled by O.E.M." >> smbios.system.maker="Supermicro" >> smbios.system.product="X9SRH-7F/7TF" >> smbios.system.serial="0123456789" >> smbios.system.sku="To be filled by O.E.M." >> smbios.system.uuid="00000000-0000-0000-0000-002590e4d0ec" >> smbios.system.version="0123456789" >> smbios.version="2.7" >> >> though some of them are silly due to the BIOS writer being silly... > > So are you planning to just duplicate the existing kenv vars as sysctl > nodes? Can't you parse the output of kenv instead? I often get sysctl -a from ailing systems. I never or rarely get kenv. This adds to the information available when I'm looking into problems since it gives me more data about the system where the problem occurs. Warner