public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Genes Lists <lists@sapience.com>
To: Yu Kuai <yukuai1@huaweicloud.com>, Song Liu <song@kernel.org>,
	 dm-devel@lists.linux.dev, Alasdair Kergon <agk@redhat.com>,
	Mike Snitzer <snitzer@kernel.org>,
	Mikulas Patocka <mpatocka@redhat.com>
Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
	 linux@leemhuis.info, "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: md-raid 6.11.8 page fault oops
Date: Sat, 16 Nov 2024 07:01:28 -0500	[thread overview]
Message-ID: <9f1b81682e853655c74589ace5debf9a55edff51.camel@sapience.com> (raw)
In-Reply-To: <058cd646-2d2a-202d-5f99-6e635a95fead@huaweicloud.com>

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

On Sat, 2024-11-16 at 11:34 +0800, Yu Kuai wrote:
> 
> 
> While reporting bugs, it'll be much helpful if you can provide
> addr2line
> here, fo example:
> 
> gdb dm_mod.ko
> list *(clone_endio+0x43)
> 
> Thanks,
> Kuai
> 
Of course thank you.

Let me know if there's anything else that would be helpful.

I needed to rebuild with debug turned on as production build has it off
- but toolchain is unchanged so this should be valid:

(gdb) list *(clone_endio+0x43)
0x3733 is in clone_endio (drivers/md/dm.c:1111).
1106	static void clone_endio(struct bio *bio)
1107	{
1108		blk_status_t error = bio->bi_status;
1109		struct dm_target_io *tio = clone_to_tio(bio);
1110		struct dm_target *ti = tio->ti;
1111		dm_endio_fn endio = likely(ti != NULL) ? ti->type-
>end_io : NULL;
1112		struct dm_io *io = tio->io;
1113		struct mapped_device *md = io->md;
1114	
1115		if (unlikely(error == BLK_STS_TARGET)) {

-- 
Gene


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-11-16 12:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15 12:12 md-raid 6.11.8 page fault oops Genes Lists
2024-11-15 17:55 ` Song Liu
2024-11-16  3:34   ` Yu Kuai
2024-11-16 12:01     ` Genes Lists [this message]
2024-11-18 10:34   ` Mikulas Patocka
2024-11-19 11:49     ` Yu Kuai
2024-11-17 17:23 ` Genes Lists
2024-11-18  1:14   ` Yu Kuai
2024-11-20 11:48     ` md-raid 6.11.8 page fault oops - *bad memory* please ignore Genes Lists
2024-11-19 11:34   ` md-raid 6.11.8 page fault oops Ojaswin Mujoo
2024-11-19 13:31     ` Genes Lists
2024-11-20 10:18       ` Ojaswin Mujoo
2024-11-20 11:04         ` Genes Lists

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=9f1b81682e853655c74589ace5debf9a55edff51.camel@sapience.com \
    --to=lists@sapience.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux@leemhuis.info \
    --cc=mpatocka@redhat.com \
    --cc=snitzer@kernel.org \
    --cc=song@kernel.org \
    --cc=yukuai1@huaweicloud.com \
    --cc=yukuai3@huawei.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