From nobody Fri Jun 28 21:35:55 2024 X-Original-To: emulation@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 4W9pdl2N2vz5PgJj for ; Fri, 28 Jun 2024 21:35:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W9pdl1NfWz4GGJ for ; Fri, 28 Jun 2024 21:35:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719610555; a=rsa-sha256; cv=none; b=lHf+scsWOaU90gpIdK55Xs8FKFZGPiqG6caadvGyIlP5oYKYHO+Cq5U4dmR02HaUN1/ugm v0hCcGURSaK3hSKtAcKHvpeX9W063WjOdDzrJ7I3ns4nCVOxTlUR8lLS0ieTN5D12cwBAS rGgLiH5/kqpwgok4V8p7nGqht8XTWfG4ydAtitlYfKIpe0VbriV8ynp3sowEIBic/G30cQ 0pFcR3R+x6c3yueOQlZUd3Hs1GB74NOri0TQs4yDgE4WQDh3AtiZFNTbsh1bmohjbmAR98 fhAzbDm2uQt0SBx2lBwUnWhpx5RHtmclKnNnf/V/7IJdwA+FNj5Xwk8y4XcUPw== 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=1719610555; 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=82jmZyuWaXt2s/xpTbhJKQ97+hsNfjZ/DlR12bTw9LU=; b=uRqI/5MSWbegywJA+Rne7Bq8wQ0OUNhc1PWGvtAf1kpjms7Vykin6jMFq877h5gU4WcMBz qiaCEUAwmegZRwDSjpyJTghHVi4JqL/D8VCTiYUsVsTM4MTwRa70Nq8lfKz5s9q96GEHRQ /VUaWRnowS4ltFToaebbX9q7wO2eQGLBfXyzlUywCDS3flTCjqoUEQNBGi2BP6d83bETGX DvAWZqDDPEdUBskecWr+YwphvctYea940IYEmq5hRuBDp0g2AzwTnauYcx2WOAiMi5OLMe xNzPoGPcCXrFKYNZZA6zie2alykwPiXehcfi4jwuxrBWCCGHGJLQYFqu8t+K6Q== 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 4W9pdl0zy3z1Bfy for ; Fri, 28 Jun 2024 21:35:55 +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 45SLZt2Q027956 for ; Fri, 28 Jun 2024 21:35:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45SLZt7A027955 for emulation@FreeBSD.org; Fri, 28 Jun 2024 21:35:55 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: emulation@FreeBSD.org Subject: [Bug 219913] emulators/virtualbox-ose-kmod: if the MAXCPU option is not the default for the running kernel, then 'kldload vboxdrv.ko' will result in a kernel panic Date: Fri, 28 Jun 2024 21:35:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: leres@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219913 --- Comment #13 from Craig Leres --- (In reply to Vladimir Druzenko from comment #12) (Don't sweat your English, I don't even know more than one language!) To my way of thinking the minimal fix is to prevent the crash that happens = when you run a custom kernel that is compiled with a MAXCPU that's different from the default. That way if the user wants to run with a different MAXCPU they= 'll find out that they need to build a matching custom vbox module. Consider the case when the user has a working vbox setup but they build a custom kernel to increase MAXCPU. When the reboot they'll have to mess with= the bootloader to avoid loading the problematic module before they can even boot again. What would be ideal is if the module could make a cpuset_t at runtime by looking at mp_maxcpus instead of being hard-coded to use the MAXCPU define. --=20 You are receiving this mail because: You are on the CC list for the bug.=