From: Laurence Oberman <loberman@redhat.com>
To: Vinson Lee <vlee@freedesktop.org>,
linux-scsi@vger.kernel.org, Don Brace <don.brace@microsemi.com>
Cc: "Hellwig, Christoph" <hch@infradead.org>, Jens Axboe <axboe@kernel.dk>
Subject: Re: HP ProLiant DL360p Gen8 hangs with Linux 4.13+.
Date: Sun, 14 Jan 2018 18:40:40 -0500 [thread overview]
Message-ID: <1515973240.8994.2.camel@redhat.com> (raw)
In-Reply-To: <CACKvgLEtPRpAS58kn-Skjn65-ZkDK17_cE+OzJodxQ=XvtQPGg@mail.gmail.com>
On Thu, 2018-01-04 at 14:32 -0800, Vinson Lee wrote:
> Hi.
>
> HP ProLiant DL360p Gen8 with Smart Array P420i boots to the login
> prompt and hangs with Linux 4.13 or later. I cannot log in on console
> or SSH into the machine. Linux 4.12 and older boot fine.
>
>
...
...
This issue bit me for for two straight days.
I was testing Mike Snitzers combined tree and this commit crept into
the latest combined tree.
commit 84676c1f21e8ff54befe985f4f14dc1edc10046b
Author: Christoph Hellwig <hch@lst.de>
Date: Fri Jan 12 10:53:05 2018 +0800
genirq/affinity: assign vectors to all possible CPUs
Currently we assign managed interrupt vectors to all present
CPUs. This
works fine for systems were we only online/offline CPUs. But in
case of
systems that support physical CPU hotplug (or the virtualized
version of
it) this means the additional CPUs covered for in the ACPI tables
or on
the command line are not catered for. To fix this we'd either need
to
introduce new hotplug CPU states just for this case, or we can
start
assining vectors to possible but not present CPUs.
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Fixes: 4b855ad37194 ("blk-mq: Create hctx for each present CPU")
Cc: linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reason I never thought about this being my reason for the latest hang
is I have used Linus' tree all the way to 4.15-rc7 with no issues.
Vinson reporting it against 4.13 or later was not making sense because
I had not seen the hang until this weekend.
I checked and its in Linus's tree but its not an issue in the generic
4.15-rc7 for me.
Anyway, its going to possibly bite anybody running HP DL servers with
HPSA boot devices. I have not tried the workaround below.
>From Vinsons message repeated here
"The machine still hangs with Linux 4.15-rc6.
I did a bisect. The hang is introduced with Linux 4.13-rc1 commit
c5cb83bb337c25caae995d992d1cdf9b317f83de "genirq/cpuhotplug: Handle
managed IRQs on CPU hotplug".
There is a startup script that disables hyperthreading by offlining
sibling CPUs.
for CPU in $(cut -s -d, -f2
$SYS_PATH/cpu*/topology/thread_siblings_list | sort -un); do
echo 0 > /sys/devices/system/cpu/cpu$CPU/online
done
If the above script is not run, the machine does not hang with Linux
4.13.
Cheers,
Vinson"
Thanks
Laurence
next prev parent reply other threads:[~2018-01-14 23:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 22:32 HP ProLiant DL360p Gen8 hangs with Linux 4.13+ Vinson Lee
2018-01-05 16:32 ` Bart Van Assche
2018-01-06 20:45 ` Laurence Oberman
2018-01-11 0:52 ` Vinson Lee
2018-01-17 0:17 ` Vinson Lee
2018-01-14 23:40 ` Laurence Oberman [this message]
2018-01-15 12:17 ` Ming Lei
2018-01-15 12:51 ` Laurence Oberman
2018-01-15 15:01 ` Hellwig, Christoph
2018-01-15 16:25 ` Laurence Oberman
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=1515973240.8994.2.camel@redhat.com \
--to=loberman@redhat.com \
--cc=axboe@kernel.dk \
--cc=don.brace@microsemi.com \
--cc=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=vlee@freedesktop.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;
as well as URLs for NNTP newsgroup(s).