[oi-dev] Broadcom BCM4312 on OpenIndiana

Jim Klimov jimklimov at cos.ru
Thu Apr 4 01:39:37 UTC 2013


Hello Jean-Pierre,

   Sorry it took me a while to test the new version, here goes:

On 2013-03-26 19:18, Jean-Pierre wrote:
> Hi,
>
> I have uploaded the source code of a new beta version of
> the Windows Wireless emulator on :
> http://jp-andre.pagesperso-orange.fr/ndis.1.3.beta6.tar.gz

I gave this a shot and it builds on my box with gcc-4.4.4-il now,
although with several warnings. Linked with the older bcmwl drivers
(which you use for your card) the NDIS driver even loads cleanly,
both with your ndisapi and with a freshly-built one. However, as
before, this driver version does not support my own card.

Other bcmwl* drivers that I tried to feed it, that are supposed
to support my card, did not modload, due to not finding several
symbols (below). One driver did not get processed into a driver.s
file (though it did before, when I tried with stock gcc-3.4.3).
I can't say if it was GCC's fault, or if you changed something in
ndiscvt to such effect, but the curious fact is there.

One driver's missing symbols:

Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice]  'IoWMIOpenBlock'
Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice]  'ExFreePoolWithTag'
Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice]  'DbgPrint'
Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice]  'MmMapIoSpace'
Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice]  'IoWMIQueryAllData'
Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice] 
'RtlInitUnicodeString'
Apr  4 02:47:19 nbofh genunix: [ID 826211 kern.notice]  'MmUnmapIoSpace'
Apr  4 02:47:19 nbofh genunix: [ID 472681 kern.notice] WARNING: 
mod_load: cannot load module 'bcmndis'


Another one's are different:

Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice] 
'IoUnregisterPlugPlayNotification'
Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice]  'ExFreePoolWithTag'
Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice]  'DbgPrint'
Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice] 
'ZwQueryInformationFile'
Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice]  'ZwReadFile'
Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice] 
'RtlInitUnicodeString'
Apr  4 02:52:20 nbofh genunix: [ID 826211 kern.notice]  'ZwCreateFile'
Apr  4 02:52:20 nbofh genunix: [ID 472681 kern.notice] WARNING: 
mod_load: cannot load module 'bcmndis'


I did not yet dig any further, i.e. if there is anywhere to snatch
implementations from (BSD?) With misbehaving gani/rge and missing
wifi, my notebook is essentially without networking when booted in
OI, at least for most of the boots. Rarely the wired net happens to
work, most often it does not. So it is not very easy to test such
things out and try to get code from internet ;)

Thanks for your work however,
//Jim Klimov





More information about the oi-dev mailing list