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]
Date:	Wed, 18 Feb 2009 15:18:43 +0100
From:	Borislav Petkov <borislav.petkov@....com>
To:	Mark Hounschell <markh@...pro.net>
CC:	Mark Hounschell <dmarkh@....rr.com>,
	Andreas Herrmann <andreas.herrmann3@....com>,
	john stultz <johnstul@...ibm.com>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: PROBLEM: Can't boot a (HZ = 1000) kernel using an AMD Phenom-II
	processor

On Wed, Feb 18, 2009 at 08:11:47AM -0500, Mark Hounschell wrote:
> Mark Hounschell wrote:
> > Borislav Petkov wrote:
> 
> >> maybe I wasn't clear enough - I meant to boot a _1000HZ_ kernel not a
> >> 250HZ one with highres timers disabled, if the line above is correct.
> >> Can you try the same thing as above again, please, but this time use a
> >> 1000HZ 32bit kernel.
> >>
> >> Thanks.
> >>
> > 
> > Checking if this processor honours the WP bit even in supervisor mode...Ok.
> > SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
> > HPE

Well, not really since we can't know for sure where your machine hangs.
It might be a problem with the HPET but we can't be sure what we see
above is the last string that entered the printk buffer. However, let's
try the following patch (against vanilla 2.6.28.3), please capture the
dmesg again and send it back, thanks.


---
 arch/x86/kernel/hpet.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 067d8de..068cbc7 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -269,6 +269,11 @@ static void hpet_set_mode(enum clock_event_mode mode,
 		cfg = hpet_readl(HPET_Tn_CFG(timer));
 		cfg |= HPET_TN_ENABLE | HPET_TN_PERIODIC |
 		       HPET_TN_SETVAL | HPET_TN_32BIT;
+
+		printk(KERN_ERR "HPET%d prog. values: now %lu, delta %llu, "
+				"cfg: 0x%lx, \n",
+				timer, now, delta, cfg);
+
 		hpet_writel(cfg, HPET_Tn_CFG(timer));
 		/*
 		 * The first write after writing TN_SETVAL to the
-- 
1.6.0.4


-- 
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
  System  | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
 Research | Geschäftsführer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
  Center  | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
  (OSRC)  | Registergericht München, HRB Nr. 43632

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