mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	mike.miller@hp.com, k-ueda@ct.jp.nec.com, j-nomura@ce.jp.nec.com
Subject: Re: kernel BUG at drivers/block/cciss.c:1260! (with recent linux-2.6  tree)
Date: Tue, 29 Jan 2008 13:08:38 -0800	[thread overview]
Message-ID: <20080129210837.GA21785@plap3.qlogic.org> (raw)
In-Reply-To: <20080129185358.GM15220@kernel.dk>

On Tue, 29 Jan 2008, Jens Axboe wrote:

> Great, thanks for confirming. It does look like a clear bug in cciss, it
> just got exposed now that it uses proper end request handling. We never
> need to clear ->data_len, since for blk_fs_request() it will be cleared
> on init. So just setting a residual count there for blk_fs_request()
> like cciss does is fine.
> 
> Anyway, it's in my pending queue for Linus.
> 


Hmm, probably not related to the block changes in your tree, but I'm
seeing yet another problem after working (compile jobs) the machine:

	[   61.423922] BUG: spinlock recursion on CPU#2, kjournald/2317
	[   61.427843]  lock: ffff81042c5a4988, .magic: dead4ead, .owner: kjournald/2317, .owner_cpu: 2
	[   61.427843] Pid: 2317, comm: kjournald Not tainted 2.6.24 #45
	[   61.427843] 
	[   61.427843] Call Trace:
	[   61.427843]  [<ffffffff803332e1>] _raw_spin_lock+0xe9/0x12a
	[   61.427843]  [<ffffffff80324ccf>] as_merged_requests+0xfe/0x115
	[   61.427843]  [<ffffffff8031b558>] elv_merge_requests+0x1f/0x45
	[   61.427843]  [<ffffffff8031e6f7>] attempt_merge+0x281/0x347
	[   61.427843]  [<ffffffff8031f153>] __make_request+0x1e6/0x598
	[   61.427843]  [<ffffffff8031d6ea>] generic_make_request+0x1c8/0x276
	[   61.427843]  [<ffffffff8031d7f9>] submit_bio+0x61/0xdb
	[   61.427843]  [<ffffffff8029b0d2>] submit_bh+0xe2/0x118
	[   61.427843]  [<ffffffff802f69f3>] journal_do_submit_data+0x28/0x39
	[   61.427843]  [<ffffffff802f77da>] journal_commit_transaction+0xdbe/0x1394
	[   61.427843]  [<ffffffff802381a8>] lock_timer_base+0x26/0x4e
	[   61.427843]  [<ffffffff802fb85f>] kjournald+0x104/0x373
	[   61.427843]  [<ffffffff80242087>] autoremove_wake_function+0x0/0x2e
	[   61.427843]  [<ffffffff802fb75b>] kjournald+0x0/0x373
	[   61.427843]  [<ffffffff80241cd4>] kthread+0x3d/0x61
	[   61.427843]  [<ffffffff8020c0e8>] child_rip+0xa/0x12
	[   61.427843]  [<ffffffff80241c97>] kthread+0x0/0x61
	[   61.427843]  [<ffffffff8020c0de>] child_rip+0x0/0x12
	[   61.427843] 
	[  124.555789] BUG: soft lockup - CPU#6 stuck for 61s! [as:7191]
	[  124.555789] CPU 6:
	[  124.555789] Modules linked in:
	[  124.555789] Pid: 7191, comm: as Not tainted 2.6.24 #45
	[  124.555789] RIP: 0010:[<ffffffff8033329d>]  [<ffffffff8033329d>] _raw_spin_lock+0xa5/0x12a
	[  124.555789] RSP: 0018:ffff81042b50be18  EFLAGS: 00000246
	[  124.555789] RAX: 0000000000000000 RBX: 000000000ef44415 RCX: 000000002b543897
	[  124.555789] RDX: 000000000000009c RSI: ffff81042c87b868 RDI: 0000000000000001
	[  124.555789] RBP: 00002b0273879000 R08: 00007fff38107000 R09: ffffffff805739c4
	[  124.555789] R10: ffff81042f33ed78 R11: ffff81042f33ed78 R12: ffff81042b50f3c0
	[  124.555789] R13: 0000001000000000 R14: 0000000000008000 R15: 0000000000000000
	[  124.555789] FS:  00002b02736f3ef0(0000) GS:ffff81042f98a560(0000) knlGS:0000000000000000
	[  124.555789] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
	[  124.555789] CR2: 000000000085d018 CR3: 000000042cb0e000 CR4: 00000000000006e0
	[  124.555789] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
	[  124.555789] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
	[  124.555789] 
	[  124.555789] Call Trace:
	[  124.555789]  [<ffffffff803332ab>] _raw_spin_lock+0xb3/0x12a
	[  124.555789]  [<ffffffff802171a6>] flush_tlb_others+0x4b/0xa8
	[  124.555789]  [<ffffffff80217531>] flush_tlb_mm+0x4a/0x99
	[  124.555789]  [<ffffffff802688fe>] unmap_region+0x10a/0x141
	[  124.555789]  [<ffffffff80269655>] do_munmap+0x1fd/0x2b9
	[  124.555789]  [<ffffffff8047d1d1>] __down_write_nested+0xa0/0xb0
	[  124.555789]  [<ffffffff8026974c>] sys_munmap+0x3b/0x57
	[  124.555789]  [<ffffffff8020b2ce>] system_call+0x7e/0x83
	[  124.555789] 
	[  124.555789] BUG: soft lockup - CPU#14 stuck for 61s! [cc1:7190]
	[  124.555789] CPU 14:
	[  124.555789] Modules linked in:
	[  124.555789] Pid: 7190, comm: cc1 Not tainted 2.6.24 #45
	[  124.555789] RIP: 0010:[<ffffffff802171d0>]  [<ffffffff802171d0>] flush_tlb_others+0x75/0xa8
	[  124.555789] RSP: 0018:ffff81042b965e48  EFLAGS: 00000202
	[  124.555789] RAX: 0000000000000010 RBX: 0000000000000006 RCX: 0000000000000003
	[  124.555789] RDX: 0000000000000010 RSI: ffff81042b965df8 RDI: 0000000000000002
	[  124.555789] RBP: ffff810011cc2658 R08: 00002aea0f72d000 R09: ffffffff80573dc4
	[  124.555789] R10: ffff81042e65b7b8 R11: ffff81042e65b7b8 R12: ffffffff80630640
	[  124.555789] R13: 0000000000000000 R14: ffffffff80264d07 R15: ffff81042e0dd960
	[  124.555789] FS:  00002aea0fafb6f0(0000) GS:ffff81042fb01cc0(0000) knlGS:0000000000000000
	[  124.555789] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
	[  124.555789] CR2: 00002aea117fe000 CR3: 000000042b537000 CR4: 00000000000006e0
	[  124.555789] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
	[  124.555789] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
	[  124.555789] 
	[  124.555789] Call Trace:
	[  124.555789]  [<ffffffff802171c4>] flush_tlb_others+0x69/0xa8
	[  124.555789]  [<ffffffff80217531>] flush_tlb_mm+0x4a/0x99
	[  124.555789]  [<ffffffff802688fe>] unmap_region+0x10a/0x141
	[  124.555789]  [<ffffffff80269655>] do_munmap+0x1fd/0x2b9
	[  124.555789]  [<ffffffff8047d1d1>] __down_write_nested+0xa0/0xb0
	[  124.555789]  [<ffffffff8026974c>] sys_munmap+0x3b/0x57

I'll try to get more info when I return...


  parent reply	other threads:[~2008-01-29 21:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 17:54 Andrew Vasquez
2008-01-29 18:02 ` Jens Axboe
2008-01-29 18:05   ` Jens Axboe
2008-01-29 18:22     ` Andrew Vasquez
2008-01-29 18:28       ` Jens Axboe
2008-01-29 18:37         ` Andrew Vasquez
2008-01-29 18:44           ` Jens Axboe
2008-01-29 18:49             ` Andrew Vasquez
2008-01-29 18:53               ` Jens Axboe
2008-01-29 19:03                 ` Miller, Mike (OS Dev)
2008-01-29 19:07                   ` Jens Axboe
2008-01-29 19:11                   ` Andrew Vasquez
2008-01-29 21:08                 ` Andrew Vasquez [this message]
2008-01-29 21:16                   ` Jens Axboe
2008-01-29 21:24                     ` Jens Axboe
2008-01-29 21:32                       ` Luck, Tony
2008-01-29 21:35                         ` Jens Axboe
2008-01-29 21:53                           ` Luck, Tony
2008-01-29 22:02                             ` Andrew Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080129210837.GA21785@plap3.qlogic.org \
    --to=andrew.vasquez@qlogic.com \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=jens.axboe@oracle.com \
    --cc=k-ueda@ct.jp.nec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.miller@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®