Project

General

Profile

Bug #162 » lock.log

Antonio Quartulli, 08/27/2012 09:28 AM

 
1
[  138.154379] =============================================
2
[  138.160347] [ INFO: possible recursive locking detected ]
3
[  138.160347] 3.6.0-rc2-00763-ge6acb38 #15 Tainted: G           O
4
[  138.160347] ---------------------------------------------
5
[  138.160347] swapper/0/0 is trying to acquire lock:
6
[  138.160347]  (_xmit_ETHER#2){+.-...}, at: [<c12f5772>] sch_direct_xmit+0x82/0x230
7
[  138.160347] 
8
[  138.160347] but task is already holding lock:
9
[  138.160347]  (_xmit_ETHER#2){+.-...}, at: [<c12dbc82>] dev_queue_xmit+0x8d2/0xb90
10
[  138.160347] 
11
[  138.160347] other info that might help us debug this:
12
[  138.160347]  Possible unsafe locking scenario:
13
[  138.160347] 
14
[  138.160347]        CPU0
15
[  138.160347]        ----
16
[  138.160347]   lock(_xmit_ETHER#2);
17
[  138.160347]   lock(_xmit_ETHER#2);
18
[  138.160347] 
19
[  138.160347]  *** DEADLOCK ***
20
[  138.160347] 
21
[  138.160347]  May be due to missing lock nesting notation
22
[  138.160347] 
23
[  138.160347] 7 locks held by swapper/0/0:
24
[  138.160347]  #0:  (rcu_read_lock){.+.+..}, at: [<c12d88df>] __netif_receive_skb+0x2f/0x7b0
25
[  138.160347]  #1:  (rcu_read_lock){.+.+..}, at: [<c12d88df>] __netif_receive_skb+0x2f/0x7b0
26
[  138.160347]  #2:  (rcu_read_lock_bh){.+....}, at: [<c12db3b0>] dev_queue_xmit+0x0/0xb90
27
[  138.160347]  #3:  (rcu_read_lock){.+.+..}, at: [<c1397110>] br_dev_xmit+0x0/0x1e0
28
[  138.160347]  #4:  (rcu_read_lock_bh){.+....}, at: [<c12db3b0>] dev_queue_xmit+0x0/0xb90
29
[  138.160347]  #5:  (_xmit_ETHER#2){+.-...}, at: [<c12dbc82>] dev_queue_xmit+0x8d2/0xb90
30
[  138.160347]  #6:  (rcu_read_lock_bh){.+....}, at: [<c12db3b0>] dev_queue_xmit+0x0/0xb90
31
[  138.160347] 
32
[  138.160347] stack backtrace:
33
[  138.160347] Pid: 0, comm: swapper/0 Tainted: G           O 3.6.0-rc2-00763-ge6acb38 #15
34
[  138.160347] Call Trace:
35
[  138.160347]  [<c10858b7>] __lock_acquire+0x1287/0x18d0
36
[  138.160347]  [<c1086530>] lock_acquire+0x80/0x1a0
37
[  138.160347]  [<c12f5772>] ? sch_direct_xmit+0x82/0x230
38
[  138.160347]  [<c13bb6b5>] _raw_spin_lock+0x45/0x80
39
[  138.160347]  [<c12f5772>] ? sch_direct_xmit+0x82/0x230
40
[  138.160347]  [<c12f5772>] sch_direct_xmit+0x82/0x230
41
[  138.160347]  [<c13bb6db>] ? _raw_spin_lock+0x6b/0x80
42
[  138.160347]  [<c12db544>] dev_queue_xmit+0x194/0xb90
43
[  138.160347]  [<c12db3b0>] ? dev_hard_start_xmit+0x960/0x960
44
[  138.160347]  [<d081bb5d>] batadv_send_skb_packet+0xbd/0xe0 [batman_adv]
45
[  138.160347]  [<d082003d>] ? batadv_tt_global_hash_find.clone.2+0xd/0x10 [batman_adv]
46
[  138.160347]  [<d0824f11>] batadv_unicast_send_skb+0xd1/0x150 [batman_adv]
47
[  138.160347]  [<d081d482>] batadv_interface_tx+0x392/0x4b0 [batman_adv]
48
[  138.160347]  [<c12dae67>] dev_hard_start_xmit+0x417/0x960
49
[  138.160347]  [<c12dbc82>] ? dev_queue_xmit+0x8d2/0xb90
50
[  138.160347]  [<c13bb6db>] ? _raw_spin_lock+0x6b/0x80
51
[  138.160347]  [<c12dba0f>] dev_queue_xmit+0x65f/0xb90
52
[  138.160347]  [<c12db3b0>] ? dev_hard_start_xmit+0x960/0x960
53
[  138.160347]  [<c1398f29>] br_dev_queue_push_xmit+0x49/0x60
54
[  138.160347]  [<c1399023>] br_deliver+0x43/0x50
55
[  138.160347]  [<c1397204>] br_dev_xmit+0xf4/0x1e0
56
[  138.160347]  [<c1397110>] ? br_dev_free+0x20/0x20
57
[  138.160347]  [<c12dae67>] dev_hard_start_xmit+0x417/0x960
58
[  138.160347]  [<c12db3b0>] ? dev_hard_start_xmit+0x960/0x960
59
[  138.160347]  [<c10b36a7>] ? rcu_is_cpu_idle+0x37/0x60
60
[  138.160347]  [<c12dba0f>] dev_queue_xmit+0x65f/0xb90
61
[  138.160347]  [<c12db3b0>] ? dev_hard_start_xmit+0x960/0x960
62
[  138.160347]  [<c133024d>] arp_xmit+0xd/0x10
63
[  138.160347]  [<c1330455>] arp_send+0x55/0x60
64
[  138.160347]  [<c1330e1c>] arp_process+0x5bc/0x700
65
[  138.160347]  [<c1331027>] arp_rcv+0xb7/0xf0
66
[  138.160347]  [<c12d8f7f>] __netif_receive_skb+0x6cf/0x7b0
67
[  138.160347]  [<c12d88df>] ? __netif_receive_skb+0x2f/0x7b0
68
[  138.160347]  [<c1398a43>] ? deliver_clone+0x33/0x60
69
[  138.160347]  [<c12d91ef>] netif_receive_skb+0x1f/0x1c0
70
[  138.160347]  [<c1399ce0>] br_handle_frame_finish+0x200/0x2b0
71
[  138.160347]  [<c1399ee3>] br_handle_frame+0x153/0x320
72
[  138.160347]  [<c1399d90>] ? br_handle_frame_finish+0x2b0/0x2b0
73
[  138.160347]  [<c12d8b00>] __netif_receive_skb+0x250/0x7b0
74
[  138.160347]  [<c12d88df>] ? __netif_receive_skb+0x2f/0x7b0
75
[  138.160347]  [<c12d9109>] process_backlog+0xa9/0x170
76
[  138.160347]  [<c12d98f0>] net_rx_action+0xc0/0x240
77
[  138.160347]  [<c10399c2>] __do_softirq+0xa2/0x340
78
[  138.160347]  [<c1039920>] ? local_bh_enable_ip+0x100/0x100
79
[  138.160347]  <IRQ>  [<c1039f06>] ? irq_exit+0x86/0xb0
80
[  138.160347]  [<c13c32cb>] ? do_IRQ+0x4b/0xb0
81
[  138.160347]  [<c13c31d5>] ? common_interrupt+0x35/0x3c
82
[  138.160347]  [<c10800e0>] ? debug_mutex_wake_waiter+0x10/0x110
83
[  138.160347]  [<c1026375>] ? native_safe_halt+0x5/0x10
84
[  138.160347]  [<c1009a5b>] ? default_idle+0x4b/0x4c0
85
[  138.160347]  [<c100a7df>] ? cpu_idle+0xbf/0x100
86
[  138.160347]  [<c13b0b28>] ? rest_init+0xd8/0x140
87
[  138.160347]  [<c13b0a50>] ? __read_lock_failed+0x18/0x18
88
[  138.160347]  [<c156392c>] ? start_kernel+0x30e/0x315
89
[  138.160347]  [<c15633e3>] ? repair_env_string+0x51/0x51
90
[  138.160347]  [<c156328e>] ? i386_start_kernel+0x44/0x46
91

    
(3-3/3)