From owner-freebsd-current@freebsd.org Mon Dec 7 20:54:04 2020 Return-Path: Delivered-To: freebsd-current@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 DD3254B5F22 for ; Mon, 7 Dec 2020 20:54:04 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (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 4CqbC01Cpbz3qM4 for ; Mon, 7 Dec 2020 20:54:03 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pg1-x530.google.com with SMTP id t37so10029121pga.7 for ; Mon, 07 Dec 2020 12:54:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=/d7ToRa1BmPYOziJ3Bj4O+Rs/1cR8Gr7nXsIdVD72Is=; b=Z1zaLyUausANpGtAss2GAhRfuQy/jsVeexOnSjLdmeP09hfntKxv30491koXnYTa5r bfmmHpJaj5RYI3mkIYyQhCZXWP4aosDylCxRLBNnNDAFjsBE2tadtGWiiMx9oi3heEMd ePe9cm2rZ/H2fQa/b1lWzgxYB24rQdbISoUvgKYhqoTzUCa+Je7x97xnPgP25XuBgB5E a4UoM+BLpHofpd+/1wIV5jPRRsCxr33uMKeK/HhXkuayPK6c2UJHWakDs53lboyPyGHc S5QjRR6yr6bFEJxMTWcfy5lo+tHQjb0Ym2rK9lLXZRazm5PjGsszkZ3YY8SlFLhcOr4n +SqA== X-Gm-Message-State: AOAM530SXGFwa1LPVriHONehWO3KyBmOtVa7hRW2MXmVYEG4yocfqfjk Xu2qDN0OsM1QSxnmA7lIhN/dlR4LR4xq3Ir/ X-Google-Smtp-Source: ABdhPJyGBNRlJhI9WMFsIZG/pP7pxv/0x0g0BnCpFmhGSFmQjuChxZys9eJDibQOSxMVfS9eQYkwrQ== X-Received: by 2002:a17:902:b7c3:b029:da:74c3:427 with SMTP id v3-20020a170902b7c3b02900da74c30427mr18555072plz.38.1607374442270; Mon, 07 Dec 2020 12:54:02 -0800 (PST) Received: from macbook-2.local (c-67-170-137-52.hsd1.or.comcast.net. [67.170.137.52]) by smtp.gmail.com with ESMTPSA id g16sm13205037pfh.187.2020.12.07.12.54.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Dec 2020 12:54:01 -0800 (PST) To: freebsd-current@freebsd.org From: Michael Dexter Subject: RISC-V root device question Message-ID: <4fcf5f35-481b-a321-cb52-7264fc10d1d4@callfortesting.org> Date: Mon, 7 Dec 2020 12:54:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CqbC01Cpbz3qM4 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[callfortesting-org.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::530:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[67.170.137.52:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[callfortesting-org.20150623.gappssmtp.com:s=20150623]; 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]; DMARC_NA(0.00)[callfortesting.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::530:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::530:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Mon, 07 Dec 2020 20:54:04 -0000 All, The FreeBSD wiki page on RISC-V reads: If you get mountroot prompt, then indicate to the kernel the location of rootfs: mountroot> ufs:/dev/vtbd0 This indeed appears to be remain the case on CURRENT as of last week. Specifying a device and partition, or disklabel at the mountroot> prompt works every time but none of these do not help in loader.conf (tested individually): cam.boot_delay="100000" vfs.root.mountfrom="ufs:/dev/vtbd0p3" vfs.root.mountfrom="ufs:/dev/gpt/rootfs" rootdev="/dev/vtbd0p3" rootdev="vtbd0p3" currdev="vtbd0p3" Or these in the fstab: /dev/gpt/rootfs / ufs rw,noatime 1 1 /dev/vtbd0p3 / ufs rw,noatime 1 1 Are there any other options? Perhaps building the device name into the kernel? Thank you! Michael