From owner-freebsd-questions@freebsd.org Tue Sep 17 10:47:52 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B4C76FED84 for ; Tue, 17 Sep 2019 10:47:52 +0000 (UTC) (envelope-from vm.finance2@gmail.com) Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Xfvq72d1z3MHV for ; Tue, 17 Sep 2019 10:47:51 +0000 (UTC) (envelope-from vm.finance2@gmail.com) Received: by mail-io1-xd44.google.com with SMTP id h144so6407403iof.7 for ; Tue, 17 Sep 2019 03:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FYvaSDhX/tRweu8JJq34c84cyxK+ytFNOChkbmF9Hn8=; b=W88sFnWfPas28APKraH4+DLhva5w6wdKtQivPoa4kNz7fnnySP7Zvsb5SemjLzQtZC 4LE02PtE2NP+oDbvZnSM82YjDfF20QpfjFyAvjIexvnwbUC1m8k+PgJpOQAVBmuKXx9p cbtXExq8Rv9fnR32VxqZVmN/LMO6uruZptWLKmojEILgrENws0OdqXfognJh1OxfyD7j K4XQxMQD1kuAxFzQ6T94kq9f55m4eWpnBncPtYuair5JWiZVH7RHTfpzxo/OO49axUQE jIyR26BFVjIQqnOl1CvBC7+lTSBitGA44Z/CQx2F2VRQ11TIj11bIiUOmeSlpndh33ak 1Vzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FYvaSDhX/tRweu8JJq34c84cyxK+ytFNOChkbmF9Hn8=; b=DCh1xzsZ/cCOCy/gflnGamzs4IBt19TxxYyNcKjk9BXoAHgNRVnl9Z5zdYPtJ/79fk 6px3f74Zb0oExyb0/Fu2i612yAUQn0xNUDfv7MgtyYk7EIxUWtGfB18DeODKGrNtc17B Vhoa3h/HxbPxHxQ+YZmvKaf/nvU6zVqUJjmdXCtmp9zTIxgylxNoD9ZnvGhiFKBjFFGj /NTp8QiwdAcRu+eHiyfOmYy8oGL6IonhRD65QzLSs5Mw//XI0W+RyjFSeF2OcBc9BRZn ynGZlNNTch+jo4KDX1EsrlyFFWbbsAe8WgBF6TOgTivtxxi2RBFLaatYK//r7Wc46UCO MPZg== X-Gm-Message-State: APjAAAV5pv3YLMTd/0HZYb4gOaroeHBincVfM0Q/HJlsUDJxmNg1g5M0 7IHlRa9xlFxRlIc0g4VKdoJMSw8u0Md+O3KEE6ZUoP/f X-Google-Smtp-Source: APXvYqwMp5wJvQ+6EoFhr9RN73uRsl7Bq1/2+YSCgACMxSxOJgm5KumzWED3fIZOYUtECh1cg4hEkIvXHRFSYuh/GQk= X-Received: by 2002:a6b:7615:: with SMTP id g21mr2758183iom.67.1568717271228; Tue, 17 Sep 2019 03:47:51 -0700 (PDT) MIME-Version: 1.0 References: <20190916143928.5a65a188.freebsd@edvax.de> In-Reply-To: <20190916143928.5a65a188.freebsd@edvax.de> From: vm finance Date: Tue, 17 Sep 2019 03:47:40 -0700 Message-ID: Subject: Re: rebuilding from latest and kernel versions To: Polytropon Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 46Xfvq72d1z3MHV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=W88sFnWf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vmfinance2@gmail.com designates 2607:f8b0:4864:20::d44 as permitted sender) smtp.mailfrom=vmfinance2@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.28), ipnet: 2607:f8b0::/32(-2.69), asn: 15169(-2.23), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2019 10:47:52 -0000 Hi, I checked /usr/src/Makefile and it seems need to do: cd /usr/src #Define HISTORICAL_MAKE_WORLD make world But I'm unable to find what to set for HISTORICAL_MAKE_WORLD - there is no description in README (or any other file). I would like to build a new kernel and have an option to load it during boot time. Thanks for any pointers. On Mon, Sep 16, 2019 at 5:39 AM Polytropon wrote: > On Mon, 16 Sep 2019 02:25:18 -0700, vm finance wrote: > > Hello, > > > > I downloaded pre-built VM image of FreeBSD 12.0 STABLE from osboxes.org > and > > using that vmdk, I was able to get FreeBSD running under VMPlayer. > > Kernel version (uname -a): > > FreeBSD osboxes 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 > > > > I wanted to try latest TCP code so downloaded latest codebase on this VM: > > > > *svn co svn://svn.freebsd.org/base/head /usr/src* > > > > built a new kernel: > > cd /usr/src; > > > > make buildworld buildkernel > > > > make installkernel > > > > reboot > > Sidenote: > > Have a look at the comment header of /usr/src/Makefile where you > will find the correct order of commands to do a successful source-based > update. > > > > > After reboot, kernel version is still the same, except its has > osboxes.org: > > > > FreeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64. > > > > > > Questions: > > > > 1. kernel version (r341666) hasn't changed after building latest...is > > that expected? > > That is at least possible. The kernel version returned of "uname -a" > will only change when the _kernel_ changed, not when something in the > OS has been patched. Use "freebsd-version" to find out more. The > information in "uname -a" should contain the version timestamp and > your kernel configuration filename if you did build yourself. > > > > > 2. Is it possible to label it differently and allow bootloader to pick > > latest vs 12.0 published kernel? > > Yes, you can specify a custom kernel in /boot/loader.conf: > > kernel="kernel.prev" # where you saved your previous kernel > bootfile="kernel" # should work -> /boot/kernel.prev/kernel > kernel_options="" # if needed > > See "man 5 loader.conf" and /boot/defaults/loader.conf for details. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >