From owner-freebsd-xen@freebsd.org Fri Jan 15 14:45:58 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 E6A8D4E8089 for ; Fri, 15 Jan 2021 14:45:58 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 4DHPBF20pTz53V2 for ; Fri, 15 Jan 2021 14:45:57 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id a12so9505204wrv.8 for ; Fri, 15 Jan 2021 06:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=peyBk7RpVPDM9RkiVGLUKUPA+6FI2k75lMLpJ5qRDvU=; b=KC8z+KmFeL9X9Kt9vmzjvxk59HH7QxK7lH/Lr3uNVDDOsqZF/jKBAspsLOX9auqwqK WJ9mC7FWsCXIholnxApDcxgJ/pp/MRKMy/0eVrcnhPKWyOjHdQeKHvZzHKvmqdsS1gmU /+MDXsy9al16B3FkU4SRwpYRNt5IGG/bjp/eHMzhgmJQCsNYt09AOa/IOTlnupH/KW/m d4c+g2hGOavkzZ+xL6VaNms4DzblfoFdwCHKXi/Sh3hRlCiBnXmG/WzW8tSbp2oDaXLD uW8ZPfU/hbRZkSBQw1rwPtil5mWwsS6QoHy3xF1a6QoGdiye/kPeIg1Ikad7iFn1zU+r I0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=peyBk7RpVPDM9RkiVGLUKUPA+6FI2k75lMLpJ5qRDvU=; b=SDDK7s2HRpvCcPGRXrrzKhsQraL6gEFoG8lEQPkz4JS3aG50KXgdxU40XYWaUA4HvI /efaSiAXz4sPUq+bI3+ihbVAJVG1UBIAAFCvXXSI/6MXYwofQz9a+Unmh/3/SgOO5VnN wEKVv3tVXjabIn6afgjQ80uI2vlrN/fJ21cpZUir9a1oq1N/dCckQ57c1vQ+WB8eW4dJ RuGqZ18zIrd8SKCA5wegetHJK059JwZLM9Cf2t8MaThELkX3FmdJGBcRrVQ43thClgBb kR3SWwns9CORdlDYE66ldl2auMGSGNLKniXVMYKsJAXiCPL0rQL/4voEQwag0kqIKz/W czbQ== X-Gm-Message-State: AOAM530itJP1ljbH6/vSRJtFkMMgV3/O4Kua4QiHTeFnlO0EzA1GrPgl ZuDvSPsmx/WLHEX9zOW3uC4hVQi8AZw9jAjY X-Google-Smtp-Source: ABdhPJx37JIit/iSzjVPvjPhlrBebSNwddXIF8MU0vUL786QIY2r29v2cUkJdY199TGU7HwnQ3ieZw== X-Received: by 2002:a05:6402:4312:: with SMTP id m18mr7712994edc.99.1610721548162; Fri, 15 Jan 2021 06:39:08 -0800 (PST) Received: from freebsd-current.localnet (public-nat-14.vpngate.v4.open.ad.jp. [219.100.37.246]) by smtp.gmail.com with ESMTPSA id ot18sm3599785ejb.54.2021.01.15.06.39.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 06:39:07 -0800 (PST) From: "Lizbeth Mutterhunt, PhD" To: freebsd-xen@freebsd.org Subject: Fwd: Re: either xen or custom Date: Fri, 15 Jan 2021 15:38:57 +0100 Message-ID: <5536984.Zv9zXsTiuT@freebsd-current> X-Face: jLp,#|qe`P=tm$C@l^; H-:@l=wrh`EUh90+Zq8&japTr{$pA+r^:ne~/Tml>0T8#5?+o&^ zKe%^Q*b52{qhsO_kOj/P.vmm:r`teihTj)qZi]u{qX=h=MhLU%OXcDp])XtYFLu?PS MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2518611.TYJnH3iKXO" Content-Transfer-Encoding: 7Bit X-Rspamd-Queue-Id: 4DHPBF20pTz53V2 X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KC8z+KmF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of lizbethmutterhunt@gmail.com designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=lizbethmutterhunt@gmail.com X-Spamd-Result: default: False [9.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~,3:+]; CTE_CASE(0.50)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::435:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[219.100.37.246:received]; R_DKIM_ALLOW(0.00)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[219.100.37.246:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-xen@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::435:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::435:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-xen] X-Spam: Yes 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: Fri, 15 Jan 2021 14:45:59 -0000 This is a multi-part message in MIME format. --nextPart2518611.TYJnH3iKXO Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Op Donnerstag, 14. J=E4nner 2021 09:21:09 CET schreef u: > On Sun, Dec 13, 2020 at 12:11:40AM +0100, lizbethmutterhunt@gmail.com wro= te: > > to make a long story short: either I get a lock (hard to avoid, not to = be > > unlimited with ulimit -l unlimited) or a boot of xen and a blank screen > > with reboot after a 10 seconds with vga=3Dcurrent. > > Hello, Hello Roger,=20 > Sorry for the delay on the reply. I'm afraid I will need more info in > order to help diagnose your issue. no matter, was occupied other ways; using VirtualBox at the moment, slow an= d=20 the hypervisor tends to make long waiting-times...=20 > How do you get the lock that you mention? Is it booting Xen, or just > plain FreeBSD? It's booting XEN, but not the CURRENT-kernel afterwards or it boots the=20 CURRENT but not xen. I have in /boot/loader.conf xen_kernel=3D"/boot/xen" xen_cmdline=3D"dom0_mem=3D4048M dom0_max_vcpus=3D4 dom0=3Dpvh com1=3D115200= ,8n1=20 guest_loglvl=3Dall loglvl=3Dall" iommu=3D"force,no-intremap" if_tap_load=3D"YES" console=3Dvga,com1 boot_multicons=3D"YES" boot_serial=3D"YES" console=3D"comconsole,vidconsole" vmm_load=3D"YES" vga=3Dcurrent and in /etc/rc.conf: xencommons_enable=3D"YES" cloned_interfaces=3D"bridge0" ifconfig_bridge0=3D"addm bge0 SYNCDHCP" ifconfig_bge0=3D"up" sudo ulimit -l unlimited sudo uname -a =46reeBSD freeBSD-CURRENT 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r368997: Tue= Jan=20 12 13:46:33 CET 2021 lizbeth@freeBSD-CURRENT:/usr/obj/usr/src/amd64.amd= 64/ sys/LIZBETH amd64 it's a no-debug kernel! /etc/ttys xc0 "/usr/libexec/getty Pc" xterm on secure when booting without XEN I get the following with 'xl dmesg' xencall: error: Could not obtain handle on privileged command interface /de= v/ xen/privcmd: No such file or directory libxl: error: libxl.c:102:libxl_ctx_alloc: cannot open libxc handle: No suc= h=20 file or directory cannot init xl context a normal boot without xen is on pastebin (VERBOSE_SYSINIT=3D2) https://pastebin.com/RN1SYXdW > Do you have a serial console attached to the box so that we could > see the log of Xen and FreeBSD booting? how to? every time I boot into xen I have to zpool import -f and mount it f= rom=20 rescue CD. Is there a log from the last boot somewhere? I duckduckgo'd a bi= t=20 but couldn't find anything else than the dmesg. As it is not a kernel crash= =20 there's nothing in /var/crash and on /var/run I have the running boot insid= e.=20 Maybe you tell me how to show the log from the serial console; btw, I tried= =20 both ways, only serial, only bios or both --- no matter, xen's booting,=20 screen's blanking for the "normal" kernel but nothing happens but a sudden= =20 reboot. Is it on the /var/* somewhere when booting from resucue? btw, the=20 current images from beginning 2021 don't boot, turning root sign but blank= =20 screen, no boot menue but steady access to USB-stick.=20 I thought that the XEN-log should be somewhere in the boot-directory but it= 's=20 empty but asking for IUMMO support when using both consoles, when serializi= ng=20 xen boots successfully but rebooting afterwards.=20 =20 > Thanks, Roger. I have to tell you thank you.=20 byebye,=20 lizbeth --nextPart2518611.TYJnH3iKXO Content-Type: message/rfc822; name="Re: either xen or custom" From: "Lizbeth Mutterhunt, PhD" To: Roger Pau =?ISO-8859-1?Q?Monn=E9?= Cc: port-xen@netbsd.org Subject: Re: either xen or custom Date: Thu, 14 Jan 2021 14:49:26 +0100 Message-ID: <7599180.bYQgcRI8ro@freebsd-current> X-Face: jLp,#|qe`P=tm$C@l^;H-:@l=wrh`EUh90+Zq8&japTr{$pA+r^:ne~/Tml>0T8#5?+o&^ zKe%^Q*b52{qhsO_kOj/P.vmm:r`teihTj)qZi]u{qX=h=MhLU%OXcDp])XtYFLu?PS In-Reply-To: <20210114082109.scxr2xwkrzvpb4qn@Air-de-Roger> References: <2345596.0dHE6SNnxz@freebsd-current> <20210114082109.scxr2xwkrzvpb4qn@Air-de-Roger> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Op Donnerstag, 14. J=E4nner 2021 09:21:09 CET schreef u: > On Sun, Dec 13, 2020 at 12:11:40AM +0100, lizbethmutterhunt@gmail.com wro= te: > > to make a long story short: either I get a lock (hard to avoid, not to = be > > unlimited with ulimit -l unlimited) or a boot of xen and a blank screen > > with reboot after a 10 seconds with vga=3Dcurrent. >=20 > Hello, Hello Roger,=20 > Sorry for the delay on the reply. I'm afraid I will need more info in > order to help diagnose your issue. no matter, was occupied other ways; using VirtualBox at the moment, slow an= d=20 the hypervisor tends to make long waiting-times...=20 > How do you get the lock that you mention? Is it booting Xen, or just > plain FreeBSD? It's booting XEN, but not the CURRENT-kernel afterwards or it boots the=20 CURRENT but not xen. I have in /boot/loader.conf xen_kernel=3D"/boot/xen" xen_cmdline=3D"dom0_mem=3D4048M dom0_max_vcpus=3D4 dom0=3Dpvh com1=3D115200= ,8n1=20 guest_loglvl=3Dall loglvl=3Dall" iommu=3D"force,no-intremap" if_tap_load=3D"YES" console=3Dvga,com1 boot_multicons=3D"YES" boot_serial=3D"YES" console=3D"comconsole,vidconsole" vmm_load=3D"YES" vga=3Dcurrent and in /etc/rc.conf: xencommons_enable=3D"YES" cloned_interfaces=3D"bridge0" ifconfig_bridge0=3D"addm bge0 SYNCDHCP" ifconfig_bge0=3D"up" sudo ulimit -l unlimited sudo uname -a =46reeBSD freeBSD-CURRENT 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r368997: Tue= Jan=20 12 13:46:33 CET 2021 lizbeth@freeBSD-CURRENT:/usr/obj/usr/src/amd64.amd= 64/ sys/LIZBETH amd64 it's a no-debug kernel! /etc/ttys xc0 "/usr/libexec/getty Pc" xterm on secure when booting without XEN I get the following with 'xl dmesg' xencall: error: Could not obtain handle on privileged command interface /de= v/ xen/privcmd: No such file or directory libxl: error: libxl.c:102:libxl_ctx_alloc: cannot open libxc handle: No suc= h=20 file or directory cannot init xl context a normal boot without xen is on pastebin (VERBOSE_SYSINIT=3D2) https://pastebin.com/RN1SYXdW > Do you have a serial console attached to the box so that we could > see the log of Xen and FreeBSD booting? how to? every time I boot into xen I have to zpool import -f and mount it f= rom=20 rescue CD. Is there a log from the last boot somewhere? I duckduckgo'd a bi= t=20 but couldn't find anything else than the dmesg. As it is not a kernel crash= =20 there's nothing in /var/crash and on /var/run I have the running boot insid= e.=20 Maybe you tell me how to show the log from the serial console; btw, I tried= =20 both ways, only serial, only bios or both --- no matter, xen's booting,=20 screen's blanking for the "normal" kernel but nothing happens but a sudden= =20 reboot. Is it on the /var/* somewhere when booting from resucue? btw, the=20 current images from beginning 2021 don't boot, turning root sign but blank= =20 screen, no boot menue but steady access to USB-stick.=20 I thought that the XEN-log should be somewhere in the boot-directory but it= 's=20 empty but asking for IUMMO support when using both consoles, when serializi= ng=20 xen boots successfully but rebooting afterwards.=20 =20 > Thanks, Roger. I have to tell you thank you.=20 byebye,=20 lizbeth --nextPart2518611.TYJnH3iKXO--