From: Andrew Morton <akpm@osdl.org>
To: Paul P Komkoff Jr <i@stingr.net>
Cc: linux-kernel@vger.kernel.org, Joe Thornber <thornber@redhat.com>,
Neil Brown <neilb@cse.unsw.edu.au>
Subject: Re: 2.6.5-mm4
Date: Mon, 12 Apr 2004 00:42:44 -0700 [thread overview]
Message-ID: <20040412004244.0f50a7d4.akpm@osdl.org> (raw)
In-Reply-To: <20040412064605.GO14129@stingr.net>
Paul P Komkoff Jr <i@stingr.net> wrote:
>
> Replying to Andrew Morton:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5/2.6.5-mm4/
>
> I've got couple of these:
> Apr 12 10:31:41 h1 Debug: sleeping function called from invalid
> context at drivers/block/ll_rw_blk.c:1156
> Apr 12 10:31:41 h1 in_atomic():1, irqs_disabled():1
> Apr 12 10:31:41 h1 Call Trace:
> Apr 12 10:31:41 h1 [<c011e396>] __might_sleep+0xb6/0xe0
> Apr 12 10:31:41 h1 [<c02e4f05>] generic_unplug_device+0x15/0x80
> Apr 12 10:31:41 h1 [<c03b8597>] unplug_slaves+0xa7/0xb0
> Apr 12 10:31:41 h1 [<c02e76f4>] blk_backing_dev_unplug+0x14/0x16
> Apr 12 10:31:41 h1 [<c016287a>] __wait_on_buffer+0xea/0xf0
> Apr 12 10:31:41 h1 [<c011e980>] autoremove_wake_function+0x0/0x40
> Apr 12 10:31:41 h1 [<c0166514>] submit_bh+0x94/0x1e0
> Apr 12 10:31:41 h1 [<c011e980>] autoremove_wake_function+0x0/0x40
> Apr 12 10:31:41 h1 [<c01a8298>] ext3_get_inode_loc+0x168/0x250
> Apr 12 10:31:41 h1 [<c01a8409>] ext3_read_inode+0x29/0x2f0
> Apr 12 10:31:41 h1 [<c017c7f5>] get_new_inode_fast+0x45/0x130
> Apr 12 10:31:41 h1 [<c01aa2a4>] ext3_lookup+0x84/0xb0
> Apr 12 10:31:41 h1 [<c016f98e>] real_lookup+0xce/0x100
> Apr 12 10:31:41 h1 [<c016fc25>] do_lookup+0x75/0x80
> Apr 12 10:31:41 h1 [<c016fd57>] link_path_walk+0x127/0xa20
> Apr 12 10:31:41 h1 [<c02a0aa4>] set_cursor+0x64/0x80
> Apr 12 10:31:41 h1 [<c0170934>] path_lookup+0xa4/0x1d0
> Apr 12 10:31:41 h1 [<c01711c9>] open_namei+0x89/0x420
> Apr 12 10:31:41 h1 [<c016043d>] filp_open+0x2d/0x50
> Apr 12 10:31:41 h1 [<c01608ed>] sys_open+0x4d/0xa0
> Apr 12 10:31:41 h1 [<c01003e9>] init+0xd9/0x180
> Apr 12 10:31:41 h1 [<c0100310>] init+0x0/0x180
> Apr 12 10:31:41 h1 [<c01042c5>] kernel_thread_helper+0x5/0x10
I don't think this can happen in -mm only.
> Actually, it is not -mm4 itself but Joe Thornber's -udm2 on top
> of it and evms patches.
I added a might_sleep() to generic_unplug_device(), because some drivers'
unplug functions can sleep.
It appears that either the EVMS or the udm2 patch is calling
generic_unplug_device() under a lock. Probably spin_lock_irq(q->lock).
next prev parent reply other threads:[~2004-04-12 7:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-11 3:05 2.6.5-mm4 Andrew Morton
2004-04-12 6:46 ` 2.6.5-mm4 Paul P Komkoff Jr
2004-04-12 7:42 ` Andrew Morton [this message]
2004-04-12 8:22 ` 2.6.5-mm4 Paul P Komkoff Jr
2004-04-12 8:28 ` 2.6.5-mm4 Andrew Morton
2004-04-12 9:10 ` 2.6.5-mm4 Paul P Komkoff Jr
2004-04-12 9:44 ` fix must_not_trace_exec() test (was: 2.6.5-mm4) Olaf Dietsche
2004-04-12 14:18 ` fix must_not_trace_exec() test Andy Lutomirski
2004-04-12 22:02 ` Chris Wright
2004-04-12 10:19 ` 2.6.5-mm4 (hci_usb module unloading oops) Martin Hermanowski
2004-04-12 22:03 ` Greg KH
2004-04-12 22:36 ` Marcel Holtmann
2004-04-12 22:42 ` Greg KH
2004-04-12 22:57 ` Marcel Holtmann
2004-04-19 20:29 ` Martin Hermanowski
2004-04-12 12:24 ` [PATCH] change audit_log_format() -> printk() (was: 2.6.5-mm4) Olaf Dietsche
2004-04-12 17:06 ` 2.6.5-mm4 (compile stats) John Cherry
2004-04-12 19:19 2.6.5-mm4 Marcus Hartig
2004-04-12 19:35 ` 2.6.5-mm4 Marc-Christian Petersen
2004-04-12 19:52 ` 2.6.5-mm4 Sam Ravnborg
2004-04-12 19:56 ` 2.6.5-mm4 Sam Ravnborg
2004-04-12 20:15 ` 2.6.5-mm4 Andrew Vasquez
2004-04-13 4:54 ` 2.6.5-mm4 Sam Ravnborg
2004-04-12 20:48 ` 2.6.5-mm4 Marcus Hartig
2004-04-13 2:47 ` 2.6.5-mm4 Michael Baehr
2004-04-13 4:58 ` 2.6.5-mm4 Sam Ravnborg
2004-04-13 15:22 2.6.5-mm4 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=20040412004244.0f50a7d4.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=i@stingr.net \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
--cc=thornber@redhat.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®