Skip to contentSkip to conversation

differences between acpidump and disassembling dsdt with iasl

DISCUSSION Emilio Mejía Fernández de Velasco (by way of Emilio Mejia Fernandez de Velasco <[email protected]>) 1 participant 1 message Apr 18, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

When I compile the kernel to work with ACPI I choose not to include local APIC. Otherwise it doesn't work at all.
In the kernel configuration with ACPI I leave blank the option "Processor type and features ->
[ ]Local APIC support on uniprocessors"

I get the same results with nolapic as boot option. The computer can only work for some minutes, and then it freezes.
This time I tried compiling with debug options in ACPI, but nothing relevant seems to be registered in /var/log/messages. Anyway here you can see the grep ACPI of this file:

Apr 18 13:04:46 microstar kernel:  BIOS-e820: 0000000016ff0000 - 
0000000016fffc00 (ACPI data)
Apr 18 13:04:46 microstar kernel:  BIOS-e820: 0000000016fffc00 - 
0000000017000000 (ACPI NVS)
Apr 18 13:04:46 microstar kernel: ACPI: RSDP (v000 
PTLTD                                     ) @ 0x000f7030
Apr 18 13:04:46 microstar kernel: ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  
LTP 0x00000000) @ 0x16ffba62
Apr 18 13:04:46 microstar kernel: ACPI: FADT (v001 VT8603 TWISTER  0x06040000 
PTL  0x000f4240) @ 0x16fffb64
Apr 18 13:04:46 microstar kernel: ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  
LTP 0x00000001) @ 0x16fffbd8
Apr 18 13:04:46 microstar kernel: ACPI: DSDT (v001  VIA   PTL_ACPI 0x06040000 
MSFT 0x0100000b) @ 0x00000000
Apr 18 13:04:46 microstar kernel: ACPI: Looking for DSDT in initrd ... found 
customized DSDT with 15240 bytes!
Apr 18 13:04:46 microstar kernel: ACPI: Subsystem revision 20040326
Apr 18 13:04:46 microstar kernel: ACPI: Using customized DSDT
Apr 18 13:04:46 microstar kernel:  tbxface-0117 [03] acpi_load_tables      : 
ACPI Tables successfully acquired
Apr 18 13:04:46 microstar kernel: ACPI Namespace successfully loaded at root 
c03b9ffc
Apr 18 13:04:46 microstar kernel: ACPI: IRQ9 SCI: Edge set to Level Trigger.
Apr 18 13:04:46 microstar kernel: evxfevnt-0093 [04] acpi_enable           : 
Transition to ACPI mode successful
Apr 18 13:04:46 microstar kernel: ACPI: Interpreter enabled
Apr 18 13:04:46 microstar kernel: ACPI: Using PIC for interrupt routing
Apr 18 13:04:46 microstar kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 5)
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs *5)
Apr 18 13:04:46 microstar kernel: ACPI: Power Resource [PFAN] (off)
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKA] enabled at 
IRQ 10
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKD] enabled at 
IRQ 5
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKC] enabled at 
IRQ 5
Apr 18 13:04:46 microstar kernel: ACPI: PCI Interrupt Link [LNKB] enabled at 
IRQ 10
Apr 18 13:04:46 microstar kernel: PCI: Using ACPI for IRQ routing
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x08, "ACAD_PSR"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x0F, "ACAD_PSR 
Return"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x0000000000000001
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: ACPI: AC Adapter [ACAD] (on-line)
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x10, 
"BAT0_BIF_RETURN:"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Package: Size 0x0D Elements Ptr 
- d6fecf48
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: ACPI: Battery Slot [BAT0] (battery present)
Apr 18 13:04:46 microstar kernel: ACPI: Power Button (FF) [PWRF]
Apr 18 13:04:46 microstar kernel: ACPI: Lid Switch [LID]
Apr 18 13:04:46 microstar kernel: ACPI: Fan [FAN] (on)
Apr 18 13:04:46 microstar kernel: ACPI: Processor [CPU0] (supports C1 C2, 16 
throttling states)
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: ACPI: Thermal Zone [THRM] (74 C)
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x0000000000000001
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x000000000000004A
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x0000000000000032
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x0000000000000001
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x000000000000004A
Apr 18 13:04:46 microstar kernel: [ACPI Debug] Integer: 0x0000000000000044
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:04:46 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x08, "BAT0_BST"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x10, 
"BAT0_BST_RETURN:"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] Package: Size 0x04 Elements Ptr 
- d6f38ac8
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x10, 
"BAT0_BIF_RETURN:"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] Package: Size 0x0D Elements Ptr 
- d6fecf48
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x08, "ACAD_PSR"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x0F, "ACAD_PSR 
Return"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:05:45 microstar kernel: [ACPI Debug] Integer: 0x0000000000000001
Apr 18 13:05:45 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:10:25 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:10:25 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:10:25 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:10:25 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:11:25 microstar kernel: [ACPI Debug] String: Length 0x22, 
"__________________________________"
Apr 18 13:11:25 microstar kernel: [ACPI Debug] String: Length 0x00, ""
Apr 18 13:11:25 microstar kernel: [ACPI Debug] String: Length 0x08, "THRM_TMP"
Apr 18 13:11:25 microstar kernel: [ACPI Debug] String: Length 0x22, 

"__________________________________"
...
And these last 4 lines repeat for 10 times, and then the computer freezes. It is completely blocked. It can only be rebooted with the power button. I have also tried to reach it from ssh, but no luck with this either. The remaining of the messages file belong to the next boot.
There is another thing: I can make it go frozen faster, I just need to unplug and plug the AC adapter for a couple of times, and the I get the blocking again. -This only happens with acpi, not with apm-
I feel like throwing the laptop through the window.

Quoted 8 lines · Emilio Mejía Fernández de Velasco
Quoted 1 line

ACPI: IRQ9 SCI: Edge set to Level Trigger.

when this happens, my empiric experience says that you should try , disable APIC in kernel configuration
or
boot with nolapic option ( that disable apic )

Quoted 5 lines

let me know the result of the test.

thanks,
--
Sérgio M. B.

-------------------------------------------------------

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click