Skip to content

Kernel warning message on x86 Linux

Seongmyun Cho edited this page Nov 16, 2016 · 1 revision

The following warning message could appear on x86 linux platform, when you use PCRE text search engine in iptables.
It just means that "kernel_fpu_begin()" is called in interrupt context.
The warning message would appear just once and it can be ignored because it is intended behavior.

[76282.374287] ------------[ cut here ]------------
[76282.374303] WARNING: at /usr/src/kernels/3.10.0-327.36.3.el7.x86_64/arch/x86/include/asm/i387.h:43 pcre2_jit_match_8+0x248/0x260 [libpcre2_8]()
[76282.374306] Modules linked in: ts_pcre(OE) libpcre2_8(OE) libc(OE) pf_ring(OE) xt_string xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter coretemp ppdev iTCO_wdt iTCO_vendor_support parport_pc kvm_intel i2c_i801 parport kvm pcspkr lpc_ich sg mfd_core ioatdma acpi_cpufreq i7core_edac edac_core shpchp nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi crc32c_intel ata_piix serio_raw libata igb ptp pps_core i2c_algo_bit i2c_core dca dm_mirror dm_region_hash dm_log dm_mod [last unloaded: libc]
[76282.374369] CPU: 4 PID: 1315 Comm: redis-server Tainted: G        W  OE  ------------   3.10.0-327.36.3.el7.x86_64 #1
[76282.374372] Hardware name: Intel Thurley/Greencity, BIOS 080015  07/09/2010
[76282.374374]  0000000000000000 00000000a84ff377 ffff88033f6034b8 ffffffff81636431
[76282.374378]  ffff88033f6034f0 ffffffff8107b260 ffff88033452682a ffff8802fafb0000
[76282.374382]  0000000000000001 0000000000000000 ffff8802fafb0480 ffff88033f603500
[76282.374386] Call Trace:
[76282.374388]  <IRQ>  [<ffffffff81636431>] dump_stack+0x19/0x1b
[76282.374406]  [<ffffffff8107b260>] warn_slowpath_common+0x70/0xb0
[76282.374409]  [<ffffffff8107b3aa>] warn_slowpath_null+0x1a/0x20
[76282.374415]  [<ffffffffa04c7a38>] pcre2_jit_match_8+0x248/0x260 [libpcre2_8]
[76282.374423]  [<ffffffffa050b6bf>] pcre2_match_8+0x45f/0x12c0 [libpcre2_8]
[76282.374431]  [<ffffffff810b5ffd>] ? ttwu_do_activate.constprop.84+0x5d/0x70
[76282.374439]  [<ffffffffa045802e>] ? ____nf_conntrack_find+0x13e/0x180 [nf_conntrack]
[76282.374446]  [<ffffffff8154a575>] ? skb_clone_tx_timestamp+0x25/0xe0
[76282.374457]  [<ffffffffa00cac96>] ? igb_xmit_frame+0x56/0xb0 [igb]
[76282.374463]  [<ffffffff8152ccc1>] ? dev_hard_start_xmit+0x171/0x3b0
[76282.374467]  [<ffffffff8154d3c2>] ? sch_direct_xmit+0x72/0x200
[76282.374470]  [<ffffffff8152d173>] ? dev_queue_xmit+0x273/0x570
[76282.374476]  [<ffffffff815359bb>] ? neigh_resolve_output+0x11b/0x220
[76282.374481]  [<ffffffff8156b6b0>] ? ip_finish_output+0x1f0/0x7d0
[76282.374485]  [<ffffffff8156c9af>] ? ip_output+0x6f/0xe0
[76282.374489]  [<ffffffffa05fa11c>] pcre_find+0x7c/0x110 [ts_pcre]
[76282.374495]  [<ffffffff81518277>] skb_find_text+0x67/0xa0
[76282.374498]  [<ffffffffa04a612e>] string_mt+0x6e/0xa8 [xt_string]
[76282.374505]  [<ffffffffa0037c32>] ipt_do_table+0x262/0x710 [ip_tables]
[76282.374510]  [<ffffffffa0037d07>] ? ipt_do_table+0x337/0x710 [ip_tables]
[76282.374516]  [<ffffffffa0340036>] iptable_filter_hook+0x36/0x80 [iptable_filter]
[76282.374522]  [<ffffffff8155cf50>] nf_iterate+0x70/0xb0
[76282.374525]  [<ffffffff8155d038>] nf_hook_slow+0xa8/0x110
[76282.374529]  [<ffffffff81566b72>] ip_local_deliver+0xb2/0xd0
[76282.374532]  [<ffffffff81566780>] ? ip_rcv_finish+0x350/0x350
[76282.374535]  [<ffffffff815664ad>] ip_rcv_finish+0x7d/0x350
[76282.374538]  [<ffffffff81566e46>] ip_rcv+0x2b6/0x410
[76282.374541]  [<ffffffff81566430>] ? inet_del_offload+0x40/0x40
[76282.374545]  [<ffffffff8152aed2>] __netif_receive_skb_core+0x582/0x7d0
[76282.374548]  [<ffffffff8152b138>] __netif_receive_skb+0x18/0x60
[76282.374551]  [<ffffffff8152b1c0>] netif_receive_skb+0x40/0xc0
[76282.374554]  [<ffffffff8152bd30>] napi_gro_receive+0x80/0xb0
[76282.374561]  [<ffffffffa00ccc24>] igb_clean_rx_irq+0x384/0x7a0 [igb]
[76282.374569]  [<ffffffffa00cd3bf>] igb_poll+0x37f/0x770 [igb]
[76282.374575]  [<ffffffff810bb7c5>] ? sched_clock_cpu+0x85/0xc0
[76282.374578]  [<ffffffff8152b5f2>] net_rx_action+0x152/0x240
[76282.374583]  [<ffffffff81084baf>] __do_softirq+0xef/0x280
[76282.374588]  [<ffffffff8164845c>] call_softirq+0x1c/0x30
[76282.374593]  [<ffffffff81016fc5>] do_softirq+0x65/0xa0
[76282.374596]  [<ffffffff81084f45>] irq_exit+0x115/0x120
[76282.374599]  [<ffffffff81648ff8>] do_IRQ+0x58/0xf0
[76282.374603]  [<ffffffff8163e32d>] common_interrupt+0x6d/0x6d
[76282.374605]  <EOI>  [<ffffffff812024ef>] ? single_release+0x2f/0x40
[76282.374612]  [<ffffffff811e08f0>] ? file_free+0x40/0x40
[76282.374618]  [<ffffffff81124ce0>] ? __call_rcu+0x2c0/0x2c0
[76282.374621]  [<ffffffff811e0b53>] ? __fput+0x173/0x270
[76282.374624]  [<ffffffff811e0d8e>] ____fput+0xe/0x10
[76282.374628]  [<ffffffff810a2377>] task_work_run+0xa7/0xe0
[76282.374632]  [<ffffffff81014b12>] do_notify_resume+0x92/0xb0
[76282.374636]  [<ffffffff81646dfd>] int_signal+0x12/0x17
[76282.374639] ---[ end trace d902a511f85f75f9 ]---

"My colleague and I have been using your kpcre implementation extensively and have been finding it incredibly well-designed and comprehensive. Many thanks for all your efforts."

- Michael, Verisign, Inc.

Clone this wiki locally