From owner-freebsd-stable@freebsd.org Tue Mar 9 21:00:45 2021 Return-Path: Delivered-To: freebsd-stable@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 CDE435709D4 for ; Tue, 9 Mar 2021 21:00:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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 4Dw70F0zQ0z3Fn5 for ; Tue, 9 Mar 2021 21:00:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf2c.google.com with SMTP id bh3so7161765qvb.5 for ; Tue, 09 Mar 2021 13:00:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=icb5QrrOmbLmeaxzleOjt+l9w0a0XfSyuyLMg4rWYec=; b=rvFu5Mynt4DcNsPS+lrSsqW6L9NI2j7J1+1aJJavRCyrZ4dRsqJFCqP1ZK9Qx0YwC3 T6lObLiRwO6onc+9vw7fVgFQc4tZAYRkY5KlUFHym4WRKRkid6x2aym5Hfbui9Wo6sz7 lFFiL8KjmBtnmyzr3kYhqpuYj6GfrOpZvke//J9+AbHKGvVXGyqZ1ZpbjBAOdP3wsM+b k8cGXohj8OE3TyTCwD2/g7vwlD0/P+T/BmDpmPbv2tO5Cc4DsDi+/Gs5kQtg/PPF4hrM 3sJyGFX9mJmG9k1RatVTasL0PjUvj6ryAai6xUBmsUdUAN39jn85LeS+/wI8Qw6uDXE/ ur0w== 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=icb5QrrOmbLmeaxzleOjt+l9w0a0XfSyuyLMg4rWYec=; b=f9pNlqQZXg1vg5UtB898tcUWwuQBfMECeEuUK4TeiPSDOchgVb32dgWxaI4ZzieIh0 +Oeh2tRwX9+CLB6VlbPUf54b2WtkrYphxIj85cB03rIomVmA2bghciVS257WvxLDdKpi RNxdzOYHP5Gve4Xqhljhds4EoE0JobRWsupdSiRVBP1zdxSozoQLaemreD3hCRIBdFu2 TWpZAsmoZ0yu80ut7L/xgQdbC/uhnQmwVdHeeCZNQyXx7WqD0oznGOImD2/uouUCZ5dW yqV9z8D1RHG1bIBaIQ5EjW0vQ/tI/WtkcOeZiX9+TrOzFZtaWqK92g2cj3tma1xn292H 7nRw== X-Gm-Message-State: AOAM533NMb5hZ10vwZFTG4M504GHjoX3h9KulU2DT3S96SSKOcdu9E8y RriCgjpCHYl4tyEMltH3gQUL99817n4ns2PP80IRsmnmpEVstQ== X-Google-Smtp-Source: ABdhPJx2C2DxRKMoMhj19oXwHfLSyQgqi6B7+2JTkfymkqKB/E224qge2KmcA1jvwXqcIOvnl0zNr9xFSSOzj6X+AOE= X-Received: by 2002:a0c:a954:: with SMTP id z20mr5622247qva.29.1615323644056; Tue, 09 Mar 2021 13:00:44 -0800 (PST) MIME-Version: 1.0 References: <58352200-C53A-4B8F-9498-316FC852BD95@verweg.com> In-Reply-To: <58352200-C53A-4B8F-9498-316FC852BD95@verweg.com> From: Warner Losh Date: Tue, 9 Mar 2021 14:00:31 -0700 Message-ID: Subject: Re: FreeBSD 13.0 RC1 UEFI RAID-10 boot problems under VMware Fusio To: Ruben van Staveren Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 4Dw70F0zQ0z3Fn5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=rvFu5Myn; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f2c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::f2c:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2c:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f2c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 21:00:45 -0000 On Tue, Mar 9, 2021 at 8:56 AM Ruben van Staveren via freebsd-stable < freebsd-stable@freebsd.org> wrote: > Hi List, > > With FreeBSD 13 getting near release I was trying out a new hardware setu= p > for a future upgrade, in where a zfs SATA RAID-10 array would be accelate= d > by some NVME devices for cache, log, and special meta data. > > However, booting the setup under VMWare fusion gives me a lot of zio_read > error: 5 / ZFS: i/o error - all block copies unavailable whereas in > VirtualBox using the same VMDKs the setup boots without issue, both in UE= FI > mode > > I used the guided ZFS install, GPT UEFI only, and choose RAID-10 and zero > swap as I want to use the NVME devices for that later on. > > when on the loader prompt lsdev / lszfs / ls works through latter two > throw out zio_read error: 5 but show recognisable output (zfs filesystems= , > files) > > > disk0 through 4 are the SATA disks with only an EFI and ZFS GPT partition > each, disk4/5 is reserved for the special vdevs (but not in use yet) and > swap > > If I press escape and end up in VMWare=E2=80=99s UEFI setup screen I can = boot from > any ada*p1 drive and continue as normal. > Is UEFI with OpenZFS too new, or is this an issue in VMWare? > > > > Also, I=E2=80=99m missing /boot/*efifat* in FreeBSD13. What is the proced= ure for > updating EFI loaders? > They have been removed because they are no longer needed (filesystem images for boot blocks trouble me too). mount -t msdos /dev/da0pX /mnt mv /mnt/efi/boot/bootx64.efi /mnt/efi/boot/bootx64-old.efi cp /boot/loader.efi /mnt/efi/boot/bootx64.efi The ESP on UEFI systems is just a FAT filesystem. One issue you may run into is the size of the partition. If it is tiny, you'll likely have to create a new ESP. Using /boot/boot1.efi may help and can be used in the last step instead of loader.efi, but it's much less flexible than loader.efi. Warner