From owner-freebsd-net@FreeBSD.ORG Tue Feb 1 14:59:25 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567B91065697 for ; Tue, 1 Feb 2011 14:59:25 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id E1C328FC1D for ; Tue, 1 Feb 2011 14:59:24 +0000 (UTC) Received: by wwi17 with SMTP id 17so4857730wwi.1 for ; Tue, 01 Feb 2011 06:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=sOMEq09MyXNQetVLysRkfaGU3AvOKOipNWDagAdoLO8=; b=R7CXF976WoRydsNkenPeVXd1tn9Yx8cYfZfFv8S+hxELgmTpv8W73XLl2HvkrC+GAD 2OFcWvdYyEpfpqd2EmouZVk1CmSOQOwgNF62a1jBDkvOZJ4KV8zHvoTDyLsw9edczcnV aiXFiXqFKVLJKiecoPGn5/glldnv+vmB5S6EA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jbxeeR1dmxT6CUD68bPHtAnK9V9nShqtEZdoGoA2/BuDRcrJjCCwVnaavv2INFhvIg nnqPMGJoDZvF0qNH4pCBBtKBmw+IYoR7jEOfXDcIwAqdH3rJcbwy0hY/aPQCqtiB4jlf qlec1jGHaJdaolDlKPIN0E+GQvXQHMqKKVc38= MIME-Version: 1.0 Received: by 10.227.129.17 with SMTP id m17mr7740180wbs.79.1296572363465; Tue, 01 Feb 2011 06:59:23 -0800 (PST) Received: by 10.227.134.137 with HTTP; Tue, 1 Feb 2011 06:59:20 -0800 (PST) In-Reply-To: <201102010949.07643.jhb@freebsd.org> References: <201102010949.07643.jhb@freebsd.org> Date: Tue, 1 Feb 2011 15:59:20 +0100 Message-ID: From: Monthadar Al Jaberi To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org Subject: Re: if_alloc() page fault, VirtualBox + VIMAGE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 14:59:25 -0000 On Tue, Feb 1, 2011 at 3:49 PM, John Baldwin wrote: > On Tuesday, February 01, 2011 9:38:16 am Monthadar Al Jaberi wrote: >> Hi, >> >> I am running FreeBSD Current (201010) as guest in VirtualBox on an >> Ubuntu 10.04. FreeBSD is compiled with VIMAGE option. >> >> I loaded a module (my own) that calls if_alloc(IFT_IEEE80211), but I >> get a panic: > > Did you compile your module with VIMAGE enabled? How do I check that? My makefile is: # Note: It is important to make sure you include the makefile after declaring the KMOD and SRCS variables. .PATH: ${.CURDIR}/wtap_hal # Declare Name of kernel module KMOD = wtap # Enumerate Source files for kernel module SRCS = if_wtap_module.c if_wtap.c if_medium.c hal.c # Include kernel module makefile .include > > -- > John Baldwin > Thnx Bjoern, I will check the mailing list br -- //Monthadar Al Jaberi