ndis(4): BCM4328 driver from Apple - dies in pe_translate_addr



Hello everyone,

Because FreeBSD does not (yet) support the BCM4328 Wifi card, I want to
use ndis(4) to use this wireless NIC. I extracted the
BroadcomInstaller.exe from the Apple Leopard install disk, which gave me
a .inf and .sys. I had to patch the .inf slightly, because the IBSSMode
switch missed a default value, which caused ndiscvt to spit out a
faultly line in the array declaration.

When I load the .ko file, nothing happens. Nothing is shown in my dmesg.
I added a lot of printf's to the source and it seems it goes wrong like
this:

windrv_load()
pe_patch_imports(img, "NDIS", ndis_functbl)
pe_get_import_descriptor(imgbase, &imp_desc, module)
pe_directory_offset(imgbase, IMAGE_DIRECTORY_ENTRY_IMPORT);
pe_translate_addr(imgbase, dir)

pe_translate_addr() returns 0, because (i > sections). I'm a real newbie
when it comes to binary formats, but is there someone who knows more
about this?

--
Ed Schouten <ed@xxxxxx>
WWW: http://g-rave.nl/

Attachment: pgpkHwSgYYQqu.pgp
Description: PGP signature



Relevant Pages

  • which pcmcia wifi card?
    ... I have a lanready we601l pcmcia wifi card. ... Unfortunately, as far as I know, it is not supported under freebsd. ... Can you recommand me a good pcimcia wifi card? ... (it should support 802.11a/b/g) ...
    (freebsd-questions)
  • FreeBSD Status Reports Q2/2007
    ... This report covers FreeBSD related projects between April and June ... A GUI audit analyzer for FreeBSD ... 10Gigabit Network Support ...
    (freebsd-current)
  • FreeBSD Status Reports Q2/2007
    ... This report covers FreeBSD related projects between April and June ... A GUI audit analyzer for FreeBSD ... 10Gigabit Network Support ...
    (freebsd-hackers)
  • [FreeBSD-Announce] FreeBSD Status Reports Q2/2007
    ... This report covers FreeBSD related projects between April and June ... A GUI audit analyzer for FreeBSD ... 10Gigabit Network Support ... EuroBSDCon 2007 Developer Summit ...
    (freebsd-announce)
  • [FreeBSD-Announce] March-April 2004 FreeBSD Status Report
    ... the next big focus will be FreeBSD 5.3. ... the cpufreq driver requires newbus ... Support code for this should be committed at the ... Work on this project has been stalled due to some other network stack ...
    (freebsd-announce)