From nobody Thu Sep 23 19:20:51 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5D7D617CC849 for ; Thu, 23 Sep 2021 19:20:54 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4HFlPd40hjz3svT for ; Thu, 23 Sep 2021 19:20:53 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-ed1-x52e.google.com with SMTP id c22so26459697edn.12 for ; Thu, 23 Sep 2021 12:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=MM3D6aDoQ2ggLi1CU0lkfZn4w794Ala/A+oEz79qlwc=; b=jEUeSUvBYj3g5k0xSwZ97w2HEcyJSDFKd6upGiwTvFyPvWB/OCI3ApEiacSPESGLnI aQ86Pa/8l7ean6RDo3h7zT4OEiHn+Ar+w0B4TzXY1hd1A8PPQROtMvggI6tE7w74u/FY iXAzns/ZVdLH2r+0XvhV4BHdDzEblzr4b68EPxzcv4f/ypxn1/ib9cEvOMoSwELG4GIp aeYpaeCBnzssYh+2fm4pt2v2ybViWRHmdJSHoANtBX00YlAHeETxbQRBXcpBjvT6Jwmm 1EjT8w30OOyjhZJmux8Zewi/DvEkb334Smr1hAk9BrUSs/eE7Lj3Ops7rP16LUetLna7 l9Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=MM3D6aDoQ2ggLi1CU0lkfZn4w794Ala/A+oEz79qlwc=; b=zi3aX6gbKuPYmcTGpTCKv4ctQ3ZJMIiAz7eyBrjCb+VYAHF0tODoEG975tjrQoFWAL hQUMPqnIA180/4/PagFHo1MOEBJTUr58mXzE086Vv1QeQc+62+oIh/jtdD7zFsI7N0a9 idDNcooaYahv00jbDshuLnkzSbyu8in5nFPDpSsGMM3HeFyEOEN1QzTEIRzdbsi40t+N TbRrUzQqT2GEFavqm+7gKygf5j+UKYWjY69p1DwQsX6ProXIYS5bAwWHnUrWBYOySj5x ynhRUw17gX/vrhV6YMRZ8fwsmmfWhosDcfjI6FESgss60ijNttvRFrqVlIwvftMclUob gVBw== X-Gm-Message-State: AOAM532Nk2fHz4m5ivBrgpBKnFBub5DQUJBsiQLOsxbd/X2KvRR/uTIN fbhdIyjXubb0MtBXYevehzuE0u+cIe8= X-Google-Smtp-Source: ABdhPJwUa18ilJ/91rlPwqvYnqwws9vPJYxwv9MxLwsouiXHr2/er+E1qCq4RRuqXbGdK5LGPl3beQ== X-Received: by 2002:a17:906:1c89:: with SMTP id g9mr6989958ejh.565.1632424852234; Thu, 23 Sep 2021 12:20:52 -0700 (PDT) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id p5sm3516790eju.30.2021.09.23.12.20.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Sep 2021 12:20:51 -0700 (PDT) Subject: Re: latest current fails to boot. To: FreeBSD Current References: <20210922230905.79a494a4ddbecd7d6b8179ea@dec.sakura.ne.jp> <20210924004301.4b16fa28619ed5191b331be9@dec.sakura.ne.jp> From: Johan Hendriks Message-ID: <3157fd7d-5e7b-2e27-6ebe-84f4b6cbbc63@gmail.com> Date: Thu, 23 Sep 2021 21:20:51 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4HFlPd40hjz3svT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=jEUeSUvB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johhendriks@gmail.com designates 2a00:1450:4864:20::52e as permitted sender) smtp.mailfrom=johhendriks@gmail.com X-Spamd-Result: default: False [-2.72 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.28)[0.278]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52e:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 23/09/2021 19:52, Konstantin Belousov wrote: > On Fri, Sep 24, 2021 at 12:43:01AM +0900, Tomoaki AOKI wrote: >> On Wed, 22 Sep 2021 23:09:05 +0900 >> Tomoaki AOKI wrote: >> >>> On Wed, 22 Sep 2021 05:47:46 -0700 >>> David Wolfskill wrote: >>> >>>> On Wed, Sep 22, 2021 at 02:39:37PM +0200, Johan Hendriks wrote: >>>>> I did a git pull this morning and it fails to boot. >>>>> I hangs at Setting hostid : 0x917bf354 >>>>> >>>>> This is a vm running on vmware. >>>>> If i boot the old kernel from yesterday it boots normally. >>>>> >>>>> uname -a >>>>> FreeBSD varnish-cdn-node03 14.0-CURRENT FreeBSD 14.0-CURRENT #0 >>>>> main-n249518-5572fda3a2f: Tue Sep 21 14:40:22 CEST 2021 >>>>> root@varnish-cdn-node03:/usr/obj/usr/src/amd64.amd64/sys/KRNL amd64 >>>>> .... >>>> I had no issues with my build machine or either of two laptops, either >>>> from yesterday: >>>> >>>> FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #358 main-n249518-5572fda3a2f3: Tue Sep 21 05:15:22 PDT 2021 root@g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400033 1400033 >>>> >>>> or today: >>>> >>>> FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #359 main-n249556-c96da1994587: Wed Sep 22 04:24:17 PDT 2021 root@g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400033 1400033 >>>> >>>> [uname strings from my main laptop shown, but I keep the machines >>>> in sync rather aggressively.] >>>> >>>> Perhaps the issue you are encountering involves things not in my >>>> environment (such as VMs or ZFS)? >>>> >>>> Peace, >>>> david >>>> -- >>>> David H. Wolfskill david@catwhisker.org >>>> Life is not intended to be a zero-sum game. >>>> >>>> See https://www.catwhisker.org/~david/publickey.gpg for my public key. >>> For me, on bare metal (non-vm) amd64 with root-on-ZFS, >>> >>> Fails to boot to multiuser at git: 8db1669959ce >>> Boot fine at git: 0b79a76f8487 >>> >>> Boot to singleuser is fine even with failed revision. >>> >>> Failure mode: >>> Hard hangup or spinning and non-operable. Hard power-off needed. >>> Seems to happen after starting rc.conf processing and before setting >>> hostid. >>> >>> -- >>> Tomoaki AOKI >>> >> Additional info and correction. >> *Hung up before setting hostuuid, not hostid. >> >> *^T doesn't respond at all, only hard power off worked. >> >> *`kldload nvidia-modeset.ko` on single user mode sanely work. >> >> >> Why I could know rc.conf is started to be processed: >> >> I have lines below at the end of /etc/rc.conf and its output is always >> the first line related to /etc/rc.conf, at least for non-verbose boot. >> The next line is normally "Setting hostuuid: " line, which was not >> displayed when boot hung up. >> >> >> kldstat -q -n nvidia.ko >> if [ 0 -ne $? ] ; then >> echo "Loading nvidia-driver modules via rc.conf." >> if [ -e /boot/modules/nvidia-modeset.ko ] ; then >> kld_list="${kld_list} nvidia-modeset.ko" >> else >> kld_list="${kld_list} nvidia.ko" >> fi >> fi > If you do not load nvidia-modeset.ko at all, does the boot proceed? > > When the boot hangs, can you enter into ddb? > > I do not load a nvidia-modeset.ko kernel module and it will not boot. It hangs with Setting hostid : as the last message. Then only a powercycle gets me back. If i boot in single user mode all is fine, but as soon as i exit single user mode it hangs at the same spot.