From owner-freebsd-xen@freebsd.org Mon May 17 01:18:00 2021 Return-Path: <owner-freebsd-xen@freebsd.org> 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 3C132637F37 for <freebsd-xen@mailman.nyi.freebsd.org>; Mon, 17 May 2021 01:18:00 +0000 (UTC) (envelope-from sww1235@gmail.com) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 4Fk1Tg1WXvz3JPx for <freebsd-xen@freebsd.org>; Mon, 17 May 2021 01:17:58 +0000 (UTC) (envelope-from sww1235@gmail.com) Received: by mail-il1-x133.google.com with SMTP id k4so959945ili.4 for <freebsd-xen@freebsd.org>; Sun, 16 May 2021 18:17:58 -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=k4I6dkbF5RJPEs3qaOIviniI8IfPY8ekvnlj7rnlj4Q=; b=o6uy0F+1Kf/4gcv/KkVk0n81NduyVkOVLWdjRnrugxKxsdBoCAdHq9vMmZze6ydZsi Ijg/VsKa0pygSxnccJwaFAIqzINOz6O56XwH4Vi2Ouorwo8wIVWCucxvmWk17sA4Hq50 hMNZFXlbZLo7RwkXLH3ISozNRV8P5+/4ODqCUlm80AkzBCSBDkNy9u2XA33YKgfS9pCs pkHqCEbU6sdArWqywI5uiKjrWSsmJFDVRroKGHfmgQCfs+cFheYUR5c7iZnG6Ob3P9GX zFJ7JKvPobOFv2hsmrLc90TCZqynjZkkKz3jUO5BmO57XfRz6g7ty6rF7K4mjkoZdaL+ 1kMg== 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=k4I6dkbF5RJPEs3qaOIviniI8IfPY8ekvnlj7rnlj4Q=; b=JzCVk7coc6ND4SdKqdMnJQIdU6Xz6BvpwGBmifJxSHzM8hKVut8rV/3MdIpIyP+fZj lee6iw6nPT8D+DpnQFIOEhXPPetfe45YOR7Rnx1dGOxJz6tiP2bFvrWB0oNclwgfYB1M hM4Dpqau/xgyjsofoU5BWecIrsEtXTFfw5AMHcRayTDsMRQJq1X354LEuPQbaGBwTgqn WN/Xu0h19hOLtApYBhNTr+OW4HzVbV4AqWFq5NllvdAWtVBirouFDUo75RlwoDrzxc5g OpO+Cj4dgvwT1LkNCqS4aNk7OxsduhKqSF5mVvOExYxVVpi8vwKg1RsV++vN5+/cFvOk 72Rg== X-Gm-Message-State: AOAM531tXKTW8ek1mXuHtYvRVA5POVM6uxZj3JnEBLxQzugIEFRwPgK+ qy2clBV6rgn4sOp/45+O/2FFEwyJoe5NKVVbRzs= X-Google-Smtp-Source: ABdhPJzRFCNJM/b/UHmY7zd3q61vyhGqtDP/1wmDljUWmhSIWh9GOiAnFsKjdEMa+eUmeqtRDtpIzx6MgaescbGGk9I= X-Received: by 2002:a05:6e02:1baf:: with SMTP id n15mr50956174ili.148.1621214277855; Sun, 16 May 2021 18:17:57 -0700 (PDT) MIME-Version: 1.0 References: <CAHugLv9mREN+p4=C+6U3dVqkrZiDpQPMud2mDMueyEQt2EC1-Q@mail.gmail.com> <YIEefS4xl1xEZuzQ@Air-de-Roger> <CAHugLv9n1ccf5-N=w3d2hKkFp26m4RoufV1OuCruQBE4KYpzsw@mail.gmail.com> <YIaIMnCYDv38UHfZ@Air-de-Roger> <CAHugLv-JFOfCcxEFHNR7CT1GdU_JKud6ffTzj5ZHgsbkv8dUEg@mail.gmail.com> <YJkLeOL8vVPTDnrd@Air-de-Roger> In-Reply-To: <YJkLeOL8vVPTDnrd@Air-de-Roger> From: Stephen Walker-Weinshenker <sww1235@gmail.com> Date: Sun, 16 May 2021 19:17:46 -0600 Message-ID: <CAHugLv_qgikmq+hOnLWmp79hL_GH8XNCPzv_TaTrf5FOz-bD2Q@mail.gmail.com> Subject: Re: [SUSPECTED SPAM]Re: HEADS UP: FreeBSD/Xen dom0 UEFI support To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com> Cc: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Fk1Tg1WXvz3JPx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=o6uy0F+1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sww1235@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=sww1235@gmail.com X-Spamd-Result: default: False [-4.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]; 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:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::133: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)[-0.999]; 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)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-xen@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::133:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::133:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; 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 <freebsd-xen.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-xen>, <mailto:freebsd-xen-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-xen/> List-Post: <mailto:freebsd-xen@freebsd.org> List-Help: <mailto:freebsd-xen-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-xen>, <mailto:freebsd-xen-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 17 May 2021 01:18:00 -0000 > > xen_cmdline="dom0_mem=2048M dom0_max_vcpus=1 dom0=pvh com1=115200,8n1 > > guest_loglvl=all loglvl=all console=vga,com1" > Can you try adding 'watchdog' to xen_cmdline and see if that forces > the box to reboot after it goes black? > > If Xen is able to boot, and the problem is with FreeBSD dom0 you might > try also adding vga=keep to xen_cmdline, that way we might get some > output from dom0 (if that's indeed where the issue is happening). > > > xen-kernel version = 4.14.1_1 > > xen-tools version = 4.14.1_1 > > > > Both installed from packages, rather than ports. > > > > These boxes are Intel NUCs that I normally manage over intel AMT using mesh > > commander. I tried enabling the virtual serial port through AMT but no > > dice. > > I never tried using the AMT serial port, first thing would be to get > it to work with plain FreeBSD, then we can see about getting it > working with Xen. FWIW, a lot of the test boxes I work with use SoL, > and I would expect the AMT serial to work as well. No dice on the AMT serial port, but I have been less than impressed with MeshCommander and AMT thus far. > > > I know the nucs have a hardware serial port, but I don't have the > > cable to attach to the header at the moment. I have ordered some headers > > and crimp pins to attach to the serial port for more debugging, but they > > will not get here for about a week. > > I did the original EFI work on a NUC7i7DNHE using the serial port. > Last time I tried HDMI worked with Xen. I was able to get the hardware serial port working. turned out I had a typo in my /boot/loader.conf. Commconsole instead of comconsole. That also flagged a different error that revealed that vidconsole should be replaced with efi on UEFI systems > > > I also tried connecting directly to the NUC's HDMI port but I just got a > > blank screen again, after all the boot messages appeared. > > Are those messages that you see Xen boot messages or FreeBSD boot > messages? > > Does the box reboot itself? No > > I'm afraid we will require some more information to help diagnose > what's going on. Tried adding both of the options that you mentioned above to xen_cmdline with no appreciable difference. The system did not appear to attempt to reboot itself. See serial console output below. After the Beastie menu, I get the following output on both HDMI and serial consoles, and then no further output on the serial console, while the HDMI console goes blank. Loading Xen kernel... /boot/xen data=0x26b9a8+0x146658 - Loading kernel... /boot/kernel/kernel size=0x1debd70 Loading configured modules... /boot/entropy size=0x1000 /etc/hostid size=0x25 EFI framebuffer information: addr, size 0x4000000000, 0x1d4c00 dimensions 800 x 600 stride 800 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 I am happy to do additional debugging, but I personally am out of my depth here. Thank you Stephen From owner-freebsd-xen@freebsd.org Mon May 17 07:56:13 2021 Return-Path: <owner-freebsd-xen@freebsd.org> 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 3AB5863F422 for <freebsd-xen@mailman.nyi.freebsd.org>; Mon, 17 May 2021 07:56:13 +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 4FkBK82xfWz4vfM for <freebsd-xen@freebsd.org>; Mon, 17 May 2021 07:56:12 +0000 (UTC) (envelope-from roger.pau@citrix.com) IronPort-SDR: 1yNm2DXwkbYFkaU7aJBpyKTFO8NnAP6ENMfWIaQUgaIq9Z3kTTFiTrcNPFZzbUJB1YoBQaL3oI 7MaLLSlIbLE2YEu6Zxn+2ZPJaZkZBw2QXXNoqYUnhXGwUSIZORtFafF/7LdU43nfub2iX+LkIt sUyqv6XfXG6V/wa6A/TBgtmIX/sb6nsD/TO96Z4/qA+R0qAJ+dGL2zT+4Ej2MZyu6UKilYwjUo VQJkCc5HZ/LdK/R3So1hfhFIvkYaGeJYPvF+AkDCLPEFsONQIp1fDmj/pKr0PwYrpqJ9fyylyv W5U= X-SBRS: 5.1 X-MesageID: 44022864 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED IronPort-HdrOrdr: A9a23:kqJ+Eaz1BNaUoRJHlHwHKrPw1r1zdoMgy1knxilNoHxuH/BwWf rPoB17726RtN91YhsdcL+7V5VoLUmzyXcX2/h1AV7BZniEhILAFugLgbcKqweKJ8SUzJ8+6U 4PSclD4N2bNykGsS75ijPIb+rJFrO8gd+VbeS19QYScelzAZsQiDuQkmygYzZLrA8tP+teKL OsovBpihCHYnotYsGyFhA+LpL+T42iruOeXfYebSRXkDWzsQ== X-IronPort-AV: E=Sophos;i="5.82,306,1613451600"; d="scan'208";a="44022864" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PoE82M8PKd0pF71ykTJSPWB0i9dy05ygzCzBZZgiAYfyJ62Z/v+iIRBWorsaNcF3y/79Nrb1ImI1BJVRtcjALKIbbdhzJ+ixVpDXv4D2n2DFfa4GbWWVWOWkla2fuE+gXoomQwhhZBVKtOB5dvA7zXffKUy802d47YJ4xZnaminm4cV7kWD2WKF5vccN0QTCwvgJOgd7mMVeGYRmQ6/vJLlWhJrLw2xN0Y7A4OepzDC65qe48yEivl25TDSnLlaS3EQmaL6df9YiGDDcQH1c5d/KY+HQEsGWBDinRe2TVDvqQ4SLs9nEy4dvcg9WLRH3/nAOdK6E+waP+rHuiXpflA== 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=4D+c0mMkLl/srKEsHoUxU2Xfu4wM4JwKxvzz1jZskbw=; b=G6I20wuuhCH0Cjbd8HyBO6Jx1wQNSqVAdL/ToIspS96JvDNnABp0kGMjEIfuw1sirZjv8SxESM0XSZg5RdMtrGoYcLW8qHlyPGErfcfWQINxa+G1KTVDCZUFL3R0D2EU1puKC6puHsI5uChbXk67R6QXO+eErMarVh3C/WFtU7nEYa2URkQlXTsvAv0YQ+beKNwm7zVONyYyEGSPiztVAZOLGyHZZepJnyM07JuY8AfcIVONFct5R15UVGu50slEJgjtn9+Z0BhfSs/CV5xeUXkU4WhyaotGXRoyIqQx/sH97p4dLtj5+FdOCRn2nRuBpuUAWySnzheQiL6d2/ZGoA== 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, 17 May 2021 09:56:02 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= <roger.pau@citrix.com> To: Stephen Walker-Weinshenker <sww1235@gmail.com> CC: <freebsd-xen@freebsd.org> Subject: Re: [SUSPECTED SPAM]Re: HEADS UP: FreeBSD/Xen dom0 UEFI support Message-ID: <YKIhkv+hr7kqu+jm@Air-de-Roger> References: <CAHugLv9mREN+p4=C+6U3dVqkrZiDpQPMud2mDMueyEQt2EC1-Q@mail.gmail.com> <YIEefS4xl1xEZuzQ@Air-de-Roger> <CAHugLv9n1ccf5-N=w3d2hKkFp26m4RoufV1OuCruQBE4KYpzsw@mail.gmail.com> <YIaIMnCYDv38UHfZ@Air-de-Roger> <CAHugLv-JFOfCcxEFHNR7CT1GdU_JKud6ffTzj5ZHgsbkv8dUEg@mail.gmail.com> <YJkLeOL8vVPTDnrd@Air-de-Roger> <CAHugLv_qgikmq+hOnLWmp79hL_GH8XNCPzv_TaTrf5FOz-bD2Q@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <CAHugLv_qgikmq+hOnLWmp79hL_GH8XNCPzv_TaTrf5FOz-bD2Q@mail.gmail.com> X-ClientProxiedBy: PR3P189CA0011.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:52::16) 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: a97e68c7-af40-4597-fd53-08d919093ace X-MS-TrafficTypeDiagnostic: DM6PR03MB5178: X-Microsoft-Antispam-PRVS: <DM6PR03MB51781B6C47E766A3693970E78F2D9@DM6PR03MB5178.namprd03.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SuFwwjFr6szo+RlVW2RC/gAFvVb9NaU6ZNH3cVXHt3qa+czv4Mkx2rWxa6BFNhsne7PpsmVnwSuHjEu6e/mjpwBukuZCwRW625feoWqYLBN4Q6l+znp8JfQJC2mtH4YAMaA3VHu7oaqbBSayGe8XffznMW1DzMU3XYAc/RBtyXhOaTf5bQBKLpvTvFwufs2CSKfvhp9DWu68Dv06c89Qkg4SzfNJO7lMPXsSEVnD82FscUkvHwH1nug5qiGgePJJk5XT+GdP6Y29Og0uyGuz+yRKLf0V+Hlv/m6yJDxzkLx98DnqnOQNhern0mMokfsrogNg/KrMcywgEL6p6pwzlp4LggTElO+ziOmfMYh/OSDpAdzeRUz0f6ZB6/GMCGhimQfwFiYiVoay2yvMdN9AcQxSgep6AzZjzWNxlElAxhyNZ1233GZMx9aL+ezlYSGXroKFUuNjJXdesla39Asdw6n48a6s2zCiUObmFH6kioB2xeLgxX906kzR5Euf/PF8Cd9iSh2uoGJGNb1Em4L8jg+mJ/6NpMvNdrXiUdAd+iYs51m2geC5I+tiP4kItYB0qoFXyeBJAq7cIqHpohxb8Ntq7lzuFNo4+uoRJAa40gM= 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:(4636009)(7916004)(396003)(366004)(136003)(39850400004)(346002)(376002)(26005)(6486002)(2906002)(85182001)(6666004)(316002)(478600001)(38100700002)(8676002)(86362001)(66946007)(5660300002)(66556008)(186003)(8936002)(66476007)(83380400001)(6916009)(33716001)(9686003)(956004)(6496006)(4326008)(16526019); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?Q1NPUDQrc05LalpJVThJTjYxbXk4ZDl4K1huaFExbElUNVBXVlhpTkhwL3Bq?= =?utf-8?B?MktQd2J1RzVwZXV0SWR1Y09WcFY3Tm1YNW9pTXBobG5HTzFNeFVrZmZWL1I3?= =?utf-8?B?WjVaOHdKZ2ZJMHhuRXlyS0dKYk5mSEw5WGdkMTg5bmJlRUZKVWhoSThITEds?= =?utf-8?B?Q3J1L3pnTjErMWVzZW1URUlvOWVROTAxTkRkNG9yZldnYTAzd1dTN3NHS0gx?= =?utf-8?B?SXgvQzJTeG9XdjYwV1pOWWFseWxFaEh1UkhKTTJBYlhRN0lFaEhkemJsRjhZ?= =?utf-8?B?elpyWTc3VWVkdkxoenh6V3JZV1lpc1g0Qml2Tm1idGxFeXNrY2FsYnNWcnJh?= =?utf-8?B?eTZCZ0JnWk9aNkxpNTFaZzErZHFSNHd0bUdydHVENzFPRXAxWVNpUnVDNXJ2?= =?utf-8?B?ZWJWVmJqdDdNSWZsUzcza2taNWpsWFBSaUZra0hCUVhlbWZ3OURObWpteUJX?= =?utf-8?B?NWRNbGM1RUUwcXNVajA2SjNsZGNtZi9WMVhGYTJRWWJGeGVBK1E5U1VUUEdR?= =?utf-8?B?WEZDbHBxYy8xbXNkL1drOTlqeHkzNjI4RDhvZHJJUE51SlZ2RmcvbTdUNmNn?= =?utf-8?B?T21ualB4bkRWQm1HUy9UbkJBMWhZeit6dElmTGg3Vk1HL2U5c1B1L09OMm9Y?= =?utf-8?B?R3JPdWh1dUxKMVc1UGQrRGtabmtFNHVvY1RCNmVxWVp3SlFucGNLTVd6TE1O?= =?utf-8?B?MldNK2JVeDRFSnhlVllnb1RGbHh6aEZvWElSY0dITDhlT3R6QzREM1VNakpQ?= =?utf-8?B?Ymh3VFYxY25rSXEvNVpwcGd0L0pqRFFwZDhPeEY0S2ZNbVBMUnBVVHdZcnFl?= =?utf-8?B?TVI3b1ZRdnlPNG44aVFaNXBBTkFyTndqZnpzdWI5cUVid0dyM3p3V055MjAv?= =?utf-8?B?MXMzRE5UczU3aUZWSXJidWsyMVpBUXE1dGVFNk4zQzRtamNRS08yaUw1YUpJ?= =?utf-8?B?VzhmeFZKVUhsU3dMZjdKdVM4OHhiT2thNjhqQm4zUWNhdWdqQVkzU0xSbFN3?= =?utf-8?B?Q3Fhb0pSTVp3OVlOM0xwMU9vR3J5ODRQWE13UGlJZjFFdEhYdWxqMDVBZkQv?= =?utf-8?B?Qk1Od0pld0hMazhRcnRiOEJSWEdxNDZ6Y0ZIUm56T2FQSDQyT1p0OWlWZEVk?= =?utf-8?B?MGpOQmZmL0RsMlFVMWVOMFNYbHVPMGs4RWFZMlBKVE9wbVk2ZXh1TmtYa3JF?= =?utf-8?B?WnFjV0NKTWFSUm9rcUdWMUZ0d3hWU2ZqSVozWmp6eVgyZlZ4RzFsTDRJdlRv?= =?utf-8?B?OHNTWCtxbnJIaUs1a0ljK2RtREFPVlo2Rmo2WTJZaC95QlpRQi8xTGcwZksx?= =?utf-8?B?c3BTd1hBRTdmSlJNTDdtc0dtTEQwY1NFTzV6SWJKSXV2MGxNMmo1NGt4QjVD?= =?utf-8?B?Y3dvT3U4cnFxcGM1VjR1SVU4RTNNV1AvSzNmbXlCQ09UUmdJYXN0Wm1QRHdI?= =?utf-8?B?YnBSUVVBek9wU3FtajRFZDl5YlZSUUZteE1hT20zRjR6RXV6dnNSU1drVndW?= =?utf-8?B?NG1JNmtpVVBZS0haQ1lrVGxZVWVVMnI4U1FrRjU0M2dGUkIxLyt0M2krL1lt?= =?utf-8?B?Y3I1QTZ1NEpLb1gwc21wU1VTdkY5WjlscXFiblZES04vOVZHb0l5NlZ3aU11?= =?utf-8?B?aCtSWTZGWVM3QjFPdDZ3MUJ2NFJ5bnNsenNUSEdZOGZ2ZWgvMThXenM4VW1F?= =?utf-8?B?ZkwxaTM1NkdVcEdMd3dnNkhmUUhHY3duVGJMUTUwRFV2bjJxb01ia050cGhq?= =?utf-8?Q?M4F1Pya+q7cU7Lhhe7cNa5jl1wbFCtmBA3XPKuO?= X-MS-Exchange-CrossTenant-Network-Message-Id: a97e68c7-af40-4597-fd53-08d919093ace X-MS-Exchange-CrossTenant-AuthSource: DS7PR03MB5608.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2021 07:56:08.6269 (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: FZIzHmx4kAEfq03YcTIK48Ntg1kBcNuIuVp90glOD6hl3Dqb8CE/cvEe40NXAROQQK4lI9fbJmifXgeC2MFyUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB5178 X-OriginatorOrg: citrix.com X-Rspamd-Queue-Id: 4FkBK82xfWz4vfM X-Spamd-Bar: ----- X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RWL_MAILSPIKE_VERYGOOD(0.00)[216.71.155.175:from]; 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)[]; NEURAL_HAM_SHORT(-1.00)[-0.998]; 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:+]; R_SPF_NA(0.00)[no SPF record]; 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 <freebsd-xen.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-xen>, <mailto:freebsd-xen-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-xen/> List-Post: <mailto:freebsd-xen@freebsd.org> List-Help: <mailto:freebsd-xen-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-xen>, <mailto:freebsd-xen-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 17 May 2021 07:56:13 -0000 On Sun, May 16, 2021 at 07:17:46PM -0600, Stephen Walker-Weinshenker wrote: > > > xen_cmdline="dom0_mem=2048M dom0_max_vcpus=1 dom0=pvh com1=115200,8n1 > > > guest_loglvl=all loglvl=all console=vga,com1" > > Can you try adding 'watchdog' to xen_cmdline and see if that forces > > the box to reboot after it goes black? > > > > If Xen is able to boot, and the problem is with FreeBSD dom0 you might > > try also adding vga=keep to xen_cmdline, that way we might get some > > output from dom0 (if that's indeed where the issue is happening). > > > > > xen-kernel version = 4.14.1_1 > > > xen-tools version = 4.14.1_1 > > > > > > Both installed from packages, rather than ports. > > > > > > These boxes are Intel NUCs that I normally manage over intel AMT using mesh > > > commander. I tried enabling the virtual serial port through AMT but no > > > dice. > > > > I never tried using the AMT serial port, first thing would be to get > > it to work with plain FreeBSD, then we can see about getting it > > working with Xen. FWIW, a lot of the test boxes I work with use SoL, > > and I would expect the AMT serial to work as well. > > No dice on the AMT serial port, but I have been less than impressed with > MeshCommander and AMT thus far. > > > > > I know the nucs have a hardware serial port, but I don't have the > > > cable to attach to the header at the moment. I have ordered some headers > > > and crimp pins to attach to the serial port for more debugging, but they > > > will not get here for about a week. > > > > I did the original EFI work on a NUC7i7DNHE using the serial port. > > Last time I tried HDMI worked with Xen. > > I was able to get the hardware serial port working. turned out I had a typo in > my /boot/loader.conf. Commconsole instead of comconsole. That also flagged > a different error that revealed that vidconsole should be replaced with efi on > UEFI systems > > > > > I also tried connecting directly to the NUC's HDMI port but I just got a > > > blank screen again, after all the boot messages appeared. > > > > Are those messages that you see Xen boot messages or FreeBSD boot > > messages? > > > > Does the box reboot itself? > > No > > > > > I'm afraid we will require some more information to help diagnose > > what's going on. > > Tried adding both of the options that you mentioned above to xen_cmdline with no > appreciable difference. > The system did not appear to attempt to reboot itself. See serial > console output below. > > After the Beastie menu, I get the following output on both HDMI and > serial consoles, > and then no further output on the serial console, while the HDMI > console goes blank. > > > Loading Xen kernel... > /boot/xen data=0x26b9a8+0x146658 - > Loading kernel... > /boot/kernel/kernel size=0x1debd70 > Loading configured modules... > /boot/entropy size=0x1000 > /etc/hostid size=0x25 > EFI framebuffer information: > addr, size 0x4000000000, 0x1d4c00 > dimensions 800 x 600 > stride 800 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > > I am happy to do additional debugging, but I personally am out of my depth here. So there doesn't seem to be any output at all from Xen. Can you paste your full /boot/loader.conf? Can you try to swap com1 with com2 on the xen_cmdline and see if that makes any difference. Xen doesn't really have any logic to figure out which is the proper serial port to use. Also there should now be a binary xen-kernel 4.15 package, so you can also try with that one to see if it makes a difference. I've only been able to test multiboot2 EFI loading on a single box, so it's possible it has some sharp edges, sorry. Thanks, Roger.