bugGNU GRUB - Bugs: bug #45002, Using "acpi" line won't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #45002: Using "acpi" line won't load DSDT table of ACPI

Submitted by:  Cory Papenfuss <juneau10>
Submitted on:  Sun 03 May 2015 12:35:22 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Cory
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: Every Time
Planned Release: None

(Jump to the original submission Jump to the original submission)

Fri 08 May 2015 03:16:21 AM UTC, comment #10:

Fixed in 07258815e96aab2c72593d0129d17051cbf68d27.

Andrei Borzenkov <arvidjaar>
Project Member
Thu 07 May 2015 07:52:43 PM UTC, comment #9:

Yes, it appears that patch will now load a custom DSDT table. Now I just have to complete figuring out how to hack the custom (broken) DSDT table in the BIOS to make the fans work correctly. One thing down though, thanks for the prompt debugging!

Cory Papenfuss <juneau10>
Thu 07 May 2015 05:56:59 PM UTC, comment #8:

OK, here is final patch. Please test that it works for you for loading custom table.

(file #33956)

Andrei Borzenkov <arvidjaar>
Project Member
Wed 06 May 2015 06:41:26 PM UTC, comment #7:

Attached v2.... asuming previous patch had to be -R as v2 wasn't patching cleanly.

(file #33946)

Cory Papenfuss <juneau10>
Wed 06 May 2015 04:28:55 PM UTC, comment #6:

Please try once again with new patch. Second "acpi" not needed - I need to see where original EBDA is located.

(file #33943)

Andrei Borzenkov <arvidjaar>
Project Member
Tue 05 May 2015 09:12:38 PM UTC, comment #5:

Assuming you meant from the grub command line. One without and one with the desired DSDT dump file

(file #33930)

Cory Papenfuss <juneau10>
Tue 05 May 2015 03:54:20 PM UTC, comment #4:

Could you please apply attached patch, boot grub and do

set debug=acpi
acpi

I'm interested in debug output, in the first place in location of RSDP and EBDA and size of EBDA. You can make screenshot to avoid writing it down by manually.

(file #33927)

Andrei Borzenkov <arvidjaar>
Project Member
Tue 05 May 2015 02:30:04 PM UTC, comment #3:

Oky-doky... I just got the latest source via 'git clone git://git.savannah.gnu.org/grub.git', fried it up, installed, and attempted to boot with the 'acpi DSDT.dump' option. Same result... Invalid table length. Thoughts?

Cory Papenfuss <juneau10>
Tue 05 May 2015 11:46:08 AM UTC, comment #2:

It is a BIOS platform. I will try to fry up the latest version and see if it does it. Currently, it's a fresh Ubuntu 14.04.02 LTS with grub version 2.02-beta2-9ubuntu1.

Cory Papenfuss <juneau10>
Sun 03 May 2015 04:48:07 PM UTC, comment #1:

Looks like grub does not find existing tables. It is BIOS or EFI platform? Can you test with current master?

Andrei Borzenkov <arvidjaar>
Project Member
Sun 03 May 2015 12:35:22 PM UTC, original submission:

Hi all. I'm trying to have grub insert a modified DSDT table into my laptop's (broken) ACPI implementation on boot. As near as I can tell, grub2 somehow doesn't like inserting the DSDT table. I can load other ones (by making a dump to file from /sys/firmware/acpi/tables/XXXX and then loading with grub's acpi xxxx.dump). With normal bootup, I get this:

[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x000F7B50 000024 (v02 HP )
[ 0.000000] ACPI: XSDT 0x7DFC81CC 000084 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
[ 0.000000] ACPI: FACP 0x7DFC8084 0000F4 (v04 HP 30C3 00000003 HP 00000001)
[ 0.000000] ACPI: DSDT 0x7DFC8544 014584 (v01 HP nc65xx 00010000 MSFT 03000001)
[ 0.000000] ACPI: FACS 0x7DFE7D80 000040
[ 0.000000] ACPI: SLIC 0x7DFC8250 000176 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
[ 0.000000] ACPI: HPET 0x7DFC83C8 000038 (v01 HP 30C3 00000001 HP 00000001)
[ 0.000000] ACPI: APIC 0x7DFC8400 000068 (v01 HP 30C3 00000001 HP 00000001)
[ 0.000000] ACPI: MCFG 0x7DFC8468 00003C (v01 HP 30C3 00000001 HP 00000001)
[ 0.000000] ACPI: TCPA 0x7DFC84A4 000032 (v02 HP 30C3 00000001 HP 00000001)
[ 0.000000] ACPI: ASF! 0x7DFC84D8 000069 (v16 HP CHIMAYU 00000001 HP 00000000)
[ 0.000000] ACPI: SSDT 0x7DFDCAC8 000328 (v01 HP HPQSAT 00000001 MSFT 03000001)
[ 0.000000] ACPI: SSDT 0x7DFDCDF0 00014E (v01 HP HPQPRN 00000001 MSFT 03000001)
[ 0.000000] ACPI: SSDT 0x7DFDD946 00025F (v01 HP Cpu0Tst 00003000 INTL 20060317)
[ 0.000000] ACPI: SSDT 0x7DFDDBA5 0000A6 (v01 HP Cpu1Tst 00003000 INTL 20060317)
[ 0.000000] ACPI: SSDT 0x7DFDDC4B 0004D7 (v01 HP CpuPm 00003000 INTL 20060317)

Trying just the "acpi dsdt.dump" to grub, I get this:

[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x0009F500 000024 (v03 )
[ 0.000000] ACPI: XSDT 0x7D1091E1 000024 (v01 00000000 00000000)
[ 0.000000] ACPI BIOS Error (bug): Invalid table length 0x24 in RSDT/XSDT (20140424/tbutils-336)

Is there something I'm missing? A more broken-than-usual computer? It's an HP 8710W fwiw... well-known to have some broken bios. Thanks

Cory Papenfuss <juneau10>

 

Attached Files
file #33956:  acpiv3.patch added by arvidjaar (3KiB - text/x-patch)
file #33946:  grub_screenshotv2.jpg added by juneau10 (388KiB - image/jpeg)
file #33930:  grub_screenshot.jpg added by juneau10 (386KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by juneau10 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 May 2015 03:16:21 AM UTCarvidjaarStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 07 May 2015 05:56:59 PM UTCarvidjaarAttached File-=>Added acpiv3.patch, #33956
    Thu 07 May 2015 05:56:22 PM UTCarvidjaarAttached File#33943=>Removed
    Wed 06 May 2015 06:41:26 PM UTCjuneau10Attached File-=>Added grub_screenshotv2.jpg, #33946
    Wed 06 May 2015 04:28:55 PM UTCarvidjaarAttached File-=>Added acpiv2.patch, #33943
    Wed 06 May 2015 04:28:10 PM UTCarvidjaarAttached File#33927=>Removed
    Tue 05 May 2015 09:12:38 PM UTCjuneau10Attached File-=>Added grub_screenshot.jpg, #33930
    Tue 05 May 2015 03:54:20 PM UTCarvidjaarAttached File-=>Added acpi.patch, #33927

    Back to the top


    Powered by Savane 3.1-cleanup1