From owner-freebsd-xen@freebsd.org Sun Apr 25 23:10:59 2021 Return-Path: Delivered-To: freebsd-xen@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 30B8C5EF3E7 for ; Sun, 25 Apr 2021 23:10:59 +0000 (UTC) (envelope-from sww1235@gmail.com) Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 4FT3fp1sKmz4k6L for ; Sun, 25 Apr 2021 23:10:57 +0000 (UTC) (envelope-from sww1235@gmail.com) Received: by mail-il1-x12d.google.com with SMTP id c3so3933145ils.5 for ; Sun, 25 Apr 2021 16:10:57 -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=nBY+5eaRBSpOW0AMyoO2aG/h5F47M0ur1Rs7QvnurtM=; b=GlKrOrtqpTfJF3yB8k4Im9uBMZxtL9x3r4CD6+q7Je0cAEWGNpfc5cIewDKZ4el5FP u3t74AMQjs4Ayj55LmoQfoz/gT7V611nwwnnBFitcUT/pyAKGtrW9b/Wvo2TjEleOVbH xJWfI86JeGKqFGZ5PNX/H4i9tVRtjsqGrtCWdc8SG44LzDGQ0Ad3sQdN9khtB7+dDOVa Gi5aFYe+26GzbNfrhJvDFi16RyPKy1fLLwIxQbsyHC6hUYq27efOBIXAAsRkuwn8NUb0 srUwGGwGQTBJK8jI/Qu/AJFIeCkQCAzNAyg+tGBQB7La8NW0MAXOr8kkNbEiRAeu3SXz vnWA== 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=nBY+5eaRBSpOW0AMyoO2aG/h5F47M0ur1Rs7QvnurtM=; b=bM1hAP3oaMQVYSiG543k0gi3lBKfWtBb4V4x571FS1ucYMn+rl1PJZorOQi/VUduMc hOSN/YSrv9G4J9SbEWFN5zKFfgCTMja2JUJGVKQlrMP7xajNd441eITepwnYZvi2+2jG 3TR2VKdbHzViDIqnjVf4IH0jQ9IYiBtWgGX8vE+czUvF+30BCvjgqUkgDX1MLMZFlDSw RTHJhFprIjPewD73rrBJPpPRhhJs3BXJg0UOHuOWncUNElChsQ3WMyMMEIUp7IyOMVpA hmiW/Kpp/Iq8NvyXxUYdcsukMy2XRYB9VOlmAoKnGMPTPdVyuyJpgFAXN0MMl4JsTgfx 3AJA== X-Gm-Message-State: AOAM531QdKvmtTrmkVbOS5rzRz7Vht/VIyQkOKZznqMjXa0BBeyMhCIk qBHU4AbQvYEtr/NTOCPTGgcsXVx3qjRhorOk4c8= X-Google-Smtp-Source: ABdhPJyVVpYU+ndTs4Q4kXio4px59DJS1puuWZ7Q8tN2MeT7nucu3SpxzvdxOru5/5I4NKs2atB9jGlo6eFcW/eZxLM= X-Received: by 2002:a05:6e02:16cf:: with SMTP id 15mr10482101ilx.199.1619392256959; Sun, 25 Apr 2021 16:10:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stephen Walker-Weinshenker Date: Sun, 25 Apr 2021 17:10:44 -0600 Message-ID: Subject: Re: [SUSPECTED SPAM]Re: HEADS UP: FreeBSD/Xen dom0 UEFI support To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Cc: freebsd-xen@freebsd.org X-Rspamd-Queue-Id: 4FT3fp1sKmz4k6L X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GlKrOrtq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sww1235@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=sww1235@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::12d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; 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=20161025]; 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-xen@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::12d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-xen] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 23:10:59 -0000 On Thu, Apr 22, 2021 at 12:58 AM Roger Pau Monn=C3=A9 wrote: > On Wed, Apr 21, 2021 at 08:32:18PM -0600, Stephen Walker-Weinshenker wrot= e: > > Hello Roger: > > > > Thank you for your work on this. I am new to Xen and FreeBSD but am > willing > > to help test this and get it in a release version. > > > > I have 3 Intel NUC 8v5PNK that I am planning on using for Xen hosts, bu= t > > they can only boot in UEFI mode (intel disabled BIOS booting per their > > official documentation even though it is still an option in the BIOS > > /shrug). Until this patch came along I could not get any Xen distributi= on > > to boot since they all require BIOS mode. > > > > I have 2 of the 3 NUCS running 14.0-CURRENT at git commit > > 55fc118be8f0cd20e2123cfd2728c5f32317a9fa (after your patch was merged) > and > > I have attempted to follow the instructions at > > > https://docs.freebsd.org/en_US.ISO8859-1/books/handbook/virtualization-ho= st-xen.html > > in order to get the Xen kernel booting. Unfortunately, when I rebooted > > after making the changes, I get an error saying: > > > > >Loading Xen kernel... > > >Failed to load Xen kernel '/boot/xen' > > >can't load 'kernel' > > > > > >can't load 'kernel' > > Did you update the loader on the EFI partition? > > After an installworld on my box I would usually do: > > # mount -t msdosfs /dev/ada0p1 /mnt/ > # cp /boot/loader.efi /mnt/EFI/freebsd/loader.efi > # umount /mnt > > To update the EFI loader. You might have to check the output of > `efibootmgr -v`to make sure you are replacing the correct loader. I > guess there must also be a way to do this with efibootmgr. > > For whatever reason my EFI partition nvd0p1 was already mounted at /boot/efi, so my copy command was # cp -f /boot/loader.efi /boot/efi/efi/freebsd/loader.efi I did this prior to the last reboot after changing the boot config as recommended by This fixed the issue of the xen kernel not booting on one of the boxes. (did the copy prior to the final reboot) Looks like I will have to reinstall the OS on the other one (not a big deal) Now, I am just getting a blank screen on boot. I am unable to ssh into the Dom0 either. Thank you for your help thus far. From owner-freebsd-xen@freebsd.org Mon Apr 26 09:30:40 2021 Return-Path: Delivered-To: freebsd-xen@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 95C485FA04D for ; Mon, 26 Apr 2021 09:30:40 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from esa6.hc3370-68.iphmx.com (esa6.hc3370-68.iphmx.com [216.71.155.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.hc3370-68.iphmx.com", Issuer "HydrantID SSL CA G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FTKPq4jK4z58yk for ; Mon, 26 Apr 2021 09:30:39 +0000 (UTC) (envelope-from roger.pau@citrix.com) IronPort-SDR: b/mcC/mQPJprf5t0+zFALRCMUf73KJSa/OT8qPbK0k3DtWYIcIFv0BM0u4D7Jo3u2vmHExalAG U26tikJ6ebtTt1zwEuM8c2u2PbEujhRWqkRM6kSzv/KyIhQqs9Uh6TaF9rz8FuPrH8Qq5Ke16m NagkrYiS3E1wihB1/4f/2NEL/+Ce3a0zmuKpWKzBnm1YMaKe3Y0grku+NFBxlwNdarYjwjnoKv +lU6O4b6/S/wNLL3d+sNGg4XijlETSxsV2uK/9blw8H8r4zNdR/agMsU6TxdmISIYV1Tljz0Wl qQI= X-SBRS: 5.2 X-MesageID: 42508689 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-HdrOrdr: A9a23:jOkM0alWN9PIT5pKVmvUWe6TZkzpDfOyj2dD5ilNYBxZY6Wkvu iUtrAyyQL0hDENWHsphNCHP+26TWnB8INuiLN+AZ6LZyOjnGezNolt4c/ZwzPmEzDj7eI178 hdWoBEIpnLAVB+5PyX3CCRD8sgzN6b8KqhmOfZyDNXQRt3brx7hj0YNi+wOCRNNW97LLA+E4 eR4dcCijq7YHIMbtm6AH5tZZm/m/TgkpX6bRkaQyM94A6Vgj+yrJL8GR6U3hAROgk/vYsK22 7DjgD/++Gfo+i2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D9IT8KxhkATnXqXStT+4ppYtP1JhC/IdbLt3+a3/wyHpD3B8CN8/6m0 MVfbRj7Nn6S/tSVv1XXxgcw0Egm9uOJnY6qwDaAucxelc2kn/QVun5lYbgmP4KAkebohH3Nk Ta2ypB/+3dVy/r789RN4sAZUBXYlM78nJs4aercJDREhyjc6Vm8EChOnGwNJ9bR67tI8Rckj 9Kp/WJlfSQbSz2xUT5uiZ6OLtH9yKfevyJaTj8UNJgwpidIlSDgqyj/c61gnPWcFKAGjolrL wAU1cRYMRFgiQll6st3EGJO/XKnn4= X-IronPort-AV: E=Sophos;i="5.82,252,1613451600"; d="scan'208";a="42508689" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f8SLziTEEVag+eb3NfGHefyRANN4hZIyIPgWK0Auwv0jivE+QrF9YNM5EJBLWtpjUg9UOssCrs/KdZwWLbtAAuizKo3FJ3VB4MiS91NxhhjsDwfbblw/2zFJiX5/lRjQgnxUj1r0GbZUVscKCvlI4vSDF8y5jqok6QY31sEm1z+AWuMx0dxUcpi66cpm1MPgrBh6vdAHiMsIYsiwb0//h4Vu1OIQg3tIilLqk2HZjFFlKvBMv9a7u/e1Ca7mcjOYhiyjRVC5144XJsb5hmzvnPs2ZyYkruykx3l9x3ckEhz+y2szruVgceno1RWVAER27Jz4VLlebiWbVp1Xojxpvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Df3oIIt9FpbHIrxt+9icLRwgJfb30Qb+kiQkVzUFQA=; b=JY8DHlznzapyt3p3ZmRxHSyBY7mc+qZ49owi/wN7Whz1OBcv4CffkuSOXIQSkD878KYNEHdByVL/x/bfIK5x690hjJ1+IBeDxD4KTXl255UohUbU7Or0Y1pRFtvNjEaNUrAqzBTxoZhQcbjR7tvd96OM/vGDAVxpMyaU4by9X91w1X1C4OXSBXlbZEAnF0Mq3ctrtjSJgcqfvotJV/77hFKR/SKfTdYKe2SDG4HvDMYLpY7D8vwq7hHWZx6dveSbQbnvZhIG11GFABQMI1xLBJs+HFX05nfPlY8cZo9y13vwUH+61O0g9BJPmOskJY2JAysqD18HbhS1sUoNPkTkrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none Date: Mon, 26 Apr 2021 11:30:26 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Stephen Walker-Weinshenker CC: Subject: Re: [SUSPECTED SPAM]Re: HEADS UP: FreeBSD/Xen dom0 UEFI support Message-ID: References: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: MR2P264CA0036.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500::24) To DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91ae0726-5480-4abe-19fd-08d90895f0a3 X-MS-TrafficTypeDiagnostic: DM5PR03MB2492: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K6GVO/Ag0NXV4E2RWIHHXcHUqrXk10r/l9Co8B5lm1Ntsn6WYp7Ekrxx2tVd7/ODFOWfSx5KXMNxYh2g40JLqzoj58OHx1DaklPlXcfMZKpF4qgj5Q4SRuXtWtQj5ZfdiMavpEDfmqrhX4Mu0lwmhmz36dhsXuoxNR17AZOV/Ec2rCI9RElIKDCEzGhexiIpl7tBWBPNk5mIBXQUkZtqZPgHnr0BVyszzyROxu4w2M9lB54/1ObP2YXO2CIND0cYJfa39Ju5ZMu5nlxOy3Lnxe2+i1TfdSShp42BFLtpkTZthT7vL7kUfG3bQlBdVkb3L/41kWyApDKet/H14irlEvpSvnGijyqaUKJieKN89tRt3uwZT3O4w4NIfHW74DoMw01PbRnF6BeZilpakRxDYhsfjqwXNQd5kv/tc3r0MAjh9hcevJFWqkuXrQmttZ4RS9j7+MgbK4zIRU78rqmSrx0iK6ipEtscSlxUYgzaIKzGeXF8Muh43eaKID/J5Qzu5OmEhoviMO3s02kQopslTFj41azbCW3qL65mgT6ixnIFAynHefadh8XTHlSIX70RheRldJABnypHgaYdSmEhIQPirf0bMjCZc/g+HBmLkM1LaQDjB3nB/9KhOy//5Qgpb0GQDr66AmRK8luBUX4sjD3w9cLxs/02aE6QBHScCm3xRD4oKLiaWRCrbU4JKN2y X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR03MB5608.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(7916004)(4636009)(39850400004)(346002)(366004)(376002)(136003)(396003)(86362001)(8936002)(2906002)(6496006)(4326008)(6486002)(38100700002)(9686003)(316002)(16526019)(83380400001)(85182001)(186003)(956004)(966005)(6666004)(6916009)(478600001)(33716001)(53546011)(66946007)(5660300002)(8676002)(66556008)(66476007)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?b1VGcjRvU0hsWlpDUXRwNDlrcDA2Wm5kQ3BySzRLVXBmYUpwZGdmc01XeFpq?= =?utf-8?B?K2FZMkVGWnlpTVZqOGozN0VhUzNzZzhCcGg2anNhcW9iam4xTEpoTkZ5aHIy?= =?utf-8?B?d2NOUWpGWkpXWGhxamFCeUJYNFU2OXdqS0lKQjZpd0pyNEIyV0s3UlV5bW0y?= =?utf-8?B?aytkQmt3ck5xRDhzMEdUVWtIa2o1bS9sNXVqNWl5ZVEzODdOMFFUNGlsRldL?= =?utf-8?B?VlFYTEJuMlA4MGl4cGdxR3lCcjdRbF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3YzVEZMT1hJNSswUllOanhZQmovUnlGb3k0OXZOVUt2QnlteXVVakgz?= =?utf-8?B?TVUwSmtjckMvMjBGNitpMDFaQVRPbU5kM2YzcFpBUWdwc0J4ZWNySStFTGl3?= =?utf-8?B?dGtZS1d0NVRESGpwa3Y2c0tuemF4S0Jjd0xramlpbS83NTdmVjllL3k3ZnNq?= =?utf-8?B?ODNBU05hNmVDU2FWdWdDOXdqSGU5VU9uN01vYVJhL0xaWUlBRkFtK3paYzZW?= =?utf-8?B?VWJVbHFidW1XaFdVMmZJTHh1Y3V1RThLMkVDNzVtN0Jlc3RDbjM1RU53YUJ4?= =?utf-8?B?MmJBQ3VLaDl2K3Z6YkNZK3BHUTdqR1dGbVhzT2hCUEMxV29UdDNuVGxXUWFq?= =?utf-8?B?MDRCSk9lZVFkSnJJQ1lUd0VOUHBkaUVWb0dnTk1kb1laSUhiVjhsbm5KL1V6?= =?utf-8?B?N1FreXljUVZtWFhNYWRjYUZxS0xGN1JzTnhYZkdSYUdpOXBqQ0kzOWtNVmlJ?= =?utf-8?B?R2pBNmxEb1N2QzNpdE8xOTdxdzNJYXVwTjRyeGpaSkl0UnlBbk1mdVkrUG1p?= =?utf-8?B?TUtXYmRodk5uRlhMSWhBNEsySFZXSDB1T2F1enM5K3JnOGp3bW01NDRUei9a?= =?utf-8?Q?JwpPPM4TH+YcSKkvq9fzfuDd1i0X7D7jp+IDqE9?= X-MS-Exchange-CrossTenant-Network-Message-Id: 91ae0726-5480-4abe-19fd-08d90895f0a3 X-MS-Exchange-CrossTenant-AuthSource: DS7PR03MB5608.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2021 09:30:33.1768 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +689Wunt7S1kwFis+wWK6JJuHtyNiJR8vdo66C0+9QQo9XUeUdTr5sEvHFmMAHPsnFHjR7wYInG7BgvdWGuN1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2492 X-OriginatorOrg: citrix.com X-Rspamd-Queue-Id: 4FTKPq4jK4z58yk X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.20 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[citrix.com:s=securemail,citrix.onmicrosoft.com:s=selector2-citrix-onmicrosoft-com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+exists:216.71.155.175.spf.hc3370-68.iphmx.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DWL_DNSWL_LOW(-1.00)[citrix.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[216.71.155.175:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[citrix.com,reject]; DKIM_TRACE(0.00)[citrix.com:+,citrix.onmicrosoft.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16417, ipnet:216.71.154.0/23, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[freebsd-xen] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 09:30:40 -0000 On Sun, Apr 25, 2021 at 05:10:44PM -0600, Stephen Walker-Weinshenker wrote: > On Thu, Apr 22, 2021 at 12:58 AM Roger Pau Monné > wrote: > > > On Wed, Apr 21, 2021 at 08:32:18PM -0600, Stephen Walker-Weinshenker wrote: > > > Hello Roger: > > > > > > Thank you for your work on this. I am new to Xen and FreeBSD but am > > willing > > > to help test this and get it in a release version. > > > > > > I have 3 Intel NUC 8v5PNK that I am planning on using for Xen hosts, but > > > they can only boot in UEFI mode (intel disabled BIOS booting per their > > > official documentation even though it is still an option in the BIOS > > > /shrug). Until this patch came along I could not get any Xen distribution > > > to boot since they all require BIOS mode. > > > > > > I have 2 of the 3 NUCS running 14.0-CURRENT at git commit > > > 55fc118be8f0cd20e2123cfd2728c5f32317a9fa (after your patch was merged) > > and > > > I have attempted to follow the instructions at > > > > > https://docs.freebsd.org/en_US.ISO8859-1/books/handbook/virtualization-host-xen.html > > > in order to get the Xen kernel booting. Unfortunately, when I rebooted > > > after making the changes, I get an error saying: > > > > > > >Loading Xen kernel... > > > >Failed to load Xen kernel '/boot/xen' > > > >can't load 'kernel' > > > > > > > >can't load 'kernel' > > > > Did you update the loader on the EFI partition? > > > > After an installworld on my box I would usually do: > > > > # mount -t msdosfs /dev/ada0p1 /mnt/ > > # cp /boot/loader.efi /mnt/EFI/freebsd/loader.efi > > # umount /mnt > > > > To update the EFI loader. You might have to check the output of > > `efibootmgr -v`to make sure you are replacing the correct loader. I > > guess there must also be a way to do this with efibootmgr. > > > > For whatever reason my EFI partition nvd0p1 was already mounted at > /boot/efi, > so my copy command was > # cp -f /boot/loader.efi /boot/efi/efi/freebsd/loader.efi > > I did this prior to the last reboot after changing the boot config as > recommended by > > This fixed the issue of the xen kernel not booting on one of the boxes. > (did the copy prior to the final reboot) Looks like I will have to > reinstall the OS on the other one (not a big deal) > > Now, I am just getting a blank screen on boot. I am unable to ssh into the > Dom0 either. What's your Xen command line? (ie: xen_cmdline string in loader.conf) Which version of Xen are you using? Do you have serial output available on those boxes? That might help get some messages if everything else fails. Roger. From owner-freebsd-xen@freebsd.org Mon Apr 26 18:41:24 2021 Return-Path: Delivered-To: freebsd-xen@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 D275D5EBFD5 for ; Mon, 26 Apr 2021 18:41:24 +0000 (UTC) (envelope-from buhrow@nfbcal.org) Received: from nfbcal.org (ns.NFBCAL.ORG [157.22.230.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "nfbcal.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FTYdH6jndz4Rqm for ; Mon, 26 Apr 2021 18:41:23 +0000 (UTC) (envelope-from buhrow@nfbcal.org) Received: from nfbcal.org (localhost [127.0.0.1]) by nfbcal.org (8.15.2/8.14.1-NFBNETBSD) with ESMTPS id 13QIfExZ024574 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 26 Apr 2021 11:41:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at lothlorien.nfbcal.org Received: (from buhrow@localhost) by nfbcal.org (8.15.2/8.12.11) id 13QIfDMd005472; Mon, 26 Apr 2021 11:41:13 -0700 (PDT) Message-Id: <202104261841.13QIfDMd005472@nfbcal.org> From: Brian Buhrow Date: Mon, 26 Apr 2021 11:41:13 -0700 X-Mailer: Mail User's Shell (7.2.6 beta(4.pl1)+dynamic 20000103) To: freebsd-xen@freebsd.org Subject: Strange error messages from xnb on dom0. What do they mean? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nfbcal.org [127.0.0.1]); Mon, 26 Apr 2021 11:41:14 -0700 (PDT) X-Rspamd-Queue-Id: 4FTYdH6jndz4Rqm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of buhrow@nfbcal.org designates 157.22.230.125 as permitted sender) smtp.mailfrom=buhrow@nfbcal.org X-Spamd-Result: default: False [-1.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-xen]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[157.22.230.125:from]; R_SPF_ALLOW(-0.20)[+a:ns.nfbcal.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[via.net]; SPAMHAUS_ZRD(0.00)[157.22.230.125:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_SENDER(0.30)[buhrow@via.net,buhrow@nfbcal.org]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[buhrow@via.net,buhrow@nfbcal.org]; ASN(0.00)[asn:7091, ipnet:157.22.0.0/16, country:US] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 18:41:24 -0000 hello. Occasionally I see messages like the following from my FreeBSD-12.2/dom0 machine. Is this related to the issue of the NetBSD domu's seeing bursts of oversized packets, which I assume is caused by packets getting sent from the dom0 to the domu in batches rather than one at a time, each with an interrupt signal, or, the xen equivalent? On the domu's I see: xennet0: discarding oversize frame (len=1518) I see the following messages on the dom0, but not necessarily at the same time as the above messages appear in the domu's. Any ideas? -thanks -Brian Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_ring2pkt:1532): Unknown extra info type 255. Discarding packet Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:302): netif_tx_request index =0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:303): netif_tx_request.gref =0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:304): netif_tx_request.offset=0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:305): netif_tx_request.flags =8 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:306): netif_tx_request.id =69 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:307): netif_tx_request.size =1000 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:302): netif_tx_request index =1 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:303): netif_tx_request.gref =255 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:304): netif_tx_request.offset=0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:305): netif_tx_request.flags =0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:306): netif_tx_request.id =0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_dump_txreq:307): netif_tx_request.size =0 Apr 25 14:56:35 xen-lothlorien kernel: xnb(xnb_rxpkt2rsp:2066): Got error -1 for hypervisor gnttab_copy status