From nobody Sun Oct 8 21:00:49 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3ZM622Qkz4xCDQ for ; Sun, 8 Oct 2023 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3ZM55WFtz4YLv for ; Sun, 8 Oct 2023 21:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696798849; a=rsa-sha256; cv=none; b=IWEb1/Qc3eNeUlfdJEn4z2d3Wb50CXwuHlcYz7Styf4ow83mpCzSUFewaZYBlG4nkjTVnn Ry/bY0PqW7vclYq8RqLSoBwppr261D3OWtkO59MfW9wGARumF8orIYusR5l5qlG6G7fGnv lOwWTibuP2xF6huIATQ8h1R23tMAkBLEWyhbsvHAkrTfLIyS6kMGRSBCy3WS1q44xSiIYp pV3gkP4fMB0pNrKGNUPy2A2NQe9U27xqshnBLB7FL6NPYie0ZtgI9ouO8YhgsFWAfRY0tE UV1i4elU6Irhz2s0V9wRTo7k8p40FvIbV1uiT/6UMWb5wUr9SytxfFinhZGxRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696798849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DrZxpY22IKlgIkT/o44G849UnN0oCRE+BbvllDdTLrs=; b=Ku9DPB2NsOuw8a1CznEKI0jMMrQnWLgoJBLlKpOOabjlikY9reUF2TZFuekMSN4l+18bSd N+kIZkw5PnLcxPUmY6QqGXDDBUxRzR2QY9CvFTzzm+0oGe6+B1IQogKXC4DSZETluNLPEL W6HijENI+ojRr3PplYScaEaLsHYkjFE6/HnCGy3o0I5CqDRO8ydpYKp3ozYuNlCNxgY6cU ZEOcI9i7EiDXIypzAje7EKKab9qWtV1enJ3MF0qpVmUGEollHdZDoLeJR7RSLqKtdbToco 9WIy71W/N87BTljrgkb+siJaNroellQmhkK+/IrVJ6E9R7EG5UPdiYqzOujmJA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S3ZM54dPSzD8p for ; Sun, 8 Oct 2023 21:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 398L0n9H036496 for ; Sun, 8 Oct 2023 21:00:49 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 398L0nt9036495 for virtualization@FreeBSD.org; Sun, 8 Oct 2023 21:00:49 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202310082100.398L0nt9036495@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 8 Oct 2023 21:00:49 +0000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16967988491.6cCddE3.30986" Content-Transfer-Encoding: 7bit --16967988491.6cCddE3.30986 Date: Sun, 8 Oct 2023 21:00:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly Open | 244838 | "bectl activate -t" does not honor the -t flag in 3 problems total for which you should take action. --16967988491.6cCddE3.30986 Date: Sun, 8 Oct 2023 21:00:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
In Progress |    247208 | mpt(4): VMWare virtualized LSI controller panics 
New         |    240945 | [hyper-v] [netvsc] hn network driver incorrectly 
Open        |    244838 | "bectl activate -t" does not honor the -t flag in

3 problems total for which you should take action.
--16967988491.6cCddE3.30986-- From nobody Tue Oct 10 00:21:27 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S4GmP2n6wz4wmmw for ; Tue, 10 Oct 2023 00:21:41 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4GmN4Xt3z3gLZ for ; Tue, 10 Oct 2023 00:21:40 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=iitbombay-org.20230601.gappssmtp.com header.s=20230601 header.b=VpW2UKlh; spf=pass (mx1.freebsd.org: domain of bakul@iitbombay.org designates 2607:f8b0:4864:20::62b as permitted sender) smtp.mailfrom=bakul@iitbombay.org; dmarc=none Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1c724577e1fso40441055ad.0 for ; Mon, 09 Oct 2023 17:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1696897299; x=1697502099; darn=freebsd.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=2iadDKsnee1O8HJd1yl1JUyCXiH9IPZQKusC59Ej4LM=; b=VpW2UKlh9iwkvMISh7B/ED44fsTfvtNV3nsaDauGnSjgpcDK0h/Y103f8cgKRRJ58m UK0fuzAs4k2Ivu4ikZoJT/Qm4ExjAHlZLrIoykqLNbu5PP3Ofco0OT04FTXntvoiSin2 TsEZa59OzcHZO36NMMZHqRnfBMGyBPFwdQ7voHvPkMe1BLiMaCajjpq4J4lDfKU4kQ0C 8OBUYgyOwC6yXYynwRYuZ70LS4MVnwccEus/oU59cVGbPFouJP9qJ22OYsCqaSYEPywj nSIUP1rqR9ZVbTbOiLOE/i76CizcQuNYR2qWwkbZBFdDxxq7PH/Oohxs+1MHrJJ6q7IR hBXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696897299; x=1697502099; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2iadDKsnee1O8HJd1yl1JUyCXiH9IPZQKusC59Ej4LM=; b=fvtwL1sGlHZjmaojVORNEuEhfDFfWXMWNTleC/s/hS7IRaSS5lykZtk1ynlkR5W57f e7A8uGqULqNw6Flvv7eimErbVTq4tKFh9SjWx8H0qspEbJYzQB7HLyE18ZUIA2wxH9oc enloLZYNfyWOPKcaPCQTP8YzNSFuaymVBOiuHf4xexQna0QoPECQfpJn9WIa3bnHoiX/ TuNepasXD3+u0J8Pvcfkh2ApGr8YNR5wW7XaqzM42GgBD/5OUqdtD39lvoe/C1cqCRjJ nodJCZIIQZGQq5uUHqw/XDEpMhh6DU4uJsasyI5JBp4XqnUEmiNh2OMozm23QIhgybnp MTLA== X-Gm-Message-State: AOJu0Yy9VZKqiTKFsfbPVk6N0Dmm6l8z1UGPzWwsBjahmvKt7NFJ0bUH D+X2wGZe/uCvyW24HvCzxZzsrQ== X-Google-Smtp-Source: AGHT+IFYWb+FMBVxONBWUQ6e595SgT2Bd5TaBoJ8uE/kQlEzPsxi8bLNTrOpRKHWPoP8G9KYO/EtUQ== X-Received: by 2002:a17:902:e5c1:b0:1c8:9901:85d0 with SMTP id u1-20020a170902e5c100b001c8990185d0mr9045183plf.46.1696897298884; Mon, 09 Oct 2023 17:21:38 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id p20-20020a170902ead400b001c3e732b8dbsm10325137pld.168.2023.10.09.17.21.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2023 17:21:38 -0700 (PDT) From: Bakul Shah Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: bhyve -G Message-Id: Date: Mon, 9 Oct 2023 17:21:27 -0700 Cc: virtualization@freebsd.org To: FreeBSD CURRENT X-Mailer: Apple Mail (2.3774.100.2.1.4) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[iitbombay-org.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[bakul]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[iitbombay.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::62b:from]; BLOCKLISTDE_FAIL(0.00)[107.215.223.229:server fail,2607:f8b0:4864:20::62b:server fail]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[iitbombay-org.20230601.gappssmtp.com:+]; TO_DN_SOME(0.00)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4S4GmN4Xt3z3gLZ Any hints on how to use bhyve's -G option to debug a VM kernel? I can connect to it from gdb with "target remote :" & bhyve stops the VM initially but beyond that I am not sure. Ideally this should work just like an in-circuit-emulator, not requiring anything special in the VM or kernel itself. Thanks! From nobody Tue Oct 10 01:13:25 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S4Hw60Ll3z4wrLG for ; Tue, 10 Oct 2023 01:13:26 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4Hw54q8Hz4JFr for ; Tue, 10 Oct 2023 01:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696900405; a=rsa-sha256; cv=none; b=eVqVsSuBSKqfIHvHI6sFHL97/wcOFVtHRQMjLfUdMcgE+pENK3tIqar0wZtggt3t6dwzue eWCsUeGQUiG36IUy3FFvP9R8F7a2addVcY+4Zk3/1y4zSUPhASb29zZkcWeQEia3nUlBhV R0lQMuPLzhq+y1eftSdzy2Fw3k5dwV2QPLRY9xDBkKprJ9Q4pv4Qq83YzImoKNwTDqtWYl MxjHb/V1YQShPc/wPE3e40fCnpUyW9TgcR5dqQdUYn6yaUIfDDL09FFx43BIhklHxN+dCu ZiN4ogq7QlmDQsnrqGnzfNg054W+i/B2whpcxX9mdvNhj2grHLWv8Cbgk2n4TA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696900405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uEkwktfZ411KCrSPvd5aAFlkBysbvFw2XBpQXtyZtJM=; b=budSv+lsxxRVp3Y9r+UT3B+hC1H8S6YC7yoGrLRyD67fXfLP3OO4gFxGxp3SiNISIkaYue oUpeJMSKwQa/HPjKCSo0OGUr2ukJ1AZQ33ox/LVhg4xegqch0l7VFIR3WK1fJjt7PcFzYe koyhHQ68yOJol/DODOT+4epGc8xMQgf4CsLxHSNg9HwUIMh1mfGkmW2nLiFDQQL79+4F8D 0ImeYkprYEJ/oHUp/ZcubBu4hMph1XpASB4xW0IcM9jJMy5MJwNcoGHoVFHCEel01mllIB WExLHFm0TUArck1mooPT3lEVSLhMHwV+fA1by4OBqTJQ2SJENyjBTIF46Fi99w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S4Hw53tVYz3qR for ; Tue, 10 Oct 2023 01:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39A1DP41089262 for ; Tue, 10 Oct 2023 01:13:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39A1DPfJ089260 for virtualization@FreeBSD.org; Tue, 10 Oct 2023 01:13:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Date: Tue, 10 Oct 2023 01:13:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jailbird@fdf.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 Bug ID: 274389 Summary: bhyve in 15-CURRENT unable to boot OpenBSD anymore Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: jailbird@fdf.net I've been using this script to run an OpenBSD VM ever since bhyve landed: #!/bin/sh RAM=3D1G VM=3Dvpn VMROOT=3D/usr/local/vm CPUS=3D2 bhyvectl --vm=3D${VM} --destroy > /dev/null 2>&1 while [ 1 ]; do bhyve -A -D -H -P -w -S -u -c ${CPUS} -m ${RAM} \ -s 0,amd_hostbridge \ -s 3,virtio-blk,/dev/zvol/tank/vm/${VM} \ -s 10,virtio-net,tap0,mac=3D1e:17:37:23:2f:cb \ -s 20,virtio-rnd \ -s 31,lpc \ -l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd ${VM} bhyve_exit=3D$? if [ $bhyve_exit -ne 0 ]; then break fi done case $bhyve_exit in 0|1|2) bhyvectl --vm=3D${VM} --destroy > /dev/null 2>&1 ;; esac exit $bhyve_exit This has worked up until about a month ago. Now the VM throws "io address conflict" and "can't map i/o space" errors. Adding -W and/or -x doesn't hel= p, and adding -Y causes the boot loader to hang. This is what happens now: probing: pc0 com0 com1 mem[640K 1000M 16M 3M] disk: hd0 >> OpenBSD/amd64 BOOTX64 3.65 switching console to com0 >> OpenBSD/amd64 BOOTX64 3.65 boot> NOTE: random seed is being reused. booting hd0a:/bsd: 17233228+4138000+368672+0+1241088 [1360125+128+1320504+1012965]=3D0x19730a0 entry point at 0x1001000 [ using 3694752 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2023 OpenBSD. All rights reserved. https://www.OpenBSD.= org OpenBSD 7.3-current (GENERIC.MP) #1358: Thu Aug 31 09:39:50 MDT 2023 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem =3D 1032982528 (985MB) avail mem =3D 981991424 (936MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x3fbcf000 (11 entries) bios0: vendor BHYVE version "14.0" date 10/17/2021 bios0: FreeBSD BHYVE efi0 at bios0: UEFI 2.7 efi0: BHYVE rev 0x10000 acpi0 at bios0: ACPI 5.1 acpi0: sleep states S5 acpi0: tables DSDT FACP APIC HPET MCFG SPCR acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.78 MHz, 06-3f-02 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL= USH,MMX,FXSR,SSE,SSE2,SS,HTT,PBE,SSE3,PCLMUL,DTES64,DS-CPL,SSSE3,FMA3,CX16,= xTPR,PCID,DCA,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,P= AGE1GB,RDTSCP,LONG,LAHF,ABM,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,= MD_CLEAR,ARAT,XSAVEOPT,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/l= ine 8-way L2 cache, 20MB 64b/line 20-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 134MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.67 MHz, 06-3f-02 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL= USH,MMX,FXSR,SSE,SSE2,SS,HTT,PBE,SSE3,PCLMUL,DTES64,DS-CPL,SSSE3,FMA3,CX16,= xTPR,PCID,DCA,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,P= AGE1GB,RDTSCP,LONG,LAHF,ABM,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,= MD_CLEAR,ARAT,XSAVEOPT,MELTDOWN cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/l= ine 8-way L2 cache, 20MB 64b/line 20-way L3 cache cpu1: smt 0, core 0, package 1 ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 32 pins acpihpet0 at acpi0: 16777216 Hz acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PC00) acpipci0 at acpi0 PC00 com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: console com1 at acpi0 COM2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo com2 at acpi0 COM3 addr 0x3e8/0x8 irq 4: ns16550a, 16 byte fifo com3 at acpi0 COM4 addr 0x2e8/0x8 irq 3: ns16550a, 16 byte fifo acpicmos0 at acpi0 "Bhyve_V_Gen_Counter_V1" at acpi0 not configured cpu0: using VERW MDS workaround pvbus0 at mainbus0: bhyve pci0 at mainbus0 bus 0 0:3:0: io address conflict 0xc000/0x80 0:10:0: io address conflict 0xc080/0x40 0:20:0: io address conflict 0xc0c0/0x20 pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x7432 rev 0x00 virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00virtio0: can't map i/o space : Cannot attach (5) virtio1 at pci0 dev 10 function 0 "Qumranet Virtio Network" rev 0x00 vio0 at virtio1: address 1e:17:37:23:2f:cb virtio1: msix per-VQ virtio2 at pci0 dev 20 function 0 "Qumranet Virtio RNG" rev 0x00 viornd0 at virtio2 virtio2: msix per-VQ pcib0 at pci0 dev 31 function 0 "Intel 82371SB ISA" rev 0x00 isa0 at pcib0 isadma0 at isa0 efifb at mainbus0 not configured vm_run error -1, errno 5 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 10 06:47:24 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S4RKT1w9Nz4wFp1 for ; Tue, 10 Oct 2023 06:47:25 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4RKS603nz4n6W for ; Tue, 10 Oct 2023 06:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696920444; a=rsa-sha256; cv=none; b=PoGxpwRZsfv5sX0VboktrWHOmAIYZc6LXZQMYGh4h/MKn0cV4hrTjx7/oogouMw8/1HaA6 kGuxd9ahw+gOQl0HY3Tms5mREtFdkHvUG0FMqeMSjgZrQignTgY3oqq4D/AuywyQCBvPBz 93GpXteMxoAHlPJmzl/MBkv9/wpcryXds41eMSZxnBMBrOv40RqXNGHwLxYhxZGxvpo4F/ yzBPBnvQv/qGbA94V7MH1hT30QG7WFe2MjrV2XU+ygKrw396wQdMqiqa0Him9mt3PloTie 2n8KutB9FFumGCHA2q2BPC7ogWY4MGiHe2PuItvas/WP58dgYAr+n1jlGeMQYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696920444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ih7Ztls+zbLb6ZatujTNO2km1hxeOFFNSiRux74pmnU=; b=Ngf5hLwkhCCPpIzp8ie9ZcivCH1MEIXIaYc3OujdxXTXjVZm8G5+KFHJ4wL3QqqueFtNQp NQAwdO9NDH+O/7wiMVGf9k9wpVbDSaZakKd+idJh6LKamIcilqwQFfaQ32sKOGLi1px83d AT9tcMR7kXj679xpQIF2yE3hoDQGtD23w/6n/FbwyKHMgCl09sZaepvFJBT/Iwm4Q3EVud N6Hb2HtIdF1H+9YdULWoLO3+3QsrTFolMsIN+qINLzEtWcDqylCHuRQ1mtLJKebZPL4tOo oevq6SimW870qGLP2w62FiPbYxtgtP55SbL19/0SPzGdzzbqLcrbInMKsxNjIQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S4RKS4xqwzDX5 for ; Tue, 10 Oct 2023 06:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39A6lOOP060958 for ; Tue, 10 Oct 2023 06:47:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39A6lOUm060957 for virtualization@FreeBSD.org; Tue, 10 Oct 2023 06:47:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Date: Tue, 10 Oct 2023 06:47:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: bhyve, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grahamperrin@gmail.com Status|New |Open Keywords| |bhyve, needs-qa --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Oct 11 18:28:04 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5Lqf2Dtzz4wWfX for ; Wed, 11 Oct 2023 18:28:14 +0000 (UTC) (envelope-from sean@rogue-research.com) Received: from mail.rogue-research.com (mail.rogue-research.com [207.115.102.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.rogue-research.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5Lqd4bvrz4XmK for ; Wed, 11 Oct 2023 18:28:13 +0000 (UTC) (envelope-from sean@rogue-research.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of sean@rogue-research.com designates 207.115.102.151 as permitted sender) smtp.mailfrom=sean@rogue-research.com; dmarc=pass (policy=none) header.from=rogue-research.com Received: from localhost (localhost [127.0.0.1]) by mail.rogue-research.com (Postfix) with ESMTP id 5E1A4F019878 for ; Wed, 11 Oct 2023 14:28:06 -0400 (EDT) X-Virus-Scanned: amavisd-new at rogue-research.com Received: from mail.rogue-research.com ([127.0.0.1]) by localhost (kingu.rogue-research.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KCpv4bRvTd28 for ; Wed, 11 Oct 2023 14:28:05 -0400 (EDT) Received: from [192.168.64.1] (hobgoblin.rogue-research.com [10.29.19.119]) by mail.rogue-research.com (Postfix) with ESMTPSA id 1AB92F01986C for ; Wed, 11 Oct 2023 14:28:05 -0400 (EDT) From: Sean McBride To: FreeBSD virtualization Subject: bhyve guests: what clock source to use? Date: Wed, 11 Oct 2023 14:28:04 -0400 X-Mailer: MailMate (1.14r5937) Message-ID: <415C25C7-27B1-4706-BD4B-D484E4B6787B@rogue-research.com> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; markup=markdown Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: - X-Spamd-Result: default: False [-1.11 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[rogue-research.com,none]; R_MISSING_CHARSET(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_SPAM_SHORT(0.19)[0.189]; MIME_GOOD(-0.10)[text/plain]; BLOCKLISTDE_FAIL(0.00)[207.115.102.151:server fail]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; ASN(0.00)[asn:11478, ipnet:207.115.96.0/20, country:CA]; R_DKIM_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[sean]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4S5Lqd4bvrz4XmK Hi all, As part of debugging a problem I'm having, I'd like to understand: What clock source should bhyve guests use? tsc? hpet? acpi_pm? What are= pros/cons of the choices? Does it depend on the guest OS? (for me FreeB= SD and Ubuntu) Should it match the host? Thanks, Sean From nobody Wed Oct 11 18:45:16 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5MCK70hqz4wXRH for ; Wed, 11 Oct 2023 18:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5MCK60MTz4Ypv for ; Wed, 11 Oct 2023 18:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697049917; a=rsa-sha256; cv=none; b=EUDul8d4FNI3DsctjmeTmYFADuZWwTzIFLIFC6dvkUYtKQmcN9GrythvYykeaUUOudvJBY Fzz6ZfTXY4sildJMbTtmgSfy2wdvLMfGELE78KXIeycKIgC6TR4iwkOz0KzOjr4yzPt3Rb 2RQKXuof9wUL1zaupq+SJsgoXkBLRCI7/OB5Mr0PWKvBcZrlcffvbaDABLSqvBifmAVaGh VFKxWYyw8SY6B4GjG6BATrS7DqN90FZvBynRBj9unZE7Y+YYyPwhmKKeW2xGSK44arV2vZ oLugVpU78Go6HIEeTfRiZ1SQONLYUD1YTVDNwDs1rfmXfHD7yOnv+C1dnBYmGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697049917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qX1BKmm9jN68N/CasT2DAA89AiFIyBpeZ7AfbdGCJuM=; b=nZtzIWqxlVNwdaOvoWyMDa4YtW0ZNtgv8lvFYDJJBM4FlHh2YYGGe5OdIQyAJE+PW74gEo XoiEIIt3ZR4upu5PJ9izzhRKZcjQJ1IBGgcCmRtTW58ireYEh7gV0ClaCLjJjd2d8Wd6kF 6/PY2MT8voLuQyzW8rdxQUSatNoqgzSdiPcF1Tv0xWSPhVfhOn6ehUJHGy9moLdclCYsLJ e9mK141YdJQjPF4junH121R56AlUQSuzWpV7WuaM9WMIyQscpPZveL1blBpVIc8aLZJjLX ZpjCabZyAWAnpmsmxmS+Jgcej1JQbA/3/VYg6VL2o4XWbBhNY+RCPs1Dor9IMw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5MCK52wFzYJq for ; Wed, 11 Oct 2023 18:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39BIjHce026060 for ; Wed, 11 Oct 2023 18:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39BIjHaU026059 for virtualization@FreeBSD.org; Wed, 11 Oct 2023 18:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Wed, 11 Oct 2023 18:45:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #12 from Mark Johnston --- I think I agree with the proposed patch to use VMIO_SIOCSIFFLAGS. Even if = IP is disabled on the jail, tap is an L2 device. The fact that we have to use= an IP socket to configure the interface is bizarre; this overloading of socket= s is also problematic for capsicum. OTOH, I think we can configure IFF_UP with any kind of socket, no? We could use a PF_ROUTE or PF_NETLINK socket instead. I don't think netlink itself = buys us anything here, ifconfig still uses socket ioctls to set interface flags.= =20 One other reason to avoid VMIO_SIOCSIFFLAGS is that it's really just there = for vmnet(4) compatibility, I believe. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Oct 11 20:09:39 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5P4g4rJjz4wdms for ; Wed, 11 Oct 2023 20:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5P4g3rx4z3HdK for ; Wed, 11 Oct 2023 20:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697054979; a=rsa-sha256; cv=none; b=Hd7iSdIWVZjZgn3mBaS/RYRBlHs6F8p+Wb0IGcD4AHQ6Af+5jbGkuJ7JXtRDhjJFDf+nZC zec/L8qlJBJBNblP5jMSTzDOgQiVRHjXldYbFM6yyYW0/odXIk81ipp8b9qBT8iL3Kx2yE q1xkWaIORrBsfYWkenRU7mSHHIxmVMlQDUe/yQYtrj5EIST5DjQ/kH20AlKtJJK7h7yFJx kpL1WKqOcDwkxA4Cgh6Fsfl0C84tDgnXCzi/CgJcH2QCrHYJiYSw6uH7VNRcDrQ/dPdU8E P9xlvCieKb27cXECFXWgfSISEuLuVzKulLijfygtIemTurcJ9mNfRcvJMDS+ZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697054979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6RzkE+z4Nzsqf0Sv+RJ+eujoo8W/5Vqy5auvuRkuLMM=; b=G+h+FViB7+8ssCdkptKqqNfs9COQF7P1MqMpmIJFEAmN3N0T8InNxoJX3gZgw0ma452iUy sCOZJ4RJIrRBs4P2BMBWM8JKmZgKXHi7bVdcxOljLkBro6WtqbdaNq1HTkGFnpSBFd1M9x CBSLIaIqrpJeNLHnBYqBH9NEkcXZ+FGJskrEI2rVB/Z2I5pfX8WdK0AVMD7H7Cv6gHOMNp bExNeFJ5YHKeZBmSWUerYehguo9YKAAXXKJqcIPYT21leiqJc/nuHivoSl35TDFB+tjO2L yU72hM7lyXTgCmF1OEdz21I0O4tWyZKlzsv428+kQx8zFnGvUeteYW5fwB61fQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5P4g2sGnzZsB for ; Wed, 11 Oct 2023 20:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39BK9dDk051178 for ; Wed, 11 Oct 2023 20:09:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39BK9dPm051176 for virtualization@FreeBSD.org; Wed, 11 Oct 2023 20:09:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Wed, 11 Oct 2023 20:09:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 --- Comment #13 from crest@rlwinm.de --- The patch changes the bhyve tap network backend code invoked to open devices with names starting with "tap" or "vmnet". Since the code is already exclus= ive to the if_tuntap driver in tap or vmnet mode I can't see any problem with relying on one *more* driver specific ioctl(). As far as I can tell there i= s no possible configuration where the existing code works as intended, but the p= atch wouldn't also work. Netlink sockets shouldn't offer any way for a bhyve process attached to a v= net enabled jail to even address network interface in its parent jail (normally= the unjailed host) to bring it up (or down). Anything else would be a security problem. The device file descriptor is the natural API endpoint to bring an interface up. It is the capability to manipulate a tap device through the single opening allowed per tap device (at a time). Having to query the tap device for its interface name or index to reference the interface in a requ= est to change interface state by name or index is also a race condition since t= he interface could've been destroyed and its name or index reused. Using the f= ile descriptor precludes any race condition similar to funlinkat() vs unlinkat(= ). --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Oct 12 12:44:17 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5q8M6KJyz4wK0C for ; Thu, 12 Oct 2023 12:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5q8M5K2Rz4Fph for ; Thu, 12 Oct 2023 12:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697114659; a=rsa-sha256; cv=none; b=lAdktvR5Xq9EPfWZCQbnEKT9WQQu0qLmDmmAJFb4gANk9GabgAWkFEX0v1izTVOpwTiaUw tsFdfQs/Lmcu9FoKhSopD35w8SV8PKYnhBZGUgv3qBZiRw8jf2goVcbG3twuI1OYbzHGOi 6UBsotlAcM7zDeoE2S/oiQG/Z99eBgtf8JxmpeJmfLkLwsU/AxNlP9f0xLcah3nkebBHsg ll8F118cUP6omVFV8XXv3g5YZoR+Bw9V7pq+EAEFSFZ+zGNPgOaGrtJtUrB3WQyU7H/Rcn f7oyNMb9n96sYcZv6vX65QSLbMLkJrTjaz0+o3vrXP0JfM+nSomSaJanIlhZCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697114659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YEhm7mh0D908hhooiPVQpGoSV/1y6zi2Z3sc5YzI/54=; b=O41oUDuw+ApjfgNID4l8XS5q2r8knOIfLH9q2xPzeqLFwtG5FZe1ahnifGG6bdfzABlof/ wsh3XUe2vEJlSxx3BrLPW0O9pI2xsRPeFZtm9ZBai7SylJQbk5+ypEcU1S7/eQ5CaGBJjj BCOUV6tCae0LehC07Vdt7RmZ+wzCUB1ZCYAr9rsY/PTrTvlQ2hvw6Ar3IcNn8DDvmaGULt Rgf5sTR4A76x3SdSoQyuWHpcdz2GmlX04aJSFDH2J/+aMnzdlsvew4FI1VhXKkK7tJz3je ko0+xkDNoyM5stpiEB19lu+g0gD1P1/p/i7YNUxsroMfVftHiQHoSB/Z0wEBgA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5q8M4NHZz14bH for ; Thu, 12 Oct 2023 12:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39CCiJMu023416 for ; Thu, 12 Oct 2023 12:44:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CCiJB7023415 for virtualization@FreeBSD.org; Thu, 12 Oct 2023 12:44:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Thu, 12 Oct 2023 12:44:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 --- Comment #14 from Mark Johnston --- (In reply to crest from comment #13) > Netlink sockets shouldn't offer any way for a bhyve process attached to a= vnet enabled jail to even address network interface in its parent jail (no= rmally the unjailed host) to bring it up (or down). I don't believe I claimed otherwise? I thought this bug report was about classic jails. I'm ok with committing a patch to use the /dev/tap ioctl. Let's wait for a= bit to see if Bjoern has any further comments. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Oct 12 16:01:10 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5vWV6Gbhz4wZC4 for ; Thu, 12 Oct 2023 16:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5vWV4d98z3CVf for ; Thu, 12 Oct 2023 16:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697126470; a=rsa-sha256; cv=none; b=mrsAQ01ZvTza/KI2IOmwaWssT40r9QrKOHtx9oe98gx8sXUmYIYmOcxQtHvD23vOKSnTxU HrrA9eaJ218AnPtRIsjyjy0Wi5mAcXSw0tKQaAr4SliOJbgcD+YK4WJ9VX9Dr7kVp9Z7W5 uibZR46zTApAJhcHFGAkEhxsYYId9pBAg5WRD+zhucTj0EbYd9UOk/cxWYg+inBjDt8e+J brk06oV+Relx7BYufP7ESWLQBfy8D0YugO+BhFhLQ9fSYWeEMCr4Z4vyqir9ssyvnc3lQJ zFp8uNwUAEIwFY28Ymd4VKA8cq/+i1C6Xh3TvzjfKYp25jp7ec6jj9CIT+wMrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697126470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JB7zCqWln2aYV0su726dcyOd6+mVH4TndpBNfFKQxtk=; b=AXwX+qrdmDeR31w/4qU5bTk4ylwvHaqC9iHbnuuxYvg142RWS3LnSe7Xvw5NE1wAFRRdEW vSrHF7OSmPgJEUWEAgX0HIFCdPGrKpfcepR5xDfl1v97E4bfmJ3Iq7QO+Mvm/NIfjlA5Ap oyEg/QD/WwS2k++C0J/PQIz+R5x/vvwH2VhOPxddohiG5Aa1PK8diX9EJYCam1NJ5ttbXg 5i7aXe7Jlw9+9eR5WBY8xOssXznaKaQvqlULU3dmyhzUVeYome+5XLezf8Lr+48EuMMYei 2u5r5WmApRNSj9h2vzzl3UCAFErB0RBmRU+4QC8os4EXCMiW8pQjpTWj/aJ1MQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5vWV3jnCz19Sx for ; Thu, 12 Oct 2023 16:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39CG1A6I041775 for ; Thu, 12 Oct 2023 16:01:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CG1ApB041774 for virtualization@FreeBSD.org; Thu, 12 Oct 2023 16:01:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 269823] rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded Date: Thu, 12 Oct 2023 16:01:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269823 --- Comment #10 from John Baldwin --- Forgot to tag this bug in the merges to stable/13 (c31927eb866f18b87cc196f14cbbcf658e10d38c) and stable/14 (b7f5e993476f6e445895383e73aed01741f8b9cf). I might try to get this into 14.0 as well. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Oct 12 17:13:59 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5x7Y4Crpz4wfck for ; Thu, 12 Oct 2023 17:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5x7Y3Bsrz3JLJ for ; Thu, 12 Oct 2023 17:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697130841; a=rsa-sha256; cv=none; b=fmspoab+FbKYgEP3vg9VsTYYmbKTwQTkLmym1QCygsDeVPGspUwxu6tZk1pQ24MgD4xebv QvR2J5XeXOfGdXgAuDl03ZuO9SUUWnGrLyMWz0DWFb0L7N51PAf+mljFaeplfjT65MZW3C b6du83qkAWUxMjjc1sfPgQvK0L8UXjWa/c7XoUaKICA3nCiQ840QPP2iI5zDsCgyma8rie F79olBIRHxW5++tS7Ox5v15e9snhP/jGyXrs4TRPNjtMj63GvuT9nDJk0+QLKeC0rvQseo 2fJx075/UiEu+SKSzPUdhVd5/31/kQgsx+EmFMaCiXDENMu/pUB390doXPN/ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697130841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yig2g95DSlbjgKKTstAHwx25gjGVvR9sZzBmnHUYAeM=; b=IuCc6IfZpR3cVUAt4QFUmp0VLNLK9hCfcEfpmQMCrDwJeKQxFPfMj5TE/i3bY1WDEKVL1i q4KD5HkuTSbrBdIe14Sby1Tkb+C+ZW3l47HNZNoHVOMvxqNX92DOSwX9wBkXEJGqdeSuZk nE9zEp6a+ccYJEa4O5kEDBMIscEptxvx7p116isFaUv00rFRhLdFU3J4fku5av7V4gbHBv kFEWcB9Fhl7IqAbkJX2svW+e6SRNp8X6OecaoD1ALPCC9ygFUuUhDdyE0raspfESvuH7+N bvzUiTHIZV/c3KiT6n4ljCFynPUzEFSn/tXrmPU3ulHKNxY1/DH5xhwlGz7DRg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5x7Y2Fwyz1CNr for ; Thu, 12 Oct 2023 17:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39CHE1TA068880 for ; Thu, 12 Oct 2023 17:14:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CHE1ca068879 for virtualization@FreeBSD.org; Thu, 12 Oct 2023 17:14:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Thu, 12 Oct 2023 17:13:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 --- Comment #15 from crest@rlwinm.de --- The bug report is for jails with IP disabled, but the patch cause any regression for bhyve in vnet jails. Mark Johnston: I didn't mean to imply you said Netlink could do this, but t= he ioctl() should work even across vnet boundaries. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Oct 12 18:10:22 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5yNb26FBz4wjQn for ; Thu, 12 Oct 2023 18:10:23 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5yNb146Vz3Q17 for ; Thu, 12 Oct 2023 18:10:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697134223; a=rsa-sha256; cv=none; b=cygdpHLq6M1ylZGF3Y84sL4YIHKuBS0XXZyuP77AALlk9OayYf8ST+Pqxk477af0UFMvZ0 scYQk2Py/zkdpjolFSo1gwEOQne/3abtts/Q+MaQL9zJXv3KMMJcVR/vfgqIVfHat4lpfd jbHUmsE5RpV+wiMhmlcUf3r5UcRFiOt7xfA8WvtgJrJa+iAr/6V5AMKrdTjKCeiZKuY+Pj Qq0W0mlnrHFhHauiLqF2APDpiR0aHiIdjFyqmZxFne79+NSbZQWX4c2i+4vZBOz+/iXQba OmJGDf0o7hmNmNvuKne4/j9c7yjOcF/HkwuC39V+IVOOZTNjCxIzDfaHVmEV3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697134223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ub95/S3PjRMUtQUNkX1lINItpapzplJ2L6f4p8ouMgY=; b=kwS4H1CRWN9lirA3SERY7DY9Qal/4GY3cr2vbhppq1MRD25JDJD7qXTJ91SqvvrNOTn6v2 kIRm7h6AnDdJ0w6ZNHOZTlnRnMHAqvYWyKpGJzCXIzwDaIG53fGcWPC+IhhpX5pkJ4XeRC b6j/H2oYG2Rc22xlxHxh0slx6b4Bc2O5sCaULuKdxoqrwdNR+Brzkk6/jydkTCUgX4pRIq M8+7ztW4Q0LqZtsO5UU7/68vC4H137b3KgOANs53eDjbgmrCbakdr5IlqJOPEu7QKBq3qx UED08uw8MDCClih94zQunFz2ZRJMrGY9V+zSuqCAsOCE4fdVKLZ3xIzEwKb1oQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5yNZ71sJzMP for ; Thu, 12 Oct 2023 18:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39CIAM5J053263 for ; Thu, 12 Oct 2023 18:10:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CIAMwg053262 for virtualization@FreeBSD.org; Thu, 12 Oct 2023 18:10:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Thu, 12 Oct 2023 18:10:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 --- Comment #16 from crest@rlwinm.de --- (In reply to crest from comment #15) *The bug report is for jails with IP disabled, but the patch shouldn't cause any regression for bhyve in vnet jails. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 13 15:57:12 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S6WNS6xBdz4x9Yv for ; Fri, 13 Oct 2023 15:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S6WNS53Lrz3d7P for ; Fri, 13 Oct 2023 15:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697212632; a=rsa-sha256; cv=none; b=eC21QyTkzCzVAnTUH4Z4zx1XRn7ld+GW2WdYUFuIupyQOdoq6VoT/GqquoGSfvYdcUCmoK s+A+uHUDN4gWcKckozQhyu7saNPzAarghJaZjT15wXo+mHFuuY4wQqKBc6NZLaqqOaeQ2B p4/VOMsEtRzWW5JlS4emHnH3Deya4zGkAK2IOwUONsuSxCJnU0caiAr5dEsGuJ6Vg07V7H +HbDhk7WFde03ulpkwmTR6QLtJ5QRsEgJwRa2J0E7E7dtBUnLFFeBtZsUGCbS9vILwsjNa INLetlQ3/W1icyxXxcya4UDQq1POp7EJhPEAf3J+UjXJ8kbeZm4mwuCkeVvFlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697212632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eAHLAL99xHRGacqjr5UAT8ARDuMD9rJ2pQAREUQRoHc=; b=RnoMrWOEgo2h2+Pm6vYoQgKif2w4AHb7Mh4p6vaFeIpHUu19+qqVpYLJnGidSbKKO6NdE5 Gs4CGxsut2UiY0aDLhm4S6IxmdjjEh4U5e0sOuvRp32CL6nXG9zP0HB2WLS1L7wS7sNvxq YDLCjZ6rNK5bIM0HkVAPxAN/zCkB4CdNOeuHhBNsCmvHPByV/EsUVJr3ZYmO5MmcPh+XYf ox5gOsTVAmTNHhIfr++tYCx0ejYl8n+igVeCRk37KXnql2eMqqrsa4qJoyfTL4FhMPitRr PCuZ9srpVCoCzjSNA8EOay0KHgvyJrtNaocbjUDbb80bSNwhw1OcTAOs3QEmjA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S6WNS47L2zvDl for ; Fri, 13 Oct 2023 15:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39DFvCsS046265 for ; Fri, 13 Oct 2023 15:57:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39DFvCpT046264 for virtualization@FreeBSD.org; Fri, 13 Oct 2023 15:57:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Fri, 13 Oct 2023 15:57:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 --- Comment #17 from Mark Johnston --- Regarding the patch itself, "up" should be declared at the beginning of the function with the rest of the local variables per style(9). --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 13 19:07:07 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S6bbb4X9Vz4wdbP for ; Fri, 13 Oct 2023 19:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S6bbb3VYHz4V6f for ; Fri, 13 Oct 2023 19:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697224027; a=rsa-sha256; cv=none; b=Zby3k3csVDl1egNIYuHgzOAROh/hD7YLmpf+Xtbfwyo7CIPO7/kB0mAWGcqq24Y1Y66osm yCXRD0xwSB2Xg2bHEJXJ2w7AnIe5laQtfAFi2v/e9xX7oD9L989k6NWUhZk6t6RqlFQrou 0pjamdg8lWNhw6VAJaqUPZo2MtHdx2sdt+VrOxG85yT0vnL+Epe3IEwQqClPoa9k3E1h9v s0rb2ax4qNhqialBRLw3ulGXLNDkAxXlrfl5sLK2K5Ow6qvTaEUUlQHUWhOt82731Zdhu1 ActE+lotksle8FvcgexZRIrDC/bPIKFghQrARrIdjWyQDjo1e1TfYhG+LMZN7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697224027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zxQ8b5ogfx2lsony6sUvWuqeVuKJ4r78v5P/E/Gzy50=; b=Lr5YNbqpogxBBa8a8UxDxpd9i88qciZ3cfpIXsc/x0uLN8KQEpYTn3/28psXMa3K/pkPxT fDp589pp8mqvO59z2aP0YRn5CJsF7KOrkT6FiTQbFeIRyExeMz7qo+OqEGbYMo6c3N0Tlo xJm+wC38GfAuyEPvsN5PD3M3s/HcqmnTctM9f1djB27WZR9UYv74HwlN3F9LXDQXoIbcq+ tmJgJvBeyzT5EyNBzyJqjmqBxQfR1XIADgBLrMDhWyLv6SldHsyR8gN/fbbFVbDuPzvB+I 1zgzBtXZJFUg+iYDOtbvLXFBu402VpfwLDRQkDD8C6fMwjPKq2xkOUHd5G8Ygw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S6bbb2S0Pz10Lw for ; Fri, 13 Oct 2023 19:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39DJ77qS087949 for ; Fri, 13 Oct 2023 19:07:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39DJ77J0087948 for virtualization@FreeBSD.org; Fri, 13 Oct 2023 19:07:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 269823] rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded Date: Fri, 13 Oct 2023 19:07:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269823 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #11 from Mark Johnston --- (In reply to John Baldwin from comment #10) I think a merge to 14.0 would be a good idea, given that this bug's been reported in several contexts. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 14 17:33:09 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S79Sj364Qz4x37m for ; Sat, 14 Oct 2023 17:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S79Sj231Lz4R8H for ; Sat, 14 Oct 2023 17:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697304789; a=rsa-sha256; cv=none; b=XRA6xMOxtOdvdwvVaRVkLKYrDHIYM6lENimL3vHJL4/qUwGB9Ayi9FxUU+aHJTTIee9vmq PORyEqPYCrGW9BbCKxcTuTvdefx95vPsiulwz2IEa1m+cBR2mn2a++qYzyH5dqIaXVtN10 ephm1ey5/bcCxR0qU1u7B9LwXyoG2GshTKaAxq7uLXUoxoam1hPh9PsB3PaL43bhzhgqo6 mjqcZ4LI/Z29udKuhBgUqT8KOaEff+Cx7eAWpDqSUKBJyAGQl1rjhGKoCEWDnLhDMh1rGs B9/fSOORR8OsVEk37Rm1gNy13BH846JsPNCjJNNxpBHQWzo7Chcrf3CsNl8aAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697304789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FM2tU49PXc3GIsm7fRP1RgVEryy3SvFHpj7JxQByTa4=; b=tPkPVdL+/CmZZwdtzbTOMRiCIDDaJ9Xdd1Xo61aJTrIDJbh3ZzmB77BGJGKgmV8mzh1Fhg TO5Wn1xDlscc2NSaINhrG3fuEmJJ+dj+2TXQWjQtshpMp4gQazxCJOeOcDgVE3DkTnQkH2 rOIclqIiVe8wdiaw9/AdMylf6lLPvwK2GJpq2l1UdtEb3eyM7MgAeuZTvszYL6uYw8XzMr gtZQ502MkWrP1GkTa9Z/qMWfflBZ97BK0pE9DKwZYAnYKj6eizcjVNLOLP36bEcQpzFsf2 PtOGPuDfnVyn+2SxdEweezeYM4kc0EXVryenjMfJ8xrCfK6xAI7IiFVq3B4KtA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S79Sj16Fqzft1 for ; Sat, 14 Oct 2023 17:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39EHX9UG023347 for ; Sat, 14 Oct 2023 17:33:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39EHX93f023346 for virtualization@FreeBSD.org; Sat, 14 Oct 2023 17:33:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Date: Sat, 14 Oct 2023 17:33:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: bhyve, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston --- > This has worked up until about a month ago. Can you convert this into a pair of known-good and known-bad revisions? Th= at is, what is the last revision where this worked, and what is the first revi= sion where it doesn't? When I try booting the OpenBSD 7.3 installer, I hit an assertion failure in modify_bar_registration(): 697 assert(error =3D=3D 0); (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x00000008016f83b4 in __raise (s=3Ds@entry=3D6) at /root/freebsd/lib/libc/gen/raise.c:50 #2 0x00000008017aa4c9 in abort () at /root/freebsd/lib/libc/stdlib/abort.c= :65 #3 0x00000008016db741 in __assert (func=3D, file=3D, line=3Dline@entry=3D703, failedexpr=3D) at /root/freebsd/lib/libc/gen/assert.c:49 #4 0x0000000001059205 in modify_bar_registration (pi=3D0x801e32600, idx=3D= 0, registration=3Dregistration@entry=3D1) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:703 #5 0x0000000001058ceb in register_bar (pi=3D0xb6df6, idx=3D6) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:720 #6 0x0000000001058af9 in pci_cfgrw (in=3D, bus=3D, slot=3D, func=3D, coff=3D,=20 bytes=3D, valp=3D0x7fffdeff5d0c) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:2375 #7 0x0000000001059614 in pci_emul_cfgdata (ctx=3D, in=3D749= 046, port=3D, bytes=3D0, eax=3D, arg=3D) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:2451 #8 0x000000000106e1b9 in emulate_inout (ctx=3D0x801e19500, vcpu=3D0x801e1b= 070, vmexit=3Dvmexit@entry=3D0x7fffdeff5ec8) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/amd64/inout.c:223 #9 0x000000000106b9f0 in vmexit_inout (ctx=3D0xb6df6, vcpu=3D0x6, vmrun=3D= ) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/amd64/vmexit.c:84 #10 0x000000000104b610 in vm_loop (ctx=3D0x801e19500, vcpu=3D0x801e1b070) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/bhyverun.c:523 #11 0x000000000104a217 in fbsdrun_start_thread (param=3D0x801e25030) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/bhyverun.c:434 #12 0x000000080162aac5 in thread_start (curthread=3D0x801e15f00) at /root/freebsd/lib/libthr/thread/thr_create.c:290 #13 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdeff6000 (gdb) frame 4 #4 0x0000000001059205 in modify_bar_registration (pi=3D0x801e32600, idx=3D= 0, registration=3Dregistration@entry=3D1) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:703 703 assert(error =3D=3D 0); (gdb) p pi $2 =3D (struct pci_devinst *) 0x801e32600 (gdb) p pi->pi_bar[0] $3 =3D {type =3D PCIBAR_IO, size =3D 128, addr =3D 0, lobits =3D 1 '\001'} (gdb) frame 9 #9 0x000000000106b9f0 in vmexit_inout (ctx=3D0xb6fa6, vcpu=3D0x6, vmrun=3D= ) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/amd64/vmexit.c:84 84 error =3D emulate_inout(ctx, vcpu, vme) (gdb) p vme->u.inout $3 =3D {bytes =3D 4, in =3D 0, string =3D 0, rep =3D 0, port =3D 3324, eax = =3D 0} --=20 You are receiving this mail because: You are the assignee for the bug.=