Hi! I have been desperately trying to compile and get to work ndis driver for my Broadcom 4318 module on HP Compaq nx6125 laptop for two weeks already. I have Solaris 10 6/06. I have red all threads and followed all possibe instructions, but in veil. Even when I managed to compile it with some errors:
user$ make ndiscvt /usr/sfw/bin/gcc -I../include -O -c ../err.c -o err.o /usr/sfw/bin/gcc -I../include -O -c ../inf.c -o inf.o /usr/sfw/bin/gcc -I../include -O -c ../ndiscvt.c -o ndiscvt.o /usr/sfw/bin/gcc -I../include -O -c ../subr_pe.c -o subr_pe.o yacc -d -v ../inf-parse.y conflicts: 1 reduce/reduce mv y.tab.c inf-parse.c /usr/sfw/bin/gcc -I../include -O -c inf-parse.c -o inf-parse.o rm -f inf-token.c flex -t ../inf-token.l > inf-token.c /usr/sfw/bin/gcc -I../include -O -c inf-token.c -o inf-token.o /usr/sfw/bin/gcc -I../include -O -o ndiscvt err.o inf.o ndiscvt.o subr_pe.o inf-token.o inf-parse.o user$ make ndis /usr/sfw/bin/gcc -g -O2 -D_KERNEL -D__i386__ -I../include -I. -c ../if_ndis.c -o ndis.o In file included from ../if_ndis.c:47: /usr/include/sys/cmn_err.h:58: warning: conflicting types for built-in function 'printf' /usr/include/sys/cmn_err.h:71: warning: conflicting types for built-in function 'vprintf' ld -r -o ndis ndis.o and added the driver with also some errors: root# add_drv -i '"pci14e4,4318"' bcmndis Jun 24 17:50:22 stasis ndisapi: no match for IoGetDeviceObjectPointer Jun 24 17:50:22 stasis ndisapi: no match for MmFreeContiguousMemorySpecifyCache Jun 24 17:50:22 stasis ndisapi: no match for MmAllocateContiguousMemorySpecifyCache Jun 24 17:50:22 stasis ndisapi: no match for MmGetPhysicalAddress Jun 24 17:50:22 stasis ndisapi: no match for strrchr Jun 24 17:50:22 stasis bcmndis: ndis_vid = 5348,ndis_did = 17176,ndis_subsys = 324407356 Jun 24 17:50:22 stasis bcmndis: t->ndis_vid = 5348,t->ndis_did = 17176,t->ndis_subsys = 324407356 Jun 24 17:50:22 stasis ndisapi: PhysAddr=cc010000, Size=8192 Jun 24 17:50:22 stasis ndisapi: WARNING: ntoskrnl I tried to plumb it up: root# ifconfig bcmndis0 plumb Jun 24 17:52:59 stasis ndisapi: WARNING: ntoskrnl Jun 24 17:52:59 stasis bcmndis: ndis_gld_ioctl: cmd 0xc0786981 Jun 24 17:52:59 stasis bcmndis: ndis_gld_ioctl: unknown cmd 0xc0786981 Jun 24 17:52:59 stasis bcmndis: ndis_gld_ioctl: cmd 0x40586993 Jun 24 17:52:59 stasis bcmndis: ndis_gld_ioctl: unknown cmd 0x40586993 kernel reports me this error string on boot: WARNING: ntoskrnl I can switch the radio on/off but not to connect to my Wi-Fi network. I tried to compile using different versions of original Broadcom driver, but the best achievement is described above. Can somebody tell me what am I doing wrong? Any kind of advice is highly appreciated. Thanks in advance, Stasis. [b] P.S. surely I converted .inf file to ASCII before using that.[/b] This message posted from opensolaris.org
