Skip to contentSkip to conversation

Problems with 2.6.7-mm1 on HP Omnibook 6100

PATCH Martin Knoblauch 1 participant 1 message Jun 21, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

after going from 2.6.6-mm5 to 2.6.7-mm1, I see the following problems.

a) System hangs at boot. Local APIC related. This is a known problem on the OB, but could be avoided by specifying "nolapic" in 2.6.6-mm5. With 2.6.7-mm1 I have to specify "acpi=off", or apply the following patch from Len:

arch/i386/kernel/apic.c Sat Apr 24 01:14:59 2004 renamed from arch/i386/kernel/apic.c Tue Mar 2 22:06:19 2004 +3 -0
@@ -654,6 +654,7 @@
        }
 
        if (!cpu_has_apic) {
+printk("LENB: !cpu_has_apic\n");
                /*
                 * Some BIOSes disable the local APIC in the
                 * APIC_BASE MSR. This can only be done in
@@ -661,6 +662,8 @@
                 */
                rdmsr(MSR_IA32_APICBASE, l, h);
                if (!(l & MSR_IA32_APICBASE_ENABLE)) {
+printk("LENB: NOT reenabling LAPIC\n");
+goto no_apic;
                        printk("Local APIC disabled by BIOS --
reenabling.\n");
                        l &= ~MSR_IA32_APICBASE_BASE;
                        l |= MSR_IA32_APICBASE_ENABLE |

APIC_DEFAULT_PHYS_BASE;

Interestingly, "nolapic" still makes a difference when Lens patch is
not installed. Without it, the boot process hangs at the same place as in 2.6.6/2.6.6-mm5 - just after these lines in dmesg:

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI-0179: *** Warning: The ACPI AML in your computer contains
errors, please nag the manufacturer to correct it.
ACPI-0182: *** Warning: Allowing relaxed access to fields; turn on
CONFIG_ACPI_DEBUG for details.
<<<

With "nolapic" it now hangs after the following output:

Quoted 1 line
Quoted 1 line
Quoted 1 line

Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop...
<<<

It never displays the Bogomips.

b) The system does not shut down (or reboot) any more. The last output is:

ISDN-subsystem unloaded

Sometimes CTRL-ALT-DEL helps to bring the system down, sometimes I
just have to reset it.

So, it seems that 2.6.7-mm1 is not the most lucky of all releases. I
have not tested 2.6.7 vanilla. I would "prefer" not to, as the Onmibook is dog slow compiling kernels :-(

"dmesg" (with lens patch) and ".config" attached.

Cheers
Martin

=====
------------------------------------------------------
Martin Knoblauch

email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de