From owner-freebsd-questions@freebsd.org Fri Apr 14 21:38:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D372ED3C14F for ; Fri, 14 Apr 2017 21:38:42 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 93605B96 for ; Fri, 14 Apr 2017 21:38:42 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id D92DE60264 for ; Fri, 14 Apr 2017 17:38:34 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UgAqlGCKEBFE for ; Fri, 14 Apr 2017 17:38:32 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 3CC3B60245 for ; Fri, 14 Apr 2017 17:38:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1492205912; bh=El+EZCRme7/DHdVkP4lWxDcrTzQ1AJJuWA4TUaiRU5Q=; h=Date:Subject:From:To:Reply-To; b=IGEqqsqz8XVSU8zsf65TjMl5tV27iP7mQbu8TaJaudiemihV08NlEt6wfUXsw5Pqk g6SPP96FoCrA7xhKsoRS/P8Z+XgPS+Iob6D13js2CUBj4vRQcVeeAPy9z6ZZOYVkMZ gLhBfOPw3x92rJtI+a3mouItN9VnUISuS/oAArWZxEVDpNX/JNGiphT8jV/tr11Ubp Vtf62u7NFxmAxS6M+DmUSDIf61uh8P7uZq+vW2oh/UqVJyOrPKdRHGbif9IUCT06hz anORkF4qQ888NhRK47jEXbNs0vr0xYtGg2cXf0aHlek8jJZUEsNTiZPatA5eFW8O9F CaP2upbVDntwQ== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 14 Apr 2017 17:38:32 -0400 Message-ID: Date: Fri, 14 Apr 2017 17:38:32 -0400 Subject: Following upgrade to FreeBSD-11.0p9 unable to start bhyve guests From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 21:38:42 -0000 Following an upgrade from FreeBSD-10.3 to FreeBSD-11.0p9 I am unable to start any bhyve guest. The log file shows this: Apr 14 17:27:01: initialising Apr 14 17:27:01: [loader: bhyveload] Apr 14 17:27:01: [uefi: no] Apr 14 17:27:01: [cpu: 2] Apr 14 17:27:01: [memory: 4G] Apr 14 17:27:01: [hostbridge: standard] Apr 14 17:27:01: [com ports: com1] Apr 14 17:27:01: [uuid: 88b397a5-4902-11e6-a0d6-0025907714e4] Apr 14 17:27:01: [utctime: yes] Apr 14 17:27:01: [debug mode: no] Apr 14 17:27:01: [primary disk: disk0] Apr 14 17:27:01: [primary disk dev: sparse-zvol] Apr 14 17:27:01: initialising network device tap1 Apr 14 17:27:01: failed to find virtual switch 'public' Apr 14 17:27:01: booting Apr 14 17:27:01: bhyveload -c /dev/nmdm0A -m 4G -e autoboot_delay=3 -d /dev/zvol/zroot/vm/samba-01/disk0 samba-01 The /etc/rc.conf file contains this: # cat /etc/rc.conf # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" # need cloned if for virtual machines cloned_interfaces="bridge0 tap0" dbus_enable="YES" # network node identity defaultrouter="216.185.71.1" hostname="vhost03.hamilton.harte-lyne.ca" #ifconfig_bridge0="addm igb0 addm tap0" ifconfig_igb0="inet 216.185.71.43 netmask 255.255.255.0" ifconfig_igb1="inet 192.168.71.43 netmask 255.255.255.0" libvirtd_enable="YES" ### Firewall pf_enable="NO" # Disable PF firewall on startup #pf_enable="YES" # Enable PF firewall on startup pflog_enable="YES" # Enable logging pflog_flags="" # additional flags for pflogd startup pflog_logfile="/var/log/pflog" # where pflogd should store the logfile #pflog_rules="/etc/pf.conf" # "/etc/pf.conf" is the default location ### Services local_unbound_enable="YES" # Enable caching only DNS ntpd_enable="YES" # Enable local network time server ntpd_sync_on_start="YES" # Resync clock on startup postfix_enable="YES" # Enable Postfix SMTP MTA sendmail_enable="NONE" # Disable Sendmail SMTP MTA sshd_enable="YES" # Enable ssh access ### vm-bhyve settings vm_delay="5" # delay between starting machines vm_dir="zfs:zroot/vm" # vm directory vm_enable="YES" # enable vm vm_list=" inet13 inet16 samba-01 samba-02" # vm-bhyve 'vm startall' machines to start on boot # system uses Zettabyte File System (archaic name - now called zfs) zfs_enable="YES" What provides "virtual switch 'public'"? And, how do I configure things so that it is created and found? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3