From: Andrew Morton <akpm@osdl.org>
To: Reuben Farrelly <reuben-lkml@reub.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.15-rc1-mm1
Date: Fri, 18 Nov 2005 13:19:57 -0800 [thread overview]
Message-ID: <20051118131957.3ea831c9.akpm@osdl.org> (raw)
In-Reply-To: <437E408A.8010808@reub.net>
Reuben Farrelly <reuben-lkml@reub.net> wrote:
>
> I don't think I should be able to make this happen so easily though:
>
>
> [root@tornado ~]# rmmod e100
> [root@tornado ~]# rmmod sky2
> [root@tornado ~]# strace modprobe e100
> Unable to handle kernel NULL pointer dereference at virtual address 00000010
> printing eip:
> c0124fc7
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT SMP
> last sysfs file: /class/net/eth0/flags
> Modules linked in: nfsd exportfs lockd sunrpc autofs4 lm85 hwmon_vid eeprom ipv6
> binfmt_misc hw_random crc32 piix i2c_i801
> CPU: 0
> EIP: 0060:[<c0124fc7>] Not tainted VLI
> EFLAGS: 00010202 (2.6.15-rc1-mm2-preempt)
> EIP is at ptrace_check_attach+0x14/0xaf
This might help..
Begin forwarded message:
Date: Fri, 18 Nov 2005 18:07:43 +0000
From: Christoph Hellwig <hch@infradead.org>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: akpm@osdl.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.15-rc1-mm1 panic in ptrace_check_attach()
On Fri, Nov 18, 2005 at 09:56:40AM -0800, Badari Pulavarty wrote:
> Hi Andrew,
>
> I am not sure if its already reported. I get panic in
> ptrace_check_attach() while trying to run UML on 2.6.15-rc1-mm1.
>
> Going to try 2.6.15-rc1-mm2 now.
Looks like 2.6.15-rc1-mm1 has total crap in ptrace_get_task_struct
(and it looks like my fault because I sent out a wrong patch).
The patch below should fix it:
Index: linux-2.6/kernel/ptrace.c
===================================================================
--- linux-2.6.orig/kernel/ptrace.c 2005-11-18 10:25:35.000000000 +0100
+++ linux-2.6/kernel/ptrace.c 2005-11-18 10:25:54.000000000 +0100
@@ -459,7 +459,7 @@
read_unlock(&tasklist_lock);
if (!child)
return ERR_PTR(-ESRCH);
- return 0;
+ return child;
}
#ifndef __ARCH_SYS_PTRACE
next prev parent reply other threads:[~2005-11-18 21:20 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 19:18 2.6.15-rc1-mm1 Andrew Morton
2005-11-17 21:30 ` 2.6.15-rc1-mm1 Valdis.Kletnieks
2005-11-17 22:14 ` 2.6.15-rc1-mm1 David Howells
2005-11-17 22:23 ` 2.6.15-rc1-mm1 Valdis.Kletnieks
2005-11-18 4:23 ` 2.6.15-rc1-mm1 - immediate system reset at boot Valdis.Kletnieks
2005-11-18 4:27 ` Andrew Morton
2005-11-18 1:41 ` [-mm patch] kernel/signal.c: fix compile warning Adrian Bunk
2005-11-18 3:59 ` George Anzinger
2005-11-18 1:44 ` 2.6.15-rc1-mm1 Richard Knutsson
2005-11-18 1:53 ` 2.6.15-rc1-mm1 Andrew Morton
2005-11-18 7:20 ` 2.6.15-rc1-mm1 Reuben Farrelly
2005-11-18 7:42 ` 2.6.15-rc1-mm1 Andrew Morton
2005-11-18 7:56 ` 2.6.15-rc1-mm1 Sander
2005-11-18 20:58 ` 2.6.15-rc1-mm1 Reuben Farrelly
2005-11-18 21:19 ` Andrew Morton [this message]
2005-11-18 12:43 ` 2.6.15-rc1-mm1 Ed Tomlinson
2005-11-18 20:37 ` 2.6.15-rc1-mm1 Greg KH
2005-11-18 21:14 ` 2.6.15-rc1-mm1 Ian McDonald
2005-11-18 23:16 ` 2.6.15-rc1-mm1 Ed Tomlinson
2005-11-18 23:03 ` 2.6.15-rc1-mm1 Greg KH
2005-11-18 23:35 ` 2.6.15-rc1-mm1 Ed Tomlinson
2005-11-18 23:51 ` 2.6.15-rc1-mm1 Greg KH
2005-11-19 1:24 ` 2.6.15-rc1-mm1 Ed Tomlinson
2005-11-19 1:26 ` 2.6.15-rc1-mm1 Greg KH
2005-11-19 1:49 ` 2.6.15-rc1-mm1 Ian McDonald
2005-11-19 3:24 ` 2.6.15-rc1-mm1 Ed Tomlinson
2005-11-21 0:00 ` 2.6.15-rc1-mm1 Ian McDonald
2005-11-21 0:26 ` 2.6.15-rc1-mm1 Greg KH
2005-11-22 20:47 ` 2.6.15-rc1-mm1 Ian McDonald
2005-11-22 20:55 ` 2.6.15-rc1-mm1 Greg KH
2005-11-22 22:05 ` 2.6.15-rc1-mm1 Ian McDonald
2005-11-19 1:40 ` 2.6.15-rc1-mm1 Ian McDonald
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=20051118131957.3ea831c9.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=reuben-lkml@reub.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
all inboxes | Powered by JetHome®