All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1767146] [NEW] No ACPI-table found, option -M 1.6 not found either
@ 2018-04-26 15:59 Maximilian W
  2018-04-26 16:07 ` [Qemu-devel] [Bug 1767146] " Maximilian W
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maximilian W @ 2018-04-26 15:59 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Currently writing a small kernel, when trying to detect memory blocks
that contain ACPI information, no such block is found. When ran in
Oracle Virtualbox, code runs flawlessly.

Code that is detecting the ACPI-Info (with a bit of debug-output):

```
multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
for (uint32_t i = 0; i < size; i++) {
 Termutils::cout << map[i].type << "type of block  ";
        if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
             Termutils::cout << "WE ARE INSIDE\n";
             fadt = (FADT*)(map[i].base_addr_low);
        }
 if (i % 9 == 0) {
  Termutils::cout << "\n";
 }
}
```

command qemu is run with:

qemu-img create build/objects/test 500M
qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test

The iso-image is (zipped) included as attachment.

qemu-system-i386 --version:

QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: acpi

** Attachment added: "The kernel that doesnt detect a block of type "3""
   https://bugs.launchpad.net/bugs/1767146/+attachment/5127729/+files/clinl.7z

** Description changed:

  Currently writing a small kernel, when trying to detect memory blocks
  that contain ACPI information, no such block is found. When ran in
  Oracle Virtualbox, code runs flawlessly.
  
  Code that is detecting the ACPI-Info (with a bit of debug-output):
  
  ```
  multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
  for (uint32_t i = 0; i < size; i++) {
- 	Termutils::cout << map[i].type << "type of block  ";
-         if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
- 		Termutils::cout << "WE ARE INSIDE\n";
- 		fadt = (FADT*)(map[i].base_addr_low);
- 		//break;
- 	}
- 	if (i % 9 == 0) {
- 		Termutils::cout << "\n";
- 	}
+  Termutils::cout << map[i].type << "type of block  ";
+         if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
+              Termutils::cout << "WE ARE INSIDE\n";
+              fadt = (FADT*)(map[i].base_addr_low);
+         }
+  if (i % 9 == 0) {
+   Termutils::cout << "\n";
+  }
  }
  ```
- 
  
  command qemu is run with:
  
  qemu-img create build/objects/test 500M
  qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test
  
- 
  The iso-image is (zipped) included as attachment.
- 
  
  qemu-system-i386 --version:
  
  QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

** Description changed:

  Currently writing a small kernel, when trying to detect memory blocks
  that contain ACPI information, no such block is found. When ran in
  Oracle Virtualbox, code runs flawlessly.
  
  Code that is detecting the ACPI-Info (with a bit of debug-output):
  
  ```
  multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
  for (uint32_t i = 0; i < size; i++) {
   Termutils::cout << map[i].type << "type of block  ";
          if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
               Termutils::cout << "WE ARE INSIDE\n";
               fadt = (FADT*)(map[i].base_addr_low);
-         }
+         }
   if (i % 9 == 0) {
    Termutils::cout << "\n";
   }
  }
  ```
  
  command qemu is run with:
  
  qemu-img create build/objects/test 500M
  qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test
  
  The iso-image is (zipped) included as attachment.
  
  qemu-system-i386 --version:
  
  QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

Title:
  No ACPI-table found, option -M 1.6 not found either

Status in QEMU:
  New

Bug description:
  Currently writing a small kernel, when trying to detect memory blocks
  that contain ACPI information, no such block is found. When ran in
  Oracle Virtualbox, code runs flawlessly.

  Code that is detecting the ACPI-Info (with a bit of debug-output):

  ```
  multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
  for (uint32_t i = 0; i < size; i++) {
   Termutils::cout << map[i].type << "type of block  ";
          if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
               Termutils::cout << "WE ARE INSIDE\n";
               fadt = (FADT*)(map[i].base_addr_low);
          }
   if (i % 9 == 0) {
    Termutils::cout << "\n";
   }
  }
  ```

  command qemu is run with:

  qemu-img create build/objects/test 500M
  qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test

  The iso-image is (zipped) included as attachment.

  qemu-system-i386 --version:

  QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 1767146] Re: No ACPI-table found, option -M 1.6 not found either
  2018-04-26 15:59 [Qemu-devel] [Bug 1767146] [NEW] No ACPI-table found, option -M 1.6 not found either Maximilian W
@ 2018-04-26 16:07 ` Maximilian W
  2020-11-10 16:08 ` Thomas Huth
  2021-01-10  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Maximilian W @ 2018-04-26 16:07 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "juxtaposition of two VMs running the same kernel (different amounts of memory)"
   https://bugs.launchpad.net/qemu/+bug/1767146/+attachment/5127733/+files/Auswahl_364.png

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

Title:
  No ACPI-table found, option -M 1.6 not found either

Status in QEMU:
  New

Bug description:
  Currently writing a small kernel, when trying to detect memory blocks
  that contain ACPI information, no such block is found. When ran in
  Oracle Virtualbox, code runs flawlessly.

  Code that is detecting the ACPI-Info (with a bit of debug-output):

  ```
  multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
  for (uint32_t i = 0; i < size; i++) {
   Termutils::cout << map[i].type << "type of block  ";
          if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
               Termutils::cout << "WE ARE INSIDE\n";
               fadt = (FADT*)(map[i].base_addr_low);
          }
   if (i % 9 == 0) {
    Termutils::cout << "\n";
   }
  }
  ```

  command qemu is run with:

  qemu-img create build/objects/test 500M
  qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test

  The iso-image is (zipped) included as attachment.

  qemu-system-i386 --version:

  QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1767146] Re: No ACPI-table found, option -M 1.6 not found either
  2018-04-26 15:59 [Qemu-devel] [Bug 1767146] [NEW] No ACPI-table found, option -M 1.6 not found either Maximilian W
  2018-04-26 16:07 ` [Qemu-devel] [Bug 1767146] " Maximilian W
@ 2020-11-10 16:08 ` Thomas Huth
  2021-01-10  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2020-11-10 16:08 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.


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

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

Title:
  No ACPI-table found, option -M 1.6 not found either

Status in QEMU:
  Incomplete

Bug description:
  Currently writing a small kernel, when trying to detect memory blocks
  that contain ACPI information, no such block is found. When ran in
  Oracle Virtualbox, code runs flawlessly.

  Code that is detecting the ACPI-Info (with a bit of debug-output):

  ```
  multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
  for (uint32_t i = 0; i < size; i++) {
   Termutils::cout << map[i].type << "type of block  ";
          if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
               Termutils::cout << "WE ARE INSIDE\n";
               fadt = (FADT*)(map[i].base_addr_low);
          }
   if (i % 9 == 0) {
    Termutils::cout << "\n";
   }
  }
  ```

  command qemu is run with:

  qemu-img create build/objects/test 500M
  qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test

  The iso-image is (zipped) included as attachment.

  qemu-system-i386 --version:

  QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1767146] Re: No ACPI-table found, option -M 1.6 not found either
  2018-04-26 15:59 [Qemu-devel] [Bug 1767146] [NEW] No ACPI-table found, option -M 1.6 not found either Maximilian W
  2018-04-26 16:07 ` [Qemu-devel] [Bug 1767146] " Maximilian W
  2020-11-10 16:08 ` Thomas Huth
@ 2021-01-10  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-10  4:17 UTC (permalink / raw)
  To: qemu-devel

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

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

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

Title:
  No ACPI-table found, option -M 1.6 not found either

Status in QEMU:
  Expired

Bug description:
  Currently writing a small kernel, when trying to detect memory blocks
  that contain ACPI information, no such block is found. When ran in
  Oracle Virtualbox, code runs flawlessly.

  Code that is detecting the ACPI-Info (with a bit of debug-output):

  ```
  multiboot_memory_map32_t* map = (multiboot_memory_map32_t*)mmap;
  for (uint32_t i = 0; i < size; i++) {
   Termutils::cout << map[i].type << "type of block  ";
          if (mmap[i].type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) {
               Termutils::cout << "WE ARE INSIDE\n";
               fadt = (FADT*)(map[i].base_addr_low);
          }
   if (i % 9 == 0) {
    Termutils::cout << "\n";
   }
  }
  ```

  command qemu is run with:

  qemu-img create build/objects/test 500M
  qemu-system-i386 -hda $(APP_DIR)/clinl.iso -hdb ./build/objects/test

  The iso-image is (zipped) included as attachment.

  qemu-system-i386 --version:

  QEMU emulator version 2.10.1(qemu-2.10.1-3.fc27)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-10  4:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26 15:59 [Qemu-devel] [Bug 1767146] [NEW] No ACPI-table found, option -M 1.6 not found either Maximilian W
2018-04-26 16:07 ` [Qemu-devel] [Bug 1767146] " Maximilian W
2020-11-10 16:08 ` Thomas Huth
2021-01-10  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.