From: Meelis Roos <mroos@linux.ee>
To: Ming Lei <tom.leiming@gmail.com>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
sparclinux@vger.kernel.org
Subject: Re: blk_mq_register_disk: kobject (00000000009f2dd8): tried to init an initialized object, something is seriously wrong.
Date: Mon, 5 Oct 2015 10:20:29 +0300 (EEST) [thread overview]
Message-ID: <alpine.LRH.2.20.1510051013250.20763@math.ut.ee> (raw)
In-Reply-To: <CACVXFVPBL60U-m37R-r_P2=fFHM7cTGOLJ+5MB5Pgwh1Xudy0w@mail.gmail.com>
> On Sun, Oct 4, 2015 at 3:33 AM, Meelis Roos <mroos@linux.ee> wrote:
> >> This is 4.3.0-rc1 on Sun E220R (dual-CPU sparc64). Sometimes it boots,
> >> sometimes it fails to boot with looping errors and finally a watchdog
> >> timeout. This console log from a failure. Config is below.
> >
> > I noticed blk-mq related changes in todays git. Retested, loop_init
> > still causes the same blk-mq problem.
>
>
> > [ 100.063323] blk_mq_sysfs_init: init hctx_kobj fffff800ad8b95f8 0
> > [ 100.135151] blk_mq_sysfs_init: init ctx_kobj fffff800af80cdd8 0
> > [ 100.205952] blk_mq_sysfs_init: init ctx_kobj 00000000009f2dd8 1
> > [ 100.276785] kobject (00000000009f2dd8): tried to init an initialized object, something is seriously wrong.
>
> >From the debug log, the issue happened on ctx_kobj which is one
> percpu variable, and looks it can't be initialized by blk-mq more than
> one time.
>
> I suspect it may be one memory issue, especiall in percpu allocation.
> The percpu variable's address for the offline CPU1 is a bit special, not
> like the other two online CPUs. And it might be helpful to enalbe
> 'Per cpu operations test' in' Kernel hacking --->'/'Runtime Testing'
> of Kconfig to see if it can pass the test.
Configure the precpu test module to be compiled, included it in
/proc/modules before loop. Percpu test test fine - 4 successful boots
and one failure, and the test finds nothing bad:
[ 137.674383] percpu test start
[ 137.709010] percpu test done
[ 137.876170] kobject (00000000009fcdd8): tried to init an initialized object, something is seriously wrong.
[ 137.990966] CPU: 2 PID: 1172 Comm: modprobe Tainted: G B DA C LK 4.3.0-rc3-00199-g978ab6a #69
--
Meelis Roos (mroos@linux.ee)
prev parent reply other threads:[~2015-10-05 7:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-14 19:06 Meelis Roos
2015-09-21 7:08 ` Ming Lei
2015-09-21 7:26 ` Meelis Roos
2015-09-21 7:38 ` Ming Lei
2015-09-21 11:43 ` Meelis Roos
2015-09-22 3:35 ` Ming Lei
2015-09-22 6:59 ` Meelis Roos
2015-10-03 19:33 ` Meelis Roos
2015-10-03 23:27 ` Ming Lei
2015-10-05 7:20 ` Meelis Roos [this message]
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=alpine.LRH.2.20.1510051013250.20763@math.ut.ee \
--to=mroos@linux.ee \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=tom.leiming@gmail.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
all inboxes | Powered by JetHome®