From nobody Sun May 7 09:43:09 2023 X-Original-To: freebsd-questions@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 4QDfcJ1VLRz49xtx for ; Sun, 7 May 2023 09:43:12 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 4QDfcH6385z4GBc for ; Sun, 7 May 2023 09:43:11 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-74e4f839ae4so173198485a.0 for ; Sun, 07 May 2023 02:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683452591; x=1686044591; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:from:to :cc:subject:date:message-id:reply-to; bh=S4XlJ8ylBSYgotl2nowbJb83sYGbSCCqGm1+XJsx0t0=; b=K3CCUJP90SmFPegr076NEggzd/FbeMb/gE2coM1UkFTA1q9wNcPLZB+Qs2pQZNXFrI jTV+pFRFvdWjlgUsuC6QczkPA7QfSzrKMmn47E6mOeiAEYfdMx59fhCrSaV3RRTur43/ nQmkt5nXO+xYlXNSQ+gZSZ8TJGRI6N5AXp3viS1KISKK/775qIN4KxMEabgbSg/xwj+P IL8a+Z5nyxqzwJTLCY5iYmIWfPb7xvwZcwwCMLtIz3yeeiRSc9htcXNCzaIFtWpJ6K7b 3u6wNVr354w8DJu+qm0+DcjUnYne5GkjOI4rXtkuDHJr/Y+WkbtEXoJ1mWCO29ExhG4m ks4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683452591; x=1686044591; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=S4XlJ8ylBSYgotl2nowbJb83sYGbSCCqGm1+XJsx0t0=; b=I+pnNCK0UuSLwy3A28n76Gjls16SvhGE+/tFWEitjzgIb2hBazYwEcb39RIrtlP/PA 8Zwr54OiIALI20a+TKXUu7t0cd8IPxLPwkmiHHoJN6mcBLbYV1C6UijYXC/9DcF15w7K /eZHB8z12936TsseFbe0k7a1AfwJOz7CGbTEOpkP4lRa7r77jXkphRgmEVBG91Ji+9ED tc35V24MtFGqfvd0yxiHnb/9pnsGV58qq2aRJS34TgFMYIuqDmYKkPdPtCl/Ru1AUgXT V+ll20Aix4s5jbfgqhJ5K/lzuUp/Zf0+wHVTBUO5qUTxyRX0gGA2+my4OaxXelpHvFHK 4hxA== X-Gm-Message-State: AC+VfDxEqkSPNguA5zx3M2ejB3Xmpb4xE9BfcMyMFEdA+70TZuiN5fXB +PhmPBvv7Goce857rIPlKno= X-Google-Smtp-Source: ACHHUZ4VZoaHC4YCzQZptfFENwHNz4XCHY+ZoGjh8f+0MVvnt1BQkn6v3444K6MW58v/oSCd8kITXA== X-Received: by 2002:a05:6214:3008:b0:61b:6cf2:eaf1 with SMTP id ke8-20020a056214300800b0061b6cf2eaf1mr8407693qvb.22.1683452590974; Sun, 07 May 2023 02:43:10 -0700 (PDT) Received: from [192.168.1.15] ([162.154.243.45]) by smtp.gmail.com with ESMTPSA id c4-20020a0cf2c4000000b005ff569bca72sm1964278qvm.93.2023.05.07.02.43.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 May 2023 02:43:10 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Message-ID: Date: Sun, 7 May 2023 05:43:09 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: linker_load_file: /boot/modules/vboxdrv.ko - unsupported file type To: Kevin Oberman Cc: FreeBSD Questions Mailing List References: <492aebb0-a5e1-2334-801a-79f76008c42c@Gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QDfcH6385z4GBc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 5/7/23 1:57 AM, Kevin Oberman wrote: > On Sat, May 6, 2023 at 9:47 PM Steven Friedrich > wrote: > > On a fresh install of freebsd 13.2 (I did make a new kernel, but I'm > running GENERIC for this. > > I used pkg install to get virtualbox-ose.  When I try to load the > vboxdrv.ko, I get this error: > > KLD vboxdrv.ko: depends on kernel - not available or version mismatch > linker_load_file: /boot/modules/vboxdrv.ko - unsupported file type > > FreeBSD freebsd.friedrich.org > 13.2-RELEASE FreeBSD 13.2-RELEASE > releng/13.2-n254617-525ecfdad597 GENERIC amd64 > > > And here we go again... > > The packages are built on 13.1-RELEASE which means the package will > not load on 3.2. You need to have a system with the 3.2 > kernel sources and then build the .ko on that system. It does not need > to be the system it is to be run on, but must be an amd64 processor. > The resulting package may be installed on any other 13.2 amd64 system. > > To build the package, get the sources for the kernel on the build > system. Then: > cd /usr/ports/emulators/virtualbox-ose-kmod > pkg install kBuild (if not already installed) > pkg install llvm14 (if not already installed) > make package (if you want to install on another system) > make install (on the system you need it on) > > In the last status report, this issue was being addressed, so  I am > hopeful that this is the last time the issue will show up, but no > promises. In any case, the builds will be done on 13.2 when 13.1 goes EOL. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 Thank you, Kevin.  I just finished buildworld, build kernel, installkernel, and installworld. I just built/installed the virtualbox-ose-kmod port. Can I just rebuild/install the kernel? -- FreeBSD freebsd.friedrich.org 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64