Skip to contentSkip to conversation

latest acpi commits causes memory allocation fault in macosx

Qemu-devel Marco Minetti 4 participants 7 messages Aug 19, 2014 – Dec 26, 2017

lore
Share & tools
lore
#0 lore raw

Public bug reported:

qemu release 2.1.0

Hi,
I've found a regression on MacOSX guest (10.9.4) after merging the following commits

18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables 868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

The migration limits make x86 chameleon bootloader generate a memory allocation error with 0xdeadbeef address at line 899 in source file:

http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

I've not tried to recompile chameleon yet.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1358722

Title:
  latest acpi commits causes memory allocation fault in macosx

Status in QEMU:
  New

Bug description:
  qemu release 2.1.0

  Hi,
  I've found a regression on MacOSX guest (10.9.4) after merging the following commits 

  18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables
  868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

  The migration limits make x86 chameleon bootloader generate a memory
  allocation error with 0xdeadbeef address at line 899 in source file:

  http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

  I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions
#1 lore raw

The experiments for running MacOSXon KVM/QEMU I followed are here:
http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1358722

Title:
  latest acpi commits causes memory allocation fault in macosx

Status in QEMU:
  New

Bug description:
  qemu release 2.1.0

  Hi,
  I've found a regression on MacOSX guest (10.9.4) after merging the following commits 

  18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables
  868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

  The migration limits make x86 chameleon bootloader generate a memory
  allocation error with 0xdeadbeef address at line 899 in source file:

  http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

  I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions
#2 lore raw
Quoted 3 lines · Marco Minetti

The experiments for running MacOSXon KVM/QEMU I followed are here:
http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/

[...]

Quoted 13 lines

Bug description:
qemu release 2.1.0

Hi,
I've found a regression on MacOSX guest (10.9.4) after merging the following commits

18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables 868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

The migration limits make x86 chameleon bootloader generate a memory allocation error with 0xdeadbeef address at line 899 in source file:

Quoted 6 lines

http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions

If you absolutely need those commits, you may be better off just using qemu's git master branch altogether (which works fine, at least for me). Grabbing two more or less arbitrary commits from git and applying them on top of 2.1.0 may cause you to miss other changes which actually enable those patches to work.

HTH,
--Gabriel

#3 lore raw
Quoted 25 lines · Gabriel L. Somlo
Quoted 3 lines · Marco Minetti

The experiments for running MacOSXon KVM/QEMU I followed are here:
http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/

[...]

Quoted 13 lines

Bug description:
qemu release 2.1.0

Hi,
I've found a regression on MacOSX guest (10.9.4) after merging the following commits

18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables 868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

The migration limits make x86 chameleon bootloader generate a memory allocation error with 0xdeadbeef address at line 899 in source file:

Quoted 6 lines

http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions

Quoted 8 lines

If you absolutely need those commits, you may be better off just using qemu's git master branch altogether (which works fine, at least for me). Grabbing two more or less arbitrary commits from git and applying them on top of 2.1.0 may cause you to miss other changes which actually enable those patches to work.

HTH,
--Gabriel

Those commits are already included into 2.1.0 release tag. I tested almost any commit refs from tag v2.1.0-rc3 to v2.1.0. Things get broken with the commits above with or without following commits.

I'll wait for the next 2.1.x release on git.qemu.org to test again. I actually prefer not to use master to build packages for my bleeding-edge Ubuntu-based distro.

Thanks!

#4 lore raw
Quoted 39 lines · Marco Minetti
Quoted 25 lines · Gabriel L. Somlo
Quoted 3 lines · Marco Minetti

The experiments for running MacOSXon KVM/QEMU I followed are here:
http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/

[...]

Quoted 13 lines

Bug description:
qemu release 2.1.0

Hi,
I've found a regression on MacOSX guest (10.9.4) after merging the following commits

18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables 868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

The migration limits make x86 chameleon bootloader generate a memory allocation error with 0xdeadbeef address at line 899 in source file:

Quoted 6 lines

http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions

Quoted 8 lines

If you absolutely need those commits, you may be better off just using qemu's git master branch altogether (which works fine, at least for me). Grabbing two more or less arbitrary commits from git and applying them on top of 2.1.0 may cause you to miss other changes which actually enable those patches to work.

HTH,
--Gabriel

Those commits are already included into 2.1.0 release tag. I tested almost any commit refs from tag v2.1.0-rc3 to v2.1.0. Things get broken with the commits above with or without following commits.

Quoted 7 lines

I'll wait for the next 2.1.x release on git.qemu.org to test again. I actually prefer not to use master to build packages for my bleeding-edge Ubuntu-based distro.

Thanks!

Hi, for what it's worth, I've observed other regressions related to the same commits. RedHat BZ 1128608; https://bugzilla.redhat.com/show_bug.cgi?id=1128608 appears to be a regression caused by commit 18045f.

These are definitely present in Qemu 2.1 and downstream packages based on 2.1.

Signature · 1 line
—js
#5 lore raw
In reply to Marco Minetti

Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
Status: New => Incomplete

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1358722

Title:
  latest acpi commits causes memory allocation fault in macosx

Status in QEMU:
  Incomplete

Bug description:
  qemu release 2.1.0

  Hi,
  I've found a regression on MacOSX guest (10.9.4) after merging the following commits 

  18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables
  868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

  The migration limits make x86 chameleon bootloader generate a memory
  allocation error with 0xdeadbeef address at line 899 in source file:

  http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

  I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions
#6 lore raw
In reply to Marco Minetti

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 28 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1358722

Title:
  latest acpi commits causes memory allocation fault in macosx

Status in QEMU:
  Expired

Bug description:
  qemu release 2.1.0

  Hi,
  I've found a regression on MacOSX guest (10.9.4) after merging the following commits 

  18045fb9f457a0f0cba2bd113c748a2dcb4ed39e pc: future-proof migration-compatibility of ACPI tables
  868270f23d8db2cce83e4f082fe75e8625a5fbf9 acpi-build: tweak acpi migration limits

  The migration limits make x86 chameleon bootloader generate a memory
  allocation error with 0xdeadbeef address at line 899 in source file:

  http://forge.voodooprojects.org/p/chameleon/source/tree/2360/branches/Bungo/i386/libsaio/acpi_patcher.c

  I've not tried to recompile chameleon yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1358722/+subscriptions