From owner-freebsd-emulation@FreeBSD.ORG Thu Jan 10 17:38:50 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8BCA192A for ; Thu, 10 Jan 2013 17:38:50 +0000 (UTC) (envelope-from lehis2000@mail.ru) Received: from fallback8.mail.ru (fallback8.mail.ru [94.100.176.136]) by mx1.freebsd.org (Postfix) with ESMTP id 115E5BF2 for ; Thu, 10 Jan 2013 17:38:49 +0000 (UTC) Received: from smtp45.i.mail.ru (smtp45.i.mail.ru [94.100.177.105]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id B7FFC14963CA for ; Thu, 10 Jan 2013 21:24:23 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=SWSksSmfzMrmfu9VJaTPErc1I6P63Ir1bM8eyOSjO14=; b=bYuvtcDpUHN9weZWp64xxnX2igfajYg1dc7l2ICytqZxnGqSPbwd6gTgodwWvgpxbINJLCEAe/MokdyJ0AOWDZjx8ac5g7oBGiidFTpuUGFOOUvomcJ/V0vDZIqaElPO; Received: from [91.217.137.251] (port=24888 helo=work-book.lehis.ru) by smtp45.i.mail.ru with esmtpa (envelope-from ) id 1TtLrU-00080g-9A; Thu, 10 Jan 2013 21:24:16 +0400 Message-ID: <50EEF943.2020507@mail.ru> Date: Thu, 10 Jan 2013 21:24:19 +0400 From: "Alexey V. Panfilov" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Re: Can't load vboxnetflt.ko after update virtualbox to 4.2.6 References: <50EE63A4.9030509@mail.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 17:38:50 -0000 10.01.2013 17:14, Rusty Nejdl wrote: > On 2013-01-10 00:45, Alexey V. Panfilov wrote: >> Hi. >> >> After update virtualbox from 4.1.22 to 4.2.6 vboxnetflt module can't >> load: >> >> [work-book]# /usr/local/etc/rc.d/vboxnet start >> /usr/local/etc/rc.d/vboxnet: WARNING: Can't load vboxnetflt module. >> >> And /var/log/messages contains >> >> Jan 10 10:36:06 work-book kernel: link_elf: symbol ng_free_item undefined >> >> >> With 4.1.22 all works fine. >> >> Some additional info: >> >> FreeBSD work-book.lehis.ru 8.3-STABLE FreeBSD 8.3-STABLE #4: Thu Nov 8 >> 14:38:26 MSK 2012 >> root@work-book.lehis.ru:/usr/obj/usr/src/sys/BOOK-8-STABLE i386 >> >> Build options for virtualbox-ose-kmod: >> >> ===> The following configuration options are available for >> virtualbox-ose-kmod-4.2.6: >> DEBUG=on: Debug symbols, additional logs and assertions >> VIMAGE=off: VIMAGE virtual networking support >> >> Please, say direction for resolve this issue. >> >> Thanks. > > The general reason this occurs is because of a mismatch of your kernel > and your kernel module. I understood that :) , but how I can detect what was mismatch (what module should be loaded or compiled within kernel)... > Try rebuilding your kernel and rebooting and it > will likely load as that has worked for me in the past and I did not > have problems loading this time. You're right, man! Something goes wrong on my notebook and it has unsynced src and binary. So, I csup'ed to current, built and install new world and kernel, rebuilt virtualbox-ose-kmod and now I'm happy - vbox works fine. Thanks for show right direction, Rusty! > However, I am running on 9.1 amd64 so > I am on a different platform for you so I haven't tried to duplicate. > > Rusty Nejdl -- Best regards, Alexey V. Panfilov