Date: Tue, 1 Feb 2011 17:48:09 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Monthadar Al Jaberi <monthadar@gmail.com> Cc: freebsd-net@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: if_alloc() page fault, VirtualBox + VIMAGE Message-ID: <20110201174653.Y43179@maildrop.int.zabbadoz.net> In-Reply-To: <AANLkTi=8GMFaRus-A9z-N2xX8yEHi16pj87fXyM467xN@mail.gmail.com> References: <AANLkTin%2BAw_9FunfDHYyx-FCNMZpCzRavbohAUSCy%2B7X@mail.gmail.com> <201102010949.07643.jhb@freebsd.org> <AANLkTi=8GMFaRus-A9z-N2xX8yEHi16pj87fXyM467xN@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Feb 2011, Monthadar Al Jaberi wrote: > 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 Never mind; I was clearly not awake enough. The patch etc. is for virtualbox on a FreeBSD with VIMAGE. But people will be able to help you with your module there as well if it's related to a VIMAGE kernel. /bz -- Bjoern A. Zeeb You have to have visions! <ks> Going to jail sucks -- <bz> All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110201174653.Y43179>