Skip to contentSkip to conversation

next-20140428 (regression: DEADLOCK)

DISCUSSION Nishanth Menon 2 participants 2 messages Apr 28, 2014

lore
Share & tools
lore
#0 lore raw

omap2plus_defconfig shows for the following platform deadlock with console_lock.

 1: am335x-evm:  Boot PASS: http://slexy.org/raw/s2biDSRTAP
 2:  am335x-sk:  Boot PASS: http://slexy.org/raw/s20deZjf34
 3: am3517-evm:  Boot PASS: http://slexy.org/raw/s21NM1bLxs
 4:  am37x-evm:  Boot PASS: http://slexy.org/raw/s2022AFyZ6
 5: am43xx-epos:  Boot PASS: http://slexy.org/raw/s21Dq284CM
 6: BeagleBoard-XM:  Boot PASS: http://slexy.org/raw/s2aK24U5ON
 7: beagleboard-vanilla:  Boot PASS: http://slexy.org/raw/s21j15I8kK
 8: beaglebone-black:  Boot PASS: http://slexy.org/raw/s21jO02jIK
 9: craneboard:  Boot PASS: http://slexy.org/raw/s22JGqMSfY
10: DRA7xx-EVM:  Boot PASS: http://slexy.org/raw/s260y1Opd1
11:       n900:  Boot PASS: http://slexy.org/raw/s20IDKmJ6L
12: pandaboard-vanilla:  Boot PASS: http://slexy.org/raw/s2dJcyep9A
13:    sdp2430:  Boot PASS: http://slexy.org/raw/s20Oldnm8I
14:    sdp3430:  Boot PASS: http://slexy.org/raw/s2Mo7s3ttZ

15: OMAP5432uEVM: Boot PASS: http://slexy.org/raw/s2qXj7HFTJ

=============================================
[ INFO: possible recursive locking detected ] 3.15.0-rc2-next-20140428-00002-gd0ca5e6 #1 Not tainted
---------------------------------------------
swapper/0/0 is trying to acquire lock:
(console_lock){+.+...}, at: [<c07d1124>] con_init+0xc/0x28c

but task is already holding lock:
(console_lock){+.+...}, at: [<c008c224>] vprintk_emit+0x200/0x590

other info that might help us debug this:

  Possible unsafe locking scenario:
        CPU0
        ----

lock(console_lock);
lock(console_lock);

*** DEADLOCK ***

May be due to missing lock nesting notation

1 lock held by swapper/0/0:
#0: (console_lock){+.+...}, at: [<c008c224>] vprintk_emit+0x200/0x590

Signature · 2 lines
Regards,
Nishanth Menon
#1 lore raw
Quoted 38 lines · Nishanth Menon

omap2plus_defconfig shows for the following platform deadlock with console_lock.

 1: am335x-evm:  Boot PASS: http://slexy.org/raw/s2biDSRTAP
 2:  am335x-sk:  Boot PASS: http://slexy.org/raw/s20deZjf34
 3: am3517-evm:  Boot PASS: http://slexy.org/raw/s21NM1bLxs
 4:  am37x-evm:  Boot PASS: http://slexy.org/raw/s2022AFyZ6
 5: am43xx-epos:  Boot PASS: http://slexy.org/raw/s21Dq284CM
 6: BeagleBoard-XM:  Boot PASS: http://slexy.org/raw/s2aK24U5ON
 7: beagleboard-vanilla:  Boot PASS: http://slexy.org/raw/s21j15I8kK
 8: beaglebone-black:  Boot PASS: http://slexy.org/raw/s21jO02jIK
 9: craneboard:  Boot PASS: http://slexy.org/raw/s22JGqMSfY
10: DRA7xx-EVM:  Boot PASS: http://slexy.org/raw/s260y1Opd1
11:       n900:  Boot PASS: http://slexy.org/raw/s20IDKmJ6L
12: pandaboard-vanilla:  Boot PASS: http://slexy.org/raw/s2dJcyep9A
13:    sdp2430:  Boot PASS: http://slexy.org/raw/s20Oldnm8I
14:    sdp3430:  Boot PASS: http://slexy.org/raw/s2Mo7s3ttZ

15: OMAP5432uEVM: Boot PASS: http://slexy.org/raw/s2qXj7HFTJ

=============================================
[ INFO: possible recursive locking detected ] 3.15.0-rc2-next-20140428-00002-gd0ca5e6 #1 Not tainted
---------------------------------------------
swapper/0/0 is trying to acquire lock:
(console_lock){+.+...}, at: [<c07d1124>] con_init+0xc/0x28c

but task is already holding lock:
(console_lock){+.+...}, at: [<c008c224>] vprintk_emit+0x200/0x590

other info that might help us debug this:

  Possible unsafe locking scenario:
        CPU0
        ----
   lock(console_lock);
   lock(console_lock);
Quoted 6 lines

*** DEADLOCK ***

May be due to missing lock nesting notation

1 lock held by swapper/0/0:
#0: (console_lock){+.+...}, at: [<c008c224>] vprintk_emit+0x200/0x590

someone already found the culprit:

http://marc.info/?l=linux-kernel&m=139870299331959

cheers

Signature · 1 line
balbi