Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Randolph Maaßen
2013/10/2 Tomáš Hájek tomcat.mas...@gmail.com:
 Hi guys!
 For me this is first time installing gentoo on my own and right now I'm
 really out of ideas.

 My problem is:

 tombook tom # /etc/init.d/net.wlan0 start
 net.wlan0   | * Bringing up interface wlan0
 net.wlan0   | *   ERROR: interface wlan0 does not exist
 net.wlan0   | *   Ensure that you have loaded the correct kernel module
 for your hardware
 net.wlan0   | * ERROR: net.wlan0 failed to start
 tombook tom #

 You can see that my wifi interface does not come up and ifconfig don't know
 about it either.

 tombook tom # ifconfig -a
 lo: flags=73AKTIVOVÁNO,SMYČKA,BĚŽÍ  mtu 65536
 inet 127.0.0.1 síťová_maska 255.0.0.0
 inet6 ::1  délka_prefixu 128  scopeid 0x10stroj
 loop délka_odchozí_fronty 0  (Místní smyčka)
 RX packetů 0  bajtů 0 (0,0 B)
 RX chyb 0  zahozeno 0  přetečení 0  rámců 0
 TX packetů 0  bajtů 0 (0,0 B)
 TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

 sit0: flags=128NEARP  mtu 1480
 sit délka_odchozí_fronty 0  (IPv6-in-IPv4)
 RX packetů 0  bajtů 0 (0,0 B)
 RX chyb 0  zahozeno 0  přetečení 0  rámců 0
 TX packetů 0  bajtů 0 (0,0 B)
 TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

 tombook tom #

 I've tried probably every solution I could find on forums, but nothing
 works. I would make me very happy if someone could help me solving this
 problem :)


 For further info here is my lspci, and config as attachment of this email.

 tombook tom # lspci -v
 00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root
 Complex
 Subsystem: ASUSTeK Computer Inc. Device 103b
 Flags: bus master, 66MHz, medium devsel, latency 32
 lspci: Unable to load libkmod resources: error -12

 00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
 Wrestler [Radeon HD 6320] (prog-if 00 [VGA controller])
 Subsystem: ASUSTeK Computer Inc. Device 103b
 Flags: bus master, fast devsel, latency 0, IRQ 45
 Memory at c000 (32-bit, prefetchable) [size=256M]
 I/O ports at f000 [size=256]
 Memory at feb0 (32-bit, non-prefetchable) [size=256K]
 Expansion ROM at unassigned [disabled]
 Capabilities: [50] Power Management version 3
 Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
 ?
 Kernel driver in use: radeon

 00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI
 Audio [Radeon HD 6250/6310]
 Subsystem: ASUSTeK Computer Inc. Device 103b
 Flags: bus master, fast devsel, latency 0, IRQ 43
 Memory at feb44000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 3
 Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
 ?
 Kernel driver in use: snd_hda_intel

 00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root
 Port (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 I/O behind bridge: 1000-1fff
 Memory behind bridge: d010-d02f
 Prefetchable memory behind bridge: d030-d04f
 Capabilities: [50] Power Management version 3
 Capabilities: [58] Express Root Port (Slot+), MSI 00
 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] Device 1234
 Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
 Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
 ?
 Kernel driver in use: pcieport

 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI
 SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40) (prog-if 01 [AHCI
 1.0])
 Subsystem: ASUSTeK Computer Inc. Device 103b
 Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19
 I/O ports at f140 [size=8]
 I/O ports at f130 [size=4]
 I/O ports at f120 [size=8]
 I/O ports at f110 [size=4]
 I/O ports at f100 [size=16]
 Memory at feb4f000 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [70] SATA HBA v1.0
 Capabilities: [a4] PCI Advanced Features
 Kernel driver in use: ahci

 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI
 SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
 Subsystem: ASUSTeK Computer Inc. Device 103b
 Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
 Memory at feb4e000 (32-bit, non-prefetchable) [size=4K]
 Kernel driver in use: ohci_hcd

 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI
 SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 

Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Neil Bothwick
On Wed, 2 Oct 2013 12:19:58 +0200, Tomáš Hájek wrote:

 You can see that my wifi interface does not come up and ifconfig don't
 know about it either.

 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
 Wireless LAN Controller (rev 01)
 Subsystem: AzureWave Device 2047
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at fea0 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [40] Power Management version 3
 Capabilities: [58] Vendor Specific Information: Len=78 ?
 Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [d0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [13c] Virtual Channel
 Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08
 Capabilities: [16c] Power Budgeting ?
 Kernel driver in use: bcma-pci-bridge

It looks like a missing driver issue. I no longer use a BCM4313 but I'm
sure that wasn't the driver I used. Which BCM options do you have enabled
in the kernel?


-- 
Neil Bothwick

If Satan ever loses his hair, there'll be hell toupee.


signature.asc
Description: PGP signature


Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Joakim Gebart
2013/10/2 Tomáš Hájek tomcat.mas...@gmail.com:
 Hi guys!
 For me this is first time installing gentoo on my own and right now I'm
 really out of ideas.

 My problem is:

 tombook tom # /etc/init.d/net.wlan0 start
 net.wlan0   | * Bringing up interface wlan0
 net.wlan0   | *   ERROR: interface wlan0 does not exist
 net.wlan0   | *   Ensure that you have loaded the correct kernel module
 for your hardware
 net.wlan0   | * ERROR: net.wlan0 failed to start
 tombook tom #

 You can see that my wifi interface does not come up and ifconfig don't know
 about it either.

 tombook tom # ifconfig -a
 lo: flags=73AKTIVOVÁNO,SMYČKA,BĚŽÍ  mtu 65536
 inet 127.0.0.1 síťová_maska 255.0.0.0
 inet6 ::1  délka_prefixu 128  scopeid 0x10stroj
 loop délka_odchozí_fronty 0  (Místní smyčka)
 RX packetů 0  bajtů 0 (0,0 B)
 RX chyb 0  zahozeno 0  přetečení 0  rámců 0
 TX packetů 0  bajtů 0 (0,0 B)
 TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

 sit0: flags=128NEARP  mtu 1480
 sit délka_odchozí_fronty 0  (IPv6-in-IPv4)
 RX packetů 0  bajtů 0 (0,0 B)
 RX chyb 0  zahozeno 0  přetečení 0  rámců 0
 TX packetů 0  bajtů 0 (0,0 B)
 TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0

 tombook tom #

 I've tried probably every solution I could find on forums, but nothing
 works. I would make me very happy if someone could help me solving this
 problem :)


 For further info here is my lspci, and config as attachment of this email.

 tombook tom # lspci -v
-- snip --
 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
 Wireless LAN Controller (rev 01)
 Subsystem: AzureWave Device 2047
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at fea0 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [40] Power Management version 3
 Capabilities: [58] Vendor Specific Information: Len=78 ?
 Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [d0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [13c] Virtual Channel
 Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08
 Capabilities: [16c] Power Budgeting ?
 Kernel driver in use: bcma-pci-bridge

According to the b43 page on linux wireless [1], the BCM4313 chipset
is not yet supported, but someone is working on it.
There is, however, another driver [2] which should work if the correct
firmware is installed, try emerging linux-firmware and then modprobe
brcmsmac


 As I said, I'm out of ideas and appreciate any help.
 Thanks
 ---
 Tomas Hajek
 CZE

[1]http://wireless.kernel.org/en/users/Drivers/b43#Supported_devices
[2]http://wireless.kernel.org/en/users/Drivers/brcm80211#Supported_Chips



Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Tomáš Hájek
dmesg says only:

tom@tombook ~ $ dmesg | grep -i firmware
[0.099927] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

I already have linux-firmware in my system, just put brcmsmac in my kernel
(was set to =n), and still have same result tough.
Only difference is that rfkill list all now see wifi card and says that it
is not blocked (before it could not see a thing)

Any other ideas?
Thanks
TomH


2013/10/2 Joakim Gebart joa...@gebart.se

 2013/10/2 Tomáš Hájek tomcat.mas...@gmail.com:
  Hi guys!
  For me this is first time installing gentoo on my own and right now I'm
  really out of ideas.
 
  My problem is:
 
  tombook tom # /etc/init.d/net.wlan0 start
  net.wlan0   | * Bringing up interface wlan0
  net.wlan0   | *   ERROR: interface wlan0 does not exist
  net.wlan0   | *   Ensure that you have loaded the correct kernel
 module
  for your hardware
  net.wlan0   | * ERROR: net.wlan0 failed to start
  tombook tom #
 
  You can see that my wifi interface does not come up and ifconfig don't
 know
  about it either.
 
  tombook tom # ifconfig -a
  lo: flags=73AKTIVOVÁNO,SMYČKA,BĚŽÍ  mtu 65536
  inet 127.0.0.1 síťová_maska 255.0.0.0
  inet6 ::1  délka_prefixu 128  scopeid 0x10stroj
  loop délka_odchozí_fronty 0  (Místní smyčka)
  RX packetů 0  bajtů 0 (0,0 B)
  RX chyb 0  zahozeno 0  přetečení 0  rámců 0
  TX packetů 0  bajtů 0 (0,0 B)
  TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0
 
  sit0: flags=128NEARP  mtu 1480
  sit délka_odchozí_fronty 0  (IPv6-in-IPv4)
  RX packetů 0  bajtů 0 (0,0 B)
  RX chyb 0  zahozeno 0  přetečení 0  rámců 0
  TX packetů 0  bajtů 0 (0,0 B)
  TX chyb 0  zahozeno 0  přetečení 0  přenos 0  kolizí 0
 
  tombook tom #
 
  I've tried probably every solution I could find on forums, but nothing
  works. I would make me very happy if someone could help me solving this
  problem :)
 
 
  For further info here is my lspci, and config as attachment of this
 email.
 
  tombook tom # lspci -v
 -- snip --
  04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
  Wireless LAN Controller (rev 01)
  Subsystem: AzureWave Device 2047
  Flags: bus master, fast devsel, latency 0, IRQ 17
  Memory at fea0 (64-bit, non-prefetchable) [size=16K]
  Capabilities: [40] Power Management version 3
  Capabilities: [58] Vendor Specific Information: Len=78 ?
  Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
  Capabilities: [d0] Express Endpoint, MSI 00
  Capabilities: [100] Advanced Error Reporting
  Capabilities: [13c] Virtual Channel
  Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08
  Capabilities: [16c] Power Budgeting ?
  Kernel driver in use: bcma-pci-bridge

 According to the b43 page on linux wireless [1], the BCM4313 chipset
 is not yet supported, but someone is working on it.
 There is, however, another driver [2] which should work if the correct
 firmware is installed, try emerging linux-firmware and then modprobe
 brcmsmac

 
  As I said, I'm out of ideas and appreciate any help.
  Thanks
  ---
  Tomas Hajek
  CZE

 [1]http://wireless.kernel.org/en/users/Drivers/b43#Supported_devices
 [2]http://wireless.kernel.org/en/users/Drivers/brcm80211#Supported_Chips




Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Neil Bothwick
On Wed, 2 Oct 2013 15:31:27 +0200, Tomáš Hájek wrote:

 I already have linux-firmware in my system, just put brcmsmac in my
 kernel (was set to =n), and still have same result tough.
 Only difference is that rfkill list all now see wifi card and says that
 it is not blocked (before it could not see a thing)

What does lspci -k -s 04:00.0 show.

Is the brcmsmac module loaded?


-- 
Neil Bothwick

Favorite Windoze game: Guess what this icon does?


signature.asc
Description: PGP signature


Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Tomáš Hájek
tombook tom # lspci -k -s 04:00.0
04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
Wireless LAN Controller (rev 01)
Subsystem: AzureWave Device 2047
Kernel driver in use: bcma-pci-bridge

I use brcmsmac built in, not as module.

How do I make it use brcmsmac instead of bcma-pci-bridge driver?

TomH

2013/10/2 Neil Bothwick n...@digimed.co.uk

 On Wed, 2 Oct 2013 15:31:27 +0200, Tomáš Hájek wrote:

  I already have linux-firmware in my system, just put brcmsmac in my
  kernel (was set to =n), and still have same result tough.
  Only difference is that rfkill list all now see wifi card and says that
  it is not blocked (before it could not see a thing)

 What does lspci -k -s 04:00.0 show.

 Is the brcmsmac module loaded?


 --
 Neil Bothwick

 Favorite Windoze game: Guess what this icon does?



Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Neil Bothwick
On Wed, 2 Oct 2013 18:31:04 +0200, Tomáš Hájek wrote:

 tombook tom # lspci -k -s 04:00.0
 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
 Wireless LAN Controller (rev 01)
 Subsystem: AzureWave Device 2047
 Kernel driver in use: bcma-pci-bridge
 
 I use brcmsmac built in, not as module.
 
 How do I make it use brcmsmac instead of bcma-pci-bridge driver?

Build both as modules, at least while you get it working. Then to can
rmmod, modprobe and blacklist at will.

PS please don't top-post, it is not welcome on this list.


-- 
Neil Bothwick

I am in total control, but don't tell my wife.


signature.asc
Description: PGP signature


Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Lee
Usually this indicates a lack of kernel support. I would check kernel
.config or menuconfig to ensure all your Broadcom support has been enabled.
if you know which modules are involved you can use modprobe  to check them
out (see if they're loaded or unavailable or whatever ). Good luck!