Bug 1774 - Latest ACPI prevents kernel from booting the system
Summary: Latest ACPI prevents kernel from booting the system
Status: REJECTED DUPLICATE of bug 1269
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Len Brown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 01:22 UTC by Martin Loschwitz
Modified: 2004-08-13 19:36 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.1-rc1-mm1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
lspci -vv (10.37 KB, text/plain)
2004-01-21 08:01 UTC, Georg Greve
Details
acpidmp (127.99 KB, text/plain)
2004-01-21 08:02 UTC, Georg Greve
Details
dmidecode (7.03 KB, text/plain)
2004-01-21 08:03 UTC, Georg Greve
Details
Disabling local APIC prevents freeze (202 bytes, text/html)
2004-01-21 14:55 UTC, Georg Greve
Details
Fix (?) by Karol Kozimor (1.18 KB, patch)
2004-01-22 05:21 UTC, Georg Greve
Details | Diff

Description Martin Loschwitz 2004-01-02 01:22:28 UTC
Distribution: Debian GNU/Linux unstable (Sid)
Hardware Environment: Acer TravelMate 800LCi notebook with recent BIOS (4a14)
Problem Description: With latest ACPI (20031203), the kernel just does not boot
anymore. The last message it prints to screen before it hangs and before a hard
reboot is necessary is "ACPI: IRQ 9 was Edge Triggered, setting to Level
Triggerd". Please note that this is fully reproducible with Linux 2.6.0 +
ACPI20031203. 

For the record, the message 2.6.1-rc1 with the old ACPI prints to screen after
that "ACPI: IRQ 9 ..." message is " evxfevnt-0093 [04] acpi_enable Transition 
to ACPI mode successful".

Steps to reproduce: Download, compile and install Linux 2.6.1-rc1-mm1, then try
to boot it.
Comment 1 Eric Sammer 2004-01-05 23:06:04 UTC
I can confirm this behavior with the unpatched vanilla sources (2.6.1-rc1) on
Gentoo. With ACPI debugging enabled, it hangs when "executing _SET and _INI on
devices."

Using flags such as pci=noacpi doesn't help.
Comment 2 Eric Sammer 2004-01-05 23:25:05 UTC
Forgot hardware info:

/proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: PCI device 1002:cab0 (ATI Technologies Inc) (rev 19).
      Master Capable.  Latency=32.  
      Prefetchable 32 bit memory at 0xd4000000 [0xd7ffffff].
      Prefetchable 32 bit memory at 0xd0500000 [0xd0500fff].
      I/O at 0x8090 [0x8093].
  Bus  0, device   1, function  0:
    PCI bridge: ATI Technologies Inc U1/A3 AGP Bridge [IG (rev 1).
      Master Capable.  Latency=99.  Min Gnt=12.
  Bus  0, device   2, function  0:
    USB Controller: ALi Corporation USB 1.1 Controller (rev 3).
      IRQ 9.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xd0000000 [0xd0000fff].
  Bus  0, device   6, function  0:
    Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Co (rev 2).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=24.
      I/O at 0x8400 [0x84ff].
      Non-prefetchable 32 bit memory at 0xd0001000 [0xd0001fff].
  Bus  0, device   7, function  0:
    ISA bridge: ALi Corporation M1533 PCI to ISA Bri (rev 0).
  Bus  0, device   8, function  0:
    Modem: ALi Corporation M5457 AC-Link Modem  (rev 0).
      IRQ 3.
      Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xd0002000 [0xd0002fff].
      I/O at 0x8800 [0x88ff].
  Bus  0, device  10, function  0:
    CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Contr (rev 0).
      IRQ 11.
      Master Capable.  Latency=168.  Min Gnt=128.Max Lat=5.
      Non-prefetchable 32 bit memory at 0x80000000 [0x80000fff].
  Bus  0, device  16, function  0:
    IDE interface: ALi Corporation M5229 IDE (rev 196).
      Master Capable.  Latency=32.  Min Gnt=2.Max Lat=4.
      I/O at 0x8080 [0x808f].
  Bus  0, device  17, function  0:
    Bridge: ALi Corporation M7101 PMU (rev 0).
  Bus  0, device  18, function  0:
    Ethernet controller: National Semiconduct DP83815 (MacPhyter)  (rev 0).
      IRQ 11.
      Master Capable.  Latency=90.  Min Gnt=11.Max Lat=52.
      I/O at 0x8c00 [0x8cff].
      Non-prefetchable 32 bit memory at 0xd0003000 [0xd0003fff].
  Bus  1, device   5, function  0:
    VGA compatible controller: ATI Technologies Inc Radeon Mobility U1 (rev 0).
      IRQ 10.
      Master Capable.  Latency=66.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xe0000000 [0xefffffff].
      I/O at 0x9000 [0x90ff].
      Non-prefetchable 32 bit memory at 0xd0100000 [0xd010ffff].

/proc/cpuinfo:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : mobile AMD Athlon(tm) XP2200+
stepping        : 1
cpu MHz         : 1788.828
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips        : 3538.94

Additional info available upon request.
Comment 3 Georg Greve 2004-01-21 08:01:46 UTC
Created attachment 1913 [details]
lspci -vv

I have the same problem with all kernels I tried from 2.6.1 plain over 2.6.1
with ACPI patch to 2.6.2-rc1 (this one doesn't freeze, it crashes & creates
instantaneous reboot).

Machine: ASUS M2400N, lspci -vv attached for reference
Comment 4 Georg Greve 2004-01-21 08:02:51 UTC
Created attachment 1914 [details]
acpidmp

Corresponding acpidmp
Comment 5 Georg Greve 2004-01-21 08:03:32 UTC
Created attachment 1915 [details]
dmidecode

And the dmidecode.

All ASUS M2N Centrino.
Comment 6 Georg Greve 2004-01-21 13:23:20 UTC
Suggestion by Linus:

 > Does it go away if you just make "acpi_pic_set_level_irq()" do nothing (ie 
 > just remove the "outb()" call
 > 	arch/i386/kernel/acpi/boot.c line 273
 > or just make the if-statement be always false).
 > It's entirely possible that the SCI is just horribly broken, and can't be 
 > level-triggered.

Tried that with plain 2.6.1 and 2.6.1 with latest ACPI patch. No change. Still
freezes at the same point during bootup with the same message.
Comment 7 Georg Greve 2004-01-21 14:55:56 UTC
Created attachment 1926 [details]
Disabling local APIC prevents freeze

It seems the problem is related to Local APIC <-> ACPI interaction.
Comment 8 Georg Greve 2004-01-22 05:21:01 UTC
Created attachment 1927 [details]
Fix (?) by Karol Kozimor 

See http://marc.theaimsgroup.com/?l=linux-kernel&m=107477355619716&w=2

Possibly fix for the problem.
Comment 9 Georg Greve 2004-01-22 06:09:52 UTC
The fix by Karol Kozimor works for me on ASUS M2N.

Can we include it in the main 2.6.x kernel?
Comment 10 Len Brown 2004-01-22 10:50:54 UTC

*** This bug has been marked as a duplicate of 1269 ***

Note You need to log in before you can comment on or make changes to this bug.