Page 5 of 59 FirstFirst ... 345671555 ... LastLast
Results 41 to 50 of 581

Thread: HOWTO Fix A Buggy DSDT File

  1. #41
    Join Date
    Nov 2008
    Location
    Augsburg
    Beans
    9
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO Fix A Buggy DSDT File

    Thank you very much. I tried it now and it works.

    Can I fix this:
    Code:
    moose@pc07:~$ dmesg | grep Warning
    [    2.396636] ACPI Warning (nspredef-0852): \_SB_.PCI0.SATA.PRT0._GTF: Return type mismatch - found Integer, expected Buffer [20080926]

  2. #42
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    You can ignore that. It is basically saying that the kernel isn't issuing a BIOS compatible command to your hard drive (ATA). The kernel controls the hard drive re-initialization at boot, so the BIOS is just complaining about nothing.

  3. #43
    Join Date
    Nov 2008
    Location
    Augsburg
    Beans
    9
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO Fix A Buggy DSDT File

    I have a special error at the start. The notebook starts, shuts down and starts again: http://www.youtube.com/watch?v=HqNmHgjNKjQ
    Perhaps its related to this error-message?

  4. #44
    Join Date
    Sep 2008
    Location
    Durham, NC
    Beans
    29
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by 67GTA View Post
    I don't see any fan related tables. Is it controlled by the bios? Look for fan settings there.
    There seems to be multiple references to FAN1 in the dsdt.
    I checked on the vista side with a utility (SPEED FAN) which shows temp < 46 C.. On booting Ubuntu the temp is already at 66C and rising steadily. If I have multiple apps ( IDE's , server processes ) running the temp is already 75 C.. Hence my concern and on looking through the fora for a bit came across your posting.
    > /proc/acpi/fan/FAN1/state : off and never seems to be on while running Ubuntu.
    I tried inserting the line acpi_osi="Windows 2001 SP2" into making it think that the OS is win as mentioned in one of your threads.. but even that didn't seem to switch the FAN on to cool
    the CPU down a bit. Interestingly the menu.lst file didn't even have an entry for acpi_osi="Linux".
    I will check the BIOS settings to check if the fan is controlled from there...However one question that comes up
    How does Vista figure that out while Ubuntu is not able.. ? Clearly from reading your posts this would have to be dsdt problem.. since the iasl complier fails to compile the dsdt.dsl..and reports errors. I am new to assembler , have coded a ton in java and 6 other langs.. but it would take me a week or more to figure this assembler listing and mapping it to the ACPI spec doc.( 700 odd pages ). So any help you can suggest would be greatly appreciated... Cheers...

  5. #45
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    peterwill:

    What is under:

    cat /proc/acpi/thermal_zone/THRM/cooling_mode

    cat /proc/acpi/thermal_zone/THRM/trip_points

    cat /proc/acpi/thermal_zone/THRM/polling_frequency

    cat /proc/acpi/thermal_zone/THRM/state

    cat /proc/acpi/thermal_zone/THRM/temperature

  6. #46
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by moose2 View Post
    I have a special error at the start. The notebook starts, shuts down and starts again: http://www.youtube.com/watch?v=HqNmHgjNKjQ
    Perhaps its related to this error-message?
    According to your dmesg output, the hard drive is booting fine. That is weird. Did this happen before the custom DSDT?

  7. #47
    Join Date
    Sep 2007
    Location
    Decatur, IL
    Beans
    444

    Re: HOWTO Fix A Buggy DSDT File

    The thing that confuses me the most about this is that it wasn't an issue until the 2.6.27 kernel. Why? If the DSDT is buggy...why did pre-2.6.27 kernels work fine?
    Microsoft Vista | Ubuntu 8.10
    HP | DV6910US
    Ubuntu Registered User # 20970
    Linux Registered User # 449097

  8. #48
    Join Date
    Sep 2008
    Location
    Durham, NC
    Beans
    29
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by 67GTA View Post
    peterwill:

    What is under:

    cat /proc/acpi/thermal_zone/THRM/cooling_mode

    cat /proc/acpi/thermal_zone/THRM/trip_points

    cat /proc/acpi/thermal_zone/THRM/polling_frequency

    cat /proc/acpi/thermal_zone/THRM/state

    cat /proc/acpi/thermal_zone/THRM/temperature
    67GTA -- Thanks for your note. Here are the results..

    cat /proc/acpi/thermal_zone/THZN$ cat /proc/acpi/thermal_zone/THZN/cooling_mode
    0 - Active; 1 - Passive

    cat /proc/acpi/thermal_zone/THZN$ cat /proc/acpi/thermal_zone/THZN/trip_points
    critical (S5): 105 C

    cat /proc/acpi/thermal_zone/THZN$ cat /proc/acpi/thermal_zone/THZN/polling_frequency
    <polling disabled>

    cat /proc/acpi/thermal_zone/THZN/state
    state: ok

    cat /proc/acpi/thermal_zone/THZN/temperature
    temperature: 64 C
    ---

    Not sure why the polling frequency is set to disabled.. It may possibly mean that the temps are not being read at all and hence the fans don't switch on and as result the temperature keeps rising.. ?

    The dsdt has errors on compiling with iasl.. perhaps this section is not being read in by Ubuntu at all due to the errors?...

    Cheers..

  9. #49
    Join Date
    Sep 2008
    Location
    Durham, NC
    Beans
    29
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by peterwil View Post
    67GTA -- Thanks for your note. Here are the results..

    cat /proc/acpi/thermal_zone/THZN$ cat /proc/acpi/thermal_zone/THZN/cooling_mode
    0 - Active; 1 - Passive

    cat /proc/acpi/thermal_zone/THZN$ cat /proc/acpi/thermal_zone/THZN/trip_points
    critical (S5): 105 C

    cat /proc/acpi/thermal_zone/THZN$ cat /proc/acpi/thermal_zone/THZN/polling_frequency
    <polling disabled>

    cat /proc/acpi/thermal_zone/THZN/state
    state: ok

    cat /proc/acpi/thermal_zone/THZN/temperature
    temperature: 64 C
    ---

    Not sure why the polling frequency is set to disabled.. It may possibly mean that the temps are not being read at all and hence the fans don't switch on and as result the temperature keeps rising.. ?

    The dsdt has errors on compiling with iasl.. perhaps this section is not being read in by Ubuntu at all due to the errors?...

    Cheers..
    Also here is the compliation output ( error) from the disassembled code

    iasl -tc ./dsdt.dsl

    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20061109 [May 16 2007]
    Copyright (C) 2000 - 2006 Intel Corporation
    Supports ACPI Specification Revision 3.0a

    ./dsdt.dsl 1: ACPI
    Error 4094 - ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK

    ASL Input: ./dsdt.dsl - 7578 lines, 268931 bytes, 0 keywords
    Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
    ----

  10. #50
    Join Date
    Jan 2008
    Location
    Germany
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO Fix A Buggy DSDT File

    Can someone help me with my dsdt.dsl? I have 6 warnings which I would like to solve. My laptop is a hp dv6602au. Here is the output of iasl

    Code:
     Intel ACPI Component Architecture
    AML Disassembler version 20081204 [Jan 10 2009]
    Copyright (C) 2000 - 2008 Intel Corporation
    Supports ACPI Specification Revision 3.0a
    
    Loading Acpi table from file dsdt.dat
    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"
    vivek@alwayzgame:~$ iasl -tc dsdt.dsl
    
    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20081204 [Jan 10 2009]
    Copyright (C) 2000 - 2008 Intel Corporation
    Supports ACPI Specification Revision 3.0a
    
    dsdt.dsl   104:     Method (_WAK, 1, NotSerialized)
    Warning  1080 -                ^ Reserved method must return a value (_WAK)
    
    dsdt.dsl  3540:                 Method (_Q16, 0, NotSerialized)
    Warning  1087 -                            ^ Not all control paths return a value (_Q16)
    
    dsdt.dsl  7714:                 Method (_HOT, 0, Serialized)
    Warning  1087 -                            ^ Not all control paths return a value (_HOT)
    
    dsdt.dsl  7714:                 Method (_HOT, 0, Serialized)
    Warning  1080 -                            ^ Reserved method must return a value (_HOT)
    
    dsdt.dsl  7722:                 Method (_CRT, 0, Serialized)
    Warning  1087 -                            ^ Not all control paths return a value (_CRT)
    
    dsdt.dsl  7722:                 Method (_CRT, 0, Serialized)
    Warning  1080 -                            ^ Reserved method must return a value (_CRT)
    
    ASL Input:  dsdt.dsl - 8135 lines, 276412 bytes, 4173 keywords
    AML Output: dsdt.aml - 31936 bytes, 821 named objects, 3352 executable opcodes
    
    Compilation complete. 0 Errors, 6 Warnings, 0 Remarks, 26 Optimizations
    Attached Files Attached Files
    Last edited by chavanak; May 31st, 2009 at 08:06 PM. Reason: Wrong file attached
    'UBUNTU', THE COLOR OF MY LIFE!!!

    Ubuntu User # 25608

Page 5 of 59 FirstFirst ... 345671555 ... 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
  •