On Tue, Feb 1, 2011 at 3:49 PM, John Baldwin <j...@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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to