[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20120925133059.GA10474@localhost>
Date: Tue, 25 Sep 2012 21:30:59 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: __do_softirq: WARNING at lockdep.c:3493 check_flags()
Greetings,
I got a very reproducible warning for the attached config. AFAIK, it
dates back at least to 2.6.38. Older kernels cannot be build (possibly
related to gcc 4.6.3).
Most back traces have something to do with __do_softirq:
[check_flags lock_is_held __might_sleep run_ksoftirqd __do_softirq kthread retint_restore_args __init_kthread_worker gs_change]
[check_flags lock_acquire destroy_timer_on_stack __run_timers ring_buffer_event_data run_timer_softirq __do_softirq call_softirq do_softirq irq_exit do_IRQ common_interrupt retint_restore_args ftrace_likely_update native_safe_halt default_idle cpu_idle rest_init csum_partial_copy_generic start_kernel repair_env_string early_idt_handlers x86_64_start_reservations x86_64_start_kernel]
[check_flags lock_acquire __queue_work __run_timers ring_buffer_event_data run_timer_softirq __do_softirq call_softirq do_softirq irq_exit do_IRQ common_interrupt retint_restore_args ftrace_likely_update native_sched_clock rcu_sched_qs __schedule schedule_preempt_disabled schedule schedule_preempt_disabled return_to_handler run_ksoftirqd __do_softirq kthread retint_restore_args __init_kthread_worker gs_change]
[__run_timers check_flags lock_release destroy_timer_on_stack __run_timers ring_buffer_event_data run_timer_softirq __do_softirq call_softirq do_softirq irq_exit do_IRQ common_interrupt rcu_sched_qs __schedule schedule schedule_timeout destroy_timer_on_stack schedule_timeout_uninterruptible msleep trace_selftest_startup_branch register_tracer init_annotated_branch_stats init_branch_tracer loglevel retint_restore_args start_kernel gs_change]
except for the below trace, which appears only in qemu (while the
others show up in various test boxes in both kvm/qemu):
[check_flags lock_acquire _raw_write_lock_bh neigh_periodic_work return_to_handler neigh_periodic_work ftrace_graph_caller process_one_work __neigh_for_each_release ftrace_graph_caller worker_thread rescuer_thread kthread retint_restore_args __init_kthread_worker gs_change]
[ 97.976553] ------------[ cut here ]------------
[ 97.976553] WARNING: at ../../../src/tip/kernel/lockdep.c:3493 check_flags+0xbb/0x1c0()
[ 97.976553] Hardware name: Bochs
[ 97.976553] Modules linked in:
[ 97.976553] Pid: 13, comm: kworker/0:1 Not tainted 3.6.0-rc2-00070-g4400217 #100
[ 97.976553] Call Trace:
[ 97.976553] [<ffffffff810512d4>] warn_slowpath_common+0xc4/0xf0
[ 97.976553] [<ffffffff8105131a>] warn_slowpath_null+0x1a/0x20
[ 97.976553] [<ffffffff810b8ceb>] check_flags+0xbb/0x1c0
[ 97.976553] [<ffffffff810bc9e5>] lock_acquire+0x65/0x220
[ 97.976553] [<ffffffff814a6266>] ? _raw_write_lock_bh+0x16/0x60
[ 97.976553] [<ffffffff814a6295>] _raw_write_lock_bh+0x45/0x60
[ 97.976553] [<ffffffff813b5fe6>] ? neigh_periodic_work+0x226/0x3f0
[ 97.976553] [<ffffffff814b39f6>] ? return_to_handler+0x15/0x2f
[ 97.976553] [<ffffffff813b5fe6>] neigh_periodic_work+0x226/0x3f0
[ 97.976553] [<ffffffff814b39e1>] ftrace_graph_caller+0x71/0x71
[ 97.976553] [<ffffffff81082b18>] process_one_work+0x358/0x7b0
[ 97.976553] [<ffffffff81082a46>] ? process_one_work+0x286/0x7b0
[ 97.976553] [<ffffffff813b5dc0>] ? __neigh_for_each_release+0x280/0x280
[ 97.976553] [<ffffffff814b39e1>] ftrace_graph_caller+0x71/0x71
[ 97.976553] [<ffffffff81083580>] worker_thread+0x390/0x5b0
[ 97.976553] [<ffffffff810831f0>] ? rescuer_thread+0x240/0x240
[ 97.976553] [<ffffffff810831f0>] ? rescuer_thread+0x240/0x240
[ 97.976553] [<ffffffff8108b225>] kthread+0xa5/0xb0
[ 97.976553] [<ffffffff814b4a44>] kernel_thread_helper+0x4/0x10
[ 97.976553] [<ffffffff814a736c>] ? retint_restore_args+0x13/0x13
[ 97.976553] [<ffffffff8108b180>] ? __init_kthread_worker+0x70/0x70
[ 97.976553] [<ffffffff814b4a40>] ? gs_change+0x13/0x13
Thanks,
Fengguang
View attachment "dmesg-kvm-tyan-9558-2012-09-22-00-59-43-3.6.0-rc2-00070-g4400217-100" of type "text/plain" (32156 bytes)
View attachment "config-3.6.0-rc2-00070-g4400217" of type "text/plain" (63619 bytes)
Powered by blists - more mailing lists