From owner-svn-ports-head@freebsd.org Mon May 4 08:43:42 2020 Return-Path: Delivered-To: svn-ports-head@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 55D712C95EB; Mon, 4 May 2020 08:43:42 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FxGQ1Y14z3PwM; Mon, 4 May 2020 08:43:42 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 30600217B4; Mon, 4 May 2020 08:43:42 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0448hged015928; Mon, 4 May 2020 08:43:42 GMT (envelope-from royger@FreeBSD.org) Received: (from royger@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0448hg8l015927; Mon, 4 May 2020 08:43:42 GMT (envelope-from royger@FreeBSD.org) Message-Id: <202005040843.0448hg8l015927@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: royger set sender to royger@FreeBSD.org using -f From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Date: Mon, 4 May 2020 08:43:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533907 - head/emulators/xen-kernel X-SVN-Group: ports-head X-SVN-Commit-Author: royger X-SVN-Commit-Paths: head/emulators/xen-kernel X-SVN-Commit-Revision: 533907 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 08:43:42 -0000 Author: royger (src committer) Date: Mon May 4 08:43:41 2020 New Revision: 533907 URL: https://svnweb.freebsd.org/changeset/ports/533907 Log: emulators/xen-kernel: improve package message Use onifconsole for the Xen console, so that when booting bare metal there are no annoying messages about a console being off. Also note the usage of vm.max_user_wired instead of vm.max_wired on FreeBSD > 13. Finally expand a little bit on how to get a working serial and VGA consoles simultaneously. Sponsored by: Citrix Systems R&D Approved by: bapt (implicit) Modified: head/emulators/xen-kernel/pkg-message Modified: head/emulators/xen-kernel/pkg-message ============================================================================== --- head/emulators/xen-kernel/pkg-message Mon May 4 08:42:19 2020 (r533906) +++ head/emulators/xen-kernel/pkg-message Mon May 4 08:43:41 2020 (r533907) @@ -6,15 +6,26 @@ Please add the following entries in order to boot the In /etc/sysctl.conf: vm.max_wired=-1 +Or if running FreeBSD 13 or newer: + vm.max_user_wired=-1 + In /etc/ttys: - xc0 "/usr/libexec/getty Pc" xterm on secure + xc0 "/usr/libexec/getty Pc" xterm onifconsole secure In /boot/loader.conf for a dom0 with 2G memory and 4 vcpus: xen_kernel="/boot/xen" xen_cmdline="dom0_mem=2048M dom0_max_vcpus=4 dom0=pvh com1=115200,8n1 guest_loglvl=all loglvl=all" Add to the above xen_cmdline in order to activate the serial console: - console=com1 + console=vga,com1 + +Note that you will have to enable multicons on FreeBSD if you want to get +output on both the serial and the VGA consoles. The following should be added +to /boot/loader.conf in that case: + boot_multicons="YES" + boot_serial="YES" + console="comconsole,vidconsole" + EOM } ]