Wi-Fi interface "disabled by a hardware switch" if no *Ethernet* cable plugged in at boot -- Broadcom BCM4313 wl bcma brcmsmac; Realtek RTL8101E/RTL8102E r8169

Bug #1034264 reported by Michael Tinsay
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I have set-up a bridge (br0) on eth0 of my laptop, as I'm using KVM from time to time.

This is the content of /etc/network/interfaces:

aaa@xxx:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0
 bridge_maxwait 0

My problem is, if I boot WITHOUT a live connection plugged into the ethernet port of my laptop, NetworkManager sees my WiFi as "disabled by a hardware switch". As such, I can't use WiFi when there's no LAN. I can use WiFi when there's a LAN connection present, but it defeats the purpose of having a WiFi connection.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.4.0-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelModules: wl fglrx
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
Date: Wed Aug 8 13:35:08 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
IpRoute:
 default via 192.200.2.252 dev br0
 10.88.88.0/21 dev br0 proto kernel scope link src 10.88.93.229
 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
 192.200.2.0/24 dev br0 proto kernel scope link src 192.200.2.8
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcEnviron:
 LANGUAGE=en_PH:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_PH.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2012-06-28T15:41:09.106173
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 Moldex.Group fa0e4888-b65b-4bf8-b559-d50a8d6144df 802-11-wireless 0 never yes no /org/freedesktop/NetworkManager/Settings/2
 SMVT 147d6502-8b9e-4730-8015-ac2583d7b8f4 802-11-wireless 1343604463 Monday, 30 July, 2012 07:27:43 AM PHT yes no /org/freedesktop/NetworkManager/Settings/1
 Wired connection 1 9550c743-1ea4-4c2b-84dd-ff3800765cea 802-3-ethernet 1340869202 Thursday, 28 June, 2012 03:40:02 PM PHT no no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth0 802-3-ethernet unmanaged /org/freedesktop/NetworkManager/Devices/1
 eth1 802-11-wireless disconnected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.4.0 connected enabled enabled enabled enabled disabled
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC270 Analog [ALC270 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: tinsaymc 2512 F.... pulseaudio
 /dev/snd/controlC0: tinsaymc 2512 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd4100000 irq 44'
   Mixer name : 'Realtek ALC270'
   Components : 'HDA:10ec0270,103c1426,00100100'
   Controls : 20
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xd4020000 irq 45'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: Hewlett-Packard HP G42 Notebook PC
NonfreeKernelModules: wl fglrx
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_PH:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_PH.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-27-generic root=/dev/mapper/IT--035687-root ro quiet
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-27-generic N/A
 linux-backports-modules-3.2.0-27-generic N/A
 linux-firmware 1.79
StagingDrivers: mei
Tags: precise running-unity staging
Uname: Linux 3.2.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
dmi.bios.date: 08/18/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.24
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1426
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 54.46
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.24:bd08/18/2010:svnHewlett-Packard:pnHPG42NotebookPC:pvr059D120000002710010000000:rvnHewlett-Packard:rn1426:rvr54.46:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP G42 Notebook PC
dmi.product.version: 059D120000002710010000000
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Michael Tinsay (tinsami1) wrote :
Revision history for this message
Thomas Hood (jdthood) wrote :

Sounds like a driver problem

summary: - Network Manager problem with WiFi
+ Wi-Fi interface "disabled by a hardware switch" if no *Ethernet* cable
+ plugged in at boot -- Broadcom BCM4313 wl bcma brcmsmac; Realtek
+ RTL8101E/RTL8102E r8169
affects: network-manager (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1034264

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.5kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc1-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Revision history for this message
Michael Tinsay (tinsami1) wrote : AcpiTables.txt

apport information

tags: added: apport-collected staging
description: updated
Revision history for this message
Michael Tinsay (tinsami1) wrote : AlsaDevices.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : AplayDevices.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : BootDmesg.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : IwConfig.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : Lspci.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : Lsusb.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : PciMultimedia.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : ProcModules.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : PulseList.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : RfKill.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : UdevDb.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : UdevLog.txt

apport information

Revision history for this message
Michael Tinsay (tinsami1) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: needs-upstream-testing
tags: added: kernel-bug-exists-upstream
Revision history for this message
Michael Tinsay (tinsami1) wrote :

More info...

Note that I have the bcmwl-kernel-source package installed.

If I boot the laptop while disconnected to the lan, the network indicator applet doesn't appear in the indicator bar. Once I connect it to the lan via an ethernet cable, it will appear after a few moments, but it would only show that Wired Network.

If I boot while connected to the lan, the applet shows both Wired Network and Wireless Networks.

Furthermore, when I uninstalled the bcmwl-kernel-source package and booted while disconnected to the wired network, the indicator applet still doesn't appear. But once I connect it to the lan and the applet appears, it now shows both Wired Network and Wireless Networks and it connects to the wireless network. The wireless connection also stays on when I disconnect from the wired network.

HTH

Revision history for this message
Michael Tinsay (tinsami1) wrote :

If I change br0 from dhcp to manual in /etc/network/interfaces then I don't get this problem, but the tradeoff is that I have to manually start br0.

Revision history for this message
Michael Tinsay (tinsami1) wrote :

Just an FYI: This problem still exists in kernel 3.6 rc5.

Revision history for this message
penalvch (penalvch) wrote :

Michael Tinsay, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: needs-full-computer-model needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Michael Tinsay (tinsami1) wrote :

I upgraded the laptop I use to 12.10. I do not experience this problem anymore.

tags: added: kernel-fixed-upstream
tags: added: kernel-fixed-upstream-3.11
Revision history for this message
penalvch (penalvch) wrote :

Michael Tinsay, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1034264/comments/29 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.