public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joshua Kwan <joshk@triplehelix.org>
To: linux-kernel@vger.kernel.org
Subject: Re: [vma list corruption] Re: proc_pid_readlink oopses again on 2.6.14.5
Date: Tue, 27 Dec 2005 23:24:10 -0800	[thread overview]
Message-ID: <43B23D9A.3020106@triplehelix.org> (raw)
In-Reply-To: <20051228065354.GE27946@ftp.linux.org.uk>

Al Viro wrote:
> Until the last line it made sense.  Code, however, is flat-out BS.
> This chunk is from around proc_exe_link(), all right.  But it starts
> at 3 bytes before the beginning of that function.  Perfect match to
> build with your .config using gcc4, but...  no way in hell you would
> get an oops at that location - it's in the middle of long chunk of
> NOP.  So something's rotten here...

Do you think it might be a subtle compiler problem, and if I compiled it
with GCC 3.3 it might go away?

I'm willing to help diagnose this problem, but this is a production box
I'm messing with, and I don't want to reboot it more than a few times,
so I want to make those tries count with advice from folks like you :)

What do you think about the oopses in my previous post?
http://www.ussg.iu.edu/hypermail/linux/kernel/0512.0/0199.html
These were triggered (well, I'm not sure how the first one came about)
by running 'pidof pppd' - again in /proc/*/ walking procedures.

> So you've got 0xb7c1fc20 as vma.  Which is not good, since that's a userland
> address.  The next question is where it'd come from - it might be
> 	* fscked task->mm
> 	* fscked mm->mmap
> 	* fscked vma somewhere in the chain.

Note that 2.6.12 is running peachy on the machine right now, so it's not
a hardware problem.

> Doing lsof will walk vma chains of many processes, so if something is
> corrupted it will step into that...

Understood. In this particular case, it seems to have been apache2's
process (3399)..

Thanks for your diagnosis thus far.

-- 
Joshua Kwan


  reply	other threads:[~2005-12-28  7:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-28  5:52 proc_pid_readlink oopses again on 2.6.14.5 Joshua Kwan
2005-12-28  6:53 ` [vma list corruption] " Al Viro
2005-12-28  7:24   ` Joshua Kwan [this message]
2005-12-28  8:33   ` Arjan van de Ven
2005-12-30  5:53     ` Joshua Kwan
2005-12-28  8:52 ` Arjan van de Ven

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=43B23D9A.3020106@triplehelix.org \
    --to=joshk@triplehelix.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox