mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chuck Ebbert <76306.1226@compuserve.com>
To: Christopher Friesen <cfriesen@nortel.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: looking for help tracing oops
Date: Sat, 3 Sep 2005 23:14:19 -0400	[thread overview]
Message-ID: <200509032315_MC3-1-A912-1FF8@compuserve.com> (raw)

In-Reply-To: <431925C4.60509@nortel.com>

On Fri, 02 Sep 2005 at 22:25:40 -0600, Christopher Friesen wrote:

> One thing I 
> don't understand--the function makes calls to other functions including 
> printk(), but I don't see those calls listed in the disassembly.

Calls to external functions whose address is not known at compile time
look like this (using 'objdump -d' on my 2.6.10 kernel:)

    19fd:       e8 fc ff ff ff          call   19fe <filp_close+0x4e>

e8 is call relative with 32-bit displacement from start of next instruction.
The displacement points right back at itself (fffffffc == -4)

> EIP is at filp_close+0x64/0xa0

Here:

> 0x00001ac4 <filp_close+100>:    mov    0x2c(%eax),%edx  <============
> 0x00001ac7 <filp_close+103>:    test   %edx,%edx
> 0x00001ac9 <filp_close+105>:    je     0x1a93 <filp_close+51>

eax is f88ad500 and your illegal access was at f88ad52c

Looks like filp->fops points to unallocated memory and it dies while
trying to access filp->fops->flush here:

        if (filp->f_op && filp->f_op->flush) {
 
__
Chuck

             reply	other threads:[~2005-09-04  3:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-04  3:14 Chuck Ebbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-03  4:25 Christopher Friesen
2005-09-03  9:55 ` Jiri Slaby
2005-09-04  3:46 ` Zwane Mwaikambo

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=200509032315_MC3-1-A912-1FF8@compuserve.com \
    --to=76306.1226@compuserve.com \
    --cc=cfriesen@nortel.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 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®