From owner-freebsd-hackers@freebsd.org Sun Aug 18 17:06:14 2019 Return-Path: Delivered-To: freebsd-hackers@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 C4DFACBD52 for ; Sun, 18 Aug 2019 17:06:14 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46BNkF5XQ8z3G9S for ; Sun, 18 Aug 2019 17:06:13 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x7IH6AWG040851; Sun, 18 Aug 2019 10:06:10 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x7IH6ASf040850; Sun, 18 Aug 2019 10:06:10 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201908181706.x7IH6ASf040850@gndrsh.dnsmgr.net> Subject: Re: bhyve problem In-Reply-To: To: Wojciech Puchar Date: Sun, 18 Aug 2019 10:06:10 -0700 (PDT) CC: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 46BNkF5XQ8z3G9S X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.64 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.73)[-0.725,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.72)[-0.719,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.14)[-0.139,0]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.05)[ip: (0.15), ipnet: 69.59.192.0/19(0.08), asn: 13868(0.05), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2019 17:06:14 -0000 > after updating system to > > FreeBSD puchar.net 11.3-PRERELEASE FreeBSD 11.3-PRERELEASE #2 r347617: Sat > Jun 1 18:32:23 CEST 2019 > root@puchar.net:/h/backup1/src/sys/amd64/compile/puchar amd64 > > bhyve no longer works > > attempts to start VM that worked normally like > > nice -n -20 /usr/sbin/bhyve -s 0,hostbridge -m 2048M -P -H -c 2 \ ^^^^ This is the topology, it looks fine. Hummm... You could try "-c cpus=2" but that should make no difference at all. Are you by any chance having syctl's for cpu topology set? hw.vmm.topology.cores_per_package hw.vmm.topology.threads_per_core Can you show me the output of: sysctl -a hw.vmm.topology > -s 7,fbuf,rfb=10.0.1.1:5902,password=2j74uo5 \ > -s 3,ahci-hd,/dev/label/Windows2-C.eli,hd:/dev/label/Windows2-U.eli,hd:/dev/label/Windows2-V.eli \ > -s 5,virtio-net,tap5,mac=08:00:27:b7:ca:0b \ > -s 30,virtio-rnd -s 31,lpc -U dc53b3f7-7eb0-11e7-b5b8-54ee7513f26b \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -w windows2 > /usr/sbin/bhyvectl --destroy --vm=windows2 > > > results in > > bhyve: vm_set_topology Humm.. you have 2 commands above, which one produced this error? I think you actually only ran the first command which failed, and you never actually ran the second command. If it is the first command that is failing can you do a ls -lag /dev/vmm/windows2 BEFORE you run that command, I want to see if this might be a reinit attempt. > on console > > and bhyve exits. no more messages. no VM. > > what's wrong? -- Rod Grimes rgrimes@freebsd.org