[karmic @ Sony Vaio with Intel Wireless WiFi Link 5100] No wlan interface after recent update

Bug #392966 reported by Raphael Gradenwitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-backports-modules-2.6.30 (Ubuntu)
New
Undecided
Unassigned

Bug Description

After update to Kernel 2.6.30-10-generic (AMD_64), I don't know what package caused this - I guess something with udev - no wlan interfaces are created.

I wrote some lines of code to make visible how it looks under the old Kernel where the interfaces are still created and how it looks now:
here the code:

 #!/bin/bash
 wlandevice="Wireless WiFi Link 5100"
 echo This shows the hal entries for \"$wlandevice\" device:
 echo
 echo -n "Used Kernel (uname -rvm): "
 uname -rvm
 echo

 find_dev_id () {
 pci_slot=`lspci -mm|grep -F \""$*"\"|sed -e "s/\( \)\{1\}.*$//"`
 echo "`lspci -s $pci_slot -n|\
       sed -e "s/^$pci_slot\( \)\{1\}\([0-9a-f]\)\{4\}:\( \)\{1\}/pci_/"\
           -e "y/:/_/" -e "s/\( \)\{1\}(rev.*$//"`"
 }

 wlancard=/org/freedesktop/Hal/devices/`find_dev_id $wlandevice`
 echo parent-device:
 echo ==============
 echo
 lshal -u $wlancard
 echo
 echo \'child\'-devices:
 echo ================

 for udi in `hal-find-by-property --key info.parent --string $wlancard`; do
     echo
     lshal -u $udi
 done

 # end of code

Here the two outputs:

1.)
This shows the hal entries for "Wireless WiFi Link 5100" device:

Used Kernel (uname -rvm): 2.6.30-9-generic #10-Ubuntu SMP Fri Jun 12 13:08:18 UTC 2009 x86_64

parent-device:
==============

udi = '/org/freedesktop/Hal/devices/pci_8086_4232'
  info.linux.driver = 'iwlagn' (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2942' (string)
  info.product = 'Wireless WiFi Link 5100' (string)
  info.subsystem = 'pci' (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.vendor = 'Intel Corporation' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'pci' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0' (string)
  pci.device_class = 2 (0x2) (int)
  pci.device_protocol = 0 (0x0) (int)
  pci.device_subclass = 128 (0x80) (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0' (string)
  pci.product = 'Wireless WiFi Link 5100' (string)
  pci.product_id = 16946 (0x4232) (int)
  pci.subsys_product_id = 4865 (0x1301) (int)
  pci.subsys_vendor = 'Intel Corporation' (string)
  pci.subsys_vendor_id = 32902 (0x8086) (int)
  pci.vendor = 'Intel Corporation' (string)
  pci.vendor_id = 32902 (0x8086) (int)

'child'-devices:
================

udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_TX'
  info.addons.singleton = {'hald-addon-leds'} (string list)
  info.capabilities = {'leds'} (string list)
  info.category = 'leds' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Leds'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.subsystem = 'leds' (string)
  info.udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_TX' (string)
  leds.device_name = 'iwl-phy0' (string)
  leds.function = 'TX' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'leds' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/iwl-phy0::TX' (string)

udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_RX'
  info.addons.singleton = {'hald-addon-leds'} (string list)
  info.capabilities = {'leds'} (string list)
  info.category = 'leds' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Leds'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.subsystem = 'leds' (string)
  info.udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_RX' (string)
  leds.device_name = 'iwl-phy0' (string)
  leds.function = 'RX' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'leds' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/iwl-phy0::RX' (string)

udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_assoc'
  info.addons.singleton = {'hald-addon-leds'} (string list)
  info.capabilities = {'leds'} (string list)
  info.category = 'leds' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Leds'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.subsystem = 'leds' (string)
  info.udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_assoc' (string)
  leds.device_name = 'iwl-phy0' (string)
  leds.function = 'assoc' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'leds' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/iwl-phy0::assoc' (string)

udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_radio'
  info.addons.singleton = {'hald-addon-leds'} (string list)
  info.capabilities = {'leds'} (string list)
  info.category = 'leds' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Leds'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.subsystem = 'leds' (string)
  info.udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_radio' (string)
  leds.device_name = 'iwl-phy0' (string)
  leds.function = 'radio' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'leds' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/iwl-phy0::radio' (string)

udi = '/org/freedesktop/Hal/devices/pci_8086_4232_rfkill_5100AGN_wlan'
  info.addons.singleton = {'hald-addon-rfkill-killswitch'} (string list)
  info.capabilities = {'killswitch'} (string list)
  info.category = 'killswitch' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.KillSwitch'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.product = '5100AGN wlan Killswitch' (string)
  info.subsystem = 'rfkill' (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_8086_4232_rfkill_5100AGN_wlan' (string)
  info.vendor = 'Intel Corporation' (string)
  killswitch.access_method = 'rfkill' (string)
  killswitch.name = '5100AGN' (string)
  killswitch.state = 1 (0x1) (int)
  killswitch.type = 'wlan' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'rfkill' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/rfkill/rfkill2' (string)

udi = '/org/freedesktop/Hal/devices/net_00_21_5d_eb_8f_56_0'
  info.capabilities = {'net', 'net.80211control'} (string list)
  info.category = 'net.80211control' (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.product = 'Networking Wireless Control Interface' (string)
  info.subsystem = 'net' (string)
  info.udi = '/org/freedesktop/Hal/devices/net_00_21_5d_eb_8f_56_0' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'net' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/net/wmaster0' (string)
  net.address = '00:21:5d:eb:8f:56' (string)
  net.arp_proto_hw_id = 801 (0x321) (int)
  net.interface = 'wmaster0' (string)
  net.linux.ifindex = 3 (0x3) (int)
  net.originating_device = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)

udi = '/org/freedesktop/Hal/devices/net_00_21_5d_eb_8f_56'
  info.capabilities = {'net', 'net.80211'} (string list)
  info.category = 'net.80211' (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.product = 'WLAN Interface' (string)
  info.subsystem = 'net' (string)
  info.udi = '/org/freedesktop/Hal/devices/net_00_21_5d_eb_8f_56' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'net' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/net/wlan0' (string)
  net.80211.mac_address = 143309639510 (0x215deb8f56) (uint64)
  net.address = '00:21:5d:eb:8f:56' (string)
  net.arp_proto_hw_id = 1 (0x1) (int)
  net.interface = 'wlan0' (string)
  net.linux.ifindex = 4 (0x4) (int)
  net.originating_device = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)

2.)
This shows the hal entries for "Wireless WiFi Link 5100" device:

Used Kernel (uname -rvm): 2.6.30-10-generic #12-Ubuntu SMP Mon Jun 22 16:30:32 UTC 2009 x86_64

parent-device:
==============

udi = '/org/freedesktop/Hal/devices/pci_8086_4232'
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2942' (string)
  info.product = 'Wireless WiFi Link 5100' (string)
  info.subsystem = 'pci' (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_8086_4232' (string)
  info.vendor = 'Intel Corporation' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'pci' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0' (string)
  pci.device_class = 2 (0x2) (int)
  pci.device_protocol = 0 (0x0) (int)
  pci.device_subclass = 128 (0x80) (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0' (string)
  pci.product = 'Wireless WiFi Link 5100' (string)
  pci.product_id = 16946 (0x4232) (int)
  pci.subsys_product_id = 4865 (0x1301) (int)
  pci.subsys_vendor = 'Intel Corporation' (string)
  pci.subsys_vendor_id = 32902 (0x8086) (int)
  pci.vendor = 'Intel Corporation' (string)
  pci.vendor_id = 32902 (0x8086) (int)

'child'-devices:
================

(and here where I expect the interfaces there is .. nothing .. )

If one need more details, please ask me.

Raphael

Revision history for this message
Raphael Gradenwitz (raphael-gradenwitz) wrote :

OK, This can be closed. The reason (and the burg) was/is in the package
linux-backports-modules-2.6.30-10-generic
which I had inadvertently installed together with a bunch of updates.
After I completely removed the linux-backports-* it works again.

Raphael

affects: ubuntu → linux-backports-modules-2.6.30 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.