Page 47 of 59 FirstFirst ... 37454647484957 ... LastLast
Results 461 to 470 of 581

Thread: HOWTO Fix A Buggy DSDT File

  1. #461

    Re: HOWTO Fix A Buggy DSDT File

    I'm trying to patch my DSDT for a Foxconn A85GM with BIOS version 933F1P05. My submitted DSDT.dsl was disassembled with IASL-20100528. Thanks 67GTA or anyone else that could provide some help with resolving the errors and warnings that I'm receiving with compiling it.

    Update: I've finally completed the patch for the DSDT table. I've provided attachments for the original and final compilations for the A85GM. I'll clean up the tables syntax later for further optimizations but it is fully functional with zero errors, warnings, or remarks.

    Second Update: I've removed the patched DSDT because of finding a bug after performing some Linux and Windows testing. I will have to debug and then I will upload the newer patched DSDT table.

    Third Update: I've attached the patched DSDT with 0 errors, 0 warnings, 0 remarks, and 77 optimizations. I am currently using this patched DSDT compiled/compressed in the BIOS and not patched into the Ubuntu 10.04 and Windows 7 kernels. Both OS appear to be a bit more responsive and have slightly faster boot times to their respective desktops. Also, the S0-S5 states are operational. I have not tested this fully for all available options in the CMOS or potential bugs. I am not responsible for your use of my patched DSDT. I will be testing this patched BIOS with an older Linux kernel later on. Again, use this at your own risk.

    Fourth Update: I replaced version 933F1P05 with version 933F1P06 which was released on 20100618. The DSDT was almost the same as in the previous version with the same compilation errors, warnings, and remarks; so it wasn't difficult this time to patch this version. This newer version was an update for 6-Core processor support. Use this patched DSDT at your own risk.
    Attached Files Attached Files
    Last edited by computer.technician; June 19th, 2010 at 09:06 PM. Reason: Progress Update

  2. #462
    Join Date
    May 2010
    Beans
    1

    Re: HOWTO Fix A Buggy DSDT File

    This is such a great resource that you are providing and you give it away for free. I enjoy seeing thread that understand the value of providing a prime resource for free. I truly loved reading your post. Thanks!

  3. #463
    Join Date
    May 2010
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO Fix A Buggy DSDT File

    Hi,

    I'm having some issues with my newly acquired system and was pointed (http://ubuntuforums.org/showthread.php?p=9393520) to this thread as you might be able to help and/or provide some hints to resolve my issue.

    The frustrating issue Iran into with this system is: the fans (at least the CPU fan) run constantly at max speed.

    sensor output:

    Code:
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:      +34.0°C  (high = +74.0°C, crit = +100.0°C)  
    
    coretemp-isa-0001
    Adapter: ISA adapter
    Core 1:      +34.0°C  (high = +74.0°C, crit = +100.0°C)  
    
    coretemp-isa-0002
    Adapter: ISA adapter
    Core 2:      +40.0°C  (high = +74.0°C, crit = +100.0°C)  
    
    coretemp-isa-0003
    Adapter: ISA adapter
    Core 3:      +28.0°C  (high = +74.0°C, crit = +100.0°C)  
    
    f8000-isa-0a00
    Adapter: ISA adapter
    +3.3V:       +3.38 V
    3VSB:        +3.39 V
    Vbat:        +3.30 V
    fan1:       1507 RPM
    fan2:        831 RPM
    fan3:          0 RPM  ALARM
    fan4:          0 RPM
    temp1:       +38.0°C  (high = +70.0°C, hyst = +60.0°C)  
    temp2:       +34.0°C  (high = +100.0°C, hyst = +85.0°C)  sensor = Intel PECI
    temp3:       +36.0°C  (high = +100.0°C, hyst = +85.0°C)
    In an attempt to resolve this I've tried different acpi_osi switches, to no avail however. My latest attempt is to look at the DSDT, as it was suggested that this might be the cause of the issue. However after extracting, disassembling and recompiling I get a couple of warnings and a remark. However I don't know if these are the cause of the issue I'm having and - in case this is the cause - how to amend the DSDT to overcome this issue. Your help is very much appreciated!

    The output of iasl is as follows:

    Code:
    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20090521 [Jun 30 2009]
    Copyright (C) 2000 - 2009 Intel Corporation
    Supports ACPI Specification Revision 3.0a
    
    dsdt.dsl   132:         Name (_T_0, Zero)
    Remark   5110 -                  ^ Use of compiler reserved name (_T_0)
    
    dsdt.dsl  5223:             Acquire (MUTE, 0x03E8)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    dsdt.dsl  5237:             Acquire (MUTE, 0x03E8)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    dsdt.dsl  5252:             Acquire (MUTE, 0x03E8)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    dsdt.dsl  5267:             Acquire (MUTE, 0x0FFF)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    dsdt.dsl  5281:             Acquire (MUTE, 0x03E8)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    dsdt.dsl  5296:             Acquire (MUTE, 0x03E8)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    dsdt.dsl  5311:             Acquire (MUTE, 0x03E8)
    Warning  1104 -                                 ^ Possible operator timeout is ignored
    
    ASL Input:  dsdt.dsl - 6150 lines, 190558 bytes, 2724 keywords
    AML Output: dsdt.aml - 22355 bytes, 729 named objects, 1995 executable opcodes
    
    Compilation complete. 0 Errors, 7 Warnings, 1 Remarks, 66 Optimizations
    I've included my systems DSDT.dsl file in the hopes somebody notices if there is an issue with this file.

    Another related question I have after reading through this thread is: in the case I amend the DSDT file, do I need to redo these steps when I add new components to my PC?

    Again, thank you in advance!

    Kind regards,

    Erik
    Attached Files Attached Files

  4. #464
    Join Date
    May 2007
    Location
    Chennai,India
    Beans
    24
    Distro
    Ubuntu 10.04 Lucid Lynx

    Buggy DSDT File - HP pavilion dv6-2163TX

    I get this at the end when i compile the dsdt.dsl file

    'ASL Input: dsdt.dsl - 13621 lines, 471479 bytes, 3634 keywords
    Compilation complete. 116 Errors, 2 Warnings, 2 Remarks, 4 Optimizations'

    I couldn't figure out how to fix all those error.Can you please fix me those errors.I have attached my dsdt.dsl file.
    Attached Files Attached Files
    Last edited by ashikahamed; June 10th, 2010 at 04:26 PM.

  5. #465
    Join Date
    May 2010
    Location
    Ukraine, Kiev
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO Fix A Buggy DSDT File

    Hi All,
    I have LG E500 notebook with the same ACPI issues. But in my case recompiling of DSDT doesn't help.
    I tried to put corrected dsdt in initrd as well as in the new kernel. But in both cases it doesn't work.
    The issues are:
    - sleep and hibernate don't work;
    - wrong battery level;
    - CPU overheating (for example - when I try to compile a new kernel);

    Maybe I need to install some special soft? Or maybe I did something wrong?
    There are original and edited dsdts in attached files. Also, dmesg and dmidecode output.

    Dear 67GTA, please, look at attachments. If you'll be need some more information - just let me know what kind of.
    I'll be very grateful for any help.
    Attached Files Attached Files

  6. #466
    Join Date
    May 2007
    Location
    Chennai,India
    Beans
    24
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO Fix A Buggy DSDT File

    I think the use of custom dsdt file is not supported in current kernel versions.Please have a look at 'https://bugs.launchpad.net/ubuntu/+source/linux/+bug/246222'

  7. #467
    Join Date
    May 2010
    Location
    Ukraine, Kiev
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by ashikahamed View Post
    I think the use of custom dsdt file is not supported in current kernel versions.Please have a look at 'https://bugs.launchpad.net/ubuntu/+source/linux/+bug/246222'
    I tried to use 2.6.32-22 (out of box) and 2.6.34 (vanilla) kernels with these options:
    Code:
    CONFIG_ACPI_CUSTOM_DSDT_FILE="/usr/src/linux-2.6.34/include/acpi/dsdt_table.h"
    CONFIG_ACPI_CUSTOM_DSDT=y
    Take a look at dmesg output:
    Code:
    [    0.000000] ACPI: Override [DSDT-LGPC    ], this is unsafe: tainting kernel
    [    0.000000] Disabling lock debugging due to kernel taint
    [    0.000000] ACPI: DSDT @ 0x000000007ffb05b0 Table override, replaced with:
    [    0.000000] ACPI: DSDT ffffffff81a5f7f0 05100 (v01  M163F M163F000 00000000 INTL 20100428)
    Also, I tried all combinations of acpi_os_name and acpi_osi. But nothing helps.

    And final chek:
    Code:
    root@PC:~# cp /proc/acpi/dsdt ~
    root@PC:~# iasl -d dsdt 
    
    Intel ACPI Component Architecture
    AML Disassembler version 20090521 [Jun 30 2009]
    Copyright (C) 2000 - 2009 Intel Corporation
    Supports ACPI Specification Revision 3.0a
    
    Loading Acpi table from file dsdt
    Acpi table [DSDT] successfully installed and loaded
    Pass 1 parse of [DSDT]
    Pass 2 parse of [DSDT]
    Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
    ....................................................................................................................................................................................................................................................................................................................................................................................................
    Parsing completed
    Disassembly completed, written to "dsdt.dsl"
    
    root@PC:~# iasl -tc dsdt.dsl 
    
    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20090521 [Jun 30 2009]
    Copyright (C) 2000 - 2009 Intel Corporation
    Supports ACPI Specification Revision 3.0a
    
    ASL Input:  dsdt.dsl - 5577 lines, 178779 bytes, 2518 keywords
    AML Output: dsdt.aml - 20736 bytes, 702 named objects, 1816 executable opcodes
    
    Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 42 Optimizations
    root@PC:~#
    Last edited by mekh; June 4th, 2010 at 11:14 AM.

  8. #468
    Join Date
    May 2010
    Location
    Ukraine, Kiev
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO Fix A Buggy DSDT File

    Today attempts:
    - Ubuntu 10.04 x86 clean install
    - get all updates
    - put corrected DSDT into new kernel
    - compile kernel
    - reboot
    ....
    - power management doesn't work (wrong battery level, no hibernate and sleep functions, etc.)

    Does anybody have an idea what else should I do?
    Detailed information you can find in my posts above.
    Last edited by mekh; June 7th, 2010 at 11:26 AM.

  9. #469
    Join Date
    Apr 2010
    Beans
    37
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO Fix A Buggy DSDT File

    I have same problem.
    I try everithing, but still nothing helps me...
    Last edited by Sentello; June 16th, 2010 at 10:53 PM.

  10. #470
    Join Date
    Apr 2010
    Beans
    37
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by ashikahamed View Post
    I think the use of custom dsdt file is not supported in current kernel versions.Please have a look at 'https://bugs.launchpad.net/ubuntu/+source/linux/+bug/246222'
    What we can do? Nothing?

Page 47 of 59 FirstFirst ... 37454647484957 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •