From nobody Fri Mar 15 14:57:51 2024 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 4Tx6n25BH1z5DYK7 for ; Fri, 15 Mar 2024 14:57:58 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tx6n24hvVz4VrL; Fri, 15 Mar 2024 14:57:58 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710514678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TKvHP2kAC9EkCrfsUdPFk9ABLp5JWxgZ9ucHa4iYRHY=; b=elpQUiK2kV18y7jb/1YXtSpuUGvNypQohf3JZkK5XZU6J4pRaiOk8cm369fp577PRyLdxH QQYyAU8L2rfmc/vlFP3Cd5SUDmiLSmf4ySaN8a4Rpj09Z65C7oGy0uaYRDqw1y9Kh+KeAX uI/8GLbUy6NxxugDCM56mOjFniwgovZRy69yPev6DO/ecJ+dGVQO7F4gwZNHaKeJw21xb4 hI51Hk1fkpoDRTSE3bTX+1Y7tgHVJfkidi8KkLza9FtGg1WpLnYlpL3Vu8k1swU4IArz6q 8HEdZCfTUadeKTiz0xmY/V/X71Bra+JuRCT9YAlI2VMykgI7ooUpxuZNMKJNPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710514678; a=rsa-sha256; cv=none; b=j7xED2o2HsZKwyRFNq7UJKKGIouVPplUY8guK5O7JFFwb5dHoLYRJerI2IjXu0raTbht1b kicRG5oQ2AIX3y3kUzT4pj3I09wfAYUf3a0PzX9QaDbHjKG/8KT0kDtN/S4FkELAm6ELnY HsSW9zfWRrhn0tRbJSXp4ikF7LTabfKueVV8mWZOCyyDTzIZBXGAj6dCp81cXo3cNodxNU +xxdmlpgwR77dnvL/LeMDntjdP+pIeNZsgAemWiBh7pysfXOU6AJWWLLza7f/GFHMkBGdG KYU2NplwgaS1pOe4XVnJLesGBCsW0VnyIm3htvuVs6GrpIhyH6rODNtra40SFQ== 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=1710514678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TKvHP2kAC9EkCrfsUdPFk9ABLp5JWxgZ9ucHa4iYRHY=; b=Kfyel+qKglobxn6RloIsrBfkTvB0F9KRti1ELMhcFvybYBmfGtsrNC346qqXtbtnkPYXxf i++zN9u6t51r9mIpuHdzZi4b5RB5qOEyCIc2sbWOs4LMBVPvCJzmcAx7OXFGgoJ++0RUWn KU/EA+suJLg5XdrjJ1QxGoFmvSiFILN0I37RcRJC/53U/Z9I+X+Ti9HlTI0lsoAj8rS6Cs 9TpihuovbTts/sMCEx3pVKsPsGjCXthZPmjntL3rPYe7dVTMpUCLUiTOVsH8SyHegZw2Nf GDcjSqiz+1hY0K7cAuAu20vDqHrIx7mMNmQ3qhEFJodBlOkxrEZBiCUtxsrB5w== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tx6n15fZwz15Dl; Fri, 15 Mar 2024 14:57:57 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii 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 \(3696.120.41.1.8\)) Subject: Re: The driver vboxdrv.ko, in the port virtualbox-ose-kmod, is not loadable in FreeBSD 13.3-RELEASE. From: Zhenlei Huang In-Reply-To: <25f90f4e-9cfb-4aab-8755-f0a51430576d@cloverinformatica.it> Date: Fri, 15 Mar 2024 22:57:51 +0800 Cc: "freebsd-virtualization@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <94DCB9E1-09C6-4932-B5CB-0B524EEC6754@FreeBSD.org> References: <25f90f4e-9cfb-4aab-8755-f0a51430576d@cloverinformatica.it> To: maurizio.vairani@cloverinformatica.it X-Mailer: Apple Mail (2.3696.120.41.1.8) > On Mar 15, 2024, at 5:46 PM, Maurizio Vairani = wrote: >=20 > Hi list, > recompiling and loading the driver in 13.3-RELEASE I have the error: ``` # pkg install virtualbox-ose-kmod =3D=3D=3D=3D=3D Message from virtualbox-ose-kmod-6.1.50: -- The vboxdrv kernel module uses internal kernel APIs. To avoid crashes due to kernel incompatibility, this module will only load on FreeBSD 13.2 kernels. ``` So I guess the virtualbox driver source is not compatible with FreeBSD = 13.3 . >=20 > # kldload vboxdrv.ko > kldload: can't load vboxdrv.ko: module already loaded or in kernel The EEXIST error number is misleading. Despite the error message from kernel is accurate. > # dmesg | tail -1 > KLD vboxdrv.ko: depends on kernel - not available or version mismatch >=20 > What I can do ? Maybe someone familiar with virtualbox would hack into the driver source = and make it happy with FreeBSD 13.3 . >=20 > Regards. > -- > Maurizio >=20 >=20 Best regards, Zhenlei