|
Bugzilla – Full Text Bug Listing |
| Summary: | update breaks wlan setup | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Harald Koenig <koenig> |
| Component: | Update Problems | Assignee: | Vladimir Botka <vbotka> |
| Status: | RESOLVED INVALID | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Harald Koenig
2010-02-23 10:37:02 UTC
Thank you for the report. AFAIK the sysconfig's network scripts [1] don't use /proc/net/wireless . There are 2 supported options to configure the wlan adapter. Either with Network Manager or with traditional ifup/ifdown method. Both configurable in Yast->Network_Devices->Network_Settings. I am running Intel 4965 both on 11.2 and 11.3 Milestone1 without problems. Would it be possible to try 11.2 upgrade ? It is pretty stable and supports many new HW. [1] /etc/sysconfig/network/scripts/ (In reply to comment #1) > Thank you for the report. AFAIK the sysconfig's network scripts [1] don't use > /proc/net/wireless . There are 2 supported options to configure the wlan > adapter. Either with Network Manager or with traditional ifup/ifdown method. > Both configurable in Yast->Network_Devices->Network_Settings. I am running > Intel 4965 both on 11.2 and 11.3 Milestone1 without problems. Would it be > possible to try 11.2 upgrade ? It is pretty stable and supports many new HW. I do have a 11.2 partition on my notebook too, but for various reasons I'm still using 11.1 and completely switching to 11.2 is not yet an option. updating 11.1 shall not break a funcional wlan setup... more info: I'm always using traditional network setup, no Network Manager (also, not an option;) more tracing shows: get_iface_type() in scripts/functions returns "eth" for my wlan0 device because /sys/class/net/wlan0/wireless does not exist: harald network > ll /sys/class/net/wlan0/ total 0 -r--r--r-- 1 root root 4096 Feb 23 14:01 addr_len -r--r--r-- 1 root root 4096 Feb 23 14:00 address -r--r--r-- 1 root root 4096 Feb 24 14:25 broadcast -r--r--r-- 1 root root 4096 Feb 24 14:25 carrier -r--r--r-- 1 root root 4096 Feb 24 14:25 dev_id lrwxrwxrwx 1 root root 0 Feb 23 14:00 device -> ../../../0000:03:00.0 -r--r--r-- 1 root root 4096 Feb 24 14:25 dormant -r--r--r-- 1 root root 4096 Feb 24 14:25 features -rw-r--r-- 1 root root 4096 Feb 23 14:01 flags -r--r--r-- 1 root root 4096 Feb 23 14:00 ifindex -r--r--r-- 1 root root 4096 Feb 24 14:25 iflink -r--r--r-- 1 root root 4096 Feb 24 14:25 link_mode -rw-r--r-- 1 root root 4096 Feb 24 14:25 mtu -r--r--r-- 1 root root 4096 Feb 24 14:25 operstate lrwxrwxrwx 1 root root 0 Feb 24 14:25 phy80211 -> ../../ieee80211/phy0 drwxr-xr-x 2 root root 0 Feb 24 14:25 power drwxr-xr-x 2 root root 0 Feb 24 14:25 statistics lrwxrwxrwx 1 root root 0 Feb 23 14:01 subsystem -> ../../../../../../class/net -rw-r--r-- 1 root root 4096 Feb 24 14:25 tx_queue_len -r--r--r-- 1 root root 4096 Feb 23 14:00 type -rw-r--r-- 1 root root 4096 Feb 24 14:25 uevent so INTERFACETYPE==eth which must be overridden by WIRELESS=yes now :-(( does this help to figure out what did change ? (In reply to comment #2) > updating 11.1 shall not break a funcional wlan setup... Right. > more info: I'm always using traditional network setup, no Network Manager > (also, not an option;) Yes. Unfortunately. Try wpa_gui from the wpa_supplicant_gui rpm. > more tracing shows: > get_iface_type() in scripts/functions returns "eth" for my wlan0 device because > /sys/class/net/wlan0/wireless does not exist: I am afraid there must be some misconfiguration in your system. I have upgraded the 11.1 with Intel 4965 to 2.6.27.42 [1] either and I can see no problems on my system [2]. The ifup/ifdown works as expected [3]. I have to close as WORKSFORME, but reopen if you feel that I can help you anyway. [1] # uname -a Linux dolby 2.6.27.42-0.1-default [2] # ll /sys/class/net/wlan0/wireless/ total 0 -r--r--r-- 1 root root 4096 2010-02-25 14:31 beacon -r--r--r-- 1 root root 4096 2010-02-25 14:31 crypt -r--r--r-- 1 root root 4096 2010-02-25 14:31 fragment -r--r--r-- 1 root root 4096 2010-02-25 14:31 level -r--r--r-- 1 root root 4096 2010-02-25 14:31 link -r--r--r-- 1 root root 4096 2010-02-25 14:31 misc -r--r--r-- 1 root root 4096 2010-02-25 14:31 noise -r--r--r-- 1 root root 4096 2010-02-25 14:31 nwid -r--r--r-- 1 root root 4096 2010-02-25 14:31 retries -r--r--r-- 1 root root 4096 2010-02-25 14:31 status [3] BOOTPROTO='dhcp' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='PRO/Wireless 4965 AG or AGN [Kedron] Network Connection' NETMASK='' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='yes' WIRELESS_AP='' WIRELESS_AUTH_MODE='psk' WIRELESS_BITRATE='auto' WIRELESS_CA_CERT='' WIRELESS_CHANNEL='' WIRELESS_CLIENT_CERT='' WIRELESS_CLIENT_KEY='' WIRELESS_CLIENT_KEY_PASSWORD='' WIRELESS_DEFAULT_KEY='0' WIRELESS_EAP_AUTH='' WIRELESS_EAP_MODE='' WIRELESS_ESSID='test-ap' WIRELESS_FREQUENCY='' WIRELESS_KEY='' WIRELESS_KEY_0='' WIRELESS_KEY_1='' WIRELESS_KEY_2='' WIRELESS_KEY_3='' WIRELESS_KEY_LENGTH='128' WIRELESS_MODE='Managed' WIRELESS_NICK='' WIRELESS_NWID='' WIRELESS_PEAP_VERSION='' WIRELESS_POWER='yes' WIRELESS_WPA_ANONID='' WIRELESS_WPA_IDENTITY='' WIRELESS_WPA_PASSWORD='' WIRELESS_WPA_PSK='passwd' (In reply to comment #3) > (In reply to comment #2) > > updating 11.1 shall not break a funcional wlan setup... > > Right. > > > more info: I'm always using traditional network setup, no Network Manager > > (also, not an option;) > > Yes. Unfortunately. Try wpa_gui from the wpa_supplicant_gui rpm. installed (it's wpa_supplicant-gui for the cut'n'paste records). it does not show any adapter nor network. in the starting xterm there is this msg every second: PING failed - trying to reconnect > > more tracing shows: > > get_iface_type() in scripts/functions returns "eth" for my wlan0 device because > > /sys/class/net/wlan0/wireless does not exist: > > I am afraid there must be some misconfiguration in your system. I have upgraded which type of "misconfiguration" do you expect being able to influence the contents of /sys/class/net/wlan0/ ? I guess that's directly kernel-only stuff, or am I wrong here ?! what else in y "configuration shall I check ? > the 11.1 with Intel 4965 to 2.6.27.42 [1] either and I can see no problems on > my system [2]. The ifup/ifdown works as expected [3]. I have to close as > WORKSFORME, but reopen if you feel that I can help you anyway. > > [1] > # uname -a > Linux dolby 2.6.27.42-0.1-default 32 or 64 bit ? I'm running 64bit (see plattform in ticket). to my surprise(?) modinfo shows: harald > /sbin/modinfo iwlagn | grep filename filename: /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko harald > ll /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko lrwxrwxrwx 1 root root 81 Feb 23 01:10 /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko -> /lib/modules/2.6.27.39-0.2-default/updates/drivers/net/wireless/iwlwifi/iwlagn.ko harald > ll -L /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko -rw-r--r-- 1 root root 220720 Dec 1 21:18 /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko harald > md5sum /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko da2d80a429d588d87d10b548e8859002 /lib/modules/2.6.27.42-0.1-default/weak-updates/updates/drivers/net/wireless/iwlwifi/iwlagn.ko harald > dmesg | grep iwlwifi-4965 firmware: requesting iwlwifi-4965-2.ucode does this match your setup ? > [2] > # ll /sys/class/net/wlan0/wireless/ > total 0 harald > ll /sys/class/net/wlan0/wireless/ ls: cannot access /sys/class/net/wlan0/wireless/: No such file or directory > [3] > BOOTPROTO='dhcp' diff between your ifcfg-* and mine: diff ifcfg-yours /etc/sysconfig/network/ifcfg-wlan0 3a4 > IFPLUGD_PRIORITY='10' 6c7 < NAME='PRO/Wireless 4965 AG or AGN [Kedron] Network Connection' --- > NAME='PRO/Wireless 4965 AG or AGN Network Connection' 23c24 < WIRELESS_ESSID='test-ap' --- > WIRELESS_ESSID='foo' 39c40,41 < WIRELESS_WPA_PSK='passwd' --- > WIRELESS_WPA_PSK='bar' > WIRELESS=yes the "WIRELESS=yes" is new -- the rest of this setup worked rock solid at least for opensuse 11.0/11.1/11.2 with the last 3 generations of intel wlan chips about the different $NAME: are we using same chip revisions ? yours does not mention "[Kedron]" I can't find a non-Kedron in pci.ids though: harald > grep "4965 AG" /usr/share/pci.ids 4229 PRO/Wireless 4965 AG or AGN [Kedron] Network Connection 4230 PRO/Wireless 4965 AG or AGN [Kedron] Network Connection my pci ids: harald > /sbin/lspci -s 03:00.0 -n 03:00.0 0280: 8086:4230 (rev 61) harald > /sbin/lspci -s 03:00.0 -v 03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61) Subsystem: Intel Corporation Lenovo ThinkPad T61 Flags: bus master, fast devsel, latency 0, IRQ 4343 Memory at df2fe000 (64-bit, non-prefetchable) [size=8K] Capabilities: <access denied> Kernel driver in use: iwlagn Kernel modules: iwlagn other ideas ?! (In reply to comment #3) > The ifup/ifdown works as expected [3]. ifup only works for you because you are lucky enough to have /sys/class/net/wlan0/wireless this /sys/ entry is missing for my setup since last update, otherwise ifup still would correctly work. so this boils down to: why did /sys/class/net/wlan0/wireless vanish with that last update... I'm happy to change my configuration if I'd know what to change... > # uname -a > Linux dolby 2.6.27.42-0.1-default *this* is the full output of [my] uname -a (showing e.g. x86_64): harald > uname -a Linux harald 2.6.27.42-0.1-default #1 SMP 2010-01-06 16:07:25 +0100 x86_64 x86_64 x86_64 GNU/Linux and one more bit of information about that "weak-updates" kernel module: harald > rpm -qf /lib/modules/2.6.27.39-0.2-default/updates/drivers/net/wireless/iwlwifi/iwlagn.ko compat-wireless-stable-kmp-default-2.6.20091112_2.6.27.39_0.2-1.3 harald > rpm -qi compat-wireless-stable-kmp-default-2.6.20091112_2.6.27.39_0.2-1.3 ... Install Date: Tue Feb 23 01:10:04 2010 Build Date: Tue Dec 1 21:19:42 2009 Distribution: home:Lord_LT / openSUSE_11.1_Update hmmmmmmmm...... so I removed compat-wireless-stable-kmp-default (and compat-wireless-kmp-default) and now I'm using harald > /sbin/modinfo iwlagn| grep filename filename: /lib/modules/2.6.27.42-0.1-default/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko harald > rpm -qf /lib/modules/2.6.27.42-0.1-default/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko kernel-default-2.6.27.42-0.1.1 and guess what:::: harald > ll /sys/class/net/wlan0/wireless/ total 0 -r--r--r-- 1 root root 4096 Feb 26 21:14 beacon -r--r--r-- 1 root root 4096 Feb 26 21:14 crypt -r--r--r-- 1 root root 4096 Feb 26 21:14 fragment -r--r--r-- 1 root root 4096 Feb 26 21:14 level -r--r--r-- 1 root root 4096 Feb 26 21:14 link -r--r--r-- 1 root root 4096 Feb 26 21:14 misc -r--r--r-- 1 root root 4096 Feb 26 21:14 noise -r--r--r-- 1 root root 4096 Feb 26 21:14 nwid -r--r--r-- 1 root root 4096 Feb 26 21:14 retries -r--r--r-- 1 root root 4096 Feb 26 21:14 status hoooray !!! just for reference: harald > grep compat-wireless /var/log/zypp/history 2009-12-12 12:57:57|install|compat-wireless-kmp-debug|2.6.20091009_2.6.27.37_0.1-2.4|x86_64||kvm|45e8848aec8454167ab6c09e37f828be03d3e5af 2009-12-12 12:58:06|install|compat-wireless-stable-kmp-xen|2.6.20091112_2.6.27.39_0.2-1.3|x86_64||kvm|1a60ca52289daa973ca661c0cc2e50f67acad931 2009-12-12 12:58:24|install|compat-wireless-kmp-xen|2.6.20091009_2.6.27.37_0.1-2.4|x86_64||kvm|240260d25d84ac8f088b8cd7c49324f280c9c93c 2010-02-23 01:11:01|install|compat-wireless-stable-kmp-default|2.6.20091112_2.6.27.39_0.2-1.3|x86_64||kvm|8ff162f9975a8e24f481efa76a0be1287782f397 2010-02-23 01:11:25|install|compat-wireless-kmp-default|2.6.20091009_2.6.27.37_0.1-2.4|x86_64||kvm|ea22e9a991ee98c386db701ab4a5a8fbc6c9d024 and harald > grep ^2.*kernel-default /var/log/zypp/history ... 2009-10-30 16:21:54|install|kernel-default-base|2.6.27.37-0.1.1|x86_64||repo-update|f99c5ab5750979fb03e93bfc49be05a17555d59c 2009-10-30 16:26:30|install|kernel-default|2.6.27.37-0.1.1|x86_64||repo-update|14391fea727ffb7e48c4ddb92eff959146a02e5d 2009-10-30 16:38:37|install|kernel-default-extra|2.6.27.37-0.1.1|x86_64||repo-update|9204189f9249f48d52633af06ebba304bc29a843 2009-12-12 12:45:42|install|kernel-default-base|2.6.27.39-0.2.1|x86_64||repo-update|6862fe54108093798f1c974886005b43b5325074 2009-12-12 12:54:05|install|kernel-default|2.6.27.39-0.2.1|x86_64||repo-update|b180a5d4673c53fd849e222724be87ee048b7aaa 2009-12-12 12:57:20|install|kernel-default-extra|2.6.27.39-0.2.1|x86_64||repo-update|b7dc77bbfced48a137451a23f2a1fbe93461f8f0 2010-02-22 23:49:09|install|kernel-default-base|2.6.27.42-0.1.1|x86_64||repo-update|4bc793cb6641881e08387be8df3f6100cd343d9c 2010-02-22 23:53:54|install|kernel-default|2.6.27.42-0.1.1|x86_64||repo-update|bb36e014093e1fbf097a2ca62478477e217a91d3 2010-02-22 23:57:09|install|kernel-default-extra|2.6.27.42-0.1.1|x86_64||repo-update|94c35237a38b483e4ddd44258d3fe65aebb9d719 btw. both iwlag drivers report the same version in kernel msgs: 1st the "bad" driver: Feb 26 00:02:04 harald kernel: iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks Feb 26 00:02:04 harald kernel: iwlagn: Copyright(c) 2003-2009 Intel Corporation and now yours which gives a few more msgs/infos: Feb 26 21:14:38 harald kernel: iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks Feb 26 21:14:38 harald kernel: iwlagn: Copyright(c) 2003-2008 Intel Corporation Feb 26 21:14:38 harald kernel: iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4 Feb 26 21:14:38 harald kernel: iwlagn: Tunable channels: 13 802.11bg, 19 802.11a channels anything I (our you) can do about the trouble with the iwlagn from "home:Lord_LT / openSUSE_11.1_Update" ? this again one of my rants about OBS: neither "http://software.opensuse.org/search" nor the repository url give any pointer or hint where or how to report bugs/problems! bugs just don't exist (but unfortuneately that doesn't make them go away;-) IMHO that's really pitty... I guess, now you can close the bug again ?!? and thanks for listening and asking ;o) (In reply to comment #5) > anything I (our you) can do about the trouble with the iwlagn from > "home:Lord_LT / openSUSE_11.1_Update" ? ok, when logging into OBS there is a pointer to the "bug owner" so I've opend a new ticket here: https://bugzilla.novell.com/show_bug.cgi?id=583897 (In reply to comment #5) > harald > rpm -qf > /lib/modules/2.6.27.39-0.2-default/updates/drivers/net/wireless/iwlwifi/iwlagn.ko > compat-wireless-stable-kmp-default-2.6.20091112_2.6.27.39_0.2-1.3 > harald > rpm -qf > /lib/modules/2.6.27.42-0.1-default/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko > kernel-default-2.6.27.42-0.1.1 > > anything I (our you) can do about the trouble with the iwlagn from > "home:Lord_LT / openSUSE_11.1_Update" ? Good catch. Get rid of the compat-wireless package [1]. The iwlagn included in the kernel works fine. You can check what iwlagn is used [2]. Next it would be good to preen the list of active repositories [3] and disable non-standard repositories by default [4]. Did this help ? The command [2] shall show [5]. [1] # zypper rm compat-wireless-stable-kmp-default; depmod [2] # modprobe -l | grep iwlagn [3] # zypper lr -u [4] # zypper mr -d <index> [5] kernel/drivers/net/wireless/iwlwifi/iwlagn.ko (In reply to comment #7) > Good catch. Get rid of the compat-wireless package [1]. The iwlagn included in > the kernel works fine. You can check what iwlagn is used [2]. Next it would be > good to preen the list of active repositories [3] and disable non-standard > repositories by default [4]. Did this help ? The command [2] shall show [5]. > > [1] # zypper rm compat-wireless-stable-kmp-default; depmod > [2] # modprobe -l | grep iwlagn > [3] # zypper lr -u > [4] # zypper mr -d <index> > [5] kernel/drivers/net/wireless/iwlwifi/iwlagn.ko yes, as I mentioned above (see below hmmmmmmm....) I already removed the compat packages and now I'm using the iwlagn module from the default kernel again which works just file... so it's "only" an OBS issue, not a opensuse bug... (In reply to comment #8) > so it's "only" an OBS issue, not a opensuse bug... I resolve as invalid then. Thank you. *** Bug 583897 has been marked as a duplicate of this bug. *** |