linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Luc Van Oostenryck <luc.vanoostenryck@easynet.be>,
	Patrick Mochel <mochel@osdl.org>, Thomas Molina <tmolina@cox.net>
Cc: Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: (more) Sleeping function called from illegal context...
Date: Fri, 27 Sep 2002 18:22:45 -0700	[thread overview]
Message-ID: <3D950465.9F4D2462@digeo.com> (raw)
In-Reply-To: 3D94FB23.9040109@easynet.be

Luc Van Oostenryck wrote:
> 
> With CONFIG_PREEMPT=y on an SMP AMD (2CPU):
> 
> Sleeping function called from illegal context at /kernel/l-2.5.39/include/asm/semaphore.h:119
> c1b75e20 c0117094 c0280b00 c028d480 00000077 c1b41cf0 c016bcf9 c028d480
>         00000077 c1b41c50 ffffffea c1b74000 00001000 c01937c6 c02e9578 c1b41cf0
>         c1b41c50 f7f0b840 c1b75eda c018ad0a c1b41c50 c02e9578 00000020 00000000
> Call Trace:
>   [<c0117094>]__might_sleep+0x54/0x58
>   [<c016bcf9>]driverfs_create_file+0x39/0xa0
>   [<c01937c6>]device_create_file+0x26/0x40
>   [<c018ad0a>]pci_pool_create+0xea/0x170
>   [<c02034af>]hcd_buffer_create+0x3f/0x80
>   [<c02039c3>]usb_hcd_pci_probe+0x253/0x370
>   [<c01563d8>]alloc_inode+0x58/0x190
>   [<c018b751>]pci_device_probe+0x41/0x60
>   [<c0191b88>]probe+0x18/0x30
>   [<c0191c2b>]found_match+0x2b/0x60
>   [<c0191d57>]do_driver_attach+0x37/0x50
>   [<c019296c>]bus_for_each_dev+0x9c/0x130
>   [<c0191d83>]driver_attach+0x13/0x20
>   [<c0191d20>]do_driver_attach+0x0/0x50
>   [<c0192ee4>]driver_register+0x94/0xb0
>   [<c018b856>]pci_register_driver+0x36/0x50
>   [<c01050b7>]init+0x47/0x1c0
>   [<c0105070>]init+0x0/0x1c0
>   [<c010553d>]kernel_thread_helper+0x5/0x18
> 

pci_pool_create() is calling device_create_file() under pools_lock.

  reply	other threads:[~2002-09-28  1:17 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-27 23:30 Sleeping function called from illegal context Greg KH
2002-09-27 23:50 ` Andrew Morton
2002-09-28  0:43   ` (more) " Luc Van Oostenryck
2002-09-28  1:22     ` Andrew Morton [this message]
2002-09-28  0:44   ` Luc Van Oostenryck
2002-09-28  1:24     ` Andrew Morton
2002-09-28  2:15       ` Greg KH
2002-09-28  0:44   ` Luc Van Oostenryck
2002-09-28  1:27     ` Andrew Morton
2002-09-30 12:50       ` [Lksctp-developers] " Jon Grimm
2002-09-30 13:34       ` Jon Grimm
2002-09-28  2:04   ` Andre Hedrick
2002-09-28  3:06     ` Robert Love
2002-09-28  3:21       ` Andre Hedrick
2002-09-28  3:29         ` Robert Love
2002-09-28 10:06         ` Alan Cox
2002-09-28 17:06           ` Robert Love
2002-09-28  0:51 ` Robert Love
2002-09-28  2:16   ` Greg KH
2002-09-28 14:54   ` John Levon
2002-09-28 17:05     ` Andrew Morton
2002-09-28 17:24       ` John Levon
2002-09-28 18:27         ` Robert Love
2002-09-28 18:38           ` John Levon
2002-09-29  0:50           ` William Lee Irwin III

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=3D950465.9F4D2462@digeo.com \
    --to=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luc.vanoostenryck@easynet.be \
    --cc=mochel@osdl.org \
    --cc=tmolina@cox.net \
    /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;
as well as URLs for NNTP newsgroup(s).