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, 3 Sep 2008 16:36:32 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	"Luiz Fernando N. Capitulino" <lcapitulino@...driva.com.br>
cc:	herton@...driva.com.br,
	Mikhail Kshevetskiy <mikhail.kshevetskiy@...il.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: 2.6.27-rc5 doesn't boot on a Pavilion laptop

On Wed, 3 Sep 2008, Luiz Fernando N. Capitulino wrote:

> Em Wed, 3 Sep 2008 12:04:58 +0200 (CEST)
> Thomas Gleixner <tglx@...utronix.de> escreveu:
> 
> | On Tue, 2 Sep 2008, Luiz Fernando N. Capitulino wrote:
> | > """
> | > PCI: Using ACPI for IRQ routing
> | > DMAR:parse DMAR table failure.
> | > """
> | > 
> | >  Also, after about 10 minutes I get the same backtrace as reported in
> | > the ticket above... It's the same bug then.
> | 
> | Venki found a nasty bug in the clock events code which might be
> | related to this. I found one as well. Can you please apply the combo
> | of those fixes to current mainline and test it ?
> 
>  Same problem, with or without CONFIG_HPET enabled.
> 
>  You think the problem you are discussing with Linus - the TSC
> calibration issue - may have anything to do with this?

Dont think so. Your dmesg outputs do not show any sign of that
disease.

Can you try the patch below please ?

Thanks,
	tglx
---
 kernel/time/tick-broadcast.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Index: linux-2.6/kernel/time/tick-broadcast.c
===================================================================
--- linux-2.6.orig/kernel/time/tick-broadcast.c
+++ linux-2.6/kernel/time/tick-broadcast.c
@@ -501,9 +501,12 @@ static void tick_broadcast_clear_oneshot
  */
 void tick_broadcast_setup_oneshot(struct clock_event_device *bc)
 {
-	bc->event_handler = tick_handle_oneshot_broadcast;
-	clockevents_set_mode(bc, CLOCK_EVT_MODE_ONESHOT);
-	bc->next_event.tv64 = KTIME_MAX;
+	/* Set it up only once ! */
+	if (bc->event_handler != tick_handle_oneshot_broadcast) {
+		bc->event_handler = tick_handle_oneshot_broadcast;
+		clockevents_set_mode(bc, CLOCK_EVT_MODE_ONESHOT);
+		bc->next_event.tv64 = KTIME_MAX;
+	}
 }
 
 /*


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