Bug 495660

Summary: [2.6.29.1-68.fc11.x86_64] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1254
Product: [Fedora] Fedora Reporter: James <james>
Component: iwl4965-firmwareAssignee: John W. Linville <linville>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: itamar, kernel-maint, kwizart, linville, quintela, reinette.chatre
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-17 08:15:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James 2009-04-14 09:43:26 UTC
From dmesg:
------------[ cut here ]------------
WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1254 iwl_tx_cmd_complete+0x63/0x223 [iwlcore]() (Not tainted)
Hardware name: M720R
wrong command queue 31, sequence 0x7FFF readp=91 writep=91
Modules linked in: fuse rfcomm sco bridge stp llc bnep l2cap ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath kvm_intel kvm uinput snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm arc4 ecb snd_timer iwlagn snd firewire_ohci iTCO_wdt iTCO_vendor_support iwlcore rfkill lib80211 sdhci_pci sdhci mmc_core btusb bluetooth firewire_core crc_itu_t i2c_i801 mac80211 cfg80211 uvcvideo soundcore snd_page_alloc joydev videodev v4l1_compat v4l2_compat_ioctl32 r8169 mii wmi pcspkr serio_raw ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last unloaded: microcode]
Pid: 0, comm: swapper Not tainted 2.6.29.1-68.fc11.x86_64 #1
Call Trace:
 <IRQ>  [<ffffffff8104aae7>] warn_slowpath+0xbc/0xf0
 [<ffffffff8130cacf>] ? __kfree_skb+0x83/0x87
 [<ffffffff8130cb03>] ? consume_skb+0x30/0x32
 [<ffffffffa0182f05>] iwl_tx_cmd_complete+0x63/0x223 [iwlcore]
 [<ffffffffa01c5f27>] iwl_rx_handle+0x2ea/0x3e6 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81065254>] ? clocksource_read+0xc/0xe
 [<ffffffffa01c6674>] iwl_irq_tasklet+0x46b/0x635 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81017099>] ? read_tsc+0x9/0x1a
 [<ffffffff810654e0>] ? getnstimeofday+0x5f/0xb3
 [<ffffffff8104fb25>] tasklet_action+0x8e/0xf8
 [<ffffffff81050303>] __do_softirq+0x94/0x179
 [<ffffffff810127cc>] call_softirq+0x1c/0x30
 [<ffffffff8101395e>] do_softirq+0x52/0xb9
 [<ffffffff8104ff26>] irq_exit+0x53/0x90
 [<ffffffff81013c87>] do_IRQ+0x12c/0x151
 [<ffffffff81011f13>] ret_from_intr+0x0/0x2e
 <EOI>  [<ffffffff8121953f>] ? acpi_idle_enter_c1+0x85/0x9c
 [<ffffffff81219537>] ? acpi_idle_enter_c1+0x7d/0x9c
 [<ffffffff812f04db>] ? cpuidle_idle_call+0x8d/0xc2
 [<ffffffff810102e8>] ? cpu_idle+0x68/0xb3
 [<ffffffff813987b7>] ? rest_init+0x6b/0x6d
---[ end trace c04af16e20b81a31 ]---
------------[ cut here ]------------
WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1254 iwl_tx_cmd_complete+0x63/0x223 [iwlcore]() (Tainted: G        W )
Hardware name: M720R
wrong command queue 31, sequence 0x7FFF readp=97 writep=97
Modules linked in: fuse rfcomm sco bridge stp llc bnep l2cap ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath kvm_intel kvm uinput snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm arc4 ecb snd_timer iwlagn snd firewire_ohci iTCO_wdt iTCO_vendor_support iwlcore rfkill lib80211 sdhci_pci sdhci mmc_core btusb bluetooth firewire_core crc_itu_t i2c_i801 mac80211 cfg80211 uvcvideo soundcore snd_page_alloc joydev videodev v4l1_compat v4l2_compat_ioctl32 r8169 mii wmi pcspkr serio_raw ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last unloaded: microcode]
Pid: 0, comm: swapper Tainted: G        W  2.6.29.1-68.fc11.x86_64 #1
Call Trace:
 <IRQ>  [<ffffffff8104aae7>] warn_slowpath+0xbc/0xf0
 [<ffffffff8103efa4>] ? enqueue_entity+0x1af/0x1b8
 [<ffffffff8103efd7>] ? enqueue_task_fair+0x2a/0x6d
 [<ffffffff8103ac47>] ? resched_task+0x33/0x79
 [<ffffffff8102bfb3>] ? default_spin_lock_flags+0x9/0xe
 [<ffffffffa0182f05>] iwl_tx_cmd_complete+0x63/0x223 [iwlcore]
 [<ffffffffa01c5f27>] iwl_rx_handle+0x2ea/0x3e6 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81065254>] ? clocksource_read+0xc/0xe
 [<ffffffffa01c6674>] iwl_irq_tasklet+0x46b/0x635 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81017099>] ? read_tsc+0x9/0x1a
 [<ffffffff810654e0>] ? getnstimeofday+0x5f/0xb3
 [<ffffffff8104fb25>] tasklet_action+0x8e/0xf8
 [<ffffffff81050303>] __do_softirq+0x94/0x179
 [<ffffffff810127cc>] call_softirq+0x1c/0x30
 [<ffffffff8101395e>] do_softirq+0x52/0xb9
 [<ffffffff8104ff26>] irq_exit+0x53/0x90
 [<ffffffff81013c87>] do_IRQ+0x12c/0x151
 [<ffffffff81011f13>] ret_from_intr+0x0/0x2e
 <EOI>  [<ffffffff8121953f>] ? acpi_idle_enter_c1+0x85/0x9c
 [<ffffffff81219537>] ? acpi_idle_enter_c1+0x7d/0x9c
 [<ffffffff812f04db>] ? cpuidle_idle_call+0x8d/0xc2
 [<ffffffff810102e8>] ? cpu_idle+0x68/0xb3
 [<ffffffff813a6c8b>] ? start_secondary+0x199/0x19e
---[ end trace c04af16e20b81a32 ]---
------------[ cut here ]------------
WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1254 iwl_tx_cmd_complete+0x63/0x223 [iwlcore]() (Tainted: G        W )
Hardware name: M720R
wrong command queue 31, sequence 0x7FFF readp=100 writep=100
Modules linked in: fuse rfcomm sco bridge stp llc bnep l2cap ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath kvm_intel kvm uinput snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm arc4 ecb snd_timer iwlagn snd firewire_ohci iTCO_wdt iTCO_vendor_support iwlcore rfkill lib80211 sdhci_pci sdhci mmc_core btusb bluetooth firewire_core crc_itu_t i2c_i801 mac80211 cfg80211 uvcvideo soundcore snd_page_alloc joydev videodev v4l1_compat v4l2_compat_ioctl32 r8169 mii wmi pcspkr serio_raw ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last unloaded: microcode]
Pid: 0, comm: swapper Tainted: G        W  2.6.29.1-68.fc11.x86_64 #1
Call Trace:
 <IRQ>  [<ffffffff8104aae7>] warn_slowpath+0xbc/0xf0
 [<ffffffff8103efa4>] ? enqueue_entity+0x1af/0x1b8
 [<ffffffffa0181c5b>] ? __iwl_write32.clone.2+0xb0/0xbf [iwlcore]
 [<ffffffff8103efd7>] ? enqueue_task_fair+0x2a/0x6d
 [<ffffffff813accc4>] ? _spin_unlock_irqrestore+0x2c/0x42
 [<ffffffffa0182248>] ? iwl_rx_queue_update_write_ptr+0x204/0x216 [iwlcore]
 [<ffffffffa0182f05>] iwl_tx_cmd_complete+0x63/0x223 [iwlcore]
 [<ffffffffa01c5f27>] iwl_rx_handle+0x2ea/0x3e6 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81065254>] ? clocksource_read+0xc/0xe
 [<ffffffffa01c6674>] iwl_irq_tasklet+0x46b/0x635 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81017099>] ? read_tsc+0x9/0x1a
 [<ffffffff810654e0>] ? getnstimeofday+0x5f/0xb3
 [<ffffffff8104fb25>] tasklet_action+0x8e/0xf8
 [<ffffffff81050303>] __do_softirq+0x94/0x179
 [<ffffffff810127cc>] call_softirq+0x1c/0x30
 [<ffffffff8101395e>] do_softirq+0x52/0xb9
 [<ffffffff8104ff26>] irq_exit+0x53/0x90
 [<ffffffff81013c87>] do_IRQ+0x12c/0x151
 [<ffffffff81011f13>] ret_from_intr+0x0/0x2e
 <EOI>  [<ffffffff8121953f>] ? acpi_idle_enter_c1+0x85/0x9c
 [<ffffffff81219537>] ? acpi_idle_enter_c1+0x7d/0x9c
 [<ffffffff812f04db>] ? cpuidle_idle_call+0x8d/0xc2
 [<ffffffff810102e8>] ? cpu_idle+0x68/0xb3
 [<ffffffff813987b7>] ? rest_init+0x6b/0x6d
---[ end trace c04af16e20b81a33 ]---
------------[ cut here ]------------
WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:1254 iwl_tx_cmd_complete+0x63/0x223 [iwlcore]() (Tainted: G        W )
Hardware name: M720R
wrong command queue 31, sequence 0x7FFF readp=106 writep=106
Modules linked in: fuse rfcomm sco bridge stp llc bnep l2cap ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath kvm_intel kvm uinput snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm arc4 ecb snd_timer iwlagn snd firewire_ohci iTCO_wdt iTCO_vendor_support iwlcore rfkill lib80211 sdhci_pci sdhci mmc_core btusb bluetooth firewire_core crc_itu_t i2c_i801 mac80211 cfg80211 uvcvideo soundcore snd_page_alloc joydev videodev v4l1_compat v4l2_compat_ioctl32 r8169 mii wmi pcspkr serio_raw ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last unloaded: microcode]
Pid: 0, comm: swapper Tainted: G        W  2.6.29.1-68.fc11.x86_64 #1
Call Trace:
 <IRQ>  [<ffffffff8104aae7>] warn_slowpath+0xbc/0xf0
 [<ffffffff813accc4>] ? _spin_unlock_irqrestore+0x2c/0x42
 [<ffffffff8103b9b6>] ? __wake_up+0x44/0x4d
 [<ffffffffa0182f05>] iwl_tx_cmd_complete+0x63/0x223 [iwlcore]
 [<ffffffffa01c5f27>] iwl_rx_handle+0x2ea/0x3e6 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81065254>] ? clocksource_read+0xc/0xe
 [<ffffffffa01c6674>] iwl_irq_tasklet+0x46b/0x635 [iwlagn]
 [<ffffffffa01c614e>] ? __iwl_write32.clone.1+0xb0/0xbf [iwlagn]
 [<ffffffff81017099>] ? read_tsc+0x9/0x1a
 [<ffffffff810654e0>] ? getnstimeofday+0x5f/0xb3
 [<ffffffff8104fb25>] tasklet_action+0x8e/0xf8
 [<ffffffff81050303>] __do_softirq+0x94/0x179
 [<ffffffff810127cc>] call_softirq+0x1c/0x30
 [<ffffffff8101395e>] do_softirq+0x52/0xb9
 [<ffffffff8104ff26>] irq_exit+0x53/0x90
 [<ffffffff81013c87>] do_IRQ+0x12c/0x151
 [<ffffffff81011f13>] ret_from_intr+0x0/0x2e
 <EOI>  [<ffffffff8121953f>] ? acpi_idle_enter_c1+0x85/0x9c
 [<ffffffff81219537>] ? acpi_idle_enter_c1+0x7d/0x9c
 [<ffffffff812f04db>] ? cpuidle_idle_call+0x8d/0xc2
 [<ffffffff810102e8>] ? cpu_idle+0x68/0xb3
 [<ffffffff813987b7>] ? rest_init+0x6b/0x6d
---[ end trace c04af16e20b81a34 ]---


Version-Release number of selected component (if applicable):
kernel-2.6.29.1-68.fc11.x86_64

Comment 1 John W. Linville 2009-04-14 12:46:10 UTC
2.6.29-based kernel, hitting this WARN in iwl-tx.c:
 
       /* If a Tx command is being handled and it isn't in the actual
         * command queue then there a command routing bug has been introduced
         * in the queue management code. */
        if (WARN(txq_id != IWL_CMD_QUEUE_NUM,
                 "wrong command queue %d, sequence 0x%X readp=%d writep=%d\n",
                  txq_id, sequence,
                  priv->txq[IWL_CMD_QUEUE_NUM].q.read_ptr,
                  priv->txq[IWL_CMD_QUEUE_NUM].q.write_ptr)) {
                iwl_print_hex_dump(priv, IWL_DL_INFO , rxb, 32);
                return;
        }

Comment 2 reinette chatre 2009-04-14 16:01:09 UTC
Which hardware?

This is a ucode issue for which the latest 4965 ucode will fix it. We are working on getting ucode for 5100 out the door.

Comment 3 James 2009-04-14 16:05:39 UTC
4965 hardware with iwl4965-firmware-228.57.2.21-4.noarch. I notice .23 is in Koji, but not for rawhide --- update available?

Comment 4 James 2009-04-14 16:10:54 UTC
(Ignore my previous comment, the .23 package does install on Rawhide without complaint. Furthermore, I've not seen the backtrace so far with kernel-2.6.29.1-70.fc11.x86_64.)

Comment 5 John W. Linville 2009-04-14 17:09:04 UTC
Updating rawhide version of iwl4965-firmware...