From: Andrew Morton <akpm@digeo.com>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Sleeping function called from illegal context...
Date: Fri, 27 Sep 2002 16:50:23 -0700 [thread overview]
Message-ID: <3D94EEBF.D6328392@digeo.com> (raw)
In-Reply-To: 20020927233044.GA14234@kroah.com
Greg KH wrote:
>
> So I got bold and enabled CONFIG_PREEMPT in 2.5.39, and got the
> following message at boot time:
>
> Sleeping function called from illegal context at slab.c:1374
> c12a5ea8 c0117a26 c0296260 c0298202 0000055e c1283060 c013ab4f c0298202
> 0000055e c03b668c 00000002 00000003 c01ff5ec c03b668c 00000042 c12838e0
> c12838e0 c12838e0 00000246 cfdee214 c0207830 04000000 c03b65f0 c0109be2
> Call Trace:
> [<c0117a26>]__might_sleep+0x56/0x5d
> [<c013ab4f>]kmalloc+0x4f/0x330
> [<c01ff5ec>]piix_tune_chipset+0x33c/0x350
> [<c0207830>]ide_intr+0x0/0x320
> [<c0109be2>]request_irq+0x52/0xa0
> [<c0200a33>]init_irq+0x263/0x400
> [<c0207830>]ide_intr+0x0/0x320
> [<c0200edc>]hwif_init+0x10c/0x260
> [<c02006ad>]probe_hwif_init+0x1d/0x70
> [<c02121d1>]ide_setup_pci_device+0x41/0x70
> [<c01ff7a5>]piix_init_one+0x35/0x40
> [<c010511b>]init+0x8b/0x250
> [<c0105090>]init+0x0/0x250
> [<c01055f9>]kernel_thread_helper+0x5/0xc
>
Everyone will get this. It's IDE's init_irq() function doing
unsafe things inside ide_lock.
It'll be quite harmless at boot-time, but it'd be nice to get
it fixed up.
next prev parent reply other threads:[~2002-09-27 23:45 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 [this message]
2002-09-28 0:43 ` (more) " Luc Van Oostenryck
2002-09-28 1:22 ` Andrew Morton
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=3D94EEBF.D6328392@digeo.com \
--to=akpm@digeo.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.