Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22633 - [kernel26] Broken compat-wireless with 2.6.37-3

Attached to Project: Arch Linux
Opened by Alphazo (alphazo) - Thursday, 27 January 2011, 20:45 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 14 February 2012, 14:42 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm not sure this is the right place to report my problem but I'm no longer able to use intel wireless compat-wireless since 2.6.37-3. It worked fine on 2.6.37-2 though.
It compiles fine (compat-wireless-patched-daily-2011_01_20-1) but I'm not able to use is (see dmesg trace below). Strangely, if I remove compat-wireless then I can use the kernel's built-in package without any problem.

------------[ cut here ]------------
WARNING: at /tmp/yaourt-tmp-alpha/aur-compat-wireless-patched-daily/src/compat-wireless-2011-01-20/net/wireless/util.c:128 ieee80211_set_bitrate_flags+0x1a7/0x1b0 [cfg80211]()
Hardware name: 3680PCG
Modules linked in: iwlagn iwlcore joydev mac80211 compat cfg80211 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_codec_hdmi snd_hda_codec_conexant snd_pcm_oss snd_mixer_oss ehci_hcd usbcore snd_hda_intel i915 snd_hda_codec snd_hwdep drm_kms_helper snd_pcm drm snd_timer snd_page_alloc i2c_algo_bit thinkpad_acpi rfkill snd soundcore nvram tpm_tis tpm tpm_bios iTCO_wdt iTCO_vendor_support thermal shpchp pci_hotplug e1000e psmouse wmi battery video output button i2c_i801 sg i2c_core intel_agp intel_gtt serio_raw ac intel_ips evdev vboxdrv acpi_cpufreq freq_table processor mperf fuse ext4 mbcache jbd2 crc16 sd_mod ahci libahci libata scsi_mod
Pid: 2655, comm: firmware/iwlwif Not tainted 2.6.37-ARCH #1
Call Trace:
[<ffffffff8105684a>] warn_slowpath_common+0x7a/0xb0
[<ffffffff81056895>] warn_slowpath_null+0x15/0x20
[<ffffffffa0535e57>] ieee80211_set_bitrate_flags+0x1a7/0x1b0 [cfg80211]
[<ffffffffa05340de>] wiphy_register+0x19e/0x340 [cfg80211]
[<ffffffff81127e2b>] ? __kmalloc+0x19b/0x280
[<ffffffffa0559309>] ieee80211_register_hw+0x179/0x560 [mac80211]
[<ffffffffa05b06b1>] iwl_ucode_callback+0xc21/0x1240 [iwlagn]
[<ffffffff811f3a52>] ? kobject_release+0x52/0x90
[<ffffffff812bbf0f>] ? _request_firmware+0x34f/0x450
[<ffffffff812bc010>] ? request_firmware_work_func+0x0/0x80
[<ffffffff812bc051>] request_firmware_work_func+0x41/0x80
[<ffffffff81077826>] kthread+0x96/0xa0
[<ffffffff8100cd24>] kernel_thread_helper+0x4/0x10
[<ffffffff81077790>] ? kthread+0x0/0xa0
[<ffffffff8100cd20>] ? kernel_thread_helper+0x0/0x10
---[ end trace 966d2782a4274950 ]---
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 14 February 2012, 14:42 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Thursday, 27 January 2011, 21:00 GMT
Only differnce between -3 and -2 are gzipped modules.
Comment by Alphazo (alphazo) - Thursday, 27 January 2011, 21:53 GMT
And what's the difference between -1 and -2? Maybe I didn't recompile compat-wireless with -2. Could that be linked to other new packages like device-mapper?
Comment by Tobias Powalowski (tpowa) - Thursday, 27 January 2011, 22:01 GMT
fix udev crash, updated aufs, changed ext3 mount default
Comment by Alphazo (alphazo) - Wednesday, 09 February 2011, 22:15 GMT
Still no luck with 2.6.37-5. This is a problem for me as the built-in iwlagn driver is not very stable. I really need to use compat-wireless.
Since 2.6.37 I can compile and install compat-wireless but iwlagn modules doesn't get loaded properly. I used kernel 2.6.37-5 and compat-wireless-2011-01-30.tar.bz2 / md5sum: 58f059f8bf5247df73e4ebe71d6aeeec. Don't know if this is related but it looks like modules are now compressed.

# ls -al /lib/modules/2.6.37-ARCH/updates/drivers/net/wireless/iwlwifi/*
-rw-r--r-- 1 root root 334605 9 févr. 22:24 /lib/modules/2.6.37-ARCH/updates/drivers/net/wireless/iwlwifi/iwl3945.ko
-rw-r--r-- 1 root root 711112 9 févr. 22:24 /lib/modules/2.6.37-ARCH/updates/drivers/net/wireless/iwlwifi/iwlagn.ko
-rw-r--r-- 1 root root 196214 9 févr. 22:24 /lib/modules/2.6.37-ARCH/updates/drivers/net/wireless/iwlwifi/iwlcore.ko
[/code]

# ls -al /lib/modules/2.6.37-ARCH/kernel/drivers/net/wireless/iwlwifi/
total 268
drwxr-xr-x 2 root root 4096 29 janv. 20:03 .
drwxr-xr-x 19 root root 4096 29 janv. 20:03 ..
-rw-r--r-- 1 root root 66456 29 janv. 20:02 iwl3945.ko.gz
-rw-r--r-- 1 root root 144198 29 janv. 20:02 iwlagn.ko.gz
-rw-r--r-- 1 root root 46911 29 janv. 20:02 iwlcore.ko.gz
[/code]

Another strange thing is that modinfo doesn't report the compat-wireless module found in /lib/modules/kernel2.6.37-ARC/updates

# modinfo iwlagn
filename: /lib/modules/2.6.37-ARCH/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko.gz
alias: iwl4965
license: GPL
author: Copyright(c) 2003-2010 Intel Corporation <ilw@linux.intel.com>
version: in-tree:
description: Intel(R) Wireless WiFi Link AGN driver for Linux
firmware: iwlwifi-4965-2.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-2.ucode
firmware: iwlwifi-130-5.ucode
firmware: iwlwifi-6000g2b-5.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-3.ucode
srcversion: CED33F761FCA4E08E47C3F8
alias: pci:v00008086d00000896sv*sd00005027bc*sc*i*
alias: pci:v00008086d00000896sv*sd00005025bc*sc*i*
...
...
alias: pci:v00008086d00004232sv*sd00001201bc*sc*i*
alias: pci:v00008086d00004230sv*sd*bc*sc*i*
alias: pci:v00008086d00004229sv*sd*bc*sc*i*
depends: iwlcore,mac80211,cfg80211
vermagic: 2.6.37-ARCH SMP preempt mod_unload
parm: swcrypto50:using crypto in software (default 0 [hardware]) (deprecated) (bool)
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: queues_num50:number of hw queues in 50xx series (deprecated) (int)
parm: queues_num:number of hw queues. (int)
parm: 11n_disable50:disable 50XX 11n functionality (deprecated) (int)
parm: 11n_disable:disable 11n functionality (int)
parm: amsdu_size_8K50:enable 8K amsdu size in 50XX series (deprecated) (int)
parm: amsdu_size_8K:enable 8K amsdu size (int)
parm: fw_restart50:restart firmware in case of error (deprecated) (int)
parm: fw_restart:restart firmware in case of error (int)
parm: disable_hw_scan:disable hardware scanning (default 0) (deprecated) (int)
parm: ucode_alternative:specify ucode alternative to use from ucode file (int)
parm: antenna_coupling:specify antenna coupling in dB (defualt: 0 dB) (int)
parm: bt_ch_announce:Enable BT channel announcement mode (default: enable) (bool)


Here is the section of my dmesg during boot.
cfg80211: Calling CRDA to update world regulatory domain
Compat-wireless backport release: compat-wireless-2011-01-06-3-g8db1608
Backport based on linux-next.git next-20110121
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
iwlagn: Copyright(c) 2003-2010 Intel Corporation
iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
iwlagn 0000:02:00.0: setting latency timer to 64
iwlagn 0000:02:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
iwlagn 0000:02:00.0: device EEPROM VER=0x436, CALIB=0x6
iwlagn 0000:02:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:02:00.0: irq 44 for MSI/MSI-X
Console: switching to colour frame buffer device 160x50
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
acpi device:02: registered as cooling_device4
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input7
ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
usb 1-1.4: new full speed USB device using ehci_hcd and address 4
iwlagn 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532
------------[ cut here ]------------
WARNING: at /home/alpha/SECURE/PERSO/DOCS/arch-packages/compat-wireless/src/compat-wireless-2011-01-30/net/wireless/util.c:128 ieee80211_set_bitrate_flags+0x1a7/0x1b0 [cfg80211]()
Hardware name: 3680PCG
Modules linked in: joydev snd_pcm_oss snd_mixer_oss iwlagn iwlcore mac80211 compat cfg80211 snd_hda_codec_hdmi snd_hda_codec_conexant i915 drm_kms_helper drm i2c_algo_bit thinkpad_acpi snd_hda_intel rfkill snd_hda_codec snd_hwdep snd_pcm snd_timer snd nvram soundcore snd_page_alloc ehci_hcd tpm_tis usbcore tpm tpm_bios intel_agp intel_gtt shpchp pci_hotplug e1000e psmouse wmi intel_ips serio_raw i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support thermal battery video ac output button sg evdev vboxdrv acpi_cpufreq freq_table processor mperf fuse ext4 mbcache jbd2 crc16 sd_mod ahci libahci libata scsi_mod
Pid: 1726, comm: firmware/iwlwif Not tainted 2.6.37-ARCH #1
Call Trace:
[<ffffffff8105684a>] warn_slowpath_common+0x7a/0xb0
[<ffffffff81056895>] warn_slowpath_null+0x15/0x20
[<ffffffffa04f0e37>] ieee80211_set_bitrate_flags+0x1a7/0x1b0 [cfg80211]
[<ffffffffa04ef0de>] wiphy_register+0x19e/0x340 [cfg80211]
[<ffffffff81127e2b>] ? __kmalloc+0x19b/0x280
[<ffffffffa0514309>] ieee80211_register_hw+0x179/0x560 [mac80211]
[<ffffffffa056b6b1>] iwl_ucode_callback+0xc21/0x1240 [iwlagn]
[<ffffffff811f3a52>] ? kobject_release+0x52/0x90
[<ffffffff812bbf0f>] ? _request_firmware+0x34f/0x450
[<ffffffff812bc010>] ? request_firmware_work_func+0x0/0x80
[<ffffffff812bc051>] request_firmware_work_func+0x41/0x80
[<ffffffff81077826>] kthread+0x96/0xa0
[<ffffffff8100cd24>] kernel_thread_helper+0x4/0x10
[<ffffffff81077790>] ? kthread+0x0/0xa0
[<ffffffff8100cd20>] ? kernel_thread_helper+0x0/0x10
---[ end trace d85d412f2d9401f7 ]---
Comment by Alphazo (alphazo) - Friday, 11 February 2011, 21:30 GMT
This issue is driving me mad. I tried to compile the latest compat-wireless (2011-02-11) and got the same result. I posted on different bug trackers but nobody seems to experience my problem. I've downgraded to 2.6.36.3-2 and everything is back to normal.
Comment by Alphazo (alphazo) - Friday, 18 February 2011, 17:31 GMT
Same issue with 2.6.37-6. Please help. I tried two versions from AUR and also compiled compat-wireless myself from source but it provides the same results; either it doesn't get loaded upon boot or the buil-in module is loaded rather the compat-wireless one.
Comment by Tobias Powalowski (tpowa) - Friday, 19 August 2011, 10:34 GMT
Any update on this?
Comment by Thomas Bächler (brain0) - Friday, 19 August 2011, 11:33 GMT
That is an inconsistency in modprobe. Somehow, gzipped modules are preferred over non-gzipped ones, even if the latter are in updates/. Make sure you gzip the modules you install from compat-wireless.

Loading...