[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bcm43xx finally working, with encryption too!!!



At Mon, 16 Jan 2006 14:49:41 +0100, Milan Toth wrote:
> 
> OK. So I download a 2.6.15.1 from kernel.org disbale Generic
> IEEE 802.11 Networking Stack and try to compile softmac-snapshot
> but I'v got error that I dont have IEEE 802.11 compiled into
> kernel. So I enbale it compile softmac with this warnning: 

Ok.. I just answered your mail and then re-read this.  You got the
error about not having IEEE 802.11 enabled in the kernel from
compiling bcm43xx, not from the softmac-snapshot, right?  I remember
that I needed to disable something from bcm43xx...

ah... got it.. in bcm43xx.h (at the end of the file):

/*   <---- need to add this line
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15)                  
# error "The bcm43xx driver does not support kernels < 2.6.15"      
# error "The driver will _NOT_ compile on your kernel. Please upgrade to the latest 2.6 kernel."
# error "DO NOT COMPLAIN ABOUT BUGS. UPDATE FIRST AND TRY AGAIN."
#else
# if !defined(CONFIG_IEEE80211_MODULE) && !defined(CONFIG_IEEE80211)
#  error "Generic IEEE 802.11 Networking Stack (CONFIG_IEEE80211) not available."
# endif                                          
#endif
#ifdef IEEE80211SOFTMAC_API                 
# if IEEE80211SOFTMAC_API != 0              
#  warning "Incompatible SoftMAC subsystem installed."
# endif                                                                              
#else                                       
# error "The bcm43xx driver requires the SoftMAC subsystem."
# error "SEE >>>>>>    http://softmac.sipsolutions.net/    <<<<<<"
#endif
 ----> need to add this line */                

I commented out the checks about the softmac stuff.  Since the softmac
stuff is compiled outside the kernel, it means it's still there, but
the CONFIG_IEEE80211_MODULE and the CONFIG_IEEE80211 were not
defined. I assume that's because it's compiled outside of the kernel.
So I just commented out the whole block, since I know those conditions
are fullfilled.

So I guess that's why it's not compiling on your system.  Just try to
comment those out and see if you get it to work then.  The in-kernel
IEEE80211 needs to be disabled, I assume you're using the in-kernel
IEEE80211 instead of the one added with the softmac snapshot and
that's the reason that the bcm43xx is not working.

I hope you get it working with that change.  Otherwise, you can read
on and try the snapshots I used (and which compile fine as is on my
machine).

Ruben

--

> *** Warning: "wireless_send_event"
> *** [/home/data/src/softmac-snapshot/net/ieee80211/softmac/ieee80211softmac.ko]
> *** undefined!

yeah, I remember I got a number of warnings in both softmac and
bcm43xx.  I got more warnings even.

> then:
> export SOFTMAC_DIR=/home/data/src/softmac-snapshot
> 
> and compile the bcm43xx driver
> with this warnnings: 
> *** Warning: "free_ieee80211softmac"
> [/home/data/src/bcm43xx/driver/bcm43xx.ko] undefined!
> [...]

I did get those warnings too...

> and finaly when I try to modprobe the bcm4300 I'v got this
> error:
> [milan@krachsna]-[1]-[/home/data/src/bcm43xx/driver] sudo
> modprobe bcm43xx 
> WARNING: Error inserting ieee80211softmac
> (/lib/modules/2.6.15.1-krachsna-2/kernel/drivers/net/ieee80211softmac/ieee80211softmac.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)
> FATAL: Error inserting bcm43xx
> (/lib/modules/2.6.15.1-krachsna-2/kernel/drivers/net/bcm43xx/bcm43xx.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)

well, no error here in my case.

> help me please :(

I don't know much about solving this. Maybe you just have bad luck in
that the bcm43xx svn isn't compatible with the current softmac
snapshot...?

I put the code I'm using right now, from 12/01, online.  I use this
with a 2.6.15 kernel.
http://www.student.kuleuven.ac.be/~m9505736/bcm43xx-1051.tar.bz2
http://www.student.kuleuven.ac.be/~m9505736/softmac-120106.tar.bz2


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Reply to: