softirq oops from b44_poll
Subsystems (2)
Hi all,
We've had two reports of a WARN_ON being spit out from kernel/softirq.c that seem fairly related in symptoms. Both seem to involved b44_poll either during the middle of some disk I/O. An example of the output is here:
:WARNING: at kernel/softirq.c:159 _local_bh_enable_ip+0x44/0x8e() :Hardware name: Vostro 1500
:Modules linked in: fuse lockd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack sunrpc uinput snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm dell_wmi sparse_keymap dell_laptop joydev dcdbas microcode r852 sm_common nand nand_ids b44 nand_ecc r592 mtd ssb mii memstick arc4 i2c_i801 iTCO_wdt iTCO_vendor_support iwl3945 iwl_legacy mac80211 cfg80211 rfkill snd_timer snd soundcore snd_page_alloc firewire_ohci firewire_core crc_itu_t uas usb_storage sdhci_pci sdhci mmc_core nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core mxm_wmi wmi video [last unloaded:scsi_wait_scan]
:Pid: 1511, comm: nepomukservices Not tainted 3.1.0-1.fc16.x86_64 #1 :Call Trace:
: <IRQ> [<ffffffff81057a56>] warn_slowpath_common+0x83/0x9b
: [<ffffffff81057a88>] warn_slowpath_null+0x1a/0x1c
: [<ffffffff8105d462>] _local_bh_enable_ip+0x44/0x8e
: [<ffffffff8105d4ba>] local_bh_enable_ip+0xe/0x10
: [<ffffffff814b5af4>] _raw_spin_unlock_bh+0x15/0x17
: [<ffffffffa03cc969>] destroy_conntrack+0x9d/0xdc [nf_conntrack] : [<ffffffff813fa083>] nf_conntrack_destroy+0x19/0x1b
: [<ffffffff813ce4ed>] skb_release_head_state+0xa7/0xef
: [<ffffffff813ce2f1>] __kfree_skb+0x13/0x83
: [<ffffffff813ce3b7>] consume_skb+0x56/0x6b
: [<ffffffffa02e48c4>] b44_poll+0xaf/0x3ec [b44]
: [<ffffffff813d8137>] net_rx_action+0xa9/0x1b8
: [<ffffffffa02e202e>] ? br32+0x19/0x1d [b44]
: [<ffffffff8105d6b3>] __do_softirq+0xc9/0x1b5
: [<ffffffff81027719>] ? ack_APIC_irq+0x15/0x17
: [<ffffffff814be32c>] call_softirq+0x1c/0x30
: [<ffffffff81010b45>] do_softirq+0x46/0x81
: [<ffffffff8105d97b>] irq_exit+0x57/0xb1
: [<ffffffff814bec0e>] do_IRQ+0x8e/0xa5
: [<ffffffff814b5d2e>] common_interrupt+0x6e/0x6e
: <EOI> [<ffffffff814bc1f4>] ? sysret_audit+0x16/0x20
You can find the original bug reports in the URLs below. This has happened on two different machines, one 32-bit and another 64-bit. I'm fairly sure both reports are the same issue, but I haven't a clue what that issue might be at the moment.
Thoughts?
https://bugzilla.redhat.com/show_bug.cgi?id=749856
https://bugzilla.redhat.com/show_bug.cgi?id=741117
josh
Quoted 43 lines · Josh Boyer
Hi all,
We've had two reports of a
WARN_ONbeing spit out fromkernel/softirq.cthat seem fairly related in symptoms. Both seem to involvedb44_polleither during the middle of some disk I/O. An example of the output is here::WARNING: at
kernel/softirq.c:159_local_bh_enable_ip+0x44/0x8e() :Hardware name: Vostro 1500
:Modules linked in: fuse lockdip6t_REJECTnf_conntrack_ipv6nf_defrag_ipv6ip6table_filterip6_tablesnf_conntrack_ipv4nf_defrag_ipv4xt_statenf_conntracksunrpc uinputsnd_hda_codec_idtsnd_hda_intelsnd_hda_codecsnd_hwdepsnd_seqsnd_seq_devicesnd_pcmdell_wmisparse_keymapdell_laptopjoydev dcdbas microcode r852sm_commonnandnand_idsb44nand_eccr592 mtd ssb mii memstick arc4i2c_i801iTCO_wdtiTCO_vendor_supportiwl3945iwl_legacymac80211 cfg80211 rfkillsnd_timersnd soundcoresnd_page_allocfirewire_ohcifirewire_corecrc_itu_tuasusb_storagesdhci_pcisdhcimmc_corenouveau ttmdrm_kms_helperdrmi2c_algo_biti2c_coremxm_wmiwmi video [last unloaded:scsi_wait_scan]
:Pid: 1511, comm: nepomukservices Not tainted 3.1.0-1.fc16.x86_64 #1 :Call Trace:
: <IRQ> [<ffffffff81057a56>]warn_slowpath_common+0x83/0x9b
: [<ffffffff81057a88>]warn_slowpath_null+0x1a/0x1c
: [<ffffffff8105d462>]_local_bh_enable_ip+0x44/0x8e
: [<ffffffff8105d4ba>]local_bh_enable_ip+0xe/0x10
: [<ffffffff814b5af4>]_raw_spin_unlock_bh+0x15/0x17
: [<ffffffffa03cc969>]destroy_conntrack+0x9d/0xdc[nf_conntrack] : [<ffffffff813fa083>]nf_conntrack_destroy+0x19/0x1b
: [<ffffffff813ce4ed>]skb_release_head_state+0xa7/0xef
: [<ffffffff813ce2f1>]__kfree_skb+0x13/0x83
: [<ffffffff813ce3b7>]consume_skb+0x56/0x6b
: [<ffffffffa02e48c4>]b44_poll+0xaf/0x3ec[b44]
: [<ffffffff813d8137>]net_rx_action+0xa9/0x1b8
: [<ffffffffa02e202e>] ?br32+0x19/0x1d[b44]
: [<ffffffff8105d6b3>]__do_softirq+0xc9/0x1b5
: [<ffffffff81027719>] ?ack_APIC_irq+0x15/0x17
: [<ffffffff814be32c>]call_softirq+0x1c/0x30
: [<ffffffff81010b45>]do_softirq+0x46/0x81
: [<ffffffff8105d97b>]irq_exit+0x57/0xb1
: [<ffffffff814bec0e>]do_IRQ+0x8e/0xa5
: [<ffffffff814b5d2e>]common_interrupt+0x6e/0x6e
: <EOI> [<ffffffff814bc1f4>] ?sysret_audit+0x16/0x20
Quoted 6 lines
You can find the original bug reports in the URLs below. This has happened on two different machines, one 32-bit and another 64-bit. I'm fairly sure both reports are the same issue, but I haven't a clue what that issue might be at the moment.
Thoughts?
I don't have the hardware to play with, but from inspection, I suspect a thread is getting stuck on that CPU from the spin_lock_irqsave() in b44_poll(). There are some calls that are mapping and unmapping memory, which could be blocking. NAPI should be offering protection under softirq context, so I'm not sure why that spinlock is even there. And comparing with a number of other NAPI poll routines in other drivers, they are also not locking.
This is entirely a theory that I can't test though.
Cheers,
-PJ
Quoted 9 lines
https://bugzilla.redhat.com/show_bug.cgi?id=749856
https://bugzilla.redhat.com/show_bug.cgi?id=741117josh
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Peter P Waskiewicz Jr <[email protected]> LAN Access Division, Intel Corporation