VirtualBox

Opened 8 years ago

Last modified 2 years ago

#15043 new defect

VMSetError for ACPI tables < 64k

Reported by: vbox_manage Owned by:
Component: other Version: VirtualBox 5.0.12
Keywords: Cc:
Guest type: other Host type: Linux

Description

Hello,

I am trying to use a custom ACPI table with my VM without success. VirtualBox fails to start the VM (rc=VERR_TOO_MUCH_DATA) stating my ACPI table is too large.

The size of the DSDT I'm using is 59552 bytes. According to VirtualBox, the maximum size is 64k (65536 bytes). The log file is attached, see line 568.

This seems to be a bug where the size of GCPhysCur is (somehow) greater than 0x10000. See line 2744 of DevACPI.cpp.

* To reproduce *

  1. Create a VM
  1. Check the size of your DSDT
    ls -l /sys/firmware/acpi/tables/ | grep DSDT
    
  1. If less than 64k, go ahead and make a copy in your VM folder
    sudo cp /sys/firmware/acpi/tables/DSDT /home/josh/VirtualBox\ VMs/win7x64sb1/DSDT
    
  1. Change ownership and group of DSDT file
    sudo chown josh:josh /home/josh/VirtualBox\ VMs/win7x64sb1/DSDT
    
  1. Set extra data using VBoxManage
    VBoxManage setextradata win7x64sb1 VBoxInternal/Devices/acpi/0/Config/CustomTable /home/josh/VirtualBox\ VMs/win7x64sb1/DSDT
    
  1. Start the VM. You should see the error.

Attachments (2)

VBox.log (31.8 KB ) - added by vbox_manage 8 years ago.
vbox log
DSDT (58.2 KB ) - added by vbox_manage 8 years ago.
A copy of the DSDT I'm using

Download all attachments as: .zip

Change History (7)

by vbox_manage, 8 years ago

Attachment: VBox.log added

vbox log

by vbox_manage, 8 years ago

Attachment: DSDT added

A copy of the DSDT I'm using

comment:1 by Frank Mehnert, 8 years ago

The maximum size of 64KB applies to all ACPI tables together, not only the DSDT! This is a limitation of the code which need to be raised eventually.

comment:2 by vbox_manage, 8 years ago

Thank you. Hopefully it will be raised soon.

Last edited 8 years ago by vbox_manage (previous) (diff)

comment:3 by nsmfoo, 3 years ago

Hi,

This 5 year old issue is still an issue. Any plans to solve it? Because of this issue it's not only near impossible, but rather impossible to use the custom ACPI table from a modern computer

comment:4 by nsmfoo, 3 years ago

Also the maximun size should be changed to reflect current sizes ..

comment:5 by SirBecalo, 2 years ago

it is extremely an extremely frustrating issue spanning decades. please try to act? its unrealistic to expect such ACPI table sizes!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use