From nobody Thu Aug 12 16:56:29 2021 X-Original-To: freebsd-xen@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 652CE174C9C7 for ; Thu, 12 Aug 2021 16:56:33 +0000 (UTC) (envelope-from gerd.hafenbrack@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450: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 4GltBS4YnVz3Hkw for ; Thu, 12 Aug 2021 16:56:32 +0000 (UTC) (envelope-from gerd.hafenbrack@gmail.com) Received: by mail-ed1-x530.google.com with SMTP id dj8so2833208edb.2 for ; Thu, 12 Aug 2021 09:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=iqS6YxsteutfPTZIebkKt6iEPtUL49brYwSdW5pOZis=; b=auS+XA9kLW2faL3TRQF/B+scSOl1N4OLtJaKdwyg10+uI0mR2RTXxFSMTn6MSB1ZVk sOXPQ6syWmvtF9W/Kx5wjHskeRqWanUgpKXPY0VECSA/qPeoc9SwVI6KJhnAmCful9Xi SLfFLZDXIxQdklPbmH2hQVTDRuCmmVjZKS3iAYgtMfTzEHfxbWHr81bytRaNyQvAB6Ad 5WP/JLUUIgJGoPa+VVk2u3+kTZM1RZOBn67Shu1TC4QyCYL3PBXZAXkSp+TdBbWqbSkT k7bQZjxAZaLw8Q+XqJk2nlTu+sryuGTwy9UvofNhIMz6VPlEoyqi96n6+zYb8AEzkScv fTfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iqS6YxsteutfPTZIebkKt6iEPtUL49brYwSdW5pOZis=; b=qzRA6CwpDdqtyJCjPZ5sJiTlKOqb5C7Fk20GkyHXypengqiNRtVEzfJ+C4sYia3w2T AoL3y/Su/Nxc9CvXs6Pu7D1OGO3OVMujVZ9WPgv0tssReTYMbIvMGvkVRHW2bN0JFjAU IVfjguQ5vMeX4oi2ArtSAtlSOHZA07sqA6V6XstcB10RwoW7bPxpSYv7hEGi7q0kEr0p /fcg470Lv8sTq8/SW72t3cXn+1lkbPaqUg6F9rlaVn3XbEMM0/EoSz2TvxYrpAlDTyFb IZ7Vi2cLNlvQbHbc4+kJIBZtwU8v+LhqQHindFk+fTv6QdNvRJEQA3nSMJYTS7A8b/Zp kD0w== X-Gm-Message-State: AOAM532FKyDco4urmJxyI6Ay8fwvZ3Ovnp3S+8HnSwuSpQulgx/vsuF0 Zfskzb4FXGGR5w3RktJD4Xw0YTqXEbU= X-Google-Smtp-Source: ABdhPJzk/XwDe6f6am8X5QyaYiat4iOXO1NXc58rf7I5WOECOdfvkbdTTJ85HamKzc0ZyJAZdOAFMg== X-Received: by 2002:aa7:dd0d:: with SMTP id i13mr6639649edv.371.1628787391645; Thu, 12 Aug 2021 09:56:31 -0700 (PDT) Received: from ?IPv6:2a02:8070:e198:fc00:2cb8:161e:3633:370? ([2a02:8070:e198:fc00:2cb8:161e:3633:370]) by smtp.gmail.com with ESMTPSA id kz15sm707010ejc.103.2021.08.12.09.56.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Aug 2021 09:56:31 -0700 (PDT) Subject: Re: another xen-kernel UEFI story To: "Lizbeth Mutterhunt, Ph.D" Cc: "freebsd-xen@freebsd.org" References: <3839452.BRNeRiNLvY@freebsd_current> <3837161.BRNeRiNLvY@freebsd_current> <0FD46B61-6556-4912-814F-4A26988CC23E@gmail.com> From: Gerd Hafenbrack Message-ID: <9cf13949-3436-ce43-9884-d7a028c940fb@gmail.com> Date: Thu, 12 Aug 2021 18:56:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-xen List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GltBS4YnVz3Hkw X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=auS+XA9k; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gerdhafenbrack@gmail.com designates 2a00:1450:4864:20::530 as permitted sender) smtp.mailfrom=gerdhafenbrack@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(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]; 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]; FREEMAIL_TO(0.00)[gmail.com]; 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)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-xen@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::530:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello, The ASUS P8H77M-Pro has an internal serial connector onboard. Lizbeth should get a DB9 male slot bracket with 10 pin internal connector and a null modem cable. Regards, Gerd On 2021-08-12 18:45, Roger Pau Monné wrote: > On Thu, Aug 12, 2021 at 03:52:55PM +0200, Lizbeth Mutterhunt, Ph.D wrote: >> >> >>> Op 12 aug. 2021, om 09:01 heeft Roger Pau Monné het volgende geschreven: >>> >>> Adding the freebsd-xen mailing list again. >>> >>> On Wed, Aug 11, 2021 at 12:48:55AM +0200, Lizbeth Mutterhunt, Ph.D wrote: >>>> Op Tuesday, 10 August 2021 15:32:45 CEST schreef u: >>>>> On Tue, Aug 10, 2021 at 02:41:34PM +0200, lizbethmutterhunt@gmail.com >>>> wrote: >>>>>> Op Tuesday, 10 August 2021 09:38:58 CEST schreef u: >>>>>>> On Mon, Aug 09, 2021 at 05:23:27PM +0200, lizbethmutterhunt@gmail.com >>>> wrote: >>>>>>>> could someone pleas check this link: >>>>>>>> >>>> https://forums.freebsd.org/threads/xen-kernel-doesnt-start-at-all.8155 >>>>>>>> 6/ >>>>>>>> >>>>>>>> does anyone has another idea then duplicating CURRENT and RELEASE >>>> via >>>>>>>> Virtualbox or qemu? >>>>>>>> >>>>>>>> XEN simply doesn't boot after setting xen_kernel on in >>>>>>>> /boot/loader.conf, >>>>>>>> we tried different ways but none worked. It's loading [text], >>>> [data], >>>>>>>> [syms] and the preconfig but afterwards there's just the >>>> reset-button >>>>>>>> option, because XEN doesn't boot. >>>>>>>> >>>>>>>> any help appreciated! >>>>>>> >>>>>>> Hello, >>>>>> >>>>>> hello royger! >>>> hija! >>>> >> Hello Roger! >> >>>>>> >>>>>>> There are a couple of things to look at, first of all, do you have a >>>>>>> serial console attached to the box? >>>>>> >>>>>> I guess so, because there are two possibilities to start from via >>>> primary >>>>>> and secodary console! >>>>> >>>>> The serial console is a port (usually a RS-232) on your box that you >>>>> attach a cable to and connect to another computer, so you can get >>>>> early text debug output: >>>>> >>>>> https://www.computerhope.com/jargon/s/serial-console.htm >>>>> https://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/intro-why.html >>>> Basically I know the RS-232 "live" in the 80s, and I was soldering a earth- >>>> cable to connect two PCs without any swith via a deviate of Midnight >>>> Commander. So first thought, enable serial port in bios; computer crashing >>>> at >>>> xen and crashes when allocating the re0. so disabled again! >>> >>> I 'm afraid I'm a bit lost here, so your computer does have some kind >>> of serial port? >> >> No, no RS-232 output of course but a parallel and serial console in the BIOS! I activated the serial port and got in troubles with booting; beasties logo has been disabled, so no boot menu to unset the xen_xernel at boot prompt. XEN never booted anyway. >> >>> Do you mean that when you enable the serial port in BIOS (I assume a >>> Serial Over LAN) >> Yup! >>> the re0 network interface stops working. >> Yes, at the dhclient allocations it stops immediately with no output or debugger info at all. Also the keyboard was disabled and I couldn’t press CTRL+C for avoiding DHCPREQUEST. > > I think it would be better to get Xen out of the picture here, and > initially focus on getting a serial console working with plain > FreeBSD. > > Once you have that it should be trivial to attempt to boot > Xen and get the output on the serial, but first you need to have it > working properly with plain FreeBSD. > > The handbook contains a good section about how to get it working: > > https://docs.freebsd.org/en/books/handbook/serialcomms/#serialconsole-setup > > But it seems like you will need some help from your hardware vendor in > order to figure out how to enable Serial Over LAN properly on the > firmware. > > Note that you should be able to get the output of both the FreeBSD > loader and kernel on the serial console. > > Regards, Roger. >