Bug 625411

Summary: Wireless LAN not working on a MSI Wind U100: nl80211 generic netlink not found
Product: [openSUSE] openSUSE 11.3 Reporter: Christian Riede <nospam.novell>
Component: NetworkAssignee: Vladimir Botka <vbotka>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: nospam.novell
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christian Riede 2010-07-25 21:30:57 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6

In updated a MSI Wind U100 from 11.2 to 11.3. 
In 11.2, wireless lan was working flawlessly.
In 11.3, I get:

criede-bt-wind01:~ # cat /tmp/xxx
riede-bt-wind01:/home/chr # rcnetwork restart wlan0
Shutting down network interfaces:
    wlan0     device: Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller (rev 22)
    wlan0                                                                                                                           done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    wlan0     device: Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller (rev 22)
    wlan0     warning: WPA configured but may be unsupported
    wlan0     warning: by this device
    wlan0     starting wpa_supplicant
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver interface
    wlan0     Starting DHCP4+DHCP6 client. . . . . . . . . . . .  
    wlan0     DHCP4 continues in background
    wlan0     DHCP6 client NOT running
    wlan0                                                                                                                           waiting
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: using default zone 'ext' for interface wlan0
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set

wpa_supplicant does not run afterwards. iwconfig shows no configured details on the interface (SSID, rate, etc.)




Reproducible: Always

Steps to Reproduce:
See Details above - basically rcnetwork restart wlan0
Actual Results:  
wlan0 learns some caches IP adresse, but does not work at all

Expected Results:  
normal connectivity to wireless lan

criede-bt-wind01:/home/chr # iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     802.11b/g  Mode:Managed  Access Point: Not-Associated   
          Bit Rate:11 Mb/s   
          Retry:on   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

criede-bt-wind01:/home/chr # ps auxwww | grep wpa
root     31566  0.0  0.0   3772   868 pts/2    S+   23:28   0:00 grep wpa
criede-bt-wind01:/home/chr # lsmod
Module                  Size  Used by
joydev                  9354  0 
autofs4                24331  1 
ip6t_LOG                5150  0 
ipt_MASQUERADE          2048  0 
xt_pkttype               912  0 
xt_TCPMSS               3059  0 
xt_tcpudp               2107  0 
ipt_LOG                 5119  0 
xt_limit                1705  0 
iptable_nat             5021  0 
nf_nat                 21139  2 ipt_MASQUERADE,iptable_nat
binfmt_misc             6958  1 
snd_pcm_oss            47613  0 
snd_mixer_oss          16751  1 snd_pcm_oss
snd_seq                57343  0 
snd_seq_device          6566  1 snd_seq
af_packet              19512  0 
ip6t_REJECT             4311  0 
nf_conntrack_ipv6      18225  0 
ip6table_raw            1187  0 
xt_NOTRACK               816  0 
ipt_REJECT              2152  0 
xt_state                1162  0 
iptable_raw             1246  0 
cpufreq_conservative    10064  0 
cpufreq_userspace       2583  0 
cpufreq_powersave        914  0 
acpi_cpufreq            7439  1 
iptable_filter          1418  0 
speedstep_lib           4985  0 
mperf                   1255  1 acpi_cpufreq
ip6table_mangle         1588  0 
nf_conntrack_netbios_ns     1382  0 
nf_conntrack_ipv4       8691  3 iptable_nat,nf_nat
nf_conntrack           75596  8 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
nf_defrag_ipv4          1201  1 nf_conntrack_ipv4
ip_tables              12172  3 iptable_nat,iptable_raw,iptable_filter
ip6table_filter         1359  0 
ip6_tables             13508  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               17098  19 ip6t_LOG,ipt_MASQUERADE,xt_pkttype,xt_TCPMSS,xt_tcpudp,ipt_LOG,xt_limit,iptable_nat,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,xt_state,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,ip6table_filter,ip6_tables
sha256_generic          9591  2 
aes_i586                7396  2 
aes_generic            27151  1 aes_i586
cbc                     2553  1 
dm_crypt               12703  1 
fuse                   65789  5 
loop                   14694  0 
snd_hda_codec_realtek   235620  1 
snd_hda_intel          24790  3 
snd_hda_codec          98443  2 snd_hda_codec_realtek,snd_hda_intel
iTCO_wdt               10022  0 
iTCO_vendor_support     2570  1 iTCO_wdt
r8187se               163989  0 
snd_hwdep               6164  1 snd_hda_codec
sg                     27872  0 
ac                      3083  0 
battery                 9730  0 
wmi                     7467  0 
pcspkr                  1614  0 
r8169                  38879  0 
eeprom_93cx6            1429  1 r8187se
snd_pcm                87978  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              21669  2 snd_seq,snd_pcm
snd                    65724  16 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               7379  1 snd
snd_page_alloc          8041  2 snd_hda_intel,snd_pcm
linear                  4546  0 
i915                  312137  2 
drm_kms_helper         29180  1 i915
drm                   179671  3 i915,drm_kms_helper
i2c_algo_bit            5604  1 i915
button                  5449  1 i915
video                  21205  1 i915
intel_agp              27995  2 i915
dm_snapshot            33311  0 
pata_acpi               2867  0 
edd                     8720  0 
dm_mod                 73457  20 dm_crypt,dm_snapshot
reiserfs              246023  4 
fan                     3539  0 
processor              40729  3 acpi_cpufreq
ata_generic             2711  0 
thermal                17357  0 
thermal_sys            14678  4 video,fan,processor,thermal
criede-bt-wind01:/home/chr # lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller (rev 22)
Comment 1 Christian Riede 2010-07-25 21:37:50 UTC
deleting the interface in Yast and creating a new configuration does not help
Comment 2 Christian Riede 2010-07-25 22:17:18 UTC
WIRELESS_WPA_DRIVER=wext in ifcfg.wlan0 seems to fix the problem.

possible fix: automatically try wext, if nl80211 does not work?
Comment 3 Vladimir Botka 2010-07-29 13:58:08 UTC
In reply to comment #2)
> WIRELESS_WPA_DRIVER=wext in ifcfg.wlan0 seems to fix the problem.
> possible fix: automatically try wext, if nl80211 does not work?

Yes. Both suggestions are correct. To automatically try wext when nl80211 fails only "WPA_DRIVER=nl80211,wext" is needed in /etc/sysconfig/network/scripts/ifup-wireless.

diff --git a/ifup-wireless b/ifup-wireless
index f6394ac..2a1b308 100755
--- a/ifup-wireless
+++ b/ifup-wireless
@@ -760,7 +760,7 @@ case $ACTION in
                 info_mesg "using WPA driver 'nl80211' for interface $INTERFACE"
                 info_mesg "when you notice problems with this new driver, set " \
                           "WIRELESS_WPA_DRIVER='wext' and file a bug report"
-                WPA_DRIVER=nl80211
+                WPA_DRIVER=nl80211,wext
             fi
             start_wpa_supplicant
         elif [ "$PREFER_WPA_SUPPLICANT" = "yes" ]; then(


In reply to comment #2)
> WIRELESS_WPA_DRIVER=wext in ifcfg.wlan0 seems to fix the problem.
> 
> possible fix: automatically try wext, if nl80211 does not work?

*** This bug has been marked as a duplicate of bug 625403 ***