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] [thread-next>] [day] [month] [year] [list]
Message-ID: <47632222.4030008@zytor.com>
Date:	Fri, 14 Dec 2007 16:38:58 -0800
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Arun Thomas <arun.thomas@...il.com>
CC:	Thomas Gleixner <tglx@...utronix.de>,
	Jiri Slaby <jirislaby@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>
Subject: Re: PROBLEM: E6850 has an 8+ minute delay during boot

Arun Thomas wrote:
> On Dec 14, 2007 2:01 PM, H. Peter Anvin <hpa@...or.com> wrote:
>> Thomas Gleixner wrote:
>>> The problem is caused by an SMI during the calibration routine. We
>>> really need to come up with a solid solution which does not rely on
>>> the periodic timer coming in, when there is something else (HPET,
>>> pm_timer) available.
>> How long is the SMI?
> 
> Is there some instrumentation code somewhere which would allow me to
> determine this? If not, can you give me some hints on where to add the
> instrumentation code?

Well, the most obvious way to do it would be to run the calibration loop 
a large number of times, and observe the statistical variation.  In 
particular, one should see a bi- or multimodal pattern where the 
difference between the peaks amount to the "lost time".

When we have a clue about the loss of time then we can figure out how to 
detect it.

	-hpa
--
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