All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
To: "Georg C. F. Greve" <greve-mXXj517/zsQ@public.gmane.org>
Cc: "Nakajima,
	Jun" <jun.nakajima-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Martin Loschwitz
	<madkiss-R0iKqZn4BxJAfugRpC6u6w@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Brown,
	Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: PROBLEM: ACPI freezes 2.6.1 on boot
Date: Thu, 22 Jan 2004 13:08:54 +0100	[thread overview]
Message-ID: <20040122120854.GB3534@hell.org.pl> (raw)
In-Reply-To: <m3ptddgckg.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>

Thus wrote Georg C. F. Greve:
> So the problem we've been seeing seems to be related to the
> interaction between local APIC support and ACPI.

We've definitely had those problems before (with ASUS L3800C), there's 
even a patch fixing this issue (attached below) you might try.
I guess that's another of those lost and forgotten bugzilla bugs :)

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


diff -Bru linux-2.6.0-test8/arch/i386/kernel/apic.c patched/arch/i386/kernel/apic.c
--- linux-2.6.0-test8/arch/i386/kernel/apic.c	2003-10-18 05:43:36.000000000 +0800
+++ patched/arch/i386/kernel/apic.c	2003-10-30 23:17:50.000000000 +0800
@@ -836,8 +836,8 @@
 {
 	unsigned int lvtt1_value, tmp_value;
 
-	lvtt1_value = SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV) |
-			APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+	lvtt1_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+
 	apic_write_around(APIC_LVTT, lvtt1_value);
 
 	/*
diff -Bru linux-2.6.0-test8/drivers/acpi/bus.c patched/drivers/acpi/bus.c
--- linux-2.6.0-test8/drivers/acpi/bus.c	2003-10-18 05:43:19.000000000 +0800
+++ patched/drivers/acpi/bus.c	2003-10-30 23:20:32.000000000 +0800
@@ -589,6 +589,7 @@
 
 	ACPI_FUNCTION_TRACE("acpi_bus_init");
 
+	disable_APIC_timer();
 	status = acpi_initialize_subsystem();
 	if (ACPI_FAILURE(status)) {
 		printk(KERN_ERR PREFIX "Unable to initialize the ACPI Interpreter\n");
@@ -643,6 +644,7 @@
 		goto error1;
 	}
 
+	enable_APIC_timer();
 	printk(KERN_INFO PREFIX "Interpreter enabled\n");
 
 	/*
@@ -672,6 +674,7 @@
 error1:
 	acpi_terminate();
 error0:
+	enable_APIC_timer();
 	return_VALUE(-ENODEV);
 }
 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

WARNING: multiple messages have this Message-ID (diff)
From: Karol Kozimor <sziwan@hell.org.pl>
To: "Georg C. F. Greve" <greve@gnu.org>
Cc: "Nakajima, Jun" <jun.nakajima@intel.com>,
	Martin Loschwitz <madkiss@madkiss.org>,
	linux-kernel@vger.kernel.org, "Brown, Len" <len.brown@intel.com>,
	acpi-devel@lists.sourceforge.net
Subject: Re: [ACPI] Re: PROBLEM: ACPI freezes 2.6.1 on boot
Date: Thu, 22 Jan 2004 13:08:54 +0100	[thread overview]
Message-ID: <20040122120854.GB3534@hell.org.pl> (raw)
In-Reply-To: <m3ptddgckg.fsf@reason.gnu-hamburg>

Thus wrote Georg C. F. Greve:
> So the problem we've been seeing seems to be related to the
> interaction between local APIC support and ACPI.

We've definitely had those problems before (with ASUS L3800C), there's 
even a patch fixing this issue (attached below) you might try.
I guess that's another of those lost and forgotten bugzilla bugs :)

-- 
Karol 'sziwan' Kozimor
sziwan@hell.org.pl


diff -Bru linux-2.6.0-test8/arch/i386/kernel/apic.c patched/arch/i386/kernel/apic.c
--- linux-2.6.0-test8/arch/i386/kernel/apic.c	2003-10-18 05:43:36.000000000 +0800
+++ patched/arch/i386/kernel/apic.c	2003-10-30 23:17:50.000000000 +0800
@@ -836,8 +836,8 @@
 {
 	unsigned int lvtt1_value, tmp_value;
 
-	lvtt1_value = SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV) |
-			APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+	lvtt1_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+
 	apic_write_around(APIC_LVTT, lvtt1_value);
 
 	/*
diff -Bru linux-2.6.0-test8/drivers/acpi/bus.c patched/drivers/acpi/bus.c
--- linux-2.6.0-test8/drivers/acpi/bus.c	2003-10-18 05:43:19.000000000 +0800
+++ patched/drivers/acpi/bus.c	2003-10-30 23:20:32.000000000 +0800
@@ -589,6 +589,7 @@
 
 	ACPI_FUNCTION_TRACE("acpi_bus_init");
 
+	disable_APIC_timer();
 	status = acpi_initialize_subsystem();
 	if (ACPI_FAILURE(status)) {
 		printk(KERN_ERR PREFIX "Unable to initialize the ACPI Interpreter\n");
@@ -643,6 +644,7 @@
 		goto error1;
 	}
 
+	enable_APIC_timer();
 	printk(KERN_INFO PREFIX "Interpreter enabled\n");
 
 	/*
@@ -672,6 +674,7 @@
 error1:
 	acpi_terminate();
 error0:
+	enable_APIC_timer();
 	return_VALUE(-ENODEV);
 }
 

  parent reply	other threads:[~2004-01-22 12:08 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21 16:32 PROBLEM: ACPI freezes 2.6.1 on boot Nakajima, Jun
2004-01-21 16:32 ` Nakajima, Jun
2004-01-21 21:21 ` Georg C. F. Greve
2004-01-21 21:21   ` Georg C. F. Greve
     [not found]   ` <m3u12pgfpr.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-01-21 22:29     ` Georg C. F. Greve
2004-01-21 22:29       ` Georg C. F. Greve
     [not found]       ` <m3ptddgckg.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-01-22 12:08         ` Karol Kozimor [this message]
2004-01-22 12:08           ` [ACPI] " Karol Kozimor
     [not found]           ` <20040122120854.GB3534-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-01-22 13:59             ` Mikael Pettersson
2004-01-22 13:59               ` [ACPI] " Mikael Pettersson
     [not found]               ` <16399.55109.244040.516731-mKzD8scclNAGILsNoAPbNA@public.gmane.org>
2004-01-22 14:05                 ` Karol Kozimor
2004-01-22 14:05                   ` [ACPI] " Karol Kozimor
     [not found]                   ` <20040122140546.GD5194-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-01-22 14:28                     ` Luca Capello
2004-01-22 17:15                 ` Linus Torvalds
2004-01-22 17:15                   ` [ACPI] " Linus Torvalds
     [not found]                   ` <Pine.LNX.4.58.0401220900510.2123-Xqd2YWsQM6mXDw4h08c5KA@public.gmane.org>
2004-01-22 17:49                     ` Mikael Pettersson
2004-01-22 17:49                       ` [ACPI] " Mikael Pettersson
2004-01-22 14:08             ` Georg C. F. Greve
2004-01-22 14:08               ` [ACPI] " Georg C. F. Greve
     [not found]               ` <m3browulc7.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-01-22 14:26                 ` Georg C. F. Greve
2004-01-22 14:26                   ` [ACPI] " Georg C. F. Greve
  -- strict thread matches above, loose matches on Subject: below --
2004-01-21 18:56 Linus Torvalds
2004-01-21 21:15 ` Georg C. F. Greve
     [not found]   ` <m3d69dhukz.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-01-21 21:51     ` Sérgio Monteiro Basto
     [not found]       ` <1074721887.3672.12.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2004-01-21 22:33         ` Georg C. F. Greve
     [not found]           ` <m34qupdj94.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-01-21 23:31             ` Sérgio Monteiro Basto
     [not found]               ` <1074727903.3667.49.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2004-01-22 10:32                 ` Georg C. F. Greve
2004-01-22 14:16 Yu, Luming
2004-01-22 18:23 [ACPI] " Pallipadi, Venkatesh
2004-01-22 18:37 ` Mikael Pettersson
2004-01-22 19:05   ` Linus Torvalds
     [not found]     ` <Pine.LNX.4.58.0401221044440.2172-Xqd2YWsQM6mXDw4h08c5KA@public.gmane.org>
2004-01-23 13:19       ` Maciej W. Rozycki

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=20040122120854.GB3534@hell.org.pl \
    --to=sziwan-detuoxkzssqrdjvtcaxf/a@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=greve-mXXj517/zsQ@public.gmane.org \
    --cc=jun.nakajima-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=madkiss-R0iKqZn4BxJAfugRpC6u6w@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.