Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BCM4352 + Gentoo 4.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
FermiLevel
n00b
n00b


Joined: 28 Dec 2015
Posts: 4

PostPosted: Mon Dec 28, 2015 5:20 pm    Post subject: BCM4352 + Gentoo 4.1 Reply with quote

Dear All,

just installed my Gentoo from a stage3-tarball. And so far I'm quite happy with how its running.
But now that I have my system ready so Gentoo will boot up. I can't get my Wireless to work. (unfortunately no possibility to connect cable) I feel like I recompiled the kernel for 1000 times with different settings on all Broadcom+Wireless related entries. Emerged linux-firmware and b43-firmware. But iwconfig will just tel me:
Code:

lo no wireless extension

sit0 no wireless extension


I can't find anything related to my wireless device in dmesg. The BCM4352 chip wasn't supported by Ubuntu out of the Box as well but post number 5 from
http://askubuntu.com/questions/523458/unable-to-connect-to-any-wifi-in-ubuntu-14-04/523568#523568
did the trick and made it work for the installation from the ubuntu live USB.

Can anyone help me with further ideas on what to try in order to get my Gentoo connected to the internet.

Thanks an kind regards
Back to top
View user's profile Send private message
user
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2004
Posts: 145

PostPosted: Mon Dec 28, 2015 10:40 pm    Post subject: Reply with quote

Welcome FermiLevel

the BCM4352 chip is embed into an pluggable usb stick or onboard?

First step try to find out if device is visible to the system actually (it must not be usable by any driver yet)
Code:
# lspci
# lsusb
Back to top
View user's profile Send private message
FermiLevel
n00b
n00b


Joined: 28 Dec 2015
Posts: 4

PostPosted: Mon Dec 28, 2015 11:11 pm    Post subject: Reply with quote

The card is visible via lspci, the device is onboard of my ASRock ATX-Mainboard.

lspci gives me:
Code:

...
04:05.0 PCI bridge: ASMedia Technology Inc. Device 1184
04:07.0 PCI bridge: ASMedia Technology Inc. Device 1184
05:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)
08:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
09:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
...


I put my dmesg output to http://hyperbolic.dtdns.net/dmesg.txt in order not to overload the post. There as well I can't find anything related to the Wireless devices.

user wrote:
Welcome FermiLevel

the BCM4352 chip is embed into an pluggable usb stick or onboard?

First step try to find out if device is visible to the system actually (it must not be usable by any driver yet)
Code:
# lspci
# lsusb
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43200
Location: 56N 3W

PostPosted: Mon Dec 28, 2015 11:17 pm    Post subject: Reply with quote

FermiLevel,

Some WiFi devices need to be upped before they show any wireless extensions.
Code:
ifconfig <interface> up


Be sure to build your wireless driver as a module.
If its built in, the firmware needs to be in the kernel binary too. That's a complication you don't need until it works.

dmesg will show the firmware loading .. or not.
If it fails, it will tell the filename you need.

wireless-tools, which provides iwconfig, is obsolete. It does not support WPA encryption.
You will need wpa_supplicant for that.

Much as I hate to ask for your dmesg output while you don't have networking, it will help us to help you.
Put it on the memory stick and pastebin it from there.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
FermiLevel
n00b
n00b


Joined: 28 Dec 2015
Posts: 4

PostPosted: Sun Jan 03, 2016 11:43 pm    Post subject: HappyNew Year -> Still Stuck without wifi Reply with quote

Hi Guys,

sorry for taking a while to react on your suggestions. And first of all happy new year to all of you. I recompiled the kernel with all broadcom related entries as modules. And now I can see something related to broadcom in the dmesg.

I copied all the outputs which I deemed relevant into the enclosed files:

dmesg:
http://hyperbolic.dtdns.net/dmesg.txt

ip addr
http://hyperbolic.dtdns.net/ipaddr.txt

lspci:
http://hyperbolic.dtdns.net/lspci.txt

ifconfig:
http://hyperbolic.dtdns.net/ifconf.txt

(Unfortunately I overwrote the dmesg from the first post)

The next odd thing is, that I borrowed a lan adapter transferred through the power grid in order to bypass the connectivity issue while fighting with the wifi card. Now connecting the PC to the LAN cable doesn't result in any useable network connecion. Even bringing the sit0 device up with ifconfig sit0 up doesn't have any effect.

I will Appreciate any further input.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43200
Location: 56N 3W

PostPosted: Mon Jan 04, 2016 11:48 am    Post subject: Reply with quote

FermiLevel,

Heres your Wifi.
Code:
[    0.225365] bcma-pci-bridge 0000:05:00.0: enabling device (0000 -> 0002)
[    0.225402] bcma: bus0: Found chip with id 0x4352, rev 0x03 and package 0x00
[    0.225436] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2B, class 0x0)
[    0.225455] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2A, class 0x0)
[    0.225491] bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, class 0x0)
[    0.225529] bcma: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x01, class 0x0)
[    0.225548] bcma: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x11, class 0x0)
[    0.258391] bcma: Unsupported SPROM revision: 11
[    0.258392] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    0.258395] bcma: bus0: Using fallback SPROM failed (err -2)
[    0.258396] bcma: bus0: No SPROM available
[    0.260433] bcma: bus0: Bus registered


You appear to have a 0x4352 device. From the kernel wireless Wiki, thats not on the list of supported chips. That's not to say it doen's work but its a bad sign.
Please post the line starting 05:00.0 from lspci -n

sit0 is an IPv6 over IPv4 tunnel end point. Its not a real interface at all.

Your wired Ethernet is the
Code:
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
device.
It needs either the e1000 or e100e driver in the kernel.
Boot the liveCD and run
Code:
lspci -k
or build them both.
The driver database says its a e1000e.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
FermiLevel
n00b
n00b


Joined: 28 Dec 2015
Posts: 4

PostPosted: Mon Jan 04, 2016 6:55 pm    Post subject: Reply with quote

Hi NeddySeagoon,

1) First of all: thanks! As for the cable based connection my gentoo system is now online. (I should have been more carefully. Since I could see by myself that the ethernet card is Intel, this problem was solvable, without wasting your time)

2) Now to the next stage of getting around with my wifi card.
I tried the lspci from my gentoo system directly,
Code:

lspci -n   
     05:00.0 0280:  14e4:43b1 (rev03)


Is there a way, to get my card running? So I can get rid of the cables again?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43200
Location: 56N 3W

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

FermiLevel,

It doesn't look good. The kernel wifi page talks about things planned for the 4.4 kernel and your chipset isn't listed.

Eventually, you will need one of these drivers
Code:
  │ │    < >   Broadcom IEEE802.11n PCIe SoftMAC WLAN driver               │ │ 
  │ │    < >   Broadcom IEEE802.11n embedded FullMAC WLAN driver


You can try kernel-4.4-rc8 from kernel.org or wait for 4.4 to be in portage.

It might also be possible to tell the drivers about your device ID and that way work.

What does
Code:
modinfo brcmsmac
modinfo brcmfmac
tell?
You need to do the modular build first.

A detail that I missed earlier is that your wifi is started before root is mounted, so it must be configured as <*>
Code:
[    2.259669] EXT4-fs (sdd6): mounted filesystem with ordered data mode. Opts: (null)

The Broadcom Wifi needs firmware, which it loads when the driver is initalised, that in turn means you need to include the firmware in the kernel.
It also means that when you want to test, you need to rebuild your kernel, reboot and so on. That's a pain.

Rebuild your current kernel with those two drivers above set as <M>. This means they will be loaded after root has mounted.
More importantly, you can unload them and reload the with different parameters.

The firmware may be included in linux-firmware, so emerge that if you don't have it already.
This will put the firmware in /lib/firmware, which is where the driver will look for it when it loads.
Just now, /lib/firmware, if you have it, is on root, so a built in driver can't read it.

Before you reboot, make a note of the date/time in
Code:
uname -v

Reboot into your new kernel and check the date/time in
Code:
uname -v
.
Its the build time of the running kernel, so it should have changed.

If you are really really lucky, missing firmware might have been the only issue.
If it doesn't work post your new dmesg.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
yaclo
n00b
n00b


Joined: 11 Sep 2015
Posts: 20

PostPosted: Tue Jan 05, 2016 10:43 pm    Post subject: Reply with quote

Hi
bcm4352 only supported via broadcom-sta package. you can install broadcom-sta package from portage
it will work
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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