MHVTL kernel module and lockdep

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

MHVTL kernel module and lockdep

Bart Van Assche
Hello,

Has anyone been trying to load the mhvtl kernel module on a kernel built with lockdep enabled ? This is the output I got:

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Pid: 3626, comm: vtltape Not tainted 2.6.38.7-scst-debug #1
Call Trace:
[<ffffffff8108bc76>] ? __lock_acquire+0xa16/0x1ce0
[<ffffffff813f2465>] ? _raw_spin_lock_irqsave+0x25/0x90
[<ffffffff811242e4>] ? check_object+0xb4/0x270
[<ffffffff8112347b>] ? init_object+0x4b/0x90
[<ffffffff8108d555>] ? lock_acquire+0x85/0x130
[<ffffffffa02ff88f>] ? q_cmd+0x6f/0x410 [mhvtl]
[<ffffffff813f2465>] ? _raw_spin_lock_irqsave+0x25/0x90
[<ffffffff812ad9f0>] ? scsi_done+0x0/0x90
[<ffffffff813f2492>] ? _raw_spin_lock_irqsave+0x52/0x90
[<ffffffffa02ff88f>] ? q_cmd+0x6f/0x410 [mhvtl]
[<ffffffff812ad9f0>] ? scsi_done+0x0/0x90
[<ffffffff812ad9f0>] ? scsi_done+0x0/0x90
[<ffffffffa02ff88f>] ? q_cmd+0x6f/0x410 [mhvtl]
[<ffffffff812ad9f0>] ? scsi_done+0x0/0x90
[<ffffffff813ee73e>] ? printk+0x41/0x43
[<ffffffffa02ffd56>] ? vtl_queuecommand+0x36/0x3c0 [mhvtl]
[<ffffffff812ad9f0>] ? scsi_done+0x0/0x90
[<ffffffffa02ffe3a>] ? vtl_queuecommand+0x11a/0x3c0 [mhvtl]
[<ffffffff81087ef9>] ? trace_hardirqs_off_caller+0x29/0xc0
[<ffffffff8108de8b>] ? mark_held_locks+0x6b/0xa0
[<ffffffff813f2f50>] ? _raw_spin_unlock_irq+0x30/0x60
[<ffffffff812ae1ae>] ? scsi_dispatch_cmd+0x13e/0x340
[<ffffffff812b5077>] ? scsi_request_fn+0x3b7/0x4b0
[<ffffffff811c471a>] ? __generic_unplug_device+0x3a/0x50
[<ffffffff811c9288>] ? blk_execute_rq_nowait+0x68/0xb0
[<ffffffff811c93ed>] ? blk_execute_rq+0x11d/0x1b0
[<ffffffff811266d8>] ? __kmalloc+0xa8/0x1c0
[<ffffffff8108e00d>] ? trace_hardirqs_on_caller+0x14d/0x190
[<ffffffff8108e05d>] ? trace_hardirqs_on+0xd/0x10
[<ffffffff812b4b8c>] ? scsi_execute+0xfc/0x160
[<ffffffff812b535f>] ? scsi_execute_req+0xbf/0x130
[<ffffffff812b7114>] ? scsi_probe_and_add_lun+0x234/0xc80
[<ffffffff8108de8b>] ? mark_held_locks+0x6b/0xa0
[<ffffffff813f01b9>] ? mutex_lock_nested+0x299/0x3c0
[<ffffffff812b8989>] ? __scsi_add_device+0xa9/0x110
[<ffffffff8108de8b>] ? mark_held_locks+0x6b/0xa0
[<ffffffff812b89ea>] ? __scsi_add_device+0x10a/0x110
[<ffffffffa02fe472>] ? vtl_add_lu_action+0x222/0x3c0 [mhvtl]
[<ffffffff8100ba19>] ? native_sched_clock+0x29/0x80
[<ffffffff8107d4cf>] ? local_clock+0x4f/0x60
[<ffffffff81087ef9>] ? trace_hardirqs_off_caller+0x29/0xc0
[<ffffffff8108b687>] ? __lock_acquire+0x427/0x1ce0
[<ffffffff81049c19>] ? sub_preempt_count+0xa9/0xe0
[<ffffffff81087fee>] ? put_lock_stats.clone.14+0xe/0x40
[<ffffffff8108d24f>] ? lock_release_non_nested+0x30f/0x350
[<ffffffff8108de8b>] ? mark_held_locks+0x6b/0xa0
[<ffffffff813f01b9>] ? mutex_lock_nested+0x299/0x3c0
[<ffffffff8119471d>] ? sysfs_write_file+0xcd/0x170
[<ffffffff8129ed7c>] ? drv_attr_store+0x2c/0x30
[<ffffffff81194736>] ? sysfs_write_file+0xe6/0x170
[<ffffffff8112d04e>] ? vfs_write+0xce/0x170
[<ffffffff8112d354>] ? sys_write+0x54/0xa0
[<ffffffff81002f2b>] ? system_call_fastpath+0x16/0x1b
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL kernel module and lockdep

Mark Harvey
Thanks (I think )

Now to attempt to grok it...

Any tips on what it's trying to tell me.

Cheers
Mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL kernel module and lockdep

crippa.andrea
In reply to this post by Bart Van Assche
Bart Van Assche wrote
Hello,

Has anyone been trying to load the mhvtl kernel module on a kernel built with lockdep enabled ? This is the output I got:
Hello,
how t do some test ?

My kernel have CONFIG_LOCKDEP_SUPPORT=y , is this that you mean ?

Crippa Andrea
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL kernel module and lockdep

Bart Van Assche
On Wed, Jul 6, 2011 at 12:31 PM, crippa.andrea [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
Bart Van Assche wrote:
Hello,

Has anyone been trying to load the mhvtl kernel module on a kernel built with lockdep enabled ? This is the output I got:
Hello,
how t do some test ?

My kernel have CONFIG_LOCKDEP_SUPPORT=y , is this that you mean ?

I was referring to CONFIG_PROVE_LOCKING=y.

Bart.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL kernel module and lockdep

Bart Van Assche
In reply to this post by Mark Harvey
On Tue, Jul 5, 2011 at 11:45 PM, Mark Harvey [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
Thanks (I think )

Now to attempt to grok it...

Any tips on what it's trying to tell me.

Is the result of a grep for STATIC_LOCKDEP_MAP_INIT through the Linux kernel tree sufficient information for you to fix this ?

Bart.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL kernel module and lockdep

Mark Harvey
I shall see what a grep -R STATIC_LOCKDEP_MAP_INIT gives me..

I'm away from a real computer for a week or so (working on retaining wall at home)

I'll visit it all early next week,

Thanks

Sent from my iPad

On Jul 6, 2011, at 20:52, "Bart Van Assche [via MHVTL - Linux Virtual Tape Library - CommunityForums]" <[hidden email]> wrote:

On Tue, Jul 5, 2011 at 11:45 PM, Mark Harvey [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
Thanks (I think )

Now to attempt to grok it...

Any tips on what it's trying to tell me.

Is the result of a grep for STATIC_LOCKDEP_MAP_INIT through the Linux kernel tree sufficient information for you to fix this ?

Bart.



To start a new topic under MHVTL - Linux Virtual Tape Library - Community Forums, email [hidden email]
To unsubscribe from MHVTL - Linux Virtual Tape Library - Community Forums, click here.
Loading...