Xorg fails to start on 2.6.21-rc4-git7
Hi all,
2.6.21-rc4-git7 doesn't work on my laptop, git6 was OK. Symptop: the machine freezes as Xorg is started. A bisection led me there:
25496caec111481161e7f06bbfa12a533c43cc6f is first bad commit commit 25496caec111481161e7f06bbfa12a533c43cc6f
Author: Thomas Renninger <[email protected]> Date: Tue Feb 27 12:13:00 2007 -0500
ACPI: Only use IPI on known broken machines (AMD, Dothan/BaniasPentium M)
Use IPI for blacklisted CPUs, add parameter IPI vs LAPIC
Currently, Linux disables lapic timer for all machines with C2 and higher C-state support.
According to Intel only specific Intel models (Banias/Dothan) are broken in respect of not waking up from C2 with lapic.
However, I am not sure about the naming of the parameter and how it could/should get integrated into the dyntick part (CONFIG_GENERIC_CLOCKEVENTS). There, a more fine grained check (TSC still running?, ..) is needed? Does this make sense (always use CLOCK_EVT_NOTIFY_BROADCAST_ON, but use OFF if forced by use_ipi=0:
clockevents_notify(use_ipi ? CLOCK_EVT_NOTIFY_BROADCAST_ON :
CLOCK_EVT_NOTIFY_BROADCAST_OFF, &pr->id);
:040000 040000 f089eab6ed1e602029c532d828e7d7a2e46e51af d639f8aa8676fee0bf0b868fe20151712f3a530c M drivers
My laptop's CPU is:
processor : 0vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III Mobile CPU 866MHz
stepping : 1
cpu MHz : 864.500
cache size : 512 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1724.04
clflush size : 32
Thomas, Len, any idea? I can help with testing as needed.
Signature · 1 line
Jean Delvare
Quoted 6 lines · Jean Delvare
2.6.21-rc4-git7 doesn't work on my laptop, git6 was OK. Symptop: the machine freezes as Xorg is started. A bisection led me there:
25496caec111481161e7f06bbfa12a533c43cc6fis first bad commit commit25496caec111481161e7f06bbfa12a533c43cc6fAuthor: Thomas Renninger <[email protected]> Date: Tue Feb 27 12:13:00 2007 -0500
Hi,
there have been other issues reproted with this patch, it is probably going to be reverted - see http://lkml.org/lkml/2007/3/23/104 and the thread that follows.
Signature · 1 line
Jiri Kosina
Quoted 55 lines · Jean Delvare
Hi all,
2.6.21-rc4-git7 doesn't work on my laptop, git6 was OK. Symptop: the machine freezes as Xorg is started. A bisection led me there:
25496caec111481161e7f06bbfa12a533c43cc6fis first bad commit commit25496caec111481161e7f06bbfa12a533c43cc6fAuthor: Thomas Renninger <[email protected]> Date: Tue Feb 27 12:13:00 2007 -0500ACPI: Only use IPI on known broken machines (AMD, Dothan/BaniasPentium M)
Use IPI for blacklisted CPUs, add parameter IPI vs LAPIC
Currently, Linux disables lapic timer for all machines with C2 and higher C-state support.
According to Intel only specific Intel models (Banias/Dothan) are broken in respect of not waking up from C2 with lapic.
However, I am not sure about the naming of the parameter and how it could/should get integrated into the dyntick part (
CONFIG_GENERIC_CLOCKEVENTS). There, a more fine grained check (TSC still running?, ..) is needed? Does this make sense (always useCLOCK_EVT_NOTIFY_BROADCAST_ON, but use OFF if forced by use_ipi=0:
clockevents_notify(use_ipi ?CLOCK_EVT_NOTIFY_BROADCAST_ON:
CLOCK_EVT_NOTIFY_BROADCAST_OFF,&pr->id);Signed-off-by Thomas Renninger <[email protected]>Signed-off-by Len Brown <[email protected]>:040000 040000
f089eab6ed1e602029c532d828e7d7a2e46e51afd639f8aa8676fee0bf0b868fe20151712f3a530cM driversMy laptop's CPU is:
processor : 0
vendor_id: GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III Mobile CPU 866MHz
stepping : 1
cpu MHz : 864.500
cache size : 512 KBfdiv_bug: nohlt_bug: nof00f_bug: nocoma_bug: no
fpu : yesfpu_exception: yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1724.04
clflush size : 32
Quoted 1 line
Thomas, Len, any idea? I can help with testing as needed.
This one has already been found, got reverted and gets fixed by Ingo Molnar, Thomas Gleissner and Len.
Thomas