Re: 2.6.22-rcX Transmeta/APM regression

2007-06-30 Thread Andrew Morton
On 30 Jun 2007 14:57:06 -0400 [EMAIL PROTECTED] wrote: > > --- a/arch/i386/kernel/cpu/mtrr/generic.c~i386-mtrr-crash-fix > > +++ a/arch/i386/kernel/cpu/mtrr/generic.c > > @@ -65,7 +65,8 @@ get_fixed_ranges(mtrr_type * frs) > > > > void mtrr_save_fixed_ranges(void *info) > > { > > - get_fixed

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-30 Thread linux
Responding to various proposed fixes: > Index: linux/arch/i386/kernel/cpu/mtrr/main.c > === > --- linux.orig/arch/i386/kernel/cpu/mtrr/main.c > +++ linux/arch/i386/kernel/cpu/mtrr/main.c > @@ -734,8 +734,11 @@ void mtrr_ap_init(void)

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-30 Thread Andi Kleen
On Saturday 30 June 2007 05:03, [EMAIL PROTECTED] wrote: > Anyway, the patch which introduces the problem is the aptly named 3ebad: > 3ebad59056: [PATCH] x86: Save and restore the fixed-range MTRRs of the BSP > when suspending > > 2.6.22-rc6 plus that one commit reverted successfully does APM susp

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-30 Thread Andrew Morton
On Sat, 30 Jun 2007 00:06:36 -0400 "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > > Anyway, the patch which introduces the problem is the aptly named 3ebad: > > 3ebad59056: [PATCH] x86: Save and restore the fixed-range MTRRs of the BSP > > when suspending > > > > 2

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-29 Thread H. Peter Anvin
[EMAIL PROTECTED] wrote: Anyway, the patch which introduces the problem is the aptly named 3ebad: 3ebad59056: [PATCH] x86: Save and restore the fixed-range MTRRs of the BSP when suspending 2.6.22-rc6 plus that one commit reverted successfully does APM suspend (and resume) for me. Okay, I wou

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-29 Thread linux
Okay, after a ridiculous amount of bisecting and recompiling and rebooting... First I had to find out that the kernel stops booting as of bf50467204: "i386: Use per-cpu GDT immediately on boot" (With theis commit, it silently stops booting. The GP fault I posted earlier comes a little later, but

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-27 Thread linux
> .config and contents of /proc/cpuinfo would be helpful... Apologies! I'm still working on the bisection, but... The following is from 2.6.21-gae1ee11b, which works. $ cat /tmp/cpuinfo processor : 0 vendor_id : GenuineTMx86 cpu family : 6 model : 4 model name :

Re: 2.6.22-rcX Transmeta/APM regression

2007-06-27 Thread Chuck Ebbert
On 06/27/2007 11:31 AM, [EMAIL PROTECTED] wrote: > Hardware: Fujitsu Lifebook P-2040, TM5800 800 MHz processor > 2.6.21: Closing the lid causes APM suspend. Opening it resumes just fine. > 2.6.22-rc5/-rc6: On resume, backlight comes on, but system is otherwise > frozen. Nothing happens unti

2.6.22-rcX Transmeta/APM regression

2007-06-27 Thread linux
Hardware: Fujitsu Lifebook P-2040, TM5800 800 MHz processor 2.6.21: Closing the lid causes APM suspend. Opening it resumes just fine. 2.6.22-rc5/-rc6: On resume, backlight comes on, but system is otherwise frozen. Nothing happens until I hold the power button to force a power off.