* b43 help,
@ 2010-07-31 5:56 Cheng Renquan
2010-07-31 6:07 ` Gábor Stefanik
0 siblings, 1 reply; 6+ messages in thread
From: Cheng Renquan @ 2010-07-31 5:56 UTC (permalink / raw)
To: b43-dev
Today I was using this computer with boradcom4312 with b43 (for
14e4:4312) driver, in an environment there were 30~40 wifi hotspot,
some encrypted some not, all other win/mac can connect one unencrypted
wifi while my ubuntu 10.04 with this b43 driver cannot, all I know to
try is "modprobe -r b43" and "modprobe b43"; iwconfig/iwlist output
also seems good,
I post the pci data and dmesg log, in the hope of someone could
analyze and see how to improve, thanks;
# lspci -D -nn -vv -d 14e4:
0000:02:00.0 Network controller [0280]: Broadcom Corporation BCM4312
802.11b/g [14e4:4315] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:1508]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 0: Memory@d8500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0
<4us, L1 <64us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number ff-ff-00-ff-ff-00-00-00
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
--
Cheng Renquan, Singapore
^ permalink raw reply [flat|nested] 6+ messages in thread
* b43 help,
2010-07-31 5:56 b43 help, Cheng Renquan
@ 2010-07-31 6:07 ` Gábor Stefanik
2010-08-04 2:51 ` Cheng Renquan
0 siblings, 1 reply; 6+ messages in thread
From: Gábor Stefanik @ 2010-07-31 6:07 UTC (permalink / raw)
To: b43-dev
On Sat, Jul 31, 2010 at 7:56 AM, Cheng Renquan <crquan@gmail.com> wrote:
> Today I was using this computer with boradcom4312 with b43 (for
> 14e4:4312) driver, in an environment there were 30~40 wifi hotspot,
> some encrypted some not, all other win/mac can connect one unencrypted
> wifi while my ubuntu 10.04 with this b43 driver cannot, all I know to
> try is "modprobe -r b43" and "modprobe b43"; iwconfig/iwlist output
> also seems good,
>
> I post the pci data and dmesg log, in the hope of someone could
> analyze and see how to improve, thanks;
>
> # lspci -D -nn -vv -d 14e4:
> 0000:02:00.0 Network controller [0280]: Broadcom Corporation BCM4312
> 802.11b/g [14e4:4315] (rev 01)
> ? ? ? ?Subsystem: Hewlett-Packard Company Device [103c:1508]
> ? ? ? ?Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
> ? ? ? ?Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> ? ? ? ?Latency: 0
> ? ? ? ?Interrupt: pin A routed to IRQ 18
> ? ? ? ?Region 0: Memory at d8500000 (64-bit, non-prefetchable) [size=16K]
> ? ? ? ?Capabilities: [40] Power Management version 3
> ? ? ? ? ? ? ? ?Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> ? ? ? ? ? ? ? ?Status: D0 PME-Enable- DSel=0 DScale=2 PME-
> ? ? ? ?Capabilities: [58] Vendor Specific Information <?>
> ? ? ? ?Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
> ? ? ? ? ? ? ? ?Address: 0000000000000000 ?Data: 0000
> ? ? ? ?Capabilities: [d0] Express (v1) Endpoint, MSI 00
> ? ? ? ? ? ? ? ?DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
> ? ? ? ? ? ? ? ? ? ? ? ?ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
> ? ? ? ? ? ? ? ?DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
> ? ? ? ? ? ? ? ? ? ? ? ?RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
> ? ? ? ? ? ? ? ? ? ? ? ?MaxPayload 128 bytes, MaxReadReq 128 bytes
> ? ? ? ? ? ? ? ?DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
> ? ? ? ? ? ? ? ?LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0
> <4us, L1 <64us
> ? ? ? ? ? ? ? ? ? ? ? ?ClockPM+ Suprise- LLActRep- BwNot-
> ? ? ? ? ? ? ? ?LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
> ? ? ? ? ? ? ? ? ? ? ? ?ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
> ? ? ? ? ? ? ? ?LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
> BWMgmt- ABWMgmt-
> ? ? ? ?Capabilities: [100] Advanced Error Reporting <?>
> ? ? ? ?Capabilities: [13c] Virtual Channel <?>
> ? ? ? ?Capabilities: [160] Device Serial Number ff-ff-00-ff-ff-00-00-00
> ? ? ? ?Capabilities: [16c] Power Budgeting <?>
> ? ? ? ?Kernel driver in use: b43-pci-bridge
> ? ? ? ?Kernel modules: ssb
>
> --
> Cheng Renquan, Singapore
>
> _______________________________________________
> b43-dev mailing list
> b43-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev
>
This is a true BCM4312 (14E4:4315), not a 4311ABG (14E4:4312, commonly
called a "4312"), according to your lspci output. That means, you are
probably experiencing the DMA issue.
Try loading b43 with "modprobe b43 nohwcrypt=1 qos=0 pio=1". If this
doesn't fix it, then chances are, you are hitting a mac80211 bug.
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* b43 help,
2010-07-31 6:07 ` Gábor Stefanik
@ 2010-08-04 2:51 ` Cheng Renquan
2010-08-04 3:02 ` Cheng Renquan
0 siblings, 1 reply; 6+ messages in thread
From: Cheng Renquan @ 2010-08-04 2:51 UTC (permalink / raw)
To: b43-dev
2010/7/31 G?bor Stefanik <netrolller.3d@gmail.com>:
> This is a true BCM4312 (14E4:4315), not a 4311ABG (14E4:4312, commonly
> called a "4312"), according to your lspci output. That means, you are
> probably experiencing the DMA issue.
>
> Try loading b43 with "modprobe b43 nohwcrypt=1 qos=0 pio=1". If this
> doesn't fix it, then chances are, you are hitting a mac80211 bug.
>
> --
> Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
In fact, I'm not often to go to that environment, so it's hard to reproduce;
Before that, I want to solve another problem inside my own campus,
with this b43 device,
in my campus, there are "SMUGIP" for guest network, it's a simple WiFi
spot without any encryption,
almost everyone wifi devices can connect it, but my linux with b43
cannot; it always scan and disconnect;
and there is a hidden wifi network named "WLAN-Staff", it uses
IEEE80211X encryption with PEAP,
and MSCHAPv2 authentication, should be logged in with username and password;
my another linux netbook with atheros wifi card can connect both,
especially, to connect that hidden and authentication required
network, I use this script:
# iwconfig ath0 essid "WLAN-Staff"
# wpa_supplicant -Dwext -iath0 -c /etc/wpa_supplicant.conf
with "/etc/wpa_supplicant.conf" content:
network={
ssid="WLAN-Staff"
key_mgmt="IEEE80211X"
eap=PEAP
phase2="autheap=MSCHAPv2"
identity="username"
password="password"
}
till now, my linux with this b43 driver actually can only connect to a
simple WEP encryption spot at home,
with some minor problems, I would rather to talk it later.
Someone know how to make this b43 to connect wifi at my campus? any
ideas I'd like to have a try,
thanks,
^ permalink raw reply [flat|nested] 6+ messages in thread* b43 help,
2010-08-04 2:51 ` Cheng Renquan
@ 2010-08-04 3:02 ` Cheng Renquan
2010-08-04 16:08 ` William Bourque
[not found] ` <AANLkTim1WEyom6vh07_EMqvXgTayJW2NGqqBoeXzCyqH@mail.gmail.com>
0 siblings, 2 replies; 6+ messages in thread
From: Cheng Renquan @ 2010-08-04 3:02 UTC (permalink / raw)
To: b43-dev
the other linux netbook with atheros wifi card can connect the hidden
network, after connected it looks like:
# iwconfig ath0
Warning: Driver for device ath0 has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...
ath0 IEEE 802.11g ESSID:"WLAN-Staff" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: 00:13:19:8C:83:50
Bit Rate:54 Mb/s Tx-Power:31 dBm Sensitivity=1/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX [4]
Security mode:restricted
Power Management:off
Link Quality=94/94 Signal level=-1 dBm Noise level=-95 dBm
Rx invalid nwid:2717842 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
it has good link quality with "94/94", I've tried the same wpa
configuration on the linux with b43, it is always scanning, with no
results, and scanning; someone know how to make it work with this
hidden and auth-required wifi?
Thanks a lot,
^ permalink raw reply [flat|nested] 6+ messages in thread* b43 help,
2010-08-04 3:02 ` Cheng Renquan
@ 2010-08-04 16:08 ` William Bourque
[not found] ` <AANLkTim1WEyom6vh07_EMqvXgTayJW2NGqqBoeXzCyqH@mail.gmail.com>
1 sibling, 0 replies; 6+ messages in thread
From: William Bourque @ 2010-08-04 16:08 UTC (permalink / raw)
To: b43-dev
Did you try the command Gabor gave you? ( "modprobe b43 nohwcrypt=1
qos=0 pio=1" )
Assuming your kernel is recent enought, this should fix your problem.
On 03/08/10 11:02 PM, Cheng Renquan wrote:
> the other linux netbook with atheros wifi card can connect the hidden
> network, after connected it looks like:
>
> # iwconfig ath0
> Warning: Driver for device ath0 has been compiled with version 22
> of Wireless Extension, while this program supports up to version 20.
> Some things may be broken...
>
> ath0 IEEE 802.11g ESSID:"WLAN-Staff" Nickname:""
> Mode:Managed Frequency:2.462 GHz Access Point: 00:13:19:8C:83:50
> Bit Rate:54 Mb/s Tx-Power:31 dBm Sensitivity=1/3
> Retry:off RTS thr:off Fragment thr:off
> Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX [4]
> Security mode:restricted
> Power Management:off
> Link Quality=94/94 Signal level=-1 dBm Noise level=-95 dBm
> Rx invalid nwid:2717842 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> it has good link quality with "94/94", I've tried the same wpa
> configuration on the linux with b43, it is always scanning, with no
> results, and scanning; someone know how to make it work with this
> hidden and auth-required wifi?
>
> Thanks a lot,
>
> _______________________________________________
> b43-dev mailing list
> b43-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <AANLkTim1WEyom6vh07_EMqvXgTayJW2NGqqBoeXzCyqH@mail.gmail.com>]
* b43 help,
[not found] ` <AANLkTim1WEyom6vh07_EMqvXgTayJW2NGqqBoeXzCyqH@mail.gmail.com>
@ 2010-08-05 3:23 ` Cheng Renquan
0 siblings, 0 replies; 6+ messages in thread
From: Cheng Renquan @ 2010-08-05 3:23 UTC (permalink / raw)
To: b43-dev
On Thu, Aug 5, 2010 at 12:08 AM, William Bourque
<william.bourque@polymtl.ca> wrote:
>
> Did you try the command Gabor gave you? ( "modprobe b43 nohwcrypt=1 qos=0
> pio=1" )
>
> Assuming your kernel is recent enought, this should fix your problem.
Got it! with these parameters it really works! the kernel is ubuntu
10.04 default 2.6.32-23-generic-pae,
Then these parameters mean the haredware crypto functions cannot be utilized,
all encrypt/decrypt calculations are using the main CPU, right?
Then our remaining job is still to figure out how to make it work with
enabling these
parameters; without released documents from Broadcom, we can only do
reverse engineering?
from where to start? although maybe not an easy task, but I'd like a try;
2010/8/5 G?bor Stefanik <netrolller.3d@gmail.com>:
> I see you are using Madwifi for the atheros card. Please test with
> ath5k in the same kernel that is experiencing problems in b43 - this
> will reveal whether the problem is in b43 or mac80211.
Sorry, that linux netbook with atheros is using linux 2.6.21.7, really
old kernel
I cannot update software on it because its storage is very limited, I
cannot even
install a compiler on it;
(in fact, it's EeePC 701, the very first model, with Intel Celeron 900 MB,
and only 4 GB SSD storage,)
--
Cheng Renquan (???), from Singapore
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-05 3:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-31 5:56 b43 help, Cheng Renquan
2010-07-31 6:07 ` Gábor Stefanik
2010-08-04 2:51 ` Cheng Renquan
2010-08-04 3:02 ` Cheng Renquan
2010-08-04 16:08 ` William Bourque
[not found] ` <AANLkTim1WEyom6vh07_EMqvXgTayJW2NGqqBoeXzCyqH@mail.gmail.com>
2010-08-05 3:23 ` Cheng Renquan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox