From nobody Wed Aug 18 14:03:34 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 64024176F075 for ; Wed, 18 Aug 2021 14:03:39 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 4GqV4B5T9Qz4XPn; Wed, 18 Aug 2021 14:03:38 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id r7so3809637wrs.0; Wed, 18 Aug 2021 07:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=KnbKYAav5/UVNqSKi29V5Xj1dr/uxXug7IzmiIyy18A=; b=trvCQOtvtQGRJQ6HA57QsNzB/dRlLFSJ+7JIMjViDgd+H8AwO/u60NfWgAnRRlLIDg TgoP2bLA833qZ40HyE/xWS36EyOYIe9dvRNeVwInDXu+CO0kgSNT8WoHiPU2FuD2CQtm DyZmdglkYb4fylAMSmi2kbsWc0f5O/hrhFu8N4p7/GmcTTTutvQwKH1SJuOzNO0V+2Rt htnmR3lTA4FiYAIABQzNZLFCz5yPr5X57+QUTbnhKLZHeyD5K21NWlmdZOimtX/iHSV7 oobHoChxrwuh78/RRaJAeFTT5v7dApy66UW13HUZvTYH8hHq50H89nf5WADYVGRWlQRP q1wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=KnbKYAav5/UVNqSKi29V5Xj1dr/uxXug7IzmiIyy18A=; b=emgJFe91Pz0EwGMxeHlzP1iokIkFrESAQI37ukwP2bqrtZTjLo9w28diiVl+PaVXVF jwN2+ZSmmCqALWsGnvluCkewH0Q/F9usbNGR2aGdIRtk2A3RuSZUi8JzIuuSYYxW2fh8 bVTl0CXWkAkaS5Xf+5TxYfQPpm8ug1OQ1sEpp8YvBhmFoqI7JBvbn0D/WxfpdyuhZGE3 GuC8v5CQ/91Ge077appvPbRuYMKj4JurkCAgDprferBLj9tS5iszYhV2RB4O0cW4qluV Ae0qpLgC5j+5Uoz6nfoOWv64IDqwi/jnpBp8SYDjKOhtvVITIUyq6JHHx9+GckMbV2Gq EdFw== X-Gm-Message-State: AOAM531alhvtLnuAa1GUsHGtmqcse5dBYbjOz8QCZWIyMS0HaFXwzCgl tmlUvYThRq9av78pKjOyWyY= X-Google-Smtp-Source: ABdhPJweERM0D1BVRIWx2IQH2PKbs0rqkt60QK6ahhf0ltw14tygIl1KdE5QU6mfKCDBk/ZAGqMQfQ== X-Received: by 2002:adf:df8e:: with SMTP id z14mr11520322wrl.244.1629295417790; Wed, 18 Aug 2021 07:03:37 -0700 (PDT) Received: from smtpclient.apple (212-197-183-172.adsl.highway.telekom.at. [212.197.183.172]) by smtp.gmail.com with ESMTPSA id f10sm5854922wrx.40.2021.08.18.07.03.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Aug 2021 07:03:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 15.0 \(3691.0.3\)) Subject: Re: another xen-kernel UEFI story From: "Lizbeth Mutterhunt, Ph.D" In-Reply-To: Date: Wed, 18 Aug 2021 16:03:34 +0200 Cc: freebsd-xen@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4DAB0DB2-E18D-4024-B80B-FCA2D2F51A45@gmail.com> References: <3839452.BRNeRiNLvY@freebsd_current> <9cf13949-3436-ce43-9884-d7a028c940fb@gmail.com> <2659512.iL6vRArjjl@freebsd_current> To: Gerd Hafenbrack , Roger Pau Monn? X-Mailer: Apple Mail (2.3691.0.3) X-Rspamd-Queue-Id: 4GqV4B5T9Qz4XPn X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=trvCQOtv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of lizbethmutterhunt@gmail.com designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=lizbethmutterhunt@gmail.com X-Spamd-Result: default: False [-2.18 / 15.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]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; 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)[]; 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)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.32)[0.321]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Ok, the RS-232 cable arrived yestereday to connect it with my ASUS board = shouldn=E2=80=99t be the problem, but how to connect on the other side = of a 7 year old Dell Notebook with FreeBSD 14 CURRENT running? I guess I = need a USB -> RS232 adapter there, or? And the Raspi would need = something like this, too? Greetz,=20 Lizbeth P.S.: Clover can boot XEN, but not FreeBSD!? > Op 13 aug. 2021, om 14:49 heeft Gerd Hafenbrack = het volgende geschreven: >=20 > Hello lizbeth, >=20 > there should be no USB involved at all. > Just connect the cable of the RS-232 port slot bracket module onto the = connector labeled "COM1" on the mainboard. See "10. Serial port = connectors (10-1 pin COM1)" in "Chapter 2" on page 2-27 in the P8H77-M = PRO user manual E8626. > = https://dlcdnets.asus.com/pub/ASUS/mb/LGA1155/P8H77-M_PRO/E8626_P8H77-M_PR= O.pdf >=20 > cu, > Gerd >=20 > On 2021-08-13 13:36, lizbethmutterhunt@gmail.com wrote: >> Op Thursday, 12 August 2021 18:56:29 CEST schreef u: >>> Hello, >>>=20 >>> 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. >>>=20 >>> Regards, Gerd >> ok guys, i decided to get some connectors for the rs-232 via usb on = both sides >> and also thought on the cable connect in between. this should take = 2-3 days, >> serial console should be able to /proc the very early preboot. when = ready, I >> will report immidiately. look at this output: >> grep uart /var/run/dmesg.boot >> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 >> uart0: console (115200,n,8,1) >> uart0: fast interrupt >> uart0: PPS capture mode: DCD >> uart: uart0 already exists; skipping it >> pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1 >> uart1 failed to probe at port 0x2f8 irq 3 on isa0 >> pcib0: allocated type 4 (0x3e9-0x3e9) for rid 0 of uart2 >> uart2 failed to probe at port 0x3e9 irq 4 on isa0 >> and this I entered up to now: >> sudo stty -a -f /dev/ttyv1 >> speed 9600 baud; 90 rows; 320 columns; >> lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl >> -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin >> -nokerninfo -extproc >> iflags: -istrip -icrnl -inlcr -igncr ixon ixoff -ixany -imaxbel = -ignbrk >> -brkint -inpck -ignpar -parmrk >> oflags: -opost onlcr -ocrnl tab0 -onocr -onlret >> cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb -crtscts = -dsrflow >> -dtrflow -mdmbuf rtsdtr >> cchars: discard =3D ^O; dsusp =3D ^Y; eof =3D ^D; eol =3D ; >> eol2 =3D ; erase =3D ^?; erase2 =3D ^H; intr =3D ^C; kill = =3D ^U; >> lnext =3D ^V; min =3D 1; quit =3D ^\; reprint =3D ^R; start =3D = ^Q; >> status =3D ^T; stop =3D ^S; susp =3D ^Z; time =3D 0; werase =3D = ^W; >> cu soon, >> lizbeth >> thx for help, >> lizbeth >>>=20 >>> On 2021-08-12 18:45, Roger Pau Monn=C3=A9 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=C3=A9 = het >>>>>> volgende geschreven: >>>>>>=20 >>>>>> Adding the freebsd-xen mailing list again. >>>>>>=20 >>>>>> 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 >>>>>>>=20 >>>>>>> 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 >>>>>>>=20 >>>>>>> wrote: >>>>>>>>>>> could someone pleas check this link: >>>>>>> = https://forums.freebsd.org/threads/xen-kernel-doesnt-start-at-all.8155 >>>>>>>=20 >>>>>>>>>>> 6/ >>>>>>>>>>>=20 >>>>>>>>>>> does anyone has another idea then duplicating CURRENT and = RELEASE >>>>>>>=20 >>>>>>> via >>>>>>>=20 >>>>>>>>>>> Virtualbox or qemu? >>>>>>>>>>>=20 >>>>>>>>>>> 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], >>>>>>>=20 >>>>>>> [data], >>>>>>>=20 >>>>>>>>>>> [syms] and the preconfig but afterwards there's just the >>>>>>>=20 >>>>>>> reset-button >>>>>>>=20 >>>>>>>>>>> option, because XEN doesn't boot. >>>>>>>>>>>=20 >>>>>>>>>>> any help appreciated! >>>>>>>>>>=20 >>>>>>>>>> Hello, >>>>>>>>>=20 >>>>>>>>> hello royger! >>>>>>>=20 >>>>>>> hija! >>>>>=20 >>>>> Hello Roger! >>>>>=20 >>>>>>>>>> There are a couple of things to look at, first of all, do you = have a >>>>>>>>>> serial console attached to the box? >>>>>>>>>=20 >>>>>>>>> I guess so, because there are two possibilities to start from = via >>>>>>>=20 >>>>>>> primary >>>>>>>=20 >>>>>>>>> and secodary console! >>>>>>>>=20 >>>>>>>> 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: >>>>>>>>=20 >>>>>>>> https://www.computerhope.com/jargon/s/serial-console.htm >>>>>>>> = https://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/intro-why.html >>>>>>>=20 >>>>>>> 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! >>>>>>=20 >>>>>> I 'm afraid I'm a bit lost here, so your computer does have some = kind >>>>>> of serial port? >>>>>=20 >>>>> 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) >>>>>=20 >>>>> Yup! >>>>>=20 >>>>>> the re0 network interface stops working. >>>>>=20 >>>>> Yes, at the dhclient allocations it stops immediately with no = output or >>>>> debugger info at all. Also the keyboard was disabled and I = couldn=E2=80=99t >>>>> 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. >>>>=20 >>>> 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. >>>>=20 >>>> The handbook contains a good section about how to get it working: >>>>=20 >>>> = https://docs.freebsd.org/en/books/handbook/serialcomms/#serialconsole-setu= >>>> p >>>>=20 >>>> 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. >>>>=20 >>>> Note that you should be able to get the output of both the FreeBSD >>>> loader and kernel on the serial console. >>>>=20 >>>> Regards, Roger.