public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Lynch <nathanl@austin.ibm.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@osdl.org>,
	Srivatsa Vaddagiri <vatsa@in.ibm.com>,
	lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Zwane Mwaikambo <zwane@linuxpower.ca>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.8.1-mm1
Date: Wed, 18 Aug 2004 12:36:52 -0500	[thread overview]
Message-ID: <1092850612.2995.162.camel@booger> (raw)
In-Reply-To: <1092791073.27352.183.camel@bach>

On Tue, 2004-08-17 at 20:04, Rusty Russell wrote:
> Name: Don't Sleep After We're Out Of Task List
> Status: Booted on 2.6.8.1-mm1
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
> Version: -mm

I tried this and I see might_sleep warnings from proc_pid_flush during
boot and during the test:

Debug: sleeping function called from invalid context at
fs/proc/base.c:1532
in_atomic():1, irqs_disabled():0
 [<c0108317>] dump_stack+0x17/0x20
 [<c0123196>] __might_sleep+0xb6/0xe0
 [<c01a2985>] proc_pid_flush+0x15/0x40
 [<c0128066>] release_task+0x1a6/0x270
 [<c011f49c>] finish_task_switch+0xac/0xe0
 [<c041acea>] schedule+0x53a/0xa70
 [<c041be29>] schedule_timeout+0xb9/0xc0
 [<c0180ebe>] do_select+0x18e/0x2f0
 [<c01812e3>] sys_select+0x293/0x4e0
 [<c010746f>] syscall_call+0x7/0xb

And I still hit the same BUG_ON when running the test:

kernel BUG at kernel/sched.c:4038!
invalid operand: 0000 [#1]
PREEMPT SMP 
Modules linked in:
CPU:    0
EIP:    0060:[<c0122b2b>]    Not tainted VLI
EFLAGS: 00010202   (2.6.8.1-mm1) 
EIP is at migration_call+0x1bb/0x300
eax: 00000001   ebx: c1410f60   ecx: 00000000   edx: dea71ec8
esi: dea71000   edi: 00000001   ebp: dea71ee0   esp: dea71eb8
ds: 007b   es: 007b   ss: 0068
Process bash (pid: 2956, threadinfo=dea71000 task=de4f0210)
Stack: dea71ed4 de4f07f0 de4f07f0 dea71ed4 00000296 dea71ee4 00000296 c04a5b78 
       00000001 00000006 dea71ef4 c01368c8 dea71000 00000001 c04a7a40 dea71f2c 
       c014054c c01a8d19 c04f5700 00000000 dea71000 00000001 00000001 000000ff 
Call Trace:
 [<c01082ea>] show_stack+0x7a/0x90
 [<c0108472>] show_registers+0x152/0x1c0
 [<c01086a0>] die+0x110/0x200
 [<c0108b99>] do_invalid_op+0xe9/0xf0
 [<c0107ed9>] error_code+0x2d/0x38
 [<c01368c8>] notifier_call_chain+0x28/0x50
 [<c014054c>] cpu_down+0x11c/0x230
 [<c02a5d38>] store_online+0x38/0x40
 [<c02a30b7>] sysdev_store+0x37/0x40
 [<c01a8b2e>] flush_write_buffer+0x2e/0x40
 [<c01a8b8a>] sysfs_write_file+0x4a/0x60
 [<c016b302>] vfs_write+0xa2/0x100
 [<c016b411>] sys_write+0x41/0x70
 [<c010746f>] syscall_call+0x7/0xb
Code: 0b d0 0f 0f 54 43 c0 eb 8e c7 04 24 0f 34 43 c0 b8 64 2a 12 c0 89 44 24 04
 e8 e2 3f 00 00 0f 0b 89 00 22 d4 42 c0 e9 4a ff ff ff <0f> 0b c6 0f 0f 54 43 c0
 e9 2c ff ff ff e8 e3 86 2f 00 e9 17 ff 

Anything else I can try?

Nathan



  reply	other threads:[~2004-08-18 21:50 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-16 21:37 2.6.8.1-mm1 Andrew Morton
2004-08-16 21:47 ` 2.6.8.1-mm1 Christoph Hellwig
2004-08-17 13:20   ` 2.6.8.1-mm1 Frediano Ziglio
2004-08-18 23:57   ` 2.6.8.1-mm1 Peter Osterlund
2004-08-19  9:45     ` 2.6.8.1-mm1 Christoph Hellwig
2004-08-20  5:44       ` 2.6.8.1-mm1 Peter Osterlund
2004-08-20  6:03         ` 2.6.8.1-mm1 Christoph Hellwig
2004-08-16 22:30 ` 2.6.8.1-mm1 Bartlomiej Zolnierkiewicz
2004-08-16 21:51   ` 2.6.8.1-mm1 Alan Cox
2004-08-16 23:25 ` 2.6.8.1-mm1 Arkadiusz Miskiewicz
2004-08-16 23:39 ` 2.6.8.1-mm1 Martin J. Bligh
2004-08-17  1:32   ` 2.6.8.1-mm1 Nathan Lynch
2004-08-17  6:59     ` 2.6.8.1-mm1 Sam Ravnborg
2004-08-17  6:25       ` 2.6.8.1-mm1 Martin J. Bligh
2004-08-17  6:38         ` 2.6.8.1-mm1 Andrew Morton
2004-08-17  7:00       ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17  7:05         ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17  3:07 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17  3:09   ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17  3:19     ` 2.6.8.1-mm1 Andrew Morton
2004-08-17  3:41       ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17  4:16         ` 2.6.8.1-mm1 Nick Piggin
2004-08-17 14:38       ` 2.6.8.1-mm1 (compile stats) John Cherry
2004-08-17  5:59 ` 2.6.8.1-mm1 Nathan Lynch
2004-08-17  7:19   ` 2.6.8.1-mm1 Rusty Russell
2004-08-17  8:45     ` [patch] new-task-fix.patch, 2.6.8.1-mm1 Ingo Molnar
2004-08-17 11:35       ` Nick Piggin
2004-08-17 11:38   ` 2.6.8.1-mm1 Srivatsa Vaddagiri
2004-08-17 17:53     ` 2.6.8.1-mm1 Andrew Morton
2004-08-18  1:04       ` 2.6.8.1-mm1 Rusty Russell
2004-08-18 17:36         ` Nathan Lynch [this message]
2004-08-17  6:20 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17  6:40   ` 2.6.8.1-mm1 sam
2004-08-17  7:05 ` 2.6.8.1-mm1 Nathan Lynch
2004-08-17 13:39   ` 2.6.8.1-mm1 Zwane Mwaikambo
2004-08-17 12:54 ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 14:15   ` 2.6.8.1-mm1 William Lee Irwin III
2004-08-17 21:59 ` ldchk -> arch/arm/Makefile? [Was: 2.6.8.1-mm1] Sam Ravnborg

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=1092850612.2995.162.camel@booger \
    --to=nathanl@austin.ibm.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rusty@rustcorp.com.au \
    --cc=vatsa@in.ibm.com \
    --cc=zwane@linuxpower.ca \
    /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