lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 12 Jun 2012 10:49:48 +0200
From:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
To:	Zhouping Liu <zliu@...hat.com>
Cc:	Andrea Arcangeli <aarcange@...hat.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Hillf Danton <dhillf@...il.com>, hi3766691@...il.com,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Kernel panic - not syncing: Attempted to kill the idle task!

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ