Hi,

following the document on Solaris NDIS Wrapper Toolkit 
(http://www.opensolaris.org/os/community/laptop/wireless/ndis/), I'm trying to 
build the driver on my DELL 1501 (equipped with an AMD Turion 64 X2 TL-56 and a 
mini WLAN Dual Band wireless DELL 1490) with Solaris 10 06/11, but without 
success.

WLAN DRIVERS

I installed the last avalaible driver from the DELL site (R140747.EXE), but the 
only .INF and .SYS files found are the following:

-----------------------------------------------------------------------------------------
drwxr-xr-x   2 root     root         512 Jan  3 19:19 .
drwxr-xr-x   6 root     root         512 Jan  3 19:18 ..
-rwxr-xr-x   1 root     root      640898 Jan  3 19:19 BCMWL5.INF
-rwxr-xr-x   1 root     root      604928 Jan  3 19:19 BCMWL5.SYS
-rwxr-xr-x   1 root     root      754688 Jan  3 19:19 BCMWL564.SYS
-----------------------------------------------------------------------------------------

I used the iconv command to convert the UNICODE file (bcmwl5.inf.orig) to the 
ASCII file (bcmwl5.inf)

-----------------------------------------------------------------------------------------
-rw-r--r--   1 root     root      320448 Jan  3 22:11 bcmwl5.inf
-rwxr-xr-x   1 root     root      640898 Jan  3 19:24 bcmwl5.inf.orig
-rwxr-xr-x   1 root     root      604928 Jan  3 19:25 bcmwl5.sys
-rwxr-xr-x   1 root     root      754688 Jan  3 21:10 bcmwl564.sys
-----------------------------------------------------------------------------------------

I started to build the driver in the i386 directory, but the 'ndiscvt' step 
generated the error:

-----------------------------------------------------------------------------------------
d1501 (/opt2/download/wireless/ndis-0.1/i386) ./ndiscvt -i bcmwl5.inf -s 
bcmwl5.sys -o ndis.h  
$Windows NT$ 
d1501 (/opt2/download/wireless/ndis-0.1/i386) make ndis
/usr/sfw/bin/gcc -g -O2 -D_KERNEL -D__i386__ -I../include -I. -c ../if_ndis.c 
-o ndis.o
ld -r -o ndis ndis.o
./ndiscvt -i ndis.inf -s ndis.sys -o ndis.h
ndiscvt: opening .SYS file 'ndis.sys' failed: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ndis.h'
-----------------------------------------------------------------------------------------

I tryed to solve the problem with two links:

-----------------------------------------------------------------------------------------
d1501 (/opt2/download/wireless/ndis-0.1/i386) ln -s ./bcmwl5.inf ./ndis.inf  
d1501 (/opt2/download/wireless/ndis-0.1/i386) ln -s ./bcmwl5.sys ./ndis.sys  
-----------------------------------------------------------------------------------------

and all work's fine.

Similarly, in the amd64 directory, I experimented the same problem, and the 
same solution:

-----------------------------------------------------------------------------------------
d1501 (/opt2/download/wireless/ndis-0.1/amd64) ./ndiscvt -i bcmwl5.inf -s 
bcmwl564.sys -o ndis.h
$Windows NT$ 
d1501 (/opt2/download/wireless/ndis-0.1/amd64) make ndis
/usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin  -fno-asm 
-nodefaultlibs -D__sun -O2 -gdwarf-2  -fno-strict-aliasing -fno-unit-at-a-time  
-fno-optimize-sibling-calls -m64 -mtune=opteron  -Wall -Wno-unknown-pragmas 
-Wno-missing-braces  -Wno-sign-compare -Wno-parentheses -Wno-uninitialized  
-Wno-implicit-function-declaration -Wno-unused  -Wno-trigraphs 
-Wno-char-subscripts -Wno-switch  -ffreestanding -mcmodel=kernel -mno-red-zone  
-D_KERNEL -D__amd64__ -D__amd64 -I../include -I. -c ../if_ndis.c -o ndis.o
ld -r -o ndis ndis.o
./ndiscvt -i ndis.inf -s ndis.sys -o ndis.h
ndiscvt: opening .SYS file 'ndis.sys' failed: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ndis.h'
d1501 (/opt2/download/wireless/ndis-0.1/amd64) ln -s ./bcmwl564.sys ./ndis.sys
d1501 (/opt2/download/wireless/ndis-0.1/amd64) ln -s ./bcmwl5.inf ./ndis.inf  
d1501 (/opt2/download/wireless/ndis-0.1/amd64) make ndis
./ndiscvt -i ndis.inf -s ndis.sys -o ndis.h
$Windows NT$ 
/usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin  -fno-asm 
-nodefaultlibs -D__sun -O2 -gdwarf-2  -fno-strict-aliasing -fno-unit-at-a-time  
-fno-optimize-sibling-calls -m64 -mtune=opteron  -Wall -Wno-unknown-pragmas 
-Wno-missing-braces  -Wno-sign-compare -Wno-parentheses -Wno-uninitialized  
-Wno-implicit-function-declaration -Wno-unused  -Wno-trigraphs 
-Wno-char-subscripts -Wno-switch  -ffreestanding -mcmodel=kernel -mno-red-zone  
-D_KERNEL -D__amd64__ -D__amd64 -I../include -I. -c ../if_ndis.c -o ndis.o
ld -r -o ndis ndis.o
-----------------------------------------------------------------------------------------

At this point, the modload command generated the following output:

-----------------------------------------------------------------------------------------
d1501 (/opt2/download/wireless/ndis-0.1/amd64) modload ndisapi
can't load module: No such file or directory
d1501 (/opt2/download/wireless/ndis-0.1/amd64) 
-----------------------------------------------------------------------------------------

with a lot of messages in the /var/adm/messages file (see below for a little 
extract)

-----------------------------------------------------------------------------------------
Jan  5 20:41:43 d1501 genunix: [ID 387338 kern.notice]  symbol x86_64_wrap_end: 
Jan  5 20:41:43 d1501 genunix: [ID 780736 kern.notice]  value 
0xfffffffff417229c does not fit
Jan  5 20:41:43 d1501 genunix: [ID 754994 kern.notice] relocation error: 10:
Jan  5 20:41:43 d1501 genunix: [ID 397992 kern.notice]  file 
/opt2/download/wireless/ndis-0.1/amd64/ndisapi: 
Jan  5 20:41:43 d1501 genunix: [ID 387338 kern.notice]  symbol 
x86_64_wrap_call: 
Jan  5 20:41:43 d1501 genunix: [ID 780736 kern.notice]  value 
0xfffffffff4172281 does not fit
Jan  5 20:41:43 d1501 genunix: [ID 399259 kern.notice] do_relocations: 
/opt2/download/wireless/ndis-0.1/amd64/ndisapi do_relocate failed
Jan  5 20:41:43 d1501 genunix: [ID 603676 kern.notice] ndisapi error doing 
relocations
-----------------------------------------------------------------------------------------

but I didn't have no more solution or work around to continue ...

Does have someone an idea where is the problem or how to continue?

Thank's a lot for any answer

Sergio
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to