Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Native Airport Extreme Drivers
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 39, 40, 41, 42  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Fri Feb 09, 2007 10:13 pm    Post subject: Reply with quote

JoseJX,
I have a latest stable gentoo-sources-2.6.18, patched for bcm43xx with 2 patchset from Larry.
What I don't have is a patch for more than 1G memory, and improved performance patch.

With that I can successfully bring the interface up, scan and authenticate using the wireless-tools to my Linksys WRT54G.

However, when I try to ping the AP, it returns with the:

Code:

ping: Network is unreachable.


I've sent the Kismet output to Larry, but tought that I leave a word here to someone who might have the same problem, and also about the progress.

Also, maybe you guys have some solution about that, as Larry does not using Gentoo... :)

My /etc/conf.d/net file looks like thihs:

Code:

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

#Wireless-tools
#nis_domain_lo="IgorsGentoo"
modules=("iwconfig")
key_<My_ESSID>="[1] s:<My_Key> key [1] enc open"
key_ESSID2="[1] aaaa-bbbb-cccc-dd key [1] enc restricted"
preferred_aps=("IgorNetwork" "ESSID2")

#Wpa_supplicant
#modules=( "wpa_supplicant" )
#wpa_supplicant_eth1="-Dbcm43xx -c /etc/wpa_supplicant.conf"
#wpa_timeout_eth1 = 60


This is the only file needed for wireless-tools, correct?

Thank you.
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Mon Feb 19, 2007 5:27 pm    Post subject: improvement Reply with quote

JoseJX wrote:
If you have a 4311 or 4312 please test this patch, it should improve performance on your card:
https://lists.berlios.de/pipermail/bcm43xx-dev/2007-February/003808.html


Thanks a lot, JoseJX. I've already gotten the 4311 working with gentoo-sources-2.6.20 (yay aireplay), but the performance was spotty compared to ndiswrapper. After applying the patch, I noticed significant improvement. Pages now load faster and mp3 streaming takes shorter buffering time. Good work! Do you think there's still a value in switching to wireless-dev tree at this point? I am happy with what I've got, but I want to help by testing.
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Mon Feb 19, 2007 5:38 pm    Post subject: Reply with quote

ONEEYEMAN wrote:

This is the only file needed for wireless-tools, correct?

There are two files: conf.d/net and conf.d/wireless. I put all the AP-specific information in conf.d/wireless and IP/routing information in conf.d/net.
Here's my conf.d/net:
Code:

modules=( "ifconfig" )
config_eth0=( "137.xx.xx.xx/24" )
routes_eth0=(
       "default via 137.xx.xx.1"               # IPv4 default route
)

config_wlan0=( "dhcp" )

Here's my conf.d/wireless:
Code:

essid_wlan0="any"
preferred_aps=( "michorizo" "skylark" "default" "dynasty" )
blacklist_aps=( "05B402212187" "linksys" )
sleep_scan_wlan0="1"
associate_test_wlan0="all"

As you can see, I use static IP for wired eth0, and dhcp for wlan0. I'm not using wpa_supplicant since none of my AP's is using wpa.
Back to top
View user's profile Send private message
pH
n00b
n00b


Joined: 13 Sep 2002
Posts: 16
Location: MA, USA

PostPosted: Tue Feb 20, 2007 7:39 pm    Post subject: Re: improvement Reply with quote

JoseJX wrote:
If you have a 4311 or 4312 please test this patch, it should improve performance on your card:
https://lists.berlios.de/pipermail/bcm43xx-dev/2007-February/003808.html



I just got a new laptop with this card in it, installed Gentoo last night. After work today I'm going to upgrade to ~x86 gentoo-sources-2.6.20 to get this card up and running. Is this the only patch I'll need to apply to get everything working as well as possible for now?

PS. thank you for all your hard work!
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Tue Feb 20, 2007 7:48 pm    Post subject: Re: improvement Reply with quote

pH wrote:

I just got a new laptop with this card in it, installed Gentoo last night. After work today I'm going to upgrade to ~x86 gentoo-sources-2.6.20 to get this card up and running. Is this the only patch I'll need to apply to get everything working as well as possible for now?

Pretty much. You also need a v3 firmware. You can find a v3 firmware here: http://www.zcentric.com/blog/2006/12/get_the_broadcom_bcm4311_to_wo_1.html
Back to top
View user's profile Send private message
pH
n00b
n00b


Joined: 13 Sep 2002
Posts: 16
Location: MA, USA

PostPosted: Wed Feb 21, 2007 1:53 pm    Post subject: Re: improvement Reply with quote

saintpa wrote:
Pretty much. You also need a v3 firmware. You can find a v3 firmware here: http://www.zcentric.com/blog/2006/12/get_the_broadcom_bcm4311_to_wo_1.html


Thank you, I got this "almost working" last night really easily. dmesg said something about wanting v5 firmware even though I used your v3. I'm sure once I get the exact wording and do a search I'll find the answer already here though.
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Wed Feb 21, 2007 4:34 pm    Post subject: Re: improvement Reply with quote

pH wrote:

Thank you, I got this "almost working" last night really easily. dmesg said something about wanting v5 firmware even though I used your v3. I'm sure once I get the exact wording and do a search I'll find the answer already here though.

Are you using the wireless-dev kernel? From your original post I assumed you are using the gentoo-sources-2.6.20. If you are using the wireless-dev kernel you should be using the v4 firmware, otherwise use the v3 firmware. Maybe someone else can enlighten me on the v5 firmware, for I haven't heard of it before.
Back to top
View user's profile Send private message
pH
n00b
n00b


Joined: 13 Sep 2002
Posts: 16
Location: MA, USA

PostPosted: Wed Feb 21, 2007 8:54 pm    Post subject: Re: improvement Reply with quote

saintpa wrote:
Are you using the wireless-dev kernel? From your original post I assumed you are using the gentoo-sources-2.6.20. If you are using the wireless-dev kernel you should be using the v4 firmware, otherwise use the v3 firmware. Maybe someone else can enlighten me on the v5 firmware, for I haven't heard of it before.


No, using gentoo sources... Here is what I did:

ACCEPT_KEYWORDS="~x86" emerge gentoo-sources

which emerged gentoo-sources-2.6.20. Then I built my kernel & modules with the bcm43xx module. I downloaded v3 of the firmware from your link and followed the appropriate steps exactly.

Code:
cd /tmp
wget http://www.zcentric.com/brcmDrv340rc100a.zip
unzip brcmDrv340rc100a.zip
bcm43xx-fwcutter -w /lib/firmware /tmp/bcmwl5.sys


Rebooted into my new kernel, and saw udev load the bcm43xx module fine. Dmesg says a bunch of stuff about the bcm43xx with no errors, and ends with something to the effect of "radio off". I even see the card in ifconfig -a with the correct MAC address, so far so good.

Code:
#ifconfig eth2 up
SIOCSIFFLAGS: No such file or directory
#


Hmm ok, so Dmesg says:
Code:
bcm43xx: PHY connected
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)


From other posts on this topic, it looks like maybe I just need to download the firmware again and run the fwcutter again? Maybe I misstyped something here. Also, I didn't apply that "performance patch" to the kernel before I built the modules, I figured I could do it after I got everything up and running since it supposedly just improves performance.

EDIT: I think I also need to maybe try putting the firmware file into /lib/firmware/2.6.20/
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Thu Feb 22, 2007 3:26 am    Post subject: Re: improvement Reply with quote

pH wrote:

Code:
bcm43xx: PHY connected
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)


From other posts on this topic, it looks like maybe I just need to download the firmware again and run the fwcutter again? Maybe I misstyped something here. Also, I didn't apply that "performance patch" to the kernel before I built the modules, I figured I could do it after I got everything up and running since it supposedly just improves performance.

EDIT: I think I also need to maybe try putting the firmware file into /lib/firmware/2.6.20/


I put mine in /lib/firmware/ and it worked just fine. Are you sure you have bcm43xx_microcode5.fw under that directory?
Back to top
View user's profile Send private message
pH
n00b
n00b


Joined: 13 Sep 2002
Posts: 16
Location: MA, USA

PostPosted: Thu Feb 22, 2007 5:51 pm    Post subject: Re: improvement Reply with quote

saintpa wrote:
I put mine in /lib/firmware/ and it worked just fine. Are you sure you have bcm43xx_microcode5.fw under that directory?


Thanks for your help. I managed to get it working after running fwcutter again, I must have mistyped something the first time.

In terms of performance, without the patch (gentoo-sources 2.6.20 as is) I was maxing out at about 20-30 KB/s, and the connection would "pause" for about 10 seconds every minute or so. I applied the above mentioned patch (changing a <= to just a <) and I was able to max out my internet bandwidth. I didn't try anything from my LAN to max out the card, but the performance I get from the patch made the card from unacceptable to perfectly normal behavior.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Feb 23, 2007 3:21 am    Post subject: Reply with quote

Cool. :) The patch has been accepted and I think should be going upstream for the next kernel point release since it fixes all 4311 and 4312 cards. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sat Feb 24, 2007 10:58 pm    Post subject: Reply with quote

JoseJX, well it's been a few kernel versions. Can you post exactly what is needed to be configured and patched for a 4311 PCI-I. I'm trying to move away from ndiswrapper since apparently, people can successfully use the native driver.
Back to top
View user's profile Send private message
pH
n00b
n00b


Joined: 13 Sep 2002
Posts: 16
Location: MA, USA

PostPosted: Mon Feb 26, 2007 2:38 pm    Post subject: Reply with quote

nesl247 wrote:
JoseJX, well it's been a few kernel versions. Can you post exactly what is needed to be configured and patched for a 4311 PCI-I. I'm trying to move away from ndiswrapper since apparently, people can successfully use the native driver.


I don't know about previous kernel versions, but you can use gentoo sources 2.6.20 with just this patch and it works great on my PCI-E BCM 4311 ("Dell Wireless 1390 WLAN Mini-Card"). By works great, I mean exactly that, however I believe it maxes out at 11 Mbps.


Patch:
Quote:

If you have a 4311 or 4312 please test this patch, it should improve performance on your card:
https://lists.berlios.de/pipermail/bcm43xx-dev/2007-February/003808.html
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon Feb 26, 2007 3:21 pm    Post subject: Reply with quote

No other patch is needed to get PCI-E support or anything?
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Mon Feb 26, 2007 3:39 pm    Post subject: Reply with quote

nesl247 wrote:
No other patch is needed to get PCI-E support or anything?

If you have the latest gentoo-sources-2.6.20, 4311 should work out of the box (with proper firmware installed). However, to improve the performance, you do need to install the patch that JoseX mentioned in page 39.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon Feb 26, 2007 3:42 pm    Post subject: Reply with quote

Sweet thanks.
Back to top
View user's profile Send private message
flamingpi6C73
n00b
n00b


Joined: 26 Sep 2006
Posts: 50

PostPosted: Mon Feb 26, 2007 7:47 pm    Post subject: Reply with quote

I have some problem...

Code:

bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
PCI: Enabling device 0000:00:1f.5 (0000 -> 0001)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 50716 usecs
intel8x0: clocking to 48000
EXT3 FS on hda5, internal journal
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.25.0 20060524 on minor 0
Adding 1028152k swap on /dev/hda3.  Priority:-1 extents:1 across:1028152k
mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x800000
mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x800000
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x15f, pl 0x7e (2006-07-29  05:54:02)
bcm43xx: Firmware: no support for microcode extracted from version 4.x binary drivers.
bcm43xx: core_up for active 802.11 core failed (-95)


Code:

# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not permitted.
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Mon Feb 26, 2007 8:08 pm    Post subject: Reply with quote

flamingpi6C73 wrote:
Code:

bcm43xx: Firmware: no support for microcode extracted from version 4.x binary drivers.
bcm43xx: core_up for active 802.11 core failed (-95)


That's an indication that you used the wrong version of the firmware. Get the v3 firmware that JoseX mentioned on page 39. Next time, read before you post. This problem was just discussed in the last page.
Back to top
View user's profile Send private message
zerointeger
n00b
n00b


Joined: 22 Jan 2007
Posts: 12

PostPosted: Thu Mar 01, 2007 6:34 pm    Post subject: gentoo, x86_64, bcm43xx, Reply with quote

I have followed this thread and tried everything listed including using vanilla kernel sources from 2.6.19, 2.6.20 to 2.6.20.1 and so far I have not been able to reach or scan any access points. Any help you can give me is appreciated. Here is some information for you to help me get this working (if possible):

kernel info:
Code:

%> uname -a
Linux juxtapose 2.6.19-gentoo-r5 #7 SMP Thu Mar 1 12:06:23 MST 2007 x86_64 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz GenuineIntel GNU/Linux


lspci output:
Code:

%> lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0298 (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0c:00.0 Network controller: Broadcom Corporation Unknown device 4311 (rev 01)


relevant dmesg output:
Code:

bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
bcm43xx: Radio turned off
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
bcm43xx: Radio turned off
bcm43xx: DMA-32 0x0200 (RX) max used slots: 0/64
bcm43xx: DMA-32 0x02A0 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0280 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0220 (TX) max used slots: 1/512
bcm43xx: DMA-32 0x0200 (TX) max used slots: 0/512


modprobe and lsmod data:
Code:

%> modprobe -l | grep bcm43xx
/lib/modules/2.6.19-gentoo-r5/kernel/drivers/net/wireless/bcm43xx/bcm43xx.ko
/lib/modules/2.6.19-gentoo-r5/net/wireless/bcm43xx.ko

%> modprobe bcm43xx

%> lsmod
Module                  Size  Used by
bcm43xx               443424  0
ieee80211softmac       42112  1 bcm43xx
ieee80211              54004  2 bcm43xx,ieee80211softmac
ieee80211_crypt        12160  1 ieee80211
nvidia               5438420  12
snd_hda_intel          27296  0
snd_hda_codec         211584  1 snd_hda_intel
snd_pcm                97288  2 snd_hda_intel,snd_hda_codec
snd_timer              30472  1 snd_pcm
snd                    64688  4 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc         15888  2 snd_hda_intel,snd_pcm


ifconfig data:
Code:

%> ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:1A:92:42:40:D3
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:229 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:9618 (9.3 Kb)
          Interrupt:5


startup of net.eth1 data:
Code:

%> /etc/init.d/net.eth1 --verbose start
 * Starting eth1
 *   Loading networking modules for eth1
 *     modules: apipa arping ccwgroup macchanger macnet rename iwconfig essidnet iptunnel ifconfig system dhcpcd ip6to4
 *       iwconfig provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Configuring eth1 for MAC address 00:1A:92:42:40:D3 ...                                                                                                                 [ ok ]
 *   Configuring wireless network for eth1
 *   Scanning for access points
 *     no access points found
 *   Couldn't find any access points on eth1
 *   Failed to configure wireless for eth1


For the record I am currently using the bcm43xx patch supplied on page 1 of this thread against the latest stable gentoo-sources (linux-2.6.19-gentoo-r5) for the amd x86_64. *(The ia64 distribution did not play well even though the chipset is intel, go figure...)
Back to top
View user's profile Send private message
saintpa
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 77

PostPosted: Fri Mar 02, 2007 6:22 am    Post subject: Reply with quote

zerointeger: What are the outputs of iwconfig eth1 and iwlist eth1 scan?
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Fri Mar 02, 2007 11:09 pm    Post subject: Reply with quote

how about 54 Mbit/s in 2.6.20 kernel? Any more speed yet?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Mar 03, 2007 3:01 am    Post subject: Reply with quote

kEiNsTeiN:
Most all cards except 4318 can do 22-36M, 4318 is best at 11M. The driver has been much more reliable in the last release, thanks to Larry's great work. Now that the major reliability issues have been taken care of, we're working on speed. I've recently rewritten all of the Local Oscillator documentation in the specs, hopefully this will result in better throughput on all cards (including fixing the 4318 issues) when it is implemented in the driver. If not, well, we'll keep working at it until it does work. :)

zerointeger:
You should be using the 2.6.20 kernel with Larry's 4311 patch:
https://lists.berlios.de/pipermail/bcm43xx-dev/2007-February/003808.html
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
zerointeger
n00b
n00b


Joined: 22 Jan 2007
Posts: 12

PostPosted: Sun Mar 04, 2007 1:21 pm    Post subject: Reply with quote

Super, thanks I must have missed that patch in my testing of various kernels against the original patch posted. Is there a way you could post that or update the first page of this thread with that patch?

The reason I am asking is because it seems to be working at this point (we use a wpa type of AP here, but I also have access to standard wep and 802.11b without wep available to test on) so I will keep you posted on my results.

Also here is my current information for reference:

Kernel and OS information: (Gentoo x86_64)
Code:

%> uname -a
Linux juxtapose 2.6.20 #1 SMP Sun Mar 4 06:56:01 MST 2007 x86_64 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz GenuineIntel GNU/Linux


dmesg (relevant data)
Code:

%> dmesg
bcm43xx driver
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0c:00.0 to 64
bcm43xx: Chip ID 0x4311, rev 0x1
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x11, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xa, vendor 0x4243
bcm43xx: Core 2: ID 0x817, rev 0x3, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x1, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 4, Type 2, Revision 8
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: Chip ID 0x4311, rev 0x1
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x11, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xa, vendor 0x4243
bcm43xx: Core 2: ID 0x817, rev 0x3, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x1, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 4, Type 2, Revision 8
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
ReiserFS: sda7: found reiserfs format "3.6" with standard journal
ReiserFS: sda7: using ordered data mode
ReiserFS: sda7: journal params: device sda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda7: checking transaction log (sda7)
ReiserFS: sda7: Using r5 hash to sort names
Adding 1004020k swap on /dev/sda6.  Priority:-1 extents:1 across:1004020k
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Scanning finished: scanned 14 channels starting with channel 1
SoftMAC: Queueing Authentication Request to 00:0b:0e:18:70:c0
SoftMAC: Cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:0b:0e:18:70:c0.
SoftMAC: Open Authentication completed with 00:0b:0e:18:70:c0
SoftMAC: sent association request!
SoftMAC: associated!
SoftMAC: Scanning finished: scanned 14 channels starting with channel 1
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
SoftMAC: Already associating or associated to 00:0b:0e:18:70:c0


lspci info:
Code:

%> lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0298 (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0c:00.0 Network controller: Broadcom Corporation Unknown device 4311 (rev 01)


infconfig info:
Code:

eth1      Link encap:Ethernet  HWaddr 00:1A:92:42:40:D3
          inet addr:1xx.xxx.xxx.xxx  Bcast:155.98.118.255  Mask:255.255.255.128
          inet6 addr: fe80::21a:92ff:fe42:40d3/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:456 errors:0 dropped:4 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40073 (39.1 Kb)  TX bytes:2735 (2.6 Kb)
          Interrupt:5


iwconfig info:
Code:

%> iwconfig
eth1      IEEE 802.11b/g  ESSID:"How_to_connect_to_network"  Nickname:"Broadcom 4311"
          Mode:Managed  Frequency=2.437 GHz  Access Point: 00:0B:0E:18:70:C0
          Bit Rate=11 Mb/s   Tx-Power=18 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=100/100  Signal level=-34 dBm  Noise level=-69 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


iwlist info:
Code:

%> iwlist eth1 scan
eth1      Scan completed :
          Cell 01 - Address: 00:0B:0E:18:70:C0
                    ESSID:"How_to_connect_to_network"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:6
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=95/100  Signal level=-51 dBm  Noise level=-71 dBm
                    Extra: Last beacon: 40ms ago
          Cell 02 - Address: 00:0B:0E:18:70:C2
                    ESSID:"network.com"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=95/100  Signal level=-51 dBm  Noise level=-71 dBm
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : 802.1X
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : 802.1X
                    Extra: Last beacon: 36ms ago
          Cell 03 - Address: 00:0B:0E:02:D6:00
                    ESSID:"How_to_connect_to_network"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:6
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=78/100  Signal level=-82 dBm  Noise level=-71 dBm
                    Extra: Last beacon: 2272ms ago


As you can see I am now able to connect to the various AP's here. Now to just go through the 802.11x authentication portion for this driver which from what I can see is resolved. Good job you guys. And for anyone else using x86_64 gentoo:

YOU WILL NEED TO USE A VANILLA 2.6.20 KERNEL WITH THE PATCH LISTED ABOVE THIS POST (https://lists.berlios.de/pipermail/bcm43xx-dev/2007-February/003808.html)

Again, thanks.
Back to top
View user's profile Send private message
Daemoniis
n00b
n00b


Joined: 30 Oct 2004
Posts: 16
Location: Suburban Chicago

PostPosted: Sun Mar 04, 2007 10:40 pm    Post subject: Close... but no cigar for me. Reply with quote

Something's not working here. The card in question is a PCI-E device 0x4311.

OK, I emerged gentoo-sources-2.6.20 and compiled it. Generic IEEE 802.11 networking stack is compiled into the kernel, and the bcm43xx driver is compiled as a module. Larry's performance patch has also been applied. I extracted the firmware from wl_apsta.o file and double-checked the version -- it's version 3, just like it should be.

Now, it seems that
Code:
pestiferous ~ # modprobe bcm43xx

loads the driver without any problem, but the little WiFi light on my Dell Inspiron E1705 does not go on. The relevant dmesg output is this:
Code:
bcm43xx driver
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0c:00.0 to 64
bcm43xx: Chip ID 0x4311, rev 0x1
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x11, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xa, vendor 0x4243
bcm43xx: Core 2: ID 0x817, rev 0x3, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x1, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 4, Type 2, Revision 8
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off

I don't know if it's relevant, but running iwconfig at that point gives me
Code:
pestiferous ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

dummy0    no wireless extensions.

wlan0     IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4311"
          Mode:Managed  Access Point: Invalid
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

and appends the following line to dmesg:
Code:
SoftMAC: ASSERTION FAILED (0) at: net/ieee80211/softmac/ieee80211softmac_wx.c:306:ieee80211softmac_wx_get_rate()

Next, when I run ifconfig wlan0 up, the WiFi LED goes on and the dmesg now says
Code:
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)

However, trying to scan for access points fails
Code:
pestiferous ~ # iwlist wlan0 scan
wlan0     No scan results

and dmesg now has a new line:
Code:
SoftMAC: Scanning finished: scanned 14 channels starting with channel 1

Running iwconfig after that gives me
Code:
pestiferous ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

dummy0    no wireless extensions.

wlan0     IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4311"
          Mode:Managed  Frequency=2.484 GHz  Access Point: Invalid
          Bit Rate=1 Mb/s   Tx-Power=18 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


This is all very puzzling and frustrating, because zerointeger's hardware matches mine exactly -- we have the same card, the same revision, probably even the same computer, but his works fine, and mine just doesn't.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Mar 05, 2007 3:19 am    Post subject: Reply with quote

Do you have a wireless button on your machine? Some x86/amd64 laptops require merely pressing the WiFi button to power up the radio. Others require an ACPI utility, such as Acer Laptops with acer_acpi.

Perhaps it's also your AP. Are you trying to connect to an AP with a hidden SSID? Or perhaps an Ad-Hoc connection? Neither is supported in SoftMAC.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3 ... 39, 40, 41, 42  Next
Page 40 of 42

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum