From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: lockdep warning in qla2xxx Date: Tue, 6 May 2008 12:23:41 -0600 Message-ID: <20080506182341.GN19219@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:46959 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752024AbYEFSXx (ORCPT ); Tue, 6 May 2008 14:23:53 -0400 Content-Disposition: inline Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org I'm in the middle of chasing something else right now, so I don't want to spend any time on this: ================================= [ INFO: inconsistent lock state ] 2.6.26-rc1-00115-g0340eda-dirty #60 --------------------------------- inconsistent {hardirq-on-W} -> {in-hardirq-W} usage. swapper/1 [HC1[1]:SC0[0]:HE0:SE1] takes: (&ha->hardware_lock){+-..}, at: [] qla2300_intr_handler+0x35/0x1f5 {hardirq-on-W} state was registered at: [] __lock_acquire+0x459/0xb1d [] __lock_acquire+0xad4/0xb1d [] lock_acquire+0x68/0x82 [] qla2300_intr_handler+0x35/0x1f5 [] _spin_lock+0x24/0x4d [] qla2300_intr_handler+0x35/0x1f5 [] qla2300_intr_handler+0x35/0x1f5 [] trace_hardirqs_on+0xe7/0x10e [] qla2x00_mailbox_command+0x1c6/0x433 [] qla2x00_mbx_reg_test+0x62/0xf2 [] _spin_unlock_irqrestore+0x34/0x57 [] trace_hardirqs_on+0xe7/0x10e [] _read_unlock+0x10/0x3a [] qla2x00_chip_diag+0x240/0x2c3 [] qla2x00_initialize_adapter+0x1cb/0x2e1 [] qla2x00_probe_one+0xc05/0xf22 [] pci_match_device+0x7b/0x9b [] pci_match_device+0x7b/0x9b [] __driver_attach+0x0/0x5b [] pci_device_probe+0x36/0x57 [] driver_probe_device+0xb5/0x12c [] __driver_attach+0x3a/0x5b [] bus_for_each_dev+0x3a/0x5c [] driver_attach+0x11/0x13 [] __driver_attach+0x0/0x5b [] bus_add_driver+0x90/0x1b1 [] kset_find_obj+0x4f/0x56 [] driver_register+0x6d/0xc1 [] __spin_lock_init+0x21/0x41 [] __pci_register_driver+0x3d/0x69 [] qla2x00_module_init+0xc8/0xf1 [] kernel_init+0x122/0x22c [] trace_hardirqs_on+0xe7/0x10e [] restore_nocheck+0x12/0x15 [] kernel_init+0x0/0x22c [] kernel_init+0x0/0x22c [] kernel_thread_helper+0x7/0x10 [] 0xffffffff irq event stamp: 479336 hardirqs last enabled at (479335): [] _spin_unlock_irq+0x20/0x40 hardirqs last disabled at (479336): [] common_interrupt+0x24/0x34 softirqs last enabled at (479332): [] do_softirq+0x36/0x51 softirqs last disabled at (479325): [] do_softirq+0x36/0x51 other info that might help us debug this: no locks held by swapper/1. stack backtrace: Pid: 1, comm: swapper Not tainted 2.6.26-rc1-00115-g0340eda-dirty #60 [] print_usage_bug+0x100/0x10a [] mark_lock+0xaa/0x395 [] __lock_acquire+0x3f2/0xb1d [] __lock_acquire+0xad4/0xb1d [] lock_acquire+0x68/0x82 [] qla2300_intr_handler+0x35/0x1f5 [] _spin_lock+0x24/0x4d [] qla2300_intr_handler+0x35/0x1f5 [] qla2300_intr_handler+0x35/0x1f5 [] handle_IRQ_event+0x13/0x3d [] handle_fasteoi_irq+0x76/0xab [] do_IRQ+0x4f/0x68 [] common_interrupt+0x2e/0x34 [] init_intel_cacheinfo+0x3cb/0x42b [] _spin_unlock_irq+0x26/0x40 [] finish_task_switch+0x3f/0x8c [] finish_task_switch+0x0/0x8c [] schedule+0x5c7/0x622 [] preempt_schedule+0x36/0x53 [] __delay+0x6/0x7 [] lpfc_sli_brdrestart+0x12a/0x13f [] lpfc_do_config_port+0x76/0x351 [] sysfs_find_dirent+0x13/0x23 [] lpfc_sli_hba_setup+0x99/0x44b [] sysfs_add_file+0xb/0xe [] lpfc_pci_probe_one+0x6bc/0x8ce [] __driver_attach+0x0/0x5b [] pci_device_probe+0x36/0x57 [] driver_probe_device+0xb5/0x12c [] __driver_attach+0x3a/0x5b [] bus_for_each_dev+0x3a/0x5c [] driver_attach+0x11/0x13 [] __driver_attach+0x0/0x5b [] bus_add_driver+0x90/0x1b1 [] kset_find_obj+0x4f/0x56 [] driver_register+0x6d/0xc1 [] __spin_lock_init+0x21/0x41 [] __pci_register_driver+0x3d/0x69 [] lpfc_init+0x80/0x9e [] kernel_init+0x122/0x22c [] trace_hardirqs_on+0xe7/0x10e [] restore_nocheck+0x12/0x15 [] kernel_init+0x0/0x22c [] kernel_init+0x0/0x22c [] kernel_thread_helper+0x7/0x10 ======================= -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."