Date: Tue, 1 Feb 2011 15:59:20 +0100 From: Monthadar Al Jaberi <monthadar@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: if_alloc() page fault, VirtualBox + VIMAGE Message-ID: <AANLkTi=8GMFaRus-A9z-N2xX8yEHi16pj87fXyM467xN@mail.gmail.com> In-Reply-To: <201102010949.07643.jhb@freebsd.org> References: <AANLkTin%2BAw_9FunfDHYyx-FCNMZpCzRavbohAUSCy%2B7X@mail.gmail.com> <201102010949.07643.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 1, 2011 at 3:49 PM, John Baldwin <jhb@freebsd.org> 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 <bsd.kmod.mk>
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 <bsd.kmod.mk>
>
> --
> John Baldwin
>
Thnx Bjoern, I will check the mailing list
br
--
//Monthadar Al Jaberi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=8GMFaRus-A9z-N2xX8yEHi16pj87fXyM467xN>
