Skip to contentSkip to conversation

Linux 2.6-pre1 Does not boot on ASUS L3800C: lock up in acpi while "Executing all Devices _STA and_INIT methods"

PATCH New Grover, Andrew 6 participants 8 messages Jul 14, 2003 – Jul 20, 2003 4 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines

From: Eric Valette [mailto:[email protected]]
I happily run 2.4.21-pre5 with ACPI enabled and everything works just fine. I tried today 2.6-pre1 with exactly the same hardware configuration as the 2.4 one and the laptop does not boot. It hangs while dispaying : "Executing all Devices _STA and_INIT methods" allthough it has already printed several '.'

That's weird. They should have the same version of the ACPI code...

-- Andy

A message that is not in the archive (sent off-list or not yet received): F760B14C9561B941B89469F59BA3A847E9702C-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org

#2 lore raw
Quoted 4 lines · Andrew
Quoted 1 line

From: Eric Valette [mailto:[email protected]] I happily run 2.4.21-pre5 with ACPI enabled and everything works just fine. I tried today 2.6-pre1 with exactly the same hardware configuration as the 2.4 one and the laptop does not boot. It hangs while dispaying : "Executing all Devices _STA and_INIT methods" allthough it has already printed several '.'

That's weird. They should have the same version of the ACPI code...

Thanks for responding. Note I have never seen such messages on 2.4 so...

FYI : I tested today with the latest version 0714 and it doesn't change
anything... 2.4.22-pre6 + the patch works fine... Someone suggested
problem with the APIC but its enabled in 2.4...

Signature · 15 lines
   __
  /  `                   	Eric Valette
 /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: [email protected]



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Thus wrote Eric Valette:

Quoted 6 lines
Quoted 1 line

That's weird. They should have the same version of the ACPI code...

Thanks for responding. Note I have never seen such messages on 2.4 so...

FYI : I tested today with the latest version 0714 and it doesn't change
anything... 2.4.22-pre6 + the patch works fine... Someone suggested
problem with the APIC but its enabled in 2.4...

That's how it works for me on the same machine: if APIC and IO-APIC is compiled in, the kernel hangs at the place you mentioned. noapic doesn't help, acpi=off does, as well as not compiling APIC in at all.

According to my experience, APIC should not work under 2.4.x and 2.5.x where x < 74, since it is magically disabled by BIOS and the kernel doesn't know anything about it. Do you have any evidence that APIC works at all on these kernels?

Best regards,

Signature · 9 lines
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/[email protected]


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

A message that is not in the archive (sent off-list or not yet received): 20030715212054.GA10046-DETuoxkZsSqrDJvtcaxF/[email protected]

#6 lore raw

Am Die, 2003-07-15 um 23.20 schrieb Karol Kozimor:

Quoted 6 lines

Thus wrote Eric Valette:

Quoted 5 lines
Quoted 1 line

That's weird. They should have the same version of the ACPI code...

Thanks for responding. Note I have never seen such messages on 2.4 so... FYI : I tested today with the latest version 0714 and it doesn't change
anything... 2.4.22-pre6 + the patch works fine... Someone suggested
problem with the APIC but its enabled in 2.4...

Quoted 8 lines

That's how it works for me on the same machine: if APIC and IO-APIC is compiled in, the kernel hangs at the place you mentioned. noapic doesn't help, acpi=off does, as well as not compiling APIC in at all.

According to my experience, APIC should not work under 2.4.x and 2.5.x where x < 74, since it is magically disabled by BIOS and the kernel doesn't know anything about it. Do you have any evidence that APIC works at all on these kernels?

Even worse, APIC does not work at all on those machines.
I tried by bashing the kernel, re-enabling it etc. Afterwards you'll get a system that boots sometimes (!) with APIC, sometime does not boot at all. You will get the APIC but not IO-APIC which is what I was looking for to get more IRQs than 16 (silly me :)

So not compiling APIC support on those machines is no loss.

Quoted 1 line

Best regards,

CU
nils faerber

Signature · 12 lines
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 17 lines · Nils Faerber

Am Die, 2003-07-15 um 23.20 schrieb Karol Kozimor:

Quoted 7 lines

Thus wrote Eric Valette:

Quoted 4 lines
Quoted 1 line

That's weird. They should have the same version of the ACPI code...

Thanks for responding. Note I have never seen such messages on 2.4 so...
FYI : I tested today with the latest version 0714 and it doesn't change anything... 2.4.22-pre6 + the patch works fine... Someone suggested problem with the APIC but its enabled in 2.4...

Quoted 6 lines

That's how it works for me on the same machine: if APIC and IO-APIC is compiled in, the kernel hangs at the place you mentioned. noapic doesn't help, acpi=off does, as well as not compiling APIC in at all.

According to my experience, APIC should not work under 2.4.x and 2.5.x where x < 74, since it is magically disabled by BIOS and the kernel doesn't know anything about it. Do you have any evidence that APIC works at all on these kernels?

Quoted 7 lines

Even worse, APIC does not work at all on those machines.
I tried by bashing the kernel, re-enabling it etc. Afterwards you'll get a system that boots sometimes (!) with APIC, sometime does not boot at all. You will get the APIC but not IO-APIC which is what I was looking for to get more IRQs than 16 (silly me :)

So not compiling APIC support on those machines is no loss.

So OK, I will back out I/OAPIC but frankly the fact that the kernel lock
is a real problem. Think a minute to all people converting their 2.4 config like I did...

Signature · 15 lines
   __
  /  `                   	Eric Valette
 /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: [email protected]



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
#9 lore raw
In reply to Grover, Andrew
Quoted 4 lines · Andrew
Quoted 1 line

From: Eric Valette [mailto:[email protected]] I happily run 2.4.21-pre5 with ACPI enabled and everything works just fine. I tried today 2.6-pre1 with exactly the same hardware configuration as the 2.4 one and the laptop does not boot. It hangs while dispaying : "Executing all Devices _STA and_INIT methods" allthough it has already printed several '.'

That's weird. They should have the same version of the ACPI code...

Just to try to help, as suggested by Karol Kasimor, disabling the APIC make the code pass this section. The APIC is now really unconditionnaly enabled (regardless of BIOS settings) due to this change in 2.5.74...

<http://lists.insecure.org/lists/linux-kernel/2003/Jun/5840.html>

So this is an interaction between APIC and ACPI... I still think it should not crash at least...

BTW : I still cannot boot as the radeon framebuffer driver make things unreable. I will stcik with 2.4 for a while...

-- eric

#10 lore raw

Thus wrote Eric Valette:

Quoted 2 lines

BTW : I still cannot boot as the radeon framebuffer driver make things unreable. I will stcik with 2.4 for a while...

Boot the framebuffer into 1024x768@60 mode, every other I tried simply doesn't work.
Best regards,

Signature · 2 lines
Karol 'sziwan' Kozimor
[email protected]
#11 lore raw

PATCH 1/1 Linux 2.6-pre-mm2 Fix crash on boot on ASUS L3800C if enabing APIC => add this machine to DMI black list

In reply to Eric Valette

The following patch integrated in 2.5.74,

<http://lists.insecure.org/lists/linux-kernel/2003/Jun/5840.html>

really enables the APIC even if BIOS disabled it. Unfortunately, enabling APIC really does not seem to work on this ASUS laptop and ACPI (which is mandatory) crash the kernel in ACPI code at boot time while "Executing all Devices _STA and_INIT methods"

Unless someones find a bug in ACPI code related to APIC management, It is safer to add this machine in the DMI black list (along with DELL, IBM, ...).

So, as suggested by the author of the problematic change, I added and entry in the DMI black list. But my guess is that most laptop will soon be present in this list....

-- eric

arch/i386/kernel/dmi_scan.c renamed from arch/i386/kernel/dmi_scan.c.orig +6 -0
@@ -706,6 +706,12 @@
 			NO_MATCH, NO_MATCH
 			} },
 
+	{ local_apic_kills_bios, "ASUS L3C", {
+			MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+			MATCH(DMI_BOARD_NAME, "P4_L3C"),
+			NO_MATCH, NO_MATCH
+			} },
+
 	/* Problem Intel 440GX bioses */
 
 	{ broken_pirq, "SABR1 Bios", {			/* Bad $PIR */