From owner-svn-src-head@freebsd.org Wed Oct 19 22:33:42 2016 Return-Path: Delivered-To: svn-src-head@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 42BDDC19226 for ; Wed, 19 Oct 2016 22:33:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 09DF8846 for ; Wed, 19 Oct 2016 22:33:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id 4so132737003itv.0 for ; Wed, 19 Oct 2016 15:33:42 -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=EHEhGpKnGkfZrh6qkxAAgqFR7aiNwGmS8T1P1VmB7lnH/4lCbvK1aZoUzvsS9+Ev7P IUwhWJ5srKYs/1PY4uowLBLKt0yeMwNEdso5S7GgqSRzBuuUpgfOk9/hcb5re7LiznZh oulCINslCb3kCP9NrUZPnHgmLEdOSz5zOhNyOfbjfyn1tJGtEdZU+3a5Lqpv6L1C9I/e +ZnL0Isj9vMN8getnk6Qp3XfxOpX2IIYuu3mkR1eilCuio6lLuYn2gfMXAYevqWma/cs Xvn2BWj8SR90QJVvBrDmcnkaqZjrpAtCGacND4DFVe1HaojE3bwnYQ5756nWFd5Ayv5z b+5A== X-Gm-Message-State: AA6/9RnyXeQgq5YrnZqbdtrZJZIj7DIadWtfU43cbi9I6u9niC/xkeTU5tQaIxXMEwBMq1H9xZPZ+zSestEzaQ== 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current 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