View previous topic :: View next topic |
Author |
Message |
marxin n00b
Joined: 28 Oct 2005 Posts: 28
|
Posted: Sat Feb 04, 2006 10:22 pm Post subject: |
|
|
I emerged ieee80211softmac and bcm43xx [both version 20060125], after that I upraged kernel(without ieee80211 in kernel support), than I build kernel firmware with fwcutter -w /lib/firmware with this file: wl_apsta.o 3.130.20.0. After reboot is working iwlist eth1 regulary, I set essid and it see my AP, but dmesg is writeing this error:
Code: |
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1424
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1426
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1426
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1426
bcm43xx: TODO: Incomplete code in keymac_write() at /var/tmp/portage/bcm43xx-0.0.1-r20060125/work/bcm43xx-20060125/bcm43xx_main.c:1426
SoftMAC: Authentication response received from 00:0e:2e:34:4a:dc but no queue item exists.
SoftMAC: Authentication timed out with 00:0e:2e:34:4a:dc
ieee80211_crypt: registered algorithm 'WEP'
|
Please where is the problem, thx !!! |
|
Back to top |
|
|
Akaihiryuu l33t
Joined: 08 May 2003 Posts: 794 Location: Columbus, OH
|
Posted: Sat Feb 04, 2006 11:38 pm Post subject: |
|
|
Exact same problem I'm having. I haven't found a solution either, even using the latest snapshots. |
|
Back to top |
|
|
bz31 Tux's lil' helper
Joined: 20 Apr 2005 Posts: 108
|
Posted: Sun Feb 05, 2006 7:37 am Post subject: |
|
|
Akaihiryuu wrote: | Exact same problem I'm having. I haven't found a solution either, even using the latest snapshots. |
Try devicescape version. |
|
Back to top |
|
|
andy753421 n00b
Joined: 10 Dec 2004 Posts: 17
|
Posted: Sun Feb 05, 2006 9:10 am Post subject: |
|
|
I've had the same problem as well (dhcpcd not working). However after using the latest snapshots from ftp://bu3sch.de/bcm43xx-snapshots/all-in-one/bcm43xx/ everything seemed to work better. (I used bcm43xx-060205__forlinux2.6.16-rc1__.patch.bz2) However, I haven't tried this with WEP, which seemed to be giving me problems earlier.
For those who want to try that (and don't want to look anywhere else to find instructions) it's pretty simple. emerge =vanilla-sources-2.6.16_rc1 then go to /usr/src/linux-2.6.16-rc1, download a patch file, uncompress it, and run patch -p0 < bcm43x<whatever>.patch After that all the bcm43xx stuff will be in the kernel, just make sure you have it set to compile bcm43xx and softmac, recompile and install.
Unfortunately my nvidia drivers wont compile against 2.6.16-r1 so I'll be waiting around until things get a little more stable. |
|
Back to top |
|
|
marxin n00b
Joined: 28 Oct 2005 Posts: 28
|
Posted: Sun Feb 05, 2006 9:37 am Post subject: |
|
|
I'm using gentoo-sources andI don't want to use vanilla_sources, so I have to wait for 2.6.16_r1 kernel. And I'm also using SOFTMAC to uprgade my firmware. So your solution is for me complicated ... |
|
Back to top |
|
|
atomik n00b
Joined: 08 Jun 2003 Posts: 54 Location: Catania - Italy
|
Posted: Sun Feb 05, 2006 1:38 pm Post subject: |
|
|
andy753421 wrote: | I've had the same problem as well (dhcpcd not working). However after using the latest snapshots from ftp://bu3sch.de/bcm43xx-snapshots/all-in-one/bcm43xx/ everything seemed to work better. (I used bcm43xx-060205__forlinux2.6.16-rc1__.patch.bz2) However, I haven't tried this with WEP, which seemed to be giving me problems earlier.
For those who want to try that (and don't want to look anywhere else to find instructions) it's pretty simple. emerge =vanilla-sources-2.6.16_rc1 then go to /usr/src/linux-2.6.16-rc1, download a patch file, uncompress it, and run patch -p0 < bcm43x<whatever>.patch After that all the bcm43xx stuff will be in the kernel, just make sure you have it set to compile bcm43xx and softmac, recompile and install.
Unfortunately my nvidia drivers wont compile against 2.6.16-r1 so I'll be waiting around until things get a little more stable. |
In this patch, softmac stack is included? _________________ At0m|K |
|
Back to top |
|
|
thedopefishlives Tux's lil' helper
Joined: 23 Nov 2005 Posts: 84
|
Posted: Sun Feb 05, 2006 4:00 pm Post subject: |
|
|
As for using the devicescape version, I don't particularly want to go through the rather tall order of making a backup kernel, patching it, fiddling around with the sta_up.sh script - if it could be done as an ebuild like the SoftMAC version, and it compiled against my gentoo-sources kernel instead of being a different kernel ebuild, I'd probably go for it. As it is, I know the SoftMAC version can and does work in certain circumstances - I just have to figure out what they are. |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Mon Feb 06, 2006 2:23 pm Post subject: |
|
|
JoseJX wrote: | I can't really help without something to work with, can you capture the transaction between the bcm43xx card failing and the AP? That would help... |
Will do, once it stops hanging on me
btw: can I do the monitoring via my windows laptop?? (work) not sure...
cheers _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Mon Feb 06, 2006 3:54 pm Post subject: |
|
|
No you can't, windows won't allow you to capture the management packets which is what we're interested in here. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
atomik n00b
Joined: 08 Jun 2003 Posts: 54 Location: Catania - Italy
|
Posted: Mon Feb 06, 2006 4:25 pm Post subject: |
|
|
atomik wrote: | andy753421 wrote: | I've had the same problem as well (dhcpcd not working). However after using the latest snapshots from ftp://bu3sch.de/bcm43xx-snapshots/all-in-one/bcm43xx/ everything seemed to work better. (I used bcm43xx-060205__forlinux2.6.16-rc1__.patch.bz2) However, I haven't tried this with WEP, which seemed to be giving me problems earlier.
For those who want to try that (and don't want to look anywhere else to find instructions) it's pretty simple. emerge =vanilla-sources-2.6.16_rc1 then go to /usr/src/linux-2.6.16-rc1, download a patch file, uncompress it, and run patch -p0 < bcm43x<whatever>.patch After that all the bcm43xx stuff will be in the kernel, just make sure you have it set to compile bcm43xx and softmac, recompile and install.
Unfortunately my nvidia drivers wont compile against 2.6.16-r1 so I'll be waiting around until things get a little more stable. |
In this patch, softmac stack is included? |
Yes, this patch include the softmac stack, and WPA-PSK with this patch work..
But with the kernel 2.6.16 sound card doesn't work.. _________________ At0m|K |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Mon Feb 06, 2006 4:41 pm Post subject: |
|
|
JoseJX wrote: | No you can't, windows won't allow you to capture the management packets which is what we're interested in here. |
and ... please enlighten what one would need to give you those packets in order to try and help! _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
thedopefishlives Tux's lil' helper
Joined: 23 Nov 2005 Posts: 84
|
Posted: Mon Feb 06, 2006 5:58 pm Post subject: |
|
|
It appears to me that, in the caseof wpa_supplicant, it doesn't recognize when the driver is trying to communicate an event. For example, it sends a "scan finished" event to wpa_supplicant, but wpa_supplicant says "Scan timeout". Similarly, it reports a custom wireless event "associated", but it says "Authentication with 00:00:00:00:00:00 timed out." I'm wondering if there's something different about the bcm43xx driver that requires modification to wpa_supplicant to work. I'm going to poke about and see if there's even a remote chance I'm right. |
|
Back to top |
|
|
thedopefishlives Tux's lil' helper
Joined: 23 Nov 2005 Posts: 84
|
Posted: Mon Feb 06, 2006 8:39 pm Post subject: |
|
|
Attached to this post is a link to a wpa_supplicant patch that has my (admittedly barebones) bcm43xx wpa_supplicant driver. See, the bcm43xx driver uses wpa_supplicant's "Custom Event" interface to deliver its data. However, the standard wext driver doesn't handle any of these custom events, hence no real working wpa_supplicant functionality. I, in essence, created a bcm43xx driver that intercepts the "authenticated", "associated", and "scan finished" events; it also handles the latter two events, informing wpa_supplicant that the scan has finished and that the driver has associated to the AP. It does work, as I'm writing using the modified wpa_supplicant right now, but I'm not sure what features may be missing that I need to handle. If you'd like to test it, download the patch and patch it against wpa_supplicant 0.5.1, and run with at least the following options:
Look for lines that begin with "custom event:"; those are what get translated inside the driver. Hope this helps.
Patch: http://www.css.taylor.edu/~nmccalme/wpa_supplicant-0.5.1-bcm43xx.patch |
|
Back to top |
|
|
tanawana n00b
Joined: 03 Nov 2004 Posts: 8 Location: youngstown, OH
|
Posted: Tue Feb 07, 2006 2:18 am Post subject: |
|
|
Can I have a little help -
I am trying to follow the directions on the first page with the ebuilds but I don't understand what to do under the "USING SOFTMAC" part. It says "read the fwcutter READ ME", but where is it?? Better yet, it says use any driver listed. Where would I get this listing or the driver?? the emerge bcm43xx went fine till this point.
What am I missing here or how do I get past this?? |
|
Back to top |
|
|
sul3n3t n00b
Joined: 11 Jun 2003 Posts: 10
|
Posted: Tue Feb 07, 2006 6:57 am Post subject: |
|
|
I have a Compaq V2424NR amd64 laptop with integrated broadcom BCM4318. After updating to the 1/25 ebuilds, my laptop completely freezes upon "ifconfig eth1 up". I'm not expecting a quick solution or anything, but I haven't heard of this happening yet. Also, I don't know how to debug this. So it goes.
I have then following packages installed with default configuration:
net-wireless/bcm43xx-0.0.1-r20060125
net-wireless/ieee80211softmac-0.1-r20060125
sys-kernel/gentoo-sources-2.6.15-r1
sys-apps/hotplug-20040923-r1
sys-apps/coldplug-20040920
sys-fs/udev-084
Coldplug starts at boot.
Firmware: bcmwl564.sys version: 3.100.64.10
I've tried several drivers previously. I believe hotplug/coldplug is setup correctly.
Thanks. |
|
Back to top |
|
|
zeuss1414 Guru
Joined: 23 Mar 2004 Posts: 490
|
Posted: Tue Feb 07, 2006 1:08 pm Post subject: |
|
|
andy753421 wrote: | I've had the same problem as well (dhcpcd not working). However after using the latest snapshots from ftp://bu3sch.de/bcm43xx-snapshots/all-in-one/bcm43xx/ everything seemed to work better. (I used bcm43xx-060205__forlinux2.6.16-rc1__.patch.bz2) However, I haven't tried this with WEP, which seemed to be giving me problems earlier.
For those who want to try that (and don't want to look anywhere else to find instructions) it's pretty simple. emerge =vanilla-sources-2.6.16_rc1 then go to /usr/src/linux-2.6.16-rc1, download a patch file, uncompress it, and run patch -p0 < bcm43x<whatever>.patch After that all the bcm43xx stuff will be in the kernel, just make sure you have it set to compile bcm43xx and softmac, recompile and install.
Unfortunately my nvidia drivers wont compile against 2.6.16-r1 so I'll be waiting around until things get a little more stable. |
I try to make a 2.6.16-rc1 with the bcm43xx patch but I can't make I boot. Does everyone have a working config for 26.16 kernel for an ibook 1.2Ghz 12" ? That would be great because I can work on this config to make my kernel worked.
Thank's in advance. |
|
Back to top |
|
|
combellus n00b
Joined: 04 Nov 2005 Posts: 7 Location: Marseille, France
|
Posted: Tue Feb 07, 2006 4:50 pm Post subject: Thanks everybody !!! |
|
|
Saturday, I've compiled my new kernel (2.6.15) and merge bcm43xx package...
All working fine at the first time, it's very cool.
Thanks, you're very very great....
PS : Very good tutorial _________________ --==NicOl@$==-- |
|
Back to top |
|
|
Akaihiryuu l33t
Joined: 08 May 2003 Posts: 794 Location: Columbus, OH
|
Posted: Tue Feb 07, 2006 9:52 pm Post subject: |
|
|
Did you have to do anything special to make it work? I've never been able to associate with an AP with the 20060125 package (the latest one in Portage). The Gentoo net.xxx scripts didn't work for it, but even trying it manually got me nowhere. From what I understand, 20060125 is the last version that will be distributed separately from the kernel. It looks like all of the newer versions take the form of kernel patches for 2.6.16-r1. I really don't want to switch to ~x86 for my kernel, so it looks like I'm going to be stuck with ndiswrapper for a bit longer. I'd be happy if I could get the Portage version to work (I'm currently using vanilla-sources-2.6.15.1), but it looks like that driver is still too incomplete to work for me. I hope that either a newer version is provided in the Portage tree soon, or that the driver gets integrated into the mainstream kernel soon. |
|
Back to top |
|
|
damoncf Guru
Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Wed Feb 08, 2006 3:39 am Post subject: |
|
|
sul3n3t wrote: | I have a Compaq V2424NR amd64 laptop with integrated broadcom BCM4318. After updating to the 1/25 ebuilds, my laptop completely freezes upon "ifconfig eth1 up". I'm not expecting a quick solution or anything, but I haven't heard of this happening yet. Also, I don't know how to debug this. So it goes.
I have then following packages installed with default configuration:
net-wireless/bcm43xx-0.0.1-r20060125
net-wireless/ieee80211softmac-0.1-r20060125
sys-kernel/gentoo-sources-2.6.15-r1
sys-apps/hotplug-20040923-r1
sys-apps/coldplug-20040920
sys-fs/udev-084
Coldplug starts at boot.
Firmware: bcmwl564.sys version: 3.100.64.10
I've tried several drivers previously. I believe hotplug/coldplug is setup correctly.
Thanks. |
I have basicly the same setup ( see signiture at bottom) and the exact same wifi card. I have gotten to the point of attempting to bring eth1 up with ifconfig and I get the errors listed in this posting: https://forums.gentoo.org/viewtopic-t-430747-highlight-.html. The one major difference is I am on 2.6.15-r3.
sul3n3t: What steps did you take before giving the command? Maybe I can help you get to where I am with out your computer stalling out.
Everyone else: Ok I am wondering if anyone can help me get eth1 up and running so I can attempt the rest of the stuff I need to do to connect to my AP. (see url above for my current dmesg and errors) |
|
Back to top |
|
|
e-ipi Apprentice
Joined: 23 Aug 2005 Posts: 192
|
Posted: Wed Feb 08, 2006 3:40 am Post subject: |
|
|
sul3n3t wrote: | I have a Compaq V2424NR amd64 laptop with integrated broadcom BCM4318. After updating to the 1/25 ebuilds, my laptop completely freezes upon "ifconfig eth1 up". |
I think it might be a problem with udev-084. I had the same experience, but when I went back to the first softmac/bcm43xx ebuild, i still couldn't get the interface up until I dumped udev-084 for an earlier version.
If you've double checked and you're certain everything else is OK, I'd say try a different version of udev. |
|
Back to top |
|
|
fuoco Guru
Joined: 23 May 2004 Posts: 386 Location: Israel
|
Posted: Wed Feb 08, 2006 11:00 pm Post subject: |
|
|
Once I do:
Code: | iwconfig eth0 essid xxxx |
what feedback do I get whether association was succesfull or not ? |
|
Back to top |
|
|
e-ipi Apprentice
Joined: 23 Aug 2005 Posts: 192
|
Posted: Thu Feb 09, 2006 7:15 pm Post subject: |
|
|
fuoco wrote: | Once I do:
what feedback do I get whether association was succesfull or not ? |
Check what dmesg says. It should give you something like:
Code: |
[ 6803.707844] SoftMAC: associated!
|
|
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1247 Location: Edinburgh, UK
|
Posted: Fri Feb 10, 2006 1:28 am Post subject: |
|
|
I'm just trying to script my kernel-updates, but of course this is now involving re-merging ieee80211softmac and bcm43xx. I have hit a problem in attempting this, though: The modules don't install correctly because the ebuilds target the currently-running kernel, not the just-installed one.
This is as it should be of course, but the result is, a reboot is required before the packages can be re-merged and the network restored.
So: is there a way my script can specify for them to be installed against the newly-built kernel instead of the current one? Something like:
Code: | # TARGET_KERNEL=2.6.15-gentoo-r3 emerge ieee80211 bcm43xx |
Sorry if this is a bit OT but it would really help out in my circumstances. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
mellowgreengiant n00b
Joined: 06 Nov 2003 Posts: 13 Location: The Nebuchadnezzar
|
Posted: Fri Feb 10, 2006 4:27 am Post subject: |
|
|
sul3n3t wrote: | I have a Compaq V2424NR amd64 laptop with integrated broadcom BCM4318. After updating to the 1/25 ebuilds, my laptop completely freezes upon "ifconfig eth1 up". I'm not expecting a quick solution or anything, but I haven't heard of this happening yet. Also, I don't know how to debug this. So it goes.
I have then following packages installed with default configuration:
net-wireless/bcm43xx-0.0.1-r20060125
net-wireless/ieee80211softmac-0.1-r20060125
sys-kernel/gentoo-sources-2.6.15-r1
sys-apps/hotplug-20040923-r1
sys-apps/coldplug-20040920
sys-fs/udev-084
Coldplug starts at boot.
Firmware: bcmwl564.sys version: 3.100.64.10
I've tried several drivers previously. I believe hotplug/coldplug is setup correctly.
Thanks. |
What speed are you setting it to? Try 11M if you're not already. That made the difference for me with the same setup. _________________ Half awake, half asleep
In this state I love to keep. |
|
Back to top |
|
|
|