From owner-freebsd-hackers@freebsd.org Mon Aug 19 13:35: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 E71E5C6AEE for ; Mon, 19 Aug 2019 13:35:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 46Bw0K5Lwyz3LWm for ; Mon, 19 Aug 2019 13:35:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x829.google.com with SMTP id k13so1838344qtm.12 for ; Mon, 19 Aug 2019 06:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HAriBfEimGEDOh7qeJxw1XaMg4S70U7HtNf6OJx51a0=; b=PAf3JFeN9U+0nwTQyiQINpX8KUAEuZQFQu6eqQFyzjHJ9wQb/XhauePE6AJULonMXm fmObS2TNFCHuTz1tO80U97pch+zQO9UuMhOuavwGNOqFbsMCDVccTrGRuW4+kBmO8GjL eGBdYgmYMmu0I9WEMSfpMwChiLlC6+/LR93EXGXYnjdtta2yNGS70Q3YNolTG07vtU+2 J6H0mg7LQDrZJZ4R7kgEViuN73nvBm5J/xNFcUrU/BL9uC+Ww9m3ejISZkZ9ZqZ/vlGA OTF9Tkt+3kkgpmM/Ig3y8xbyIZG3375+4Wrk1qCEMsjDlhXYaDdQrpn9MgWyoaujv35h I3bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HAriBfEimGEDOh7qeJxw1XaMg4S70U7HtNf6OJx51a0=; b=sRZpfJ2essCZBxAQUGYojHCMot4kMp73Iv+iJe5DLInKWJk9+peDDa7TaoPqegc6Jk JObKCw+c7ekA3pY+g0v3bbFNBe3AbxKyeyemukb2C0ahpuWy5oTac/2aOdCFmB0zOdj+ pCs2gZyOFbipI2LhxNK77UiLSi4yHzQ1WSIL+RicCll7qAGlYHgKDA1YOP0Jjhy1L4vB AV36ra29BebZ/drlQp/2WYyPQIOwZBuu2VomACrNsCTTv7YlJUdp8PjGiiNtS1EhnOuO ytBFmgR9/JYORsbmC1EEBdX/JCPRAHUPDk5LXyRYeyroW3cpAiqJR+in7OAqFk4Qc6yg cTwg== X-Gm-Message-State: APjAAAXt1PY32DkySvXd/q4LqiNz1GhT9dyJLsCKYO9C64vKiCxc1lwt 0AUo6+65ZUIDCx+QXgCRZL1pq4O92mt85dGw4h8UtQ== X-Google-Smtp-Source: APXvYqz8bsuQEkZw9kTy70IWWfcmy2hHPBDqltJCao6SvbkGg95/vWe6ppz5ROVvUPHRh6HCHfydQ7LoS9uhzsnvF9M= X-Received: by 2002:a0c:c250:: with SMTP id w16mr10320646qvh.188.1566221712249; Mon, 19 Aug 2019 06:35:12 -0700 (PDT) MIME-Version: 1.0 References: <201908181706.x7IH6ASf040850@gndrsh.dnsmgr.net> In-Reply-To: From: Warner Losh Date: Mon, 19 Aug 2019 07:34:59 -0600 Message-ID: Subject: Re: bhyve problem To: Wojciech Puchar Cc: "Rodney W. Grimes" , FreeBSD Hackers X-Rspamd-Queue-Id: 46Bw0K5Lwyz3LWm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=PAf3JFeN; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::829) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[9]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.95)[ip: (-9.39), ipnet: 2607:f8b0::/32(-2.93), asn: 15169(-2.37), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 19 Aug 2019 13:35:15 -0000 I wonder which kernel interface changed in an incompatible way... Warner On Mon, Aug 19, 2019, 1:05 AM Wojciech Puchar wrote: > the problem was that i upgraded userland, compiled kernel but forgot to > install kernel. > > > On Sun, 18 Aug 2019, Rodney W. Grimes wrote: > > >> 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 > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >