DragonFly BSD
DragonFly bugs List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Toshiba Satellite M50 and ndis


From: Ferruccio Zamuner <nonsolosoft@xxxxxxxx>
Date: Wed, 13 Sep 2006 08:41:02 +0200

Thank you Simon,

I've rebuilt world and kernel and installed them, then I've rebuilt if_ndis.ko too:

% kldload /modules/if_ndis.ko
link_elf: symbol malloc undefined
kldload: can't load /modules/if_ndis.ko: Exec format error

There was still a malloc() and I've replace malloc() with kmalloc() once
in if_ndis.c. Rebuilt and installed.
kldload doesn't fail to load, but it kernel panic. :-(


Bye, \fer



Simon 'corecode' Schubert wrote:
Ferruccio Zamuner wrote:
% kldload /modules/wlan.ko
% kldload /modules/ndis.ko
% kldload /modules/if_ndis.ko
link_elf: symbol kmalloc undefined
kldload: can't load /modules/if_ndis.ko: Exec format error

I hope that this report can be useful.

You shouldn't compile a module with newer sources than your kernel actually is. please make sure that your kernel and your modules are compiled from the same sources.


cheers
 simon




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]