From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Zhouping Liu <zliu@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Hillf Danton <dhillf@gmail.com>,
hi3766691@gmail.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Kernel panic - not syncing: Attempted to kill the idle task!
Date: Tue, 12 Jun 2012 10:49:48 +0200 [thread overview]
Message-ID: <1339490988.31548.40.camel@twins> (raw)
In-Reply-To: <4FD6BD72.2070808@redhat.com>
On Tue, 2012-06-12 at 11:54 +0800, Zhouping Liu wrote:
> On 06/11/2012 09:27 PM, Peter Zijlstra wrote:
> > On Fri, 2012-06-08 at 21:38 -0400, Zhouping Liu wrote:
> >> # cat /sys/devices/system/node/node*/distance
> >> 10 17 17 24 24 24 30 30
> >> 18 10 30 18 18 24 24 24
> >> 18 24 10 24 24 17 30 30
> >> 24 18 23 10 24 17 17 30
> >> 24 17 24 24 10 18 30 18
> >> 31 24 17 18 18 10 24 24
> >> 30 24 30 17 24 24 10 18
> >> 30 24 30 24 17 24 17 10
> > You have to be kidding me right? That thing is a complete trainwreck,
> > what idiot vendor did this?
>
> it's a HP's machine.
> If I understand correctly, you meant the hardware has a bad configuration,
> just serious :) could you explain the reason? (you can ignore it if
> it's a stupid question)
Not only a weird hardware setup (although if we go by this SLIT table,
then that too).
The table itself has various problems:
1) the table isn't symmetric; T(i,j) != T(j,i), for instance, the
distance from 0->1 is different from 1->0 (17 vs 18).
2) 4 nodes have 2 connections, 4 nodes have 3 connections. Which have 2
connections seems completely without pattern, see 4).
3) if we read it like: 10 (self), {17,18} 1 hop, {23,24} 2 hops,
{30,31} 3 hops, its still obviously wrong, see 1->2 and 2->1 (this goes
back to point 1 as well). 1->2 takes 3 hops while 2->1 takes 2 hops.
Going by the 1 hop connections (which aside from the 17 vs 18 mess) are
symmetric, both these should be 2 hops (1<->0<->2 in fact). There's
multiple such 'mistakes'.
4) take a piece of paper and draw a cube, mark each corner as a node,
then high-light the single hop edges and be awestruck by the creative
wiring.
This is by far the most 'creative' SLIT table I have ever seen and of
course its HP again.. those guys have the most shitty BIOS record ever.
Now we could 'fix' up this table by doing a min-symmetry filter over it,
but I'm tempted to just give up and do a single machine wide fall-back
domain when we find crappy tables like this.
next prev parent reply other threads:[~2012-06-12 8:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 17:13 Kernel panic - not syncing: Attempted to kill the idle task! ZhouPing Liu
2012-06-08 18:46 ` Peter Zijlstra
2012-06-09 1:38 ` Zhouping Liu
2012-06-11 13:27 ` Peter Zijlstra
2012-06-11 13:51 ` Borislav Petkov
2012-06-12 3:54 ` Zhouping Liu
2012-06-12 6:39 ` Zhouping Liu
2012-06-12 8:49 ` Peter Zijlstra [this message]
[not found] ` <CA+55aFw=akW7B+vRkQRMojnP6_b1YXdKpNEjQ2EyBHcTe2_XLw@mail.gmail.com>
2012-06-12 10:27 ` Peter Zijlstra
2012-06-12 11:08 ` Peter Zijlstra
2012-06-12 16:45 ` Peter Zijlstra
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=1339490988.31548.40.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=aarcange@redhat.com \
--cc=dhillf@gmail.com \
--cc=hi3766691@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=zliu@redhat.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