From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Georg C. F. Greve" Subject: Re: [Fwd: Re: [PROBLEM] 2.6.3-rc1: still no suspend/resume on Centrino notebook (contains agp, lapic, swsusp)] Date: Wed, 11 Feb 2004 13:10:24 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: References: <3ACA40606221794F80A5670F0AF15F8401CBB68D@PDSMSX403.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: In-Reply-To: <3ACA40606221794F80A5670F0AF15F8401CBB68D-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> (Luming Yu's message of "Wed, 11 Feb 2004 11:04:55 +0800") Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Yu, Luming" Cc: Bruno Ducrot , =?iso-8859-15?q?S=E9rgio_Monteiro_Basto?= , acpi-devel List-Id: linux-acpi@vger.kernel.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= || On Wed, 11 Feb 2004 11:04:55 +0800 || "Yu, Luming" wrote: >> Right now it appears to be a kernel issue, as my ASUS M2N >> occasionally booted with APIC&ACPI just fine -- but not the 2.6.x >> kernels with the exception of 2.6.2-rc2, I think. yl> To issue of booting hang with APIC &ACPI, please verify yl> http://bugzilla.kernel.org/attachment.cgi?id=1257&action=view can yl> help. Maybe we need to figure out what's wrong with the SMM & yl> APIC timer. Just checked this, compiled a 2.6.2 with ACPI 20040116 + the patch above. That patch rejects on arch/i386/kernel/apic.c because the ACPI patch (I believe) contains a half-fix for the issue, so the setup routine looks like ver = GET_APIC_VERSION(apic_read(APIC_LVR)); lvtt_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR; if (!APIC_INTEGRATED(ver)) lvtt_value |= SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV); apic_write_around(APIC_LVTT, lvtt_value); the patch applies fine to drivers/acpi/bus.c, which is apparently missing in the ACPI 20040116 patch. When booting the machine with lapic enabled, the machine boots (!) and dmesg shows the "Found and enabled local APIC!" "Using local APIC timer interrupts." "calibrating APIC timer... [...]" messages. Of course, pressing Fn+F8 (switch CRT/LCD display) makes me hit http://bugzilla.kernel.org/show_bug.cgi?id=1963 http://bugzilla.kernel.org/show_bug.cgi?id=1890 and so the machine crashes hard & instantly, followed by reboot. Unless I want an "instant crash" key, I guess I better leave LAPIC off for now. .-) Regards, Georg -- Georg C. F. Greve Free Software Foundation Europe (http://fsfeurope.org) Brave GNU World (http://brave-gnu-world.org) --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 iD4DBQFAKhuwbvivwoZXSsoRAm97AJ9SGORyjq9ocoRjNv2EP2HiDrqQ7gCY0SOX ZRW3cwMkGAPXe84xqbrtqw== =/1ZK -----END PGP MESSAGE----- --==-=-=-- ------------------------------------------------------- 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