From: Jan Niehusmann <list039@gondor.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvmove hangs
Date: Mon Aug 18 09:30:02 2003 [thread overview]
Message-ID: <20030818142912.GA14977@gondor.com> (raw)
In-Reply-To: <20030818151229.B29420@uk.sistina.com>
On Mon, Aug 18, 2003 at 03:12:29PM +0100, Alasdair G Kergon wrote:
> On Mon, Aug 18, 2003 at 01:14:15AM +0200, Jan Niehusmann wrote:
> > I noticed the WCHAN fields in my ps output were not very useful, because
> > they pointed to a module and were not decoded.
>
> Does your System.map file correspond to the running kernel?
> [See ps man page / strace to check where it's getting that file from]
Sure it is :-)
(I use debian make-kpkg to build a kernel .deb, which makes sure that
the right System.map file gets installed together with the kernel)
But it doesn't contain symbols which get defined by modules. And
even /proc/ksymoops only contains exported symbols, which daemon()
from dm-daemon.c is not. So I looked at the next exported symbol
(dm_daemon_start), took the difference between these two addresses,
and went back the number of bytes in objdump --disassemble, and compared
that to the sourcecode to find the actual positions.
Even though I don't know x86 assembly too well, it was not difficult to
match assembly instructions to C source code, as the source at this
position is quite low-level.
Jan
next prev parent reply other threads:[~2003-08-18 9:30 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-16 5:21 [linux-lvm] pvmove hangs Jan Niehusmann
2003-08-16 10:48 ` Jan Niehusmann
2003-08-16 13:57 ` Alasdair G Kergon
2003-08-17 11:11 ` Jan Niehusmann
2003-08-17 11:34 ` Alasdair G Kergon
2003-08-17 11:41 ` Jan Niehusmann
2003-08-17 12:00 ` Alasdair G Kergon
2003-08-17 18:15 ` Jan Niehusmann
2003-08-18 6:46 ` Alasdair G Kergon
2003-08-18 7:07 ` Jan Niehusmann
2003-08-18 9:13 ` Alasdair G Kergon
2003-08-18 9:30 ` Jan Niehusmann [this message]
[not found] ` <20030817114638.GA1839@gondor.com>
2003-08-17 12:42 ` Alasdair G Kergon
2003-08-17 13:27 ` Jan Niehusmann
2003-08-17 13:50 ` Alasdair G Kergon
2003-08-17 13:55 ` Alasdair G Kergon
2003-08-18 12:58 ` Alasdair G Kergon
2003-08-18 13:21 ` Jan Niehusmann
2003-08-18 17:55 ` Jan Niehusmann
2003-08-19 17:52 ` Jan Niehusmann
-- strict thread matches above, loose matches on Subject: below --
2005-04-26 9:19 Gergely Imre
2005-04-26 13:30 ` Diaz Rodriguez, Eduardo
2005-04-27 5:46 ` Gergely Imre
2005-04-27 13:04 Gergely Imre
2005-04-28 9:46 ` Diaz Rodriguez, Eduardo
2005-04-28 10:23 ` Gergely Imre
2005-04-28 11:13 ` Diaz Rodriguez, Eduardo
2010-08-17 19:26 Allen, Jack
2010-08-17 22:12 ` Thomas Hager
2010-08-17 23:09 ` Allen, Jack
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=20030818142912.GA14977@gondor.com \
--to=list039@gondor.com \
--cc=linux-lvm@sistina.com \
/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