LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   BCM43xx Complications (https://www.linuxquestions.org/questions/linux-wireless-networking-41/bcm43xx-complications-626235/)

pauldontknow 03-06-2008 03:47 PM

BCM43xx Complications
 
Ok first time setting up Gentoo. Or even touching this laptop (Acer Aspire 3004)

I've got some complications. I'm not even sure where to begin.

lspci:
Quote:

tux ~ # lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
LSMOD
Quote:

tux ~ # lsmod
Module Size Used by
bcm43xx 405920 0
ieee80211softmac 25344 1 bcm43xx
ieee80211 40044 2 bcm43xx,ieee80211softmac
ieee80211_crypt 4224 1 ieee80211
sis900 17664 0

DMESG
Quote:

sis900.c: v1.08.10 Apr. 2 2006
ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 16
0000:00:04.0: Realtek RTL8201 PHY transceiver found at address 13.
0000:00:04.0: Using transceiver found at address 13 as default
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
bcm43xx driver
eth0: SiS 900 PCI Fast Ethernet at 0x1800, IRQ 16, 00:16:36:0d:04:cf.
ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 17 (level, low) -> IRQ 21
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
EXT3 FS on hda3, internal journal
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1 across:506036k
eth0: Media Link On 100mbps full-duplex
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x118, pl 0x17 (2004-05-06 21:34:00)
bcm43xx: Radio turned on
bcm43xx: Radio disabled by hardware
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1489:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1489:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1489:bcm43xx_find_lopair()
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
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1489:bcm43xx_find_lopair()
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Getting essid from associate_essid
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
SoftMAC: Canceling existing associate request!
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
SoftMAC: Scanning finished: scanned 13 channels starting with channel 1
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Unable to find matching network after scan!
SoftMAC: Scanning finished: scanned 13 channels starting with channel 1
eth0: no IPv6 routers present
SoftMAC: Associate: Scanning for networks first.
bcm43xx: Radio turned off
SoftMAC: Scanning finished: scanned 13 channels starting with channel 1
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Scanning finished: scanned 13 channels starting with channel 1
SoftMAC: Associate: Scanning for networks first.
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: 2/512
bcm43xx: DMA-32 0x0200 (TX) max used slots: 0/512
SoftMAC: Scanning finished: scanned 13 channels starting with channel 1

Quote:

tux ~ # ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:14:A4:72:4F:4E
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2667 (2.6 Kb)
Interrupt:4
Quote:

tux ~ # iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b/g ESSID:"MYESSID" Nickname:"Broadcom 4318"
Mode:Managed Frequency=2.472 GHz Access Point: Invalid
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


I've been doing alot of reading for this. Somewhere I read that hdparm has to be on or it could create the type of problems I'm seeing.

but whenever I switch it on this happens

Quote:

tux ~ # hdparm -d 1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
tux ~ #
I've got all the right modules loaded in my kernel. (to the best of my knowledge)

so how do I get hdparm to turn on? do you know anything else I should try... or maybe a good doc I should read. i'm not against RTFM

oh heres my /etc/conf.d/wireless

Quote:

tux ~ # cat /etc/conf.d/wireless | grep -v '#'

essid_eth1="MYESSID"

iwpriv_eth1=""
iwpriv_ESSID=(
"set AuthMode=WPAPSK"
"set EncrypType=TKIP"
"set WPAPSK=00xxxx0x0"
)

sleep_scan_eth1="1"

associate_timeout_eth1="5"

preferred_aps=( "MYESSID" )

I'm not sure if anyone can help me.... or if I will still have the problem when I receive an answer... but maybe this will help someone else someday.

Lenard 03-06-2008 08:17 PM

The bcm43xx kernel module has transmission power issues for the Broardcom 4318 wireless device, best to blacklist it and use ndiswrapper with the Windows XP driver. FYI: eth1 becomes wlan0 when using ndiswrapper.

If you need the Windows XP driver (the 802bg.zip file) it can be found here;
ftp://ftp.support.acer-euro.com/note...e_3000/driver/


All times are GMT -5. The time now is 09:51 AM.