Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get Broadcom Corporation BCM43228 working stable?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sat Jan 23, 2016 7:22 am    Post subject: Reply with quote

Only this machine had problems. All my other stuff is working fine. Windows 7, kubuntu and lubuntu (installed on other machines with wireless adapters). All non broadcom.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sun Jan 24, 2016 5:39 pm    Post subject: Reply with quote

I have added the lines advised by khayyam
Code:

cat /etc/wpa_supplicant/wpa_supplicant.conf
eapol_version=2
fast_reauth=1

network={
        ssid="***** removed ******"
        psk="****** removed ******"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        group=CCMP TKIP
        pairwise=CCMP TKIP
        priority=5
}


It is not helping significantly.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Jan 24, 2016 6:38 pm    Post subject: Reply with quote

GenHeDi wrote:
I have added the lines advised by khayyam [...] It is not helping significantly.

GenHeDi ... I didn't expect it would ... I don't think the issue is on the protocol level. I thought 'fast_reauth' might help with your report of no reconnection being triggered on 'DISCONNECTED'.

As suggested above, you might look to trying the broadcom-sta driver.

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sun Jan 24, 2016 8:52 pm    Post subject: Reply with quote

khayyam.........I was triggered by Logicien his remark about
Quote:

The deauthentication reason is 2. According with the page Linux WiFi: Deauthenticated Reason Codes, the client is authentificated but not authorised. The problem can come from the AP router configuration and/or the client permissions.

I changed a setting in my router:
Quote:

- encryption > automatic (recommended)
> TKIP
> AES >>>> is selected

to
Quote:

- encryption > automatic (recommended) >>>> is selected
> TKIP
> AES


As far as it looks now, the connection is much more stable 8O
Code:

time iw event -f
^C

real    21m15.875s
user    0m0.000s
sys     0m0.000s

and
Code:

tail /var/log/wpa_supplicant.log
wpa_driver_nl80211_set_key: ifindex=3 (wlp2s0b1) alg=2 addr=0x49b2c1 key_idx=1 set_tx=0 seq_len=6 key_len=32
nl80211: KEY_DATA - hexdump(len=32): [REMOVED]
nl80211: KEY_SEQ - hexdump(len=6): 01 00 00 00 00 00
   broadcast key
wlp2s0b1: WPA: Key negotiation completed with 64:70:02:df:4a:76 [PTK=CCMP GTK=TKIP]
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: Cancelling authentication timeout
wlp2s0b1: State: GROUP_HANDSHAKE -> COMPLETED
wlp2s0b1: Radio work 'sme-connect'@0x6ee020 done in 0.207651 seconds
wlp2s0b1: CTRL-EVENT-CONNECTED - Connection to 64:70:02:df:4a:76 completed [id=0 id_str=]
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
nl80211: Set wlp2s0b1 operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: Supplicant port status: Authorized
nl80211: Set supplicant port authorized for 64:70:02:df:4a:76
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed - result=SUCCESS
RTM_NEWLINK: ifi_index=3 ifname=wlp2s0b1 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK: ifi_index=3 ifname=wlp2s0b1 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
EAPOL: startWhen --> 0
EAPOL: disable timer tick
wlp2s0b1: BSS: Remove id 12 BSSID 94:a7:b7:4a:43:75 SSID 'H369A4A4375' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: BSS: Remove id 6 BSSID 70:9f:2d:9c:44:aa SSID 'H369A9C44AA' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: BSS: Remove id 7 BSSID 34:4d:ea:9c:ee:38 SSID 'H368N9CEE38' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: BSS: Remove id 8 BSSID 70:9f:2d:89:67:45 SSID 'H368N896745' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: BSS: Remove id 9 BSSID 72:9f:2d:9c:44:ab SSID 'KPN Fon' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: BSS: Remove id 10 BSSID fa:8f:ca:90:a1:66 SSID '' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: BSS: Remove id 11 BSSID 72:4d:ea:9c:ee:39 SSID 'KPN Fon' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2860-1\x00
wlp2s0b1: Control interface command 'RECONNECT'

Is not growing any more.
Strange................... is this something or ............?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Mon Jan 25, 2016 2:07 am    Post subject: Reply with quote

GenHeDi wrote:
I changed a setting in my router:

GenHeDi ... you'll have to explain that to me because I can't figure out which of TKIP/AES "is selected" in the above. I could probably guess as I can see 'PTK=CCMP GTK=TKIP' in the above, which suggests WPA2, and so AES.

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Mon Jan 25, 2016 7:59 pm    Post subject: Reply with quote

khayyam.............I'm so sorry. Last night it looked perfect, I viewed almost two hours of Youtube is several browser windows. The log files did not record anything and everything seemed to go smoothly.

But today, I had to restart my laptop two times before it was able to establish a proper connection. I recorded some info during a endless "try to connect" in Firefox.
Code:

#ping www.google.nl
PING www.google.nl (64.233.184.94) 56(84) bytes of data.
64 bytes from 64.233.184.94: icmp_seq=6 ttl=45 time=17.2 ms
^C64 bytes from 64.233.184.94: icmp_seq=7 ttl=45 time=16.9 ms

--- www.google.nl ping statistics ---
7 packets transmitted, 2 received, 71% packet loss, time 15032ms
rtt min/avg/max/mdev = 16.920/17.068/17.217/0.197 ms

I executed a couple of times wpa_cli reconnect and also ifconfig wlp2s0b1 down/up >>> no result.
Code:

#time iw event -f
wlp2s0b1: del station 64:70:02:df:4a:76
wlp2s0b1 (phy #0): deauth 30:10:b3:0e:6b:20 -> 64:70:02:df:4a:76 reason 3: Deauthenticated because sending station is leaving (or has left) the IBSS or ESS [frame: c0 00 00 00 64 70 02 df 4a 76 30 10 b3 0e 6b 20 64 70 02 df 4a 76 00 00 03 00]
wlp2s0b1 (phy #0): disconnected (local request)
phy #0: regulatory domain change: set to world roaming by the wireless core upon initialization request
wlp2s0b1 (phy #0): scan started
wlp2s0b1 (phy #0): scan finished: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 5180 5200 5220 5240 5745 5765 5785 5805 5825, "Network-647002df4a76" ""
wlp2s0b1: new station 64:70:02:df:4a:76
wlp2s0b1 (phy #0): auth 64:70:02:df:4a:76 -> 30:10:b3:0e:6b:20 status: 0: Successful [frame: b0 00 40 01 30 10 b3 0e 6b 20 64 70 02 df 4a 76 64 70 02 df 4a 76 f0 04 00 00 02 00 00 00]
wlp2s0b1 (phy #0): assoc 64:70:02:df:4a:76 -> 30:10:b3:0e:6b:20 status: 0: Successful [frame: 10 00 40 01 30 10 b3 0e 6b 20 64 70 02 df 4a 76 64 70 02 df 4a 76 00 05 31 04 00 00 05 c0 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c dd 18 00 50 f2 02 01 01 86 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 09 00 03 7f 01 01 00 00 ff 7f dd 0a 00 03 7f 04 01 00 06 00 40 00]
wlp2s0b1 (phy #0): connected to 64:70:02:df:4a:76
^C

real    10m3.195s
user    0m0.000s
sys     0m0.000s

Code:

#less /var/log/wpa_supplicant.log
TRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2870-1\x00
nl80211: Set wlp2s0b1 operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: Supplicant port status: Authorized
nl80211: Set supplicant port authorized for 64:70:02:df:4a:76
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed - result=SUCCESS
RTM_NEWLINK: ifi_index=3 ifname=wlp2s0b1 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK: ifi_index=3 ifname=wlp2s0b1 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
EAPOL: startWhen --> 0
EAPOL: disable timer tick
wlp2s0b1: BSS: Remove id 8 BSSID 94:a7:b7:4a:43:75 SSID 'H369A4A4375' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2870-1\x00
wlp2s0b1: BSS: Remove id 9 BSSID 70:9f:2d:9c:44:aa SSID 'H369A9C44AA' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2870-1\x00
wlp2s0b1: BSS: Remove id 11 BSSID 70:9f:2d:89:67:45 SSID 'H368N896745' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2870-1\x00
wlp2s0b1: BSS: Remove id 12 BSSID 72:9f:2d:9c:44:ab SSID 'KPN Fon' due to wpa_bss_flush_by_age
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_2870-1\x00
/var/log/wpa_supplicant.log lines 1852-1895/1895 (END)


I'm lost, I really thought I had discovered something.

I order to try to answer your question. I can imagine that it seems complicated. Therefore I copied a part of the description of the help menu:

Quote:
WPA/WPA2 - Personal

Version - You can select one of following versions,
Automatic - Select WPA-PSK or WPA2-PSK automatically based on the wireless station's capability and request.
WPA-PSK - Pre-shared key of WPA.
WPA2-PSK - Pre-shared key of WPA2.

Encryption - You can select either Automatic, or TKIP or AES.


First, the AES option was selected in the Encryption menu. Then I changed that setting to the Automatic option.
So both settings (WPA/WPA2 version and Encryption) are set to automatic.

I think this is the moment to give the broadcom-sta driver a chance.
Code:

# emerge -av net-wireless/broadcom-sta
# rmmod b43
# rmmod ssb
# modprobe wl


Is the way to go?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Mon Jan 25, 2016 8:25 pm    Post subject: Reply with quote

GenHeDi wrote:
I think this is the moment to give the broadcom-sta driver a chance. Is the way to go?

GenHeDi ... before you do that, I just noticed that there are two versions of sys-firmware/b43-firmware both of which are keyworded ~arch. I hadn't asked to see 'emerge --info' so I'm not sure which of these you may have keyworded (and incidentally the wiki states you'd needed firmware, and that b43 would be the prefered driver if supported by the chipset ... which I think we're established yours does). So, before we give up on b43 please provide the version of b43-firmware, and look in dmesg for it being loaded. It might also be worth providing the output of 'grep FIRMWARE /usr/src/linux/.config'.

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sat Jan 30, 2016 6:41 pm    Post subject: Reply with quote

khayyam........... excuse for responding so late. It was quite busy at my daily work.

Code:
emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo20151220_2030 x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo20151220_2030-x86_64-Intel-R-_Core-TM-_i5-4200M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3966384 total,    615024 free
KiB Swap:   11899900 total,  11899828 free
Timestamp of repository gentoo: Sat, 30 Jan 2016 17:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gt4 iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:

grep FIRMWARE /usr/src/linux/.config
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_HOSTAP_FIRMWARE=y
CONFIG_HOSTAP_FIRMWARE_NVRAM=y
CONFIG_RT2X00_LIB_FIRMWARE=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
# CONFIG_TEST_FIRMWARE is not set

Code:
Part of dmesg:
[   13.675637] random: nonblocking pool is initialized
[   13.835336] ppdev: user-space parallel port driver
[   13.875386] cfg80211: Calling CRDA to update world regulatory domain
[   13.903133] b43-phy0: Broadcom 43228 WLAN found (core revision 30)
[   13.903517] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 16
[   13.903526] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2057, Revision 9, Version 1
[   13.903974] Broadcom 43xx driver loaded [ Features: PMNL ]
[   13.949199] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.959044] e1000e 0000:00:19.0 enp0s25: renamed from eth0
[   13.996028] b43 bcma0:1 wlp2s0b1: renamed from wlan0
[   14.111319] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   14.306391] Console: switching to colour frame buffer device 170x48

Code:

emerge -s b43-firmware
 
[ Results for search key : b43-firmware ]
Searching...

*  sys-firmware/b43-firmware
      Latest version available: 6.30.163.46
      Latest version installed: 6.30.163.46
      Size of files: 7,505 KiB
      Homepage:      http://linuxwireless.org/en/users/Drivers/b43
      Description:   broadcom firmware for b43 LP PHY and >=linux-3.2
      License:       Broadcom

[ Applications found : 1 ]

_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Tue Feb 09, 2016 5:52 pm    Post subject: Reply with quote

Hello khayyam....... are you still available to help me out?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Tue Feb 09, 2016 7:03 pm    Post subject: Reply with quote

GenHeDi wrote:
Hello khayyam....... are you still available to help me out?

GenHeDi ... yes, sorry about that, sometimes I get so many topic reply notifications occasionally one might get overlooked.

OK, looking at the above dmesg I don't see any firmware loading, there is nothing from b43-phy0 prior to that?

Actually, I'm throughly confused now, because the linux wireless page for b43 states that you need to "emerge b43-fwcutter and then follow the instructions below". If this is the case then what is the purpose of sys-firmware/b43-firmware. net-wireless/b43-fwcutter states "firmware tool for Broadcom 43xx based wireless network devices", and yours is a BCM43228, which the above liked page shows as a supported device. So, perhaps what you need to do is use net-wireless/b43-fwcutter in place of sys-firmware/b43-firmware, then again, the URL provided for sys-firmware/b43-firmware points to the above page ... so clearly something doesn't make sense.

Perhaps someone who's using b43, and has the same chipset, or understands what purpose these packages serve might chime in.

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Thu Feb 11, 2016 6:26 pm    Post subject: Reply with quote

khayyam....... great that you are still supporting me.

Is it an option to get in contact with guys of the linux wireless page for b43?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Feb 11, 2016 8:47 pm    Post subject: Reply with quote

GenHeDi wrote:
khayyam....... great that you are still supporting me.

GenHeDi ... np, you're welcome.

GenHeDi wrote:
Is it an option to get in contact with guys of the linux wireless page for b43?

Probably via their mailing list, yes. A shorter route would be to check out their instructions (on the above linked page) and see what b43-fwcutter provides as output ... it may in fact be what's bundled as sys-firmware/b43-firmware ... at least then we might know. There may even be a more recent version of the firmware from broadcom.

If you haven't already then I would search the forum for (recent) posts related to b43, someone surely has this chipset, and is using this driver, so perhaps some clues there.

You might also try sys-firmware/b43-firmware-5.100.138 both a keyworded ~arch but the older version may not cause the issues you're experiencing.

I'm fairly sure the issue is with the firmware (though, actually, I'm not even sure if its getting loaded) ... so focus there. You could, as the page suggests, try the alternate driver wl.

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Mon Feb 15, 2016 8:58 pm    Post subject: Reply with quote

khayyam....... according to b43 website I have to emerge b43-fwcutter. This the response of my system:

Code:

emerge -s b43-fwcutter
 
[ Results for search key : b43-fwcutter ]
Searching...

*  net-wireless/b43-fwcutter
      Latest version available: 019
      Latest version installed: 019
      Size of files: 46 KiB
      Homepage:      http://bues.ch/b43/fwcutter
      Description:   Firmware Tool for Broadcom 43xx based wireless network devices using the mac80211 wireless stack
      License:       GPL-2

[ Applications found : 1 ]

_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Fri Feb 26, 2016 6:46 pm    Post subject: Reply with quote

khayyam.......
Quote:
I'm fairly sure the issue is with the firmware (though, actually, I'm not even sure if its getting loaded) ... so focus there.


How can I dig into this topic?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Feb 26, 2016 7:50 pm    Post subject: Reply with quote

GenHeDi wrote:
khayyam wrote:
I'm fairly sure the issue is with the firmware (though, actually, I'm not even sure if its getting loaded) ... so focus there.

How can I dig into this topic?

GenHeDi ... I asked above re what dmesg shows in terms of firmware loading ... the output provided didn't show any firmware loading (which it should). So, take a closer look at dmesg, and whatever is doing the module/firmware loading (probably udev), and what is enabled/disabled re firmware in the kernel.

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sat Feb 27, 2016 9:41 am    Post subject: Reply with quote

khay......sorry for the confusion. I will have look in dmesg as soon as possible.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sun Feb 28, 2016 1:58 pm    Post subject: Reply with quote

khay......I had a proper look at my dmesg. Stuff below are the only lines related to the Broadcom:

Code:
[   14.658039] cfg80211: Calling CRDA to update world regulatory domain
[   15.069476] b43-phy0: Broadcom 43228 WLAN found (core revision 30)
[   15.069901] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 16
[   15.069911] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2057, Revision 9, Version 1
[   15.070372] Broadcom 43xx driver loaded [ Features: PMNL ]
[   15.177286] Console: switching to colour frame buffer device 170x48
[   15.182891] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   15.182893] i915 0000:00:02.0: registered panic notifier
[   15.262415] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.382194] b43 bcma0:1 wlp2s0b1: renamed from wlan0
[   16.559482] cfg80211: World regulatory domain updated:
[   16.559483] cfg80211:  DFS Master region: unset
[   16.559485] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   16.559487] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   16.559489] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   16.559490] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   16.559492] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   16.559494] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   16.559496] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   16.559497] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   16.559498] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   18.393669] EXT4-fs (sdb5): re-mounted. Opts: (null)
[   18.607196] Adding 11899900k swap on /dev/sdb9.  Priority:-1 extents:1 across:11899900k
[   18.683943] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[   21.354014] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19)
[   22.066111] NET: Registered protocol family 10
[   22.066445] IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
[   24.558012] wlp2s0b1: authenticate with 64:70:02:df:4a:76
[   24.737882] wlp2s0b1: send auth to 64:70:02:df:4a:76 (try 1/3)
[   24.947947] wlp2s0b1: send auth to 64:70:02:df:4a:76 (try 2/3)
[   24.949449] wlp2s0b1: authenticated
[   24.957960] wlp2s0b1: associate with 64:70:02:df:4a:76 (try 1/3)
[   24.961466] wlp2s0b1: RX AssocResp from 64:70:02:df:4a:76 (capab=0x431 status=0 aid=5)
[   24.961855] wlp2s0b1: associated
[   24.961874] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0b1: link becomes ready


The line
Code:
[   21.354014] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19)
is the only line in my dmesg mentioning "firmware".

I also did:
Code:
cat .config | grep FIRMWARE
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_HOSTAP_FIRMWARE=y
CONFIG_HOSTAP_FIRMWARE_NVRAM=y
CONFIG_RT2X00_LIB_FIRMWARE=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
# CONFIG_TEST_FIRMWARE is not set


and

Code:
cat .config | grep B43
CONFIG_B43=m
CONFIG_B43_BCMA=y
CONFIG_B43_SSB=y
CONFIG_B43_BUSES_BCMA_AND_SSB=y
# CONFIG_B43_BUSES_BCMA is not set
# CONFIG_B43_BUSES_SSB is not set
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
CONFIG_B43_PCMCIA=y
# CONFIG_B43_SDIO is not set
CONFIG_B43_BCMA_PIO=y
CONFIG_B43_PIO=y
CONFIG_B43_PHY_G=y
CONFIG_B43_PHY_N=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_PHY_HT=y
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
# CONFIG_B43_DEBUG is not set
CONFIG_B43LEGACY=m
CONFIG_B43LEGACY_PCI_AUTOSELECT=y
CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
CONFIG_B43LEGACY_LEDS=y
CONFIG_B43LEGACY_HWRNG=y
CONFIG_B43LEGACY_DEBUG=y
CONFIG_B43LEGACY_DMA=y
CONFIG_B43LEGACY_PIO=y
CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
# CONFIG_B43LEGACY_DMA_MODE is not set
# CONFIG_B43LEGACY_PIO_MODE is not set
CONFIG_SSB_B43_PCI_BRIDGE=y

_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sun Feb 28, 2016 2:34 pm    Post subject: Reply with quote

khay......I also managed to dig this up:

Code:
##### module infos ######################

[b43]
filename:       /lib/modules/4.1.15-gentoo-r1/kernel/drivers/net/wireless/b43/b43.ko
firmware:       b43/ucode9.fw
firmware:       b43/ucode5.fw
firmware:       b43/ucode16_mimo.fw
firmware:       b43/ucode15.fw
firmware:       b43/ucode14.fw
firmware:       b43/ucode13.fw
firmware:       b43/ucode11.fw
license:        GPL
author:         Rafał Miłecki
author:         Gábor Stefanik
author:         Michael Buesch
author:         Stefano Brivio
author:         Martin Langer
description:    Broadcom B43 wireless driver
depends:        ssb,bcma,pcmcia,mac80211,led-class,cfg80211
intree:         Y
vermagic:       4.1.15-gentoo-r1 SMP mod_unload modversions
parm:           bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm:           fwpostfix:Postfix for the .fw files to load. (string)
parm:           hwpctl:Enable hardware-side power control (default off) (int)
parm:           nohwcrypt:Disable hardware encryption. (int)
parm:           hwtkip:Enable hardware tkip. (int)
parm:           qos:Enable QOS support (default on) (int)
parm:           btcoex:Enable Bluetooth coexistence (default on) (int)
parm:           verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm:           pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm:           allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)

[mac80211]
filename:       /lib/modules/4.1.15-gentoo-r1/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
depends:        cfg80211
intree:         Y
vermagic:       4.1.15-gentoo-r1 SMP mod_unload modversions
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/4.1.15-gentoo-r1/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
depends:        rfkill
intree:         Y
vermagic:       4.1.15-gentoo-r1 SMP mod_unload modversions
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

[ssb]
filename:       /lib/modules/4.1.15-gentoo-r1/kernel/drivers/ssb/ssb.ko
license:        GPL
description:    Sonics Silicon Backplane driver
depends:        pcmcia
intree:         Y
vermagic:       4.1.15-gentoo-r1 SMP mod_unload modversions

[bcma]
filename:       /lib/modules/4.1.15-gentoo-r1/kernel/drivers/bcma/bcma.ko
license:        GPL
description:    Broadcom's specific AMBA driver
depends:       
intree:         Y
vermagic:       4.1.15-gentoo-r1 SMP mod_unload modversions

##### module parameters #################

[b43]
allhwsupport: 1
bad_frames_preempt: 0
btcoex: 1
hwpctl: 0
hwtkip: 0
nohwcrypt: 1
pio: 0
qos: 1
verbose: 2

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sat Mar 05, 2016 11:06 am    Post subject: Reply with quote

Hello khayyam....... are you still available to help me out?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 05, 2016 12:39 pm    Post subject: Reply with quote

GenHeDi wrote:
Hello khayyam....... are you still available to help me out?

hey ... yes, so the firmware is loaded, however, from a brief search of the forum I see others with b43 using, or suggesting the use of, net-wireless/b43-fwcutter ... did you try this?

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sat Mar 05, 2016 9:03 pm    Post subject: Reply with quote

khay......
Quote:
I see others with b43 using, or suggesting the use of, net-wireless/b43-fwcutter ... did you try this?

nope not yet.

What is the best way to do this? Just emerge it?
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 05, 2016 9:22 pm    Post subject: Reply with quote

GenHeDi wrote:
What is the best way to do this? Just emerge it?

GenHeDi ... yes, and follow the instructions ... you will need to download the firmware from broadcom and 'cut' it (producing the firmware files as output). I think the linux wireless wiki page (linked above) has instructions, or they will be under /usr/share/doc/b43-fwcutter-*

best ... khay
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sun Mar 06, 2016 8:11 pm    Post subject: Reply with quote

khay...... I installed everything according to the website "http://www.linuxwireless.org/en/users/Drivers/b43/#other_distros".

Although
Code:
emerge b43-fwcutter

installs the "b43-fwcutter-019" version.
Therefore I decided to install also the "broadcom-wl-6.30.163.46.wl_apsta.o" version instead of the "broadcom-wl-5.100.138/linux/wl_apsta.o" version.

I am only able to modprobe the b43 module and this one needs the bcma module.

I am not able to modprobe the wl or the brcmsmac module:

Code:
modprobe wl
modprobe: FATAL: Module wl not found.


A look in dmesg learns that the same lines appear as shown above.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 127

PostPosted: Sun Mar 13, 2016 4:53 pm    Post subject: Reply with quote

khay...... It is worse as before.

I see no improvement, the connection is as unstable as before.
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Mar 13, 2016 9:07 pm    Post subject: Reply with quote

GenHeDi wrote:
khay...... It is worse as before. I see no improvement, the connection is as unstable as before.

GenHeDi ... I'm not sure what else to suggest, have you done a detailed search (trying to find someone with the same chipset and issue, regardless of distribution)? There may others with the same problem, and a possible solution.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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