--On Thursday, October 01, 2009 14:13:14 -0700 Dan Williams
<[email protected]> wrote:
On Thu, 2009-10-01 at 16:31 +0100, Rick Jones wrote:
> I'm getting a repeated problem of my WiFi device showing up twice in
> NM. This isn't really an NM problem, but I'm hoping someone here will
> have an idea how to fix it.
NM 0.8? Or NM 0.7?
0.7.1
For 0.7, run 'lshal' and look for device blocks with 'wlan0' in them.
If you see two, then it's a hal problem (though we've seen cases where
VirtualBox in it's misguided attempts to virtualize /sys completely
screws over HAL).
There's nothing in lshal referring to wlan0, but the entries that
correspond to the duplicates in DBus are below. I do have VirtualBox, but
this happens at boot before I start any VBox sessions (although there is a
VBox kernel module, I don't know if this is screwing up).
Rick
udi = '/org/freedesktop/Hal/devices/pci_1814_781_0'
info.linux.driver = 'rt2860' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_8086_27d6' (string)
info.product = 'RT2860' (string)
info.subsystem = 'pci' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_1814_781_0' (string)
info.vendor = 'RaLink' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'pci' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.3/0000:01: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.3/0000:01:00.0' (string)
pci.product = 'RT2860' (string)
pci.product_id = 1921 (0x781) (int)
pci.subsys_product_id = 10128 (0x2790) (int)
pci.subsys_vendor = 'RaLink' (string)
pci.subsys_vendor_id = 6164 (0x1814) (int)
pci.vendor = 'RaLink' (string)
pci.vendor_id = 6164 (0x1814) (int)
udi = '/org/freedesktop/Hal/devices/net_pci_1814_781_0'
info.capabilities = {'net', 'net.80211'} (string list)
info.category = 'net.80211' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_1814_781_0' (string)
info.product = 'WLAN Interface' (string)
info.subsystem = 'net' (string)
info.udi = '/org/freedesktop/Hal/devices/net_pci_1814_781_0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'net' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1c.3/0000:01:00.0/net/ra0' (string)
net.80211.mac_address = 0 (0x0) (uint64)
net.address = '00:00:00:00:00:00' (string)
net.arp_proto_hw_id = 1 (0x1) (int)
net.interface = 'ra0' (string)
net.linux.ifindex = 9 (0x9) (int)
net.originating_device = '/org/freedesktop/Hal/devices/pci_1814_781_0'
(string)
udi = '/org/freedesktop/Hal/devices/pci_1814_781'
info.linux.driver = 'rt2860' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_8086_27d6' (string)
info.product = 'RT2860' (string)
info.subsystem = 'pci' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_1814_781' (string)
info.vendor = 'RaLink' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'pci' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.3/0000:01: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.3/0000:01:00.0' (string)
pci.product = 'RT2860' (string)
pci.product_id = 1921 (0x781) (int)
pci.subsys_product_id = 10128 (0x2790) (int)
pci.subsys_vendor = 'RaLink' (string)
pci.subsys_vendor_id = 6164 (0x1814) (int)
pci.vendor = 'RaLink' (string)
pci.vendor_id = 6164 (0x1814) (int)
udi = '/org/freedesktop/Hal/devices/net_pci_1814_781'
info.capabilities = {'net', 'net.80211'} (string list)
info.category = 'net.80211' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_1814_781' (string)
info.product = 'WLAN Interface' (string)
info.subsystem = 'net' (string)
info.udi = '/org/freedesktop/Hal/devices/net_pci_1814_781' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'net' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1c.3/0000:01:00.0/net/ra0' (string)
net.80211.mac_address = 0 (0x0) (uint64)
net.address = '00:00:00:00:00:00' (string)
net.arp_proto_hw_id = 1 (0x1) (int)
net.interface = 'ra0' (string)
net.linux.ifindex = 4 (0x4) (int)
net.originating_device = '/org/freedesktop/Hal/devices/pci_1814_781'
(string)
> The device appears twice in DBus, which is obviously the source of the
> problem, as NM is just listing what it finds. Both entries in DBus are
> identical, and point to the same device (which messes up NM as it
> tries to open and connect on the same device twice).
>
> The DBus node names are almost identical, the second entry just has an
> extra _0 at the end.
>
> The output of lspci shows only one device:
>
> 01:00.0 Network controller: RaLink RT2860
> Subsystem: RaLink Device 2790
> Flags: bus master, fast devsel, latency 0, IRQ 19
> Memory at f8000000 (32-bit, non-prefetchable) [size=64K]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
> Queue=0/5 Enable-
> Capabilities: [70] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting <?>
> Kernel driver in use: rt2860
> Kernel modules: rt2860sta
>
> Running "lsmod | grep 2860" shows only one user:
>
> rt2860sta 513240 1
>
> Whether one or two devices show up is set from boot, and it seems
> random when I re-boot what I'm going to get.
>
> Anyone got any ideas?
>
> TIA Rick
> _______________________________________________
> NetworkManager-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list