All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: James Simmons <jsimmons@infradead.org>
Cc: devel@driverdev.osuosl.org,
	Andreas Dilger <andreas.dilger@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org, Oleg Drokin <oleg.drokin@intel.com>,
	lkp@01.org, Denis Petrovic <denis.petrovic@edu.ece.fr>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	lustre-devel@lists.lustre.org
Subject: Re: [cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050
Date: Wed, 18 Apr 2018 22:13:17 +0800	[thread overview]
Message-ID: <20180418141317.76o6yzrhjjeavmd7@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <alpine.LFD.2.21.1804181456590.5599@casper.infradead.org>

Hi James,

On Wed, Apr 18, 2018 at 02:59:15PM +0100, James Simmons wrote:
>
>> Hello,
>>
>> FYI this happens in mainline kernel 4.17.0-rc1.
>> It looks like a new regression.
>>
>> [    7.587002]  lnet_selftest_init+0x2c4/0x5d9:
>> 						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:134
>> [    7.587002]  ? lnet_selftest_exit+0x8d/0x8d:
>> 						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
>
>Are you running lnet selftest ?

Perhaps yes -- it's randconfig boot test and the .config does include
CONFIG_LNET_SELFTEST:

        CONFIG_LNET=y
        CONFIG_LNET_MAX_PAYLOAD=1048576
==>     CONFIG_LNET_SELFTEST=y
        CONFIG_LNET_XPRT_IB=y

>Is this a UMP setup?

Yes, .config has:

        # CONFIG_SMP is not set

>The reason I ask is that their is a SMP handling bug in lnet
>selftest. If you look at the mailing list I pushed a SMP patch
>series. Can you try that series and tell me if it works for you.

So it looks your fixup patch is not for this case? Anyway the
reproduce-* script attached in the previous email should be fairly
straightforward to try out for reproducing the bug.

Thanks,
Fengguang
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

WARNING: multiple messages have this Message-ID (diff)
From: Fengguang Wu <fengguang.wu@intel.com>
To: James Simmons <jsimmons@infradead.org>
Cc: devel@driverdev.osuosl.org,
	Andreas Dilger <andreas.dilger@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org, Oleg Drokin <oleg.drokin@intel.com>,
	lkp@01.org, Denis Petrovic <denis.petrovic@edu.ece.fr>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	lustre-devel@lists.lustre.org
Subject: [lustre-devel] [cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050
Date: Wed, 18 Apr 2018 22:13:17 +0800	[thread overview]
Message-ID: <20180418141317.76o6yzrhjjeavmd7@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <alpine.LFD.2.21.1804181456590.5599@casper.infradead.org>

Hi James,

On Wed, Apr 18, 2018 at 02:59:15PM +0100, James Simmons wrote:
>
>> Hello,
>>
>> FYI this happens in mainline kernel 4.17.0-rc1.
>> It looks like a new regression.
>>
>> [    7.587002]  lnet_selftest_init+0x2c4/0x5d9:
>> 						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:134
>> [    7.587002]  ? lnet_selftest_exit+0x8d/0x8d:
>> 						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
>
>Are you running lnet selftest ?

Perhaps yes -- it's randconfig boot test and the .config does include
CONFIG_LNET_SELFTEST:

        CONFIG_LNET=y
        CONFIG_LNET_MAX_PAYLOAD=1048576
==>     CONFIG_LNET_SELFTEST=y
        CONFIG_LNET_XPRT_IB=y

>Is this a UMP setup?

Yes, .config has:

        # CONFIG_SMP is not set

>The reason I ask is that their is a SMP handling bug in lnet
>selftest. If you look at the mailing list I pushed a SMP patch
>series. Can you try that series and tell me if it works for you.

So it looks your fixup patch is not for this case? Anyway the
reproduce-* script attached in the previous email should be fairly
straightforward to try out for reproducing the bug.

Thanks,
Fengguang

WARNING: multiple messages have this Message-ID (diff)
From: Fengguang Wu <fengguang.wu@intel.com>
To: lkp@lists.01.org
Subject: Re: [cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050
Date: Wed, 18 Apr 2018 22:13:17 +0800	[thread overview]
Message-ID: <20180418141317.76o6yzrhjjeavmd7@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <alpine.LFD.2.21.1804181456590.5599@casper.infradead.org>

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

Hi James,

On Wed, Apr 18, 2018 at 02:59:15PM +0100, James Simmons wrote:
>
>> Hello,
>>
>> FYI this happens in mainline kernel 4.17.0-rc1.
>> It looks like a new regression.
>>
>> [    7.587002]  lnet_selftest_init+0x2c4/0x5d9:
>> 						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:134
>> [    7.587002]  ? lnet_selftest_exit+0x8d/0x8d:
>> 						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
>
>Are you running lnet selftest ?

Perhaps yes -- it's randconfig boot test and the .config does include
CONFIG_LNET_SELFTEST:

        CONFIG_LNET=y
        CONFIG_LNET_MAX_PAYLOAD=1048576
==>     CONFIG_LNET_SELFTEST=y
        CONFIG_LNET_XPRT_IB=y

>Is this a UMP setup?

Yes, .config has:

        # CONFIG_SMP is not set

>The reason I ask is that their is a SMP handling bug in lnet
>selftest. If you look at the mailing list I pushed a SMP patch
>series. Can you try that series and tell me if it works for you.

So it looks your fixup patch is not for this case? Anyway the
reproduce-* script attached in the previous email should be fairly
straightforward to try out for reproducing the bug.

Thanks,
Fengguang

  reply	other threads:[~2018-04-18 14:13 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 13:38 [cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050 Fengguang Wu
2018-04-18 13:38 ` Fengguang Wu
2018-04-18 13:38 ` [lustre-devel] " Fengguang Wu
2018-04-18 13:40 ` [cfs_trace_lock_tcd] BUG: KASAN: null-ptr-deref in cfs_trace_lock_tcd+0x25/0xeb Fengguang Wu
2018-04-18 13:40   ` Fengguang Wu
2018-04-18 13:40   ` [lustre-devel] " Fengguang Wu
2018-04-18 18:37   ` Linus Torvalds
2018-04-18 18:37     ` Linus Torvalds
2018-04-18 18:37     ` [lustre-devel] " Linus Torvalds
2018-04-18 22:38     ` NeilBrown
2018-04-18 22:38       ` NeilBrown
2018-04-18 22:38       ` [lustre-devel] " NeilBrown
2018-04-19 13:35     ` Andrey Ryabinin
2018-04-19 13:35       ` Andrey Ryabinin
2018-04-19 13:35       ` [lustre-devel] " Andrey Ryabinin
2018-04-19 13:55       ` Andrey Ryabinin
2018-04-19 13:55         ` Andrey Ryabinin
2018-04-19 13:55         ` [lustre-devel] " Andrey Ryabinin
2018-04-18 13:59 ` [cfs_trace_lock_tcd] BUG: unable to handle kernel NULL pointer dereference at 00000050 James Simmons
2018-04-18 13:59   ` James Simmons
2018-04-18 13:59   ` [lustre-devel] " James Simmons
2018-04-18 14:13   ` Fengguang Wu [this message]
2018-04-18 14:13     ` Fengguang Wu
2018-04-18 14:13     ` [lustre-devel] " Fengguang Wu
2018-04-18 14:15 ` [lnet_res_container_setup] BUG: unable to handle kernel paging request at 08000664 Fengguang Wu
2018-04-18 14:15   ` Fengguang Wu
2018-04-18 14:15   ` [lustre-devel] " Fengguang Wu

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=20180418141317.76o6yzrhjjeavmd7@wfg-t540p.sh.intel.com \
    --to=fengguang.wu@intel.com \
    --cc=andreas.dilger@intel.com \
    --cc=denis.petrovic@edu.ece.fr \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jsimmons@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=lustre-devel@lists.lustre.org \
    --cc=oleg.drokin@intel.com \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.