From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 14 07:14:53 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BD64BD59 for ; Mon, 14 Jan 2013 07:14:53 +0000 (UTC) (envelope-from lehis2000@mail.ru) Received: from fallback5.mail.ru (fallback5.mail.ru [94.100.176.59]) by mx1.freebsd.org (Postfix) with ESMTP id 40AEF7A0 for ; Mon, 14 Jan 2013 07:14:53 +0000 (UTC) Received: from smtp39.i.mail.ru (smtp39.i.mail.ru [94.100.177.99]) by fallback5.mail.ru (mPOP.Fallback_MX) with ESMTP id 3FA8FCC01C94 for ; Mon, 14 Jan 2013 11:14:51 +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=K9hLGeoZX8xjP5RznafQUhJncqkdYEEZx0MPuMyS3TA=; b=XYyE2VeOMhePds0W+FIPuF1LXivFiqdvrhtf6f6tQXHvQOO1Bve3IG3QDy4qjK4wU26uAWfwO1RmRDLiK4XunEiySSNnAIghpKzdehtQGzqd9rCktnJL/HzIwYc1r2bo; Received: from [91.217.137.251] (port=6089 helo=work-book.lehis.ru) by smtp39.i.mail.ru with esmtpa (envelope-from ) id 1TueFn-0004Y2-LI; Mon, 14 Jan 2013 11:14:43 +0400 Message-ID: <50F3B06B.1080700@mail.ru> Date: Mon, 14 Jan 2013 11:14:51 +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> <50EEF943.2020507@mail.ru> In-Reply-To: <50EEF943.2020507@mail.ru> 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: Mon, 14 Jan 2013 07:14:53 -0000 10.01.2013 21:24, Alexey V. Panfilov wrote: > 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 > > Story has continued: during upgrade vbox to 4.2.6 on another server I found next strange thing: If virtualbox-ose-kmod built with sets debug option then vboxnetflt.ko loads fine. If debug was unchecked - vboxnetflt.ko can't loads with error "link_elf: symbol ng_free_item undefined" in messages -- Best regards, Alexey V. Panfilov