Bug 10697 - [ INFO: possible recursive locking detected ]
Summary: [ INFO: possible recursive locking detected ]
Status: CLOSED OBSOLETE
Alias: None
Product: Alternate Trees
Classification: Unclassified
Component: mm (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Andrew Morton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 12:00 UTC by Plamen Petrov
Modified: 2012-05-21 15:24 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.26-rc2-mm1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
used kernel config (46.13 KB, text/plain)
2008-05-14 12:01 UTC, Plamen Petrov
Details
full dmesg output (52.97 KB, text/plain)
2008-05-14 12:03 UTC, Plamen Petrov
Details

Description Plamen Petrov 2008-05-14 12:00:44 UTC
[42949378.090946]
[42949378.090946] =============================================
[42949378.090946] [ INFO: possible recursive locking detected ]
[42949378.090946] 2.6.26-rc2-mm1 #1
[42949378.090946] ---------------------------------------------
[42949378.090946] swapper/1 is trying to acquire lock:
[42949378.090946]  (&cls->mutex){--..}, at: [<ffffffff804d3b73>] device_add+0x423/0x4f0
[42949378.090946]
[42949378.090946] but task is already holding lock:
[42949378.090946]  (&cls->mutex){--..}, at: [<ffffffff804d3b73>] device_add+0x423/0x4f0
[42949378.090946]
[42949378.090946] other info that might help us debug this:
[42949378.090946] 2 locks held by swapper/1:
[42949378.090946]  #0:  (&shost->scan_mutex){--..}, at: [<ffffffff80504cd5>] __scsi_add_device+0xa5/0x110
[42949378.090946]  #1:  (&cls->mutex){--..}, at: [<ffffffff804d3b73>] device_add+0x423/0x4f0
[42949378.090946]
[42949378.090946] stack backtrace:
[42949378.090946] Pid: 1, comm: swapper Not tainted 2.6.26-rc2-mm1 #1
[42949378.090946]
[42949378.090946] Call Trace:
[42949378.090946]  [<ffffffff802653a7>] __lock_acquire+0xce7/0x10c0
[42949378.090946]  [<ffffffff804d3b73>] ? device_add+0x423/0x4f0
[42949378.090946]  [<ffffffff8026581c>] lock_acquire+0x9c/0xd0
[42949378.090946]  [<ffffffff804d3b73>] ? device_add+0x423/0x4f0
[42949378.090946]  [<ffffffff8071c80a>] mutex_lock_nested+0xaa/0x300
[42949378.090946]  [<ffffffff804d3b73>] ? device_add+0x423/0x4f0
[42949378.090946]  [<ffffffff8071e910>] ? _spin_unlock+0x30/0x60
[42949378.090946]  [<ffffffff804d3b73>] device_add+0x423/0x4f0
[42949378.090946]  [<ffffffff804d33e3>] ? device_initialize+0x103/0x130
[42949378.090946]  [<ffffffff804d3c59>] device_register+0x19/0x20
[42949378.090946]  [<ffffffff804d3d47>] device_create+0xe7/0x120
[42949378.090946]  [<ffffffff80264176>] ? trace_hardirqs_on_caller+0xd6/0x160
[42949378.090946]  [<ffffffff8026420d>] ? trace_hardirqs_on+0xd/0x10
[42949378.090946]  [<ffffffff8071c759>] ? mutex_unlock+0x9/0x10
[42949378.090946]  [<ffffffff804d7b3f>] ? kobj_map+0x16f/0x180
[42949378.090946]  [<ffffffff802aaf20>] ? exact_lock+0x0/0x20
[42949378.090946]  [<ffffffff802aad60>] ? exact_match+0x0/0x10
[42949378.090946]  [<ffffffff8050f7dc>] sg_add+0x14c/0x3f0
[42949378.090946]  [<ffffffff8071e910>] ? _spin_unlock+0x30/0x60
[42949378.090946]  [<ffffffff804d3bc2>] device_add+0x472/0x4f0
[42949378.090946]  [<ffffffff8071c759>] ? mutex_unlock+0x9/0x10
[42949378.090946]  [<ffffffff804fb7eb>] ? scsi_adjust_queue_depth+0x8b/0x100
[42949378.090946]  [<ffffffff805061c3>] scsi_sysfs_add_sdev+0x83/0x2e0
[42949378.090946]  [<ffffffff8050405d>] scsi_probe_and_add_lun+0xa4d/0xa60
[42949378.090946]  [<ffffffff80504d2f>] __scsi_add_device+0xff/0x110
[42949378.090946]  [<ffffffff8026420d>] ? trace_hardirqs_on+0xd/0x10
[42949378.090946]  [<ffffffff8051a1fc>] ata_scsi_scan_host+0x11c/0x1c0
[42949378.090946]  [<ffffffff80254fd0>] ? autoremove_wake_function+0x0/0x40
[42949378.090946]  [<ffffffff80516ef2>] ata_host_register+0x242/0x2b0
[42949378.090946]  [<ffffffff80525450>] ? ahci_interrupt+0x0/0x4a0
[42949378.090946]  [<ffffffff80517004>] ata_host_activate+0xa4/0x110
[42949378.090946]  [<ffffffff805251ea>] ahci_init_one+0x82a/0xa60
[42949378.090946]  [<ffffffff80479ac9>] pci_device_probe+0x79/0xa0
[42949378.090946]  [<ffffffff804d5e6b>] driver_probe_device+0x9b/0x1a0
[42949378.090946]  [<ffffffff804d5ff6>] __driver_attach+0x86/0x90
[42949378.090946]  [<ffffffff804d5f70>] ? __driver_attach+0x0/0x90
[42949378.090946]  [<ffffffff804d53dd>] bus_for_each_dev+0x5d/0x90
[42949378.090946]  [<ffffffff804d5cac>] driver_attach+0x1c/0x20
[42949378.090946]  [<ffffffff804d5a0e>] bus_add_driver+0x1de/0x240
[42949378.090946]  [<ffffffff804d61cf>] driver_register+0x5f/0x140
[42949378.090946]  [<ffffffff80479d6a>] __pci_register_driver+0x7a/0xc0
[42949378.090946]  [<ffffffff809e9269>] ahci_init+0x19/0x20
[42949378.090946]  [<ffffffff809c9a54>] kernel_init+0x154/0x3d0
[42949378.090946]  [<ffffffff80264200>] ? trace_hardirqs_on+0x0/0x10
[42949378.090946]  [<ffffffff8071eab6>] ? _spin_unlock_irq+0x36/0x60
[42949378.090946]  [<ffffffff8071de2a>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[42949378.090946]  [<ffffffff80264176>] ? trace_hardirqs_on_caller+0xd6/0x160
[42949378.090946]  [<ffffffff8020c638>] child_rip+0xa/0x12
[42949378.090946]  [<ffffffff8020bd23>] ? restore_args+0x0/0x30
[42949378.090946]  [<ffffffff809c9900>] ? kernel_init+0x0/0x3d0
[42949378.090946]  [<ffffffff8020c62e>] ? child_rip+0x0/0x12
[42949378.090946]
Comment 1 Plamen Petrov 2008-05-14 12:01:47 UTC
Created attachment 16147 [details]
used kernel config
Comment 2 Plamen Petrov 2008-05-14 12:03:41 UTC
Created attachment 16148 [details]
full dmesg output

Note You need to log in before you can comment on or make changes to this bug.