linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux 2.6.29-rc3 kernel failure with mptsas
@ 2009-02-05 22:29 Morten P.D. Stevens
  2009-02-06 17:39 ` Bill Davidsen
  2009-02-06 23:50 ` Andrew Morton
  0 siblings, 2 replies; 7+ messages in thread
From: Morten P.D. Stevens @ 2009-02-05 22:29 UTC (permalink / raw)
  To: linux-kernel

Hi,

I get a kernel failure with linux 2.6.29-rc3 on my Dell T7400
Workstation.

failure message:

WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400  
Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
scsi_transport_sas
Pid: 35, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.66.rc3.fc11.x86_64 #1
Call Trace:
[<ffffffff8104a5c1>] warn_slowpath+0xb9/0xfe
[<ffffffff813806d9>] ? printk+0x3c/0x43
[<ffffffff8119b5fb>] __debug_object_init+0x2a8/0x353
[<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
[<ffffffff8119b6d3>] debug_object_init+0x14/0x19
[<ffffffff8105461f>] init_timer+0x18/0x5b
[<ffffffffa001122d>] mpt_config+0x1e4/0x305 [mptbase]
[<ffffffffa001017a>] ? pci_free_consistent+0x75/0x81 [mptbase]
[<ffffffffa0012f25>] mpt_do_ioc_recovery+0x142a/0x15e8 [mptbase]
[<ffffffff81046c95>] ? finish_task_switch+0x5f/0xf6
[<ffffffff81046c36>] ? finish_task_switch+0x0/0xf6
[<ffffffffa00132a5>] ? mpt_timer_expired+0x0/0x60 [mptbase]
[<ffffffff8101414a>] ? dump_trace+0x269/0x27b
[<ffffffff8101c12b>] ? save_stack_trace+0x2a/0x48
[<ffffffff8106c546>] ? save_trace+0x3f/0x95
[<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
[<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
[<ffffffff8106d529>] ? mark_held_locks+0x67/0x83
[<ffffffff81383395>] ? _spin_unlock_irqrestore+0x47/0x57
[<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
[<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
[<ffffffff81194602>] ? __up_read+0x7c/0x85
[<ffffffff810624ad>] ? up_read+0x26/0x2a
[<ffffffffa001480f>] mpt_attach+0xa1b/0xb80 [mptbase]
[<ffffffffa002f70a>] mptsas_probe+0x1a/0x487 [mptsas]
[<ffffffff811a491f>] local_pci_probe+0x12/0x16
[<ffffffff8105b0d7>] do_work_for_cpu+0x13/0x1b
[<ffffffff8105b268>] run_workqueue+0x103/0x20a
[<ffffffff8105b216>] ? run_workqueue+0xb1/0x20a
[<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
[<ffffffff8105b0c4>] ? do_work_for_cpu+0x0/0x1b
[<ffffffff8105b44f>] worker_thread+0xe0/0xf1
[<ffffffff8105f090>] ? autoremove_wake_function+0x0/0x38
[<ffffffff8105b36f>] ? worker_thread+0x0/0xf1
[<ffffffff8105ed18>] kthread+0x49/0x76
[<ffffffff8101262a>] child_rip+0xa/0x20
[<ffffffff81011f3e>] ? restore_args+0x0/0x30
[<ffffffff8105ecaa>] ? kthreadd+0x176/0x19b
[<ffffffff8105eccf>] ? kthread+0x0/0x76
[<ffffffff81012620>] ? child_rip+0x0/0x20
---[ end trace af29b8e50456f967 ]---


Kernel failure message 2:
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400  
Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
scsi_transport_sas
Pid: 35, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.66.rc3.fc11.x86_64 #1
Call Trace:
[<ffffffff8104a5c1>] warn_slowpath+0xb9/0xfe
[<ffffffff813806d9>] ? printk+0x3c/0x43
[<ffffffff8119b5fb>] __debug_object_init+0x2a8/0x353
[<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
[<ffffffff8119b6d3>] debug_object_init+0x14/0x19
[<ffffffff8105461f>] init_timer+0x18/0x5b
[<ffffffffa001122d>] mpt_config+0x1e4/0x305 [mptbase]
[<ffffffffa0012e57>] mpt_do_ioc_recovery+0x135c/0x15e8 [mptbase]
[<ffffffff81046c95>] ? finish_task_switch+0x5f/0xf6
[<ffffffff81046c36>] ? finish_task_switch+0x0/0xf6
[<ffffffff81195b1d>] ? string+0x3d/0xa1
[<ffffffff81195f66>] ? vsnprintf+0x3e5/0x930
[<ffffffff8101414a>] ? dump_trace+0x269/0x27b
[<ffffffff8101c12b>] ? save_stack_trace+0x2a/0x48
[<ffffffff8106c546>] ? save_trace+0x3f/0x95
[<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
[<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
[<ffffffff8106d529>] ? mark_held_locks+0x67/0x83
[<ffffffff81383395>] ? _spin_unlock_irqrestore+0x47/0x57
[<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
[<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
[<ffffffff81194602>] ? __up_read+0x7c/0x85
[<ffffffff810624ad>] ? up_read+0x26/0x2a
[<ffffffffa001480f>] mpt_attach+0xa1b/0xb80 [mptbase]
[<ffffffffa002f70a>] mptsas_probe+0x1a/0x487 [mptsas]
[<ffffffff811a491f>] local_pci_probe+0x12/0x16
[<ffffffff8105b0d7>] do_work_for_cpu+0x13/0x1b
[<ffffffff8105b268>] run_workqueue+0x103/0x20a
[<ffffffff8105b216>] ? run_workqueue+0xb1/0x20a
[<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
[<ffffffff8105b0c4>] ? do_work_for_cpu+0x0/0x1b
[<ffffffff8105b44f>] worker_thread+0xe0/0xf1
[<ffffffff8105f090>] ? autoremove_wake_function+0x0/0x38
[<ffffffff8105b36f>] ? worker_thread+0x0/0xf1
[<ffffffff8105ed18>] kthread+0x49/0x76
[<ffffffff8101262a>] child_rip+0xa/0x20
[<ffffffff81011f3e>] ? restore_args+0x0/0x30
[<ffffffff8105ecaa>] ? kthreadd+0x176/0x19b
[<ffffffff8105eccf>] ? kthread+0x0/0x76
[<ffffffff81012620>] ? child_rip+0x0/0x20
---[ end trace af29b8e50456f966 ]---


Kernel failure message 3:
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400  
Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
scsi_transport_sas
Pid: 35, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.66.rc3.fc11.x86_64 #1
Call Trace:


Kernel failure message 4:
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
(Not tainted)
Hardware name: Precision WorkStation T7400  
Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
scsi_transport_sas
Pid: 35, comm: work_on_cpu/0 Not tainted 2.6.29-0.66.rc3.fc11.x86_64 #1
Call Trace:

hardware info:

[root@localhost Desktop]# lspci
00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller
Hub (rev 20)
00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1
(rev 20)
00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5
(rev 20)
00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9
(rev 20)
00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev
20)
00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev
20)
00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev
20)
00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev
20)
00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev
20)
00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev
20)
00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev
20)
00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev
20)
00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev
20)
00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev
20)
00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition
Audio Controller (rev 09)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI
Express Root Port 1 (rev 09)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #3 (rev 09)
00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #4 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC
Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller
(rev 09)
00:1f.2 IDE interface: Intel Corporation 631xESB/632xESB/3100 Chipset
SATA IDE Controller (rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus
Controller (rev 09)
02:00.0 VGA compatible controller: nVidia Corporation Quadro FX 570 (rev
a1)
03:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Upstream Port (rev 01)
03:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to
PCI-X Bridge (rev 01)
04:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E1 (rev 01)
04:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E2 (rev 01)
05:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E
PCI-Express Fusion-MPT SAS (rev 08)
08:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754
Gigabit Ethernet PCI Express (rev 02)

Any ideas about the problem?


-

Morten





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux 2.6.29-rc3 kernel failure with mptsas
  2009-02-05 22:29 linux 2.6.29-rc3 kernel failure with mptsas Morten P.D. Stevens
@ 2009-02-06 17:39 ` Bill Davidsen
  2009-02-06 22:12   ` AW: " Morten P.D. Stevens
  2009-02-06 23:50 ` Andrew Morton
  1 sibling, 1 reply; 7+ messages in thread
From: Bill Davidsen @ 2009-02-06 17:39 UTC (permalink / raw)
  To: linux-kernel

Morten P.D. Stevens wrote:
> Hi,
> 
> I get a kernel failure with linux 2.6.29-rc3 on my Dell T7400
> Workstation.
> 
> failure message:
> 
> WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
> (Tainted: G        W )
> Hardware name: Precision WorkStation T7400  
> Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
> scsi_transport_sas
> Pid: 35, comm: work_on_cpu/0 Tainted: G        W
> 2.6.29-0.66.rc3.fc11.x86_64 #1

> 
> Any ideas about the problem?
> 
See what it does without the tainted kernel?

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


^ permalink raw reply	[flat|nested] 7+ messages in thread

* AW:  Re: linux 2.6.29-rc3 kernel failure with mptsas
  2009-02-06 17:39 ` Bill Davidsen
@ 2009-02-06 22:12   ` Morten P.D. Stevens
  0 siblings, 0 replies; 7+ messages in thread
From: Morten P.D. Stevens @ 2009-02-06 22:12 UTC (permalink / raw)
  To: linux-kernel

> See what it does without the tainted kernel?

Same problem without a tainted kernel. (2.6.29-rc3)

-----Ursprüngliche Nachricht-----
Von: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] Im Auftrag von Bill Davidsen
Gesendet: Freitag, 6. Februar 2009 18:39
An: linux-kernel@vger.kernel.org
Betreff: Re: linux 2.6.29-rc3 kernel failure with mptsas

Morten P.D. Stevens wrote:
> Hi,
> 
> I get a kernel failure with linux 2.6.29-rc3 on my Dell T7400
> Workstation.
> 
> failure message:
> 
> WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
> (Tainted: G        W )
> Hardware name: Precision WorkStation T7400  
> Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
> scsi_transport_sas
> Pid: 35, comm: work_on_cpu/0 Tainted: G        W
> 2.6.29-0.66.rc3.fc11.x86_64 #1

> 
> Any ideas about the problem?
> 
See what it does without the tainted kernel?

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux 2.6.29-rc3 kernel failure with mptsas
  2009-02-05 22:29 linux 2.6.29-rc3 kernel failure with mptsas Morten P.D. Stevens
  2009-02-06 17:39 ` Bill Davidsen
@ 2009-02-06 23:50 ` Andrew Morton
  2009-02-14 21:17   ` Morten P.D. Stevens
  1 sibling, 1 reply; 7+ messages in thread
From: Andrew Morton @ 2009-02-06 23:50 UTC (permalink / raw)
  To: Morten P.D. Stevens; +Cc: linux-kernel, linux-scsi

On Thu, 5 Feb 2009 23:29:10 +0100
"Morten P.D. Stevens" <mstevens@win-professional.com> wrote:

> Hi,
> 
> I get a kernel failure with linux 2.6.29-rc3 on my Dell T7400
> Workstation.
> 
> failure message:
> 
> WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
> (Tainted: G        W )
> Hardware name: Precision WorkStation T7400  
> Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
> scsi_transport_sas
> Pid: 35, comm: work_on_cpu/0 Tainted: G        W
> 2.6.29-0.66.rc3.fc11.x86_64 #1
> Call Trace:
> [<ffffffff8104a5c1>] warn_slowpath+0xb9/0xfe
> [<ffffffff813806d9>] ? printk+0x3c/0x43
> [<ffffffff8119b5fb>] __debug_object_init+0x2a8/0x353
> [<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
> [<ffffffff8119b6d3>] debug_object_init+0x14/0x19
> [<ffffffff8105461f>] init_timer+0x18/0x5b
> [<ffffffffa001122d>] mpt_config+0x1e4/0x305 [mptbase]
> [<ffffffffa001017a>] ? pci_free_consistent+0x75/0x81 [mptbase]
> [<ffffffffa0012f25>] mpt_do_ioc_recovery+0x142a/0x15e8 [mptbase]
> [<ffffffff81046c95>] ? finish_task_switch+0x5f/0xf6
> [<ffffffff81046c36>] ? finish_task_switch+0x0/0xf6
> [<ffffffffa00132a5>] ? mpt_timer_expired+0x0/0x60 [mptbase]
> [<ffffffff8101414a>] ? dump_trace+0x269/0x27b
> [<ffffffff8101c12b>] ? save_stack_trace+0x2a/0x48
> [<ffffffff8106c546>] ? save_trace+0x3f/0x95
> [<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
> [<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
> [<ffffffff8106d529>] ? mark_held_locks+0x67/0x83
> [<ffffffff81383395>] ? _spin_unlock_irqrestore+0x47/0x57
> [<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
> [<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
> [<ffffffff81194602>] ? __up_read+0x7c/0x85
> [<ffffffff810624ad>] ? up_read+0x26/0x2a
> [<ffffffffa001480f>] mpt_attach+0xa1b/0xb80 [mptbase]
> [<ffffffffa002f70a>] mptsas_probe+0x1a/0x487 [mptsas]
> [<ffffffff811a491f>] local_pci_probe+0x12/0x16
> [<ffffffff8105b0d7>] do_work_for_cpu+0x13/0x1b
> [<ffffffff8105b268>] run_workqueue+0x103/0x20a
> [<ffffffff8105b216>] ? run_workqueue+0xb1/0x20a
> [<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
> [<ffffffff8105b0c4>] ? do_work_for_cpu+0x0/0x1b
> [<ffffffff8105b44f>] worker_thread+0xe0/0xf1
> [<ffffffff8105f090>] ? autoremove_wake_function+0x0/0x38
> [<ffffffff8105b36f>] ? worker_thread+0x0/0xf1
> [<ffffffff8105ed18>] kthread+0x49/0x76
> [<ffffffff8101262a>] child_rip+0xa/0x20
> [<ffffffff81011f3e>] ? restore_args+0x0/0x30
> [<ffffffff8105ecaa>] ? kthreadd+0x176/0x19b
> [<ffffffff8105eccf>] ? kthread+0x0/0x76
> [<ffffffff81012620>] ? child_rip+0x0/0x20
> ---[ end trace af29b8e50456f967 ]---
> 
> 
> Kernel failure message 2:
> ODEBUG: object is on stack, but not annotated

This should fix it:

From: "Eric Paris" <eparis@parisplace.org>

ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x1f3/0x276()
Hardware name: VMware Virtual Platform
Modules linked in: mptspi(+) mptscsih mptbase scsi_transport_spi ext3 jbd mbcache
Pid: 540, comm: insmod Not tainted 2.6.28-mm1 #2
Call Trace:
 [<c042c51c>] warn_slowpath+0x74/0x8a
 [<c0469600>] ? start_critical_timing+0x96/0xb7
 [<c060c8ea>] ? _spin_unlock_irqrestore+0x2f/0x3c
 [<c0446fad>] ? trace_hardirqs_off_caller+0x18/0xaf
 [<c044704f>] ? trace_hardirqs_off+0xb/0xd
 [<c060c8ea>] ? _spin_unlock_irqrestore+0x2f/0x3c
 [<c042cb84>] ? release_console_sem+0x1a5/0x1ad
 [<c05013e6>] __debug_object_init+0x1f3/0x276
 [<c0501494>] debug_object_init+0x13/0x17
 [<c0433c56>] init_timer+0x10/0x1a
 [<e08e5b54>] mpt_config+0x1c1/0x2b7 [mptbase]
 [<e08e3b82>] ? kmalloc+0x8/0xa [mptbase]
 [<e08e3b82>] ? kmalloc+0x8/0xa [mptbase]
 [<e08e6fa2>] mpt_do_ioc_recovery+0x950/0x1212 [mptbase]
 [<c04496c2>] ? __lock_acquire+0xa69/0xacc
 [<c060c8f1>] ? _spin_unlock_irqrestore+0x36/0x3c
 [<c060c3af>] ? _spin_unlock_irq+0x22/0x26
 [<c04f2d8b>] ? string+0x2b/0x76
 [<c04f310e>] ? vsnprintf+0x338/0x7b3
 [<c04496c2>] ? __lock_acquire+0xa69/0xacc
 [<c060c8ea>] ? _spin_unlock_irqrestore+0x2f/0x3c
 [<c04496c2>] ? __lock_acquire+0xa69/0xacc
 [<c044897d>] ? debug_check_no_locks_freed+0xeb/0x105
 [<c060c8f1>] ? _spin_unlock_irqrestore+0x36/0x3c
 [<c04488bc>] ? debug_check_no_locks_freed+0x2a/0x105
 [<c0446b8c>] ? lock_release_holdtime+0x43/0x48
 [<c043f742>] ? up_read+0x16/0x29
 [<c05076f8>] ? pci_get_slot+0x66/0x72
 [<e08e89ca>] mpt_attach+0x881/0x9b1 [mptbase]
 [<e091c8e5>] mptspi_probe+0x11/0x354 [mptspi]

Noticing that every caller of mpt_config has its CONFIGPARMS struct
declared on the stack and thus the &pCfg->timer is always on the stack I
changed init_timer() to init_timer_on_stack() and it seems to have shut
up.....

Cc: "Moore, Eric Dean" <Eric.Moore@lsil.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/message/fusion/mptbase.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/message/fusion/mptbase.c~scsi-mpt-suppress-debugobjects-warning drivers/message/fusion/mptbase.c
--- a/drivers/message/fusion/mptbase.c~scsi-mpt-suppress-debugobjects-warning
+++ a/drivers/message/fusion/mptbase.c
@@ -5934,7 +5934,7 @@ mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS
 
 	/* Initalize the timer
 	 */
-	init_timer(&pCfg->timer);
+	init_timer_on_stack(&pCfg->timer);
 	pCfg->timer.data = (unsigned long) ioc;
 	pCfg->timer.function = mpt_timer_expired;
 	pCfg->wait_done = 0;
_


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: linux 2.6.29-rc3 kernel failure with mptsas
  2009-02-06 23:50 ` Andrew Morton
@ 2009-02-14 21:17   ` Morten P.D. Stevens
  2009-02-14 22:03     ` Rafael J. Wysocki
  0 siblings, 1 reply; 7+ messages in thread
From: Morten P.D. Stevens @ 2009-02-14 21:17 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, rjw

Update:

today i installed linux 2.6.29-rc5 and there a no problems?

no errors or kernel failures in dmesg.

linux 2.6.29-rc5 works fine but something is strange:

> -	init_timer(&pCfg->timer);
> +	init_timer_on_stack(&pCfg->timer);

this wasn't changed?

Anyway it´s working fine with 2.6.29-rc5, now.

-

Morten

-----Original Message-----
From: Andrew Morton [mailto:akpm@linux-foundation.org] 
Sent: Saturday, February 07, 2009 12:51 AM
To: Morten P.D. Stevens
Cc: linux-kernel@vger.kernel.org; linux-scsi@vger.kernel.org
Subject: Re: linux 2.6.29-rc3 kernel failure with mptsas

On Thu, 5 Feb 2009 23:29:10 +0100
"Morten P.D. Stevens" <mstevens@win-professional.com> wrote:

> Hi,
> 
> I get a kernel failure with linux 2.6.29-rc3 on my Dell T7400
> Workstation.
> 
> failure message:
> 
> WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a8/0x353()
> (Tainted: G        W )
> Hardware name: Precision WorkStation T7400  
> Modules linked in: ata_generic pata_acpi mptsas(+) mptscsih mptbase
> scsi_transport_sas
> Pid: 35, comm: work_on_cpu/0 Tainted: G        W
> 2.6.29-0.66.rc3.fc11.x86_64 #1
> Call Trace:
> [<ffffffff8104a5c1>] warn_slowpath+0xb9/0xfe
> [<ffffffff813806d9>] ? printk+0x3c/0x43
> [<ffffffff8119b5fb>] __debug_object_init+0x2a8/0x353
> [<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
> [<ffffffff8119b6d3>] debug_object_init+0x14/0x19
> [<ffffffff8105461f>] init_timer+0x18/0x5b
> [<ffffffffa001122d>] mpt_config+0x1e4/0x305 [mptbase]
> [<ffffffffa001017a>] ? pci_free_consistent+0x75/0x81 [mptbase]
> [<ffffffffa0012f25>] mpt_do_ioc_recovery+0x142a/0x15e8 [mptbase]
> [<ffffffff81046c95>] ? finish_task_switch+0x5f/0xf6
> [<ffffffff81046c36>] ? finish_task_switch+0x0/0xf6
> [<ffffffffa00132a5>] ? mpt_timer_expired+0x0/0x60 [mptbase]
> [<ffffffff8101414a>] ? dump_trace+0x269/0x27b
> [<ffffffff8101c12b>] ? save_stack_trace+0x2a/0x48
> [<ffffffff8106c546>] ? save_trace+0x3f/0x95
> [<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
> [<ffffffff8106d137>] ? mark_lock+0x22/0x3ad
> [<ffffffff8106d529>] ? mark_held_locks+0x67/0x83
> [<ffffffff81383395>] ? _spin_unlock_irqrestore+0x47/0x57
> [<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
> [<ffffffff8106d74a>] ? trace_hardirqs_on+0xd/0xf
> [<ffffffff81194602>] ? __up_read+0x7c/0x85
> [<ffffffff810624ad>] ? up_read+0x26/0x2a
> [<ffffffffa001480f>] mpt_attach+0xa1b/0xb80 [mptbase]
> [<ffffffffa002f70a>] mptsas_probe+0x1a/0x487 [mptsas]
> [<ffffffff811a491f>] local_pci_probe+0x12/0x16
> [<ffffffff8105b0d7>] do_work_for_cpu+0x13/0x1b
> [<ffffffff8105b268>] run_workqueue+0x103/0x20a
> [<ffffffff8105b216>] ? run_workqueue+0xb1/0x20a
> [<ffffffff8106d719>] ? trace_hardirqs_on_caller+0x12f/0x153
> [<ffffffff8105b0c4>] ? do_work_for_cpu+0x0/0x1b
> [<ffffffff8105b44f>] worker_thread+0xe0/0xf1
> [<ffffffff8105f090>] ? autoremove_wake_function+0x0/0x38
> [<ffffffff8105b36f>] ? worker_thread+0x0/0xf1
> [<ffffffff8105ed18>] kthread+0x49/0x76
> [<ffffffff8101262a>] child_rip+0xa/0x20
> [<ffffffff81011f3e>] ? restore_args+0x0/0x30
> [<ffffffff8105ecaa>] ? kthreadd+0x176/0x19b
> [<ffffffff8105eccf>] ? kthread+0x0/0x76
> [<ffffffff81012620>] ? child_rip+0x0/0x20
> ---[ end trace af29b8e50456f967 ]---
> 
> 
> Kernel failure message 2:
> ODEBUG: object is on stack, but not annotated

This should fix it:

From: "Eric Paris" <eparis@parisplace.org>

ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x1f3/0x276()
Hardware name: VMware Virtual Platform
Modules linked in: mptspi(+) mptscsih mptbase scsi_transport_spi ext3 jbd mbcache
Pid: 540, comm: insmod Not tainted 2.6.28-mm1 #2
Call Trace:
 [<c042c51c>] warn_slowpath+0x74/0x8a
 [<c0469600>] ? start_critical_timing+0x96/0xb7
 [<c060c8ea>] ? _spin_unlock_irqrestore+0x2f/0x3c
 [<c0446fad>] ? trace_hardirqs_off_caller+0x18/0xaf
 [<c044704f>] ? trace_hardirqs_off+0xb/0xd
 [<c060c8ea>] ? _spin_unlock_irqrestore+0x2f/0x3c
 [<c042cb84>] ? release_console_sem+0x1a5/0x1ad
 [<c05013e6>] __debug_object_init+0x1f3/0x276
 [<c0501494>] debug_object_init+0x13/0x17
 [<c0433c56>] init_timer+0x10/0x1a
 [<e08e5b54>] mpt_config+0x1c1/0x2b7 [mptbase]
 [<e08e3b82>] ? kmalloc+0x8/0xa [mptbase]
 [<e08e3b82>] ? kmalloc+0x8/0xa [mptbase]
 [<e08e6fa2>] mpt_do_ioc_recovery+0x950/0x1212 [mptbase]
 [<c04496c2>] ? __lock_acquire+0xa69/0xacc
 [<c060c8f1>] ? _spin_unlock_irqrestore+0x36/0x3c
 [<c060c3af>] ? _spin_unlock_irq+0x22/0x26
 [<c04f2d8b>] ? string+0x2b/0x76
 [<c04f310e>] ? vsnprintf+0x338/0x7b3
 [<c04496c2>] ? __lock_acquire+0xa69/0xacc
 [<c060c8ea>] ? _spin_unlock_irqrestore+0x2f/0x3c
 [<c04496c2>] ? __lock_acquire+0xa69/0xacc
 [<c044897d>] ? debug_check_no_locks_freed+0xeb/0x105
 [<c060c8f1>] ? _spin_unlock_irqrestore+0x36/0x3c
 [<c04488bc>] ? debug_check_no_locks_freed+0x2a/0x105
 [<c0446b8c>] ? lock_release_holdtime+0x43/0x48
 [<c043f742>] ? up_read+0x16/0x29
 [<c05076f8>] ? pci_get_slot+0x66/0x72
 [<e08e89ca>] mpt_attach+0x881/0x9b1 [mptbase]
 [<e091c8e5>] mptspi_probe+0x11/0x354 [mptspi]

Noticing that every caller of mpt_config has its CONFIGPARMS struct
declared on the stack and thus the &pCfg->timer is always on the stack I
changed init_timer() to init_timer_on_stack() and it seems to have shut
up.....

Cc: "Moore, Eric Dean" <Eric.Moore@lsil.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/message/fusion/mptbase.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/message/fusion/mptbase.c~scsi-mpt-suppress-debugobjects-warning drivers/message/fusion/mptbase.c
--- a/drivers/message/fusion/mptbase.c~scsi-mpt-suppress-debugobjects-warning
+++ a/drivers/message/fusion/mptbase.c
@@ -5934,7 +5934,7 @@ mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS
 
 	/* Initalize the timer
 	 */
-	init_timer(&pCfg->timer);
+	init_timer_on_stack(&pCfg->timer);
 	pCfg->timer.data = (unsigned long) ioc;
 	pCfg->timer.function = mpt_timer_expired;
 	pCfg->wait_done = 0;
_


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux 2.6.29-rc3 kernel failure with mptsas
  2009-02-14 21:17   ` Morten P.D. Stevens
@ 2009-02-14 22:03     ` Rafael J. Wysocki
  2009-03-31 22:40       ` Morten P.D. Stevens
  0 siblings, 1 reply; 7+ messages in thread
From: Rafael J. Wysocki @ 2009-02-14 22:03 UTC (permalink / raw)
  To: Morten P.D. Stevens; +Cc: Andrew Morton, linux-kernel

On Saturday 14 February 2009, Morten P.D. Stevens wrote:
> Update:
> 
> today i installed linux 2.6.29-rc5 and there a no problems?
> 
> no errors or kernel failures in dmesg.
> 
> linux 2.6.29-rc5 works fine but something is strange:
> 
> > -	init_timer(&pCfg->timer);
> > +	init_timer_on_stack(&pCfg->timer);
> 
> this wasn't changed?
> 
> Anyway it´s working fine with 2.6.29-rc5, now.

Thanks for the update.  I'm going to close this bug.

Rafael

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux 2.6.29-rc3 kernel failure with mptsas
  2009-02-14 22:03     ` Rafael J. Wysocki
@ 2009-03-31 22:40       ` Morten P.D. Stevens
  0 siblings, 0 replies; 7+ messages in thread
From: Morten P.D. Stevens @ 2009-03-31 22:40 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-kernel

2009/2/14 Rafael J. Wysocki <rjw@sisk.pl>:
> On Saturday 14 February 2009, Morten P.D. Stevens wrote:
>> Update:
>>
>> today i installed linux 2.6.29-rc5 and there a no problems?
>>
>> no errors or kernel failures in dmesg.
>>
>> linux 2.6.29-rc5 works fine but something is strange:
>>
>> > -   init_timer(&pCfg->timer);
>> > +   init_timer_on_stack(&pCfg->timer);
>>
>> this wasn't changed?
>>
>> Anyway it´s working fine with 2.6.29-rc5, now.
>
> Thanks for the update.  I'm going to close this bug.
>
> Rafael
>

Hi,

the problem is back with 2.6.29 final. I tested it with a clean self
build kernel (2.6.29 vanilla sources) and a fedora 11 beta livecd
(based on 2.6.29-rc8)

------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a0/0x33d()
(Not tainted)
Hardware name: Precision WorkStation T7400
Modules linked in: ext4 jbd2 crc16 squashfs firewire_ohci(+) pata_acpi
firewire_core mptsas(+) crc_itu_t ata_generic mptscsih nouveau mptbase
scsi_transport_sas drm i2c_core
Pid: 36, comm: work_on_cpu/0 Not tainted
2.6.29-0.258.2.3.rc8.git2.fc11.x86_64 #1
Call Trace:
 [<ffffffff8104bae3>] warn_slowpath+0xbc/0xf0
 [<ffffffff8104c0ba>] ? release_console_sem+0x1c3/0x1f4
 [<ffffffff8101781b>] ? native_sched_clock+0x2d/0x5a
 [<ffffffff81393b9b>] ? printk+0x41/0x46
 [<ffffffff811a2a44>] __debug_object_init+0x2a0/0x33d
 [<ffffffff811a2b0e>] debug_object_init+0x14/0x16
 [<ffffffff81055ea2>] init_timer+0x1d/0x60
 [<ffffffffa005423c>] mpt_config+0x1d2/0x2e6 [mptbase]
 [<ffffffff8106f9d6>] ? mark_held_locks+0x68/0x86
 [<ffffffffa0054729>] mpt_findImVolumes+0xa1/0x484 [mptbase]
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff811a223a>] ? free_object+0x84/0xba
 [<ffffffff811a24eb>] ? debug_object_free+0xd0/0xe9
 [<ffffffff81055a55>] ? destroy_timer_on_stack+0x15/0x17
 [<ffffffff81394975>] ? schedule_timeout+0xa4/0xc0
 [<ffffffff810560d0>] ? process_timeout+0x0/0x10
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8105679b>] ? __mod_timer+0x21/0xd2
 [<ffffffff81056867>] ? msleep+0x1b/0x22
 [<ffffffffa0052626>] ? WaitForDoorbellInt+0x56/0xd0 [mptbase]
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106fd2c>] ? debug_check_no_locks_freed+0x131/0x149
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106e298>] ? static_obj+0x74/0x80
 [<ffffffff8106e975>] ? lockdep_init_map+0x93/0x102
 [<ffffffff8106d581>] ? debug_mutex_init+0x31/0x44
 [<ffffffffa0057a74>] mpt_do_ioc_recovery+0x824/0x1560 [mptbase]
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8105eb80>] ? __kernel_text_address+0x42/0x4d
 [<ffffffff81014d35>] ? print_context_stack+0xae/0xcd
 [<ffffffff81014252>] ? dump_trace+0x256/0x268
 [<ffffffff8106deaf>] ? find_usage_backwards+0x3b/0x103
 [<ffffffff8101c37f>] ? save_stack_trace+0x2f/0x4c
 [<ffffffff8106ea23>] ? save_trace+0x3f/0x95
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f9d6>] ? mark_held_locks+0x68/0x86
 [<ffffffff813967de>] ? _spin_unlock_irqrestore+0x48/0x58
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff8119bc2d>] ? __up_read+0x76/0x7f
 [<ffffffff810645dc>] ? up_read+0x2b/0x2f
 [<ffffffffa005951d>] mpt_attach+0x8b2/0xa11 [mptbase]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffffa00dd5a7>] mptsas_probe+0x1e/0x46e [mptsas]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffff811ad085>] local_pci_probe+0x17/0x1b
 [<ffffffff8105cadc>] do_work_for_cpu+0x18/0x20
 [<ffffffff8105ccb0>] run_workqueue+0xfd/0x1fd
 [<ffffffff8105cc5f>] ? run_workqueue+0xac/0x1fd
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8105ce9f>] worker_thread+0xef/0x100
 [<ffffffff81060d46>] ? autoremove_wake_function+0x0/0x39
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff810609ad>] kthread+0x4d/0x78
 [<ffffffff810126aa>] child_rip+0xa/0x20
 [<ffffffff8100f88b>] ? __switch_to+0x190/0x398
 [<ffffffff81011fbe>] ? restore_args+0x0/0x30
 [<ffffffff81060960>] ? kthread+0x0/0x78
 [<ffffffff810126a0>] ? child_rip+0x0/0x20
---[ end trace 67afa24243f21d1b ]---
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a0/0x33d()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400
Modules linked in: ext4 jbd2 crc16 squashfs firewire_ohci(+) pata_acpi
firewire_core mptsas(+) crc_itu_t ata_generic mptscsih nouveau mptbase
scsi_transport_sas drm i2c_core
Pid: 36, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.258.2.3.rc8.git2.fc11.x86_64 #1
Call Trace:
 [<ffffffff8104bae3>] warn_slowpath+0xbc/0xf0
 [<ffffffff8104c0ba>] ? release_console_sem+0x1c3/0x1f4
 [<ffffffff81071064>] ? print_lock_contention_bug+0x1b/0xe1
 [<ffffffff811a2ab9>] ? __debug_object_init+0x315/0x33d
 [<ffffffff81393b9b>] ? printk+0x41/0x46
 [<ffffffff811a2a44>] __debug_object_init+0x2a0/0x33d
 [<ffffffff811a2b0e>] debug_object_init+0x14/0x16
 [<ffffffff81055ea2>] init_timer+0x1d/0x60
 [<ffffffffa005423c>] mpt_config+0x1d2/0x2e6 [mptbase]
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffffa0054833>] mpt_findImVolumes+0x1ab/0x484 [mptbase]
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff811a24eb>] ? debug_object_free+0xd0/0xe9
 [<ffffffff81055a55>] ? destroy_timer_on_stack+0x15/0x17
 [<ffffffff81394975>] ? schedule_timeout+0xa4/0xc0
 [<ffffffff810560d0>] ? process_timeout+0x0/0x10
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8105679b>] ? __mod_timer+0x21/0xd2
 [<ffffffffa0000000>] ? i2c_check_functionality+0x0/0x25 [i2c_core]
 [<ffffffffa0058979>] ? mpt_timer_expired+0x0/0x66 [mptbase]
 [<ffffffff8106fd2c>] ? debug_check_no_locks_freed+0x131/0x149
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106e298>] ? static_obj+0x74/0x80
 [<ffffffff8106e975>] ? lockdep_init_map+0x93/0x102
 [<ffffffffa0057a74>] mpt_do_ioc_recovery+0x824/0x1560 [mptbase]
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8105eb80>] ? __kernel_text_address+0x42/0x4d
 [<ffffffff81014d35>] ? print_context_stack+0xae/0xcd
 [<ffffffff81014252>] ? dump_trace+0x256/0x268
 [<ffffffff8106deaf>] ? find_usage_backwards+0x3b/0x103
 [<ffffffff8101c37f>] ? save_stack_trace+0x2f/0x4c
 [<ffffffff8106ea23>] ? save_trace+0x3f/0x95
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f9d6>] ? mark_held_locks+0x68/0x86
 [<ffffffff813967de>] ? _spin_unlock_irqrestore+0x48/0x58
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff8119bc2d>] ? __up_read+0x76/0x7f
 [<ffffffff810645dc>] ? up_read+0x2b/0x2f
 [<ffffffffa005951d>] mpt_attach+0x8b2/0xa11 [mptbase]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffffa00dd5a7>] mptsas_probe+0x1e/0x46e [mptsas]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffff811ad085>] local_pci_probe+0x17/0x1b
 [<ffffffff8105cadc>] do_work_for_cpu+0x18/0x20
 [<ffffffff8105ccb0>] run_workqueue+0xfd/0x1fd
 [<ffffffff8105cc5f>] ? run_workqueue+0xac/0x1fd
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8105ce9f>] worker_thread+0xef/0x100
 [<ffffffff81060d46>] ? autoremove_wake_function+0x0/0x39
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff810609ad>] kthread+0x4d/0x78
 [<ffffffff810126aa>] child_rip+0xa/0x20
 [<ffffffff8100f88b>] ? __switch_to+0x190/0x398
 [<ffffffff81011fbe>] ? restore_args+0x0/0x30
 [<ffffffff81060960>] ? kthread+0x0/0x78
 [<ffffffff810126a0>] ? child_rip+0x0/0x20
---[ end trace 67afa24243f21d1c ]---
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a0/0x33d()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400
Modules linked in: ext4 jbd2 crc16 squashfs firewire_ohci(+) pata_acpi
firewire_core mptsas(+) crc_itu_t ata_generic mptscsih nouveau mptbase
scsi_transport_sas drm i2c_core
Pid: 36, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.258.2.3.rc8.git2.fc11.x86_64 #1
Call Trace:
 [<ffffffff8104bae3>] warn_slowpath+0xbc/0xf0
 [<ffffffff8104c0ba>] ? release_console_sem+0x1c3/0x1f4
 [<ffffffff81071064>] ? print_lock_contention_bug+0x1b/0xe1
 [<ffffffff811a2ab9>] ? __debug_object_init+0x315/0x33d
 [<ffffffff81393b9b>] ? printk+0x41/0x46
 [<ffffffff811a2a44>] __debug_object_init+0x2a0/0x33d
 [<ffffffff811a2b0e>] debug_object_init+0x14/0x16
 [<ffffffff81055ea2>] init_timer+0x1d/0x60
 [<ffffffffa005423c>] mpt_config+0x1d2/0x2e6 [mptbase]
 [<ffffffff811a5f22>] ? swiotlb_free_coherent+0x6e/0x97
 [<ffffffffa0053207>] ? pci_free_consistent+0x8b/0x97 [mptbase]
 [<ffffffffa005495e>] mpt_findImVolumes+0x2d6/0x484 [mptbase]
 [<ffffffffa0058979>] ? mpt_timer_expired+0x0/0x66 [mptbase]
 [<ffffffffa0058979>] ? mpt_timer_expired+0x0/0x66 [mptbase]
 [<ffffffff8106fd2c>] ? debug_check_no_locks_freed+0x131/0x149
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106e298>] ? static_obj+0x74/0x80
 [<ffffffff8106e975>] ? lockdep_init_map+0x93/0x102
 [<ffffffffa0057a74>] mpt_do_ioc_recovery+0x824/0x1560 [mptbase]
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8105eb80>] ? __kernel_text_address+0x42/0x4d
 [<ffffffff81014d35>] ? print_context_stack+0xae/0xcd
 [<ffffffff81014252>] ? dump_trace+0x256/0x268
 [<ffffffff8106deaf>] ? find_usage_backwards+0x3b/0x103
 [<ffffffff8101c37f>] ? save_stack_trace+0x2f/0x4c
 [<ffffffff8106ea23>] ? save_trace+0x3f/0x95
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f9d6>] ? mark_held_locks+0x68/0x86
 [<ffffffff813967de>] ? _spin_unlock_irqrestore+0x48/0x58
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff8119bc2d>] ? __up_read+0x76/0x7f
 [<ffffffff810645dc>] ? up_read+0x2b/0x2f
 [<ffffffffa005951d>] mpt_attach+0x8b2/0xa11 [mptbase]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffffa00dd5a7>] mptsas_probe+0x1e/0x46e [mptsas]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffff811ad085>] local_pci_probe+0x17/0x1b
 [<ffffffff8105cadc>] do_work_for_cpu+0x18/0x20
 [<ffffffff8105ccb0>] run_workqueue+0xfd/0x1fd
 [<ffffffff8105cc5f>] ? run_workqueue+0xac/0x1fd
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8105ce9f>] worker_thread+0xef/0x100
 [<ffffffff81060d46>] ? autoremove_wake_function+0x0/0x39
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff810609ad>] kthread+0x4d/0x78
 [<ffffffff810126aa>] child_rip+0xa/0x20
 [<ffffffff8100f88b>] ? __switch_to+0x190/0x398
 [<ffffffff81011fbe>] ? restore_args+0x0/0x30
 [<ffffffff81060960>] ? kthread+0x0/0x78
 [<ffffffff810126a0>] ? child_rip+0x0/0x20
---[ end trace 67afa24243f21d1d ]---
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a0/0x33d()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400
Modules linked in: ext4 jbd2 crc16 squashfs firewire_ohci(+) pata_acpi
firewire_core mptsas(+) crc_itu_t ata_generic mptscsih nouveau mptbase
scsi_transport_sas drm i2c_core
Pid: 36, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.258.2.3.rc8.git2.fc11.x86_64 #1
Call Trace:
 [<ffffffff8104bae3>] warn_slowpath+0xbc/0xf0
 [<ffffffff8104c0ba>] ? release_console_sem+0x1c3/0x1f4
 [<ffffffff81071064>] ? print_lock_contention_bug+0x1b/0xe1
 [<ffffffff811a2ab9>] ? __debug_object_init+0x315/0x33d
 [<ffffffff81393b9b>] ? printk+0x41/0x46
 [<ffffffff811a2a44>] __debug_object_init+0x2a0/0x33d
 [<ffffffff811a2b0e>] debug_object_init+0x14/0x16
 [<ffffffff81055ea2>] init_timer+0x1d/0x60
 [<ffffffffa005423c>] mpt_config+0x1d2/0x2e6 [mptbase]
 [<ffffffffa00584d0>] mpt_do_ioc_recovery+0x1280/0x1560 [mptbase]
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8105eb80>] ? __kernel_text_address+0x42/0x4d
 [<ffffffff81014d35>] ? print_context_stack+0xae/0xcd
 [<ffffffff81014252>] ? dump_trace+0x256/0x268
 [<ffffffff8106deaf>] ? find_usage_backwards+0x3b/0x103
 [<ffffffff8101c37f>] ? save_stack_trace+0x2f/0x4c
 [<ffffffff8106ea23>] ? save_trace+0x3f/0x95
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f9d6>] ? mark_held_locks+0x68/0x86
 [<ffffffff813967de>] ? _spin_unlock_irqrestore+0x48/0x58
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff8119bc2d>] ? __up_read+0x76/0x7f
 [<ffffffff810645dc>] ? up_read+0x2b/0x2f
 [<ffffffffa005951d>] mpt_attach+0x8b2/0xa11 [mptbase]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffffa00dd5a7>] mptsas_probe+0x1e/0x46e [mptsas]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffff811ad085>] local_pci_probe+0x17/0x1b
 [<ffffffff8105cadc>] do_work_for_cpu+0x18/0x20
 [<ffffffff8105ccb0>] run_workqueue+0xfd/0x1fd
 [<ffffffff8105cc5f>] ? run_workqueue+0xac/0x1fd
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8105ce9f>] worker_thread+0xef/0x100
 [<ffffffff81060d46>] ? autoremove_wake_function+0x0/0x39
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff810609ad>] kthread+0x4d/0x78
 [<ffffffff810126aa>] child_rip+0xa/0x20
 [<ffffffff8100f88b>] ? __switch_to+0x190/0x398
 [<ffffffff81011fbe>] ? restore_args+0x0/0x30
 [<ffffffff81060960>] ? kthread+0x0/0x78
 [<ffffffff810126a0>] ? child_rip+0x0/0x20
---[ end trace 67afa24243f21d1e ]---
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
WARNING: at lib/debugobjects.c:253 __debug_object_init+0x2a0/0x33d()
(Tainted: G        W )
Hardware name: Precision WorkStation T7400
Modules linked in: ext4 jbd2 crc16 squashfs firewire_ohci(+) pata_acpi
firewire_core mptsas(+) crc_itu_t ata_generic mptscsih nouveau mptbase
scsi_transport_sas drm i2c_core
Pid: 36, comm: work_on_cpu/0 Tainted: G        W
2.6.29-0.258.2.3.rc8.git2.fc11.x86_64 #1
Call Trace:
 [<ffffffff8104bae3>] warn_slowpath+0xbc/0xf0
 [<ffffffff8104c0ba>] ? release_console_sem+0x1c3/0x1f4
 [<ffffffff81071064>] ? print_lock_contention_bug+0x1b/0xe1
 [<ffffffff811a2ab9>] ? __debug_object_init+0x315/0x33d
 [<ffffffff81393b9b>] ? printk+0x41/0x46
 [<ffffffff811a2a44>] __debug_object_init+0x2a0/0x33d
 [<ffffffff811a2b0e>] debug_object_init+0x14/0x16
 [<ffffffff81055ea2>] init_timer+0x1d/0x60
 [<ffffffffa005423c>] mpt_config+0x1d2/0x2e6 [mptbase]
 [<ffffffff811a5f22>] ? swiotlb_free_coherent+0x6e/0x97
 [<ffffffffa0053207>] ? pci_free_consistent+0x8b/0x97 [mptbase]
 [<ffffffffa0058594>] mpt_do_ioc_recovery+0x1344/0x1560 [mptbase]
 [<ffffffffa0058979>] ? mpt_timer_expired+0x0/0x66 [mptbase]
 [<ffffffff81014252>] ? dump_trace+0x256/0x268
 [<ffffffff8106deaf>] ? find_usage_backwards+0x3b/0x103
 [<ffffffff8101c37f>] ? save_stack_trace+0x2f/0x4c
 [<ffffffff8106ea23>] ? save_trace+0x3f/0x95
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f617>] ? mark_lock+0x28/0x37f
 [<ffffffff8106f9d6>] ? mark_held_locks+0x68/0x86
 [<ffffffff813967de>] ? _spin_unlock_irqrestore+0x48/0x58
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8106fbf9>] ? trace_hardirqs_on+0xd/0xf
 [<ffffffff8119bc2d>] ? __up_read+0x76/0x7f
 [<ffffffff810645dc>] ? up_read+0x2b/0x2f
 [<ffffffffa005951d>] mpt_attach+0x8b2/0xa11 [mptbase]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffffa00dd5a7>] mptsas_probe+0x1e/0x46e [mptsas]
 [<ffffffff8105cac4>] ? do_work_for_cpu+0x0/0x20
 [<ffffffff811ad085>] local_pci_probe+0x17/0x1b
 [<ffffffff8105cadc>] do_work_for_cpu+0x18/0x20
 [<ffffffff8105ccb0>] run_workqueue+0xfd/0x1fd
 [<ffffffff8105cc5f>] ? run_workqueue+0xac/0x1fd
 [<ffffffff8106fbc8>] ? trace_hardirqs_on_caller+0x12f/0x153
 [<ffffffff8105ce9f>] worker_thread+0xef/0x100
 [<ffffffff81060d46>] ? autoremove_wake_function+0x0/0x39
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff8105cdb0>] ? worker_thread+0x0/0x100
 [<ffffffff810609ad>] kthread+0x4d/0x78
 [<ffffffff810126aa>] child_rip+0xa/0x20
 [<ffffffff8100f88b>] ? __switch_to+0x190/0x398
 [<ffffffff81011fbe>] ? restore_args+0x0/0x30
 [<ffffffff81060960>] ? kthread+0x0/0x78
 [<ffffffff810126a0>] ? child_rip+0x0/0x20
---[ end trace 67afa24243f21d1f ]---

Where do we go from here?

-

Morten

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-31 22:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 22:29 linux 2.6.29-rc3 kernel failure with mptsas Morten P.D. Stevens
2009-02-06 17:39 ` Bill Davidsen
2009-02-06 22:12   ` AW: " Morten P.D. Stevens
2009-02-06 23:50 ` Andrew Morton
2009-02-14 21:17   ` Morten P.D. Stevens
2009-02-14 22:03     ` Rafael J. Wysocki
2009-03-31 22:40       ` Morten P.D. Stevens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).