I Can compile  the 32 bit  bcmwl5.sys ( bcmwl5.inf )   and  64 bit   
bcmwl564.sys  ( netbc564.inf) 
files  on the  Ferrarri 3400 , and produce  the  32 bit  bcmndis and ndisapi  
and 64 bit  bcmndis 
and ndisapi files.  
   
   However   the SNV31   system does not  want to load  the ndisapi    module.
   I have produced a 64 bit module

# pwd
/kernel/misc/amd64
# file ndisapi
ndisapi:        ELF 64-bit LSB relocatable AMD64 Version 1


   "modload  ndisapi"    gives the following  ( fraction )  of  truss(1)  
output 
   while  trying to load  the 64 bit ndisapi  module.

2235:   getcwd("/kernel/misc/amd64", 1016)              = 0
2235:   modctl(MODLOAD, 0x00000000, 0xFFFFFD7FFFDFEF40, 0xFFFFFD7FFFDFF34C, 
0x7F7F7F7F7F7F7F7F) Err#22 EINVAL
2235:   fstat(2, 0xFFFFFD7FFFDFDBB0)                    = 0
2235:       d=0x0000010E00000000 i=12582922 m=0020620 l=1  u=0     g=7     
rdev=0x0000001800000003
2235:           at = Mar  5 16:10:22 CET 2006  [ 1141571422 ]
2235:           mt = Mar  5 16:10:22 CET 2006  [ 1141571422 ]
2235:           ct = Mar  5 15:54:00 CET 2006  [ 1141570440 ]
2235:       bsz=8192  blks=0     fs=devfs
2235:   write(2, 0x004122E0, 17)                        = 17
2235:      c a n ' t   l o a d   m o d u l e
2235:   write(2, " :  ", 2)                             = 2
2235:   brk(0x00412D60)                                 = 0
2235:   brk(0x00416D60)                                 = 0
2235:   write(2, 0xFFFFFD7FFF354435, 16)                = 16
2235:      I n v a l i d   a r g u m e n t
2235:   write(2, "\n", 1)                               = 1
2235:   _exit(22)

       
   I assume the  "modctl"    subroutine validates  the  module  and finds  that 
it
is somehow  not appropriate .  but the  Error mesages gives no clues.

   What   does   " EINVAL Err22 "   mean in this  context ? 


  Regards   Lars
This message posted from opensolaris.org

Reply via email to