Skip to contentSkip to conversation

seabios: q35 update

GIT PULL New Gerd Hoffmann 4 participants 17 messages Dec 3, 2012 – Dec 5, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

Most q35 seabios patches just landed upstream. So here we go with a last-minute pull to plumb the missing q35 bits. It obviously updates seabios again. It also adds autoloading for the acpi dsdt table.

With this pull "qemu -M q35" JustWorks[tm].

please pull,
Gerd

The following changes since commit 01bbd8bf2caced5cb07939669f58d3a7bcc78092:

Update version for 1.3.0-rc2 (2012-11-30 15:04:16 -0600)

are available in the git repository at:
git://git.kraxel.org/qemu seabios-3d11108

Gerd Hoffmann (3):
seabios: update to 3d11108f45818d75140530a184c05680f1be51ad
configure: also symlink *.aml files
acpi: autoload dsdt

 configure                 |    1 +
 hw/pc.c                   |   23 +++++++++++++++++++++++
 hw/pc.h                   |    1 +
 hw/pc_piix.c              |    1 +
 hw/pc_q35.c               |    1 +
 pc-bios/acpi-dsdt.aml     |  Bin 4540 -> 4450 bytes
 pc-bios/bios.bin          |  Bin 131072 -> 131072 bytes
 pc-bios/q35-acpi-dsdt.aml |  Bin 0 -> 8374 bytes
 roms/seabios              |    2 +-
 9 files changed, 28 insertions(+), 1 deletions(-)
 create mode 100644 pc-bios/q35-acpi-dsdt.aml
#1 lore raw

PATCH 1/3 seabios: update to 3d11108f45818d75140530a184c05680f1be51ad

Most q35 patches landed in seabios upstream. Some cleanups and the mcfg table are still missing. So pci mmconfig will not work. Basic functionality is there though.

---
 pc-bios/acpi-dsdt.aml     |  Bin 4540 -> 4450 bytes
 pc-bios/bios.bin          |  Bin 131072 -> 131072 bytes
 pc-bios/q35-acpi-dsdt.aml |  Bin 0 -> 8374 bytes
 roms/seabios              |    2 +-
 4 files changed, 1 insertions(+), 1 deletions(-)
 create mode 100644 pc-bios/q35-acpi-dsdt.aml
pc-bios/acpi-dsdt.aml binary +0 -0
index bb3dd83a56f84131f9c9f968cbee9385931cecd3..dbc2114d36c1c57804a9a7e91f855a8445b3aafb 100644
GIT binary patch
pc-bios/bios.bin binary +0 -0
index dc9b57ddc9a39f3d8ea75a8f23e3869c26144795..202ba076ca393f782040ee09ee2158f628fa41ad 100644
GIT binary patch
pc-bios/q35-acpi-dsdt.aml new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..8cdd84791af9956b6cf6389cc6bb07b050d4dcbc
GIT binary patch
roms/seabios +1 -1
index b1c35f2..3d11108 160000
@@ -1 +1 @@
-Subproject commit b1c35f2b28cc0c94ebed8176ff61ac0e0b377798
+Subproject commit 3d11108f45818d75140530a184c05680f1be51ad
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/3 configure: also symlink *.aml files

In reply to Gerd Hoffmann
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
configure +1 -0
index 994f731..8483388 100755
@@ -4190,6 +4190,7 @@ FILES="$FILES pc-bios/spapr-rtas/Makefile"
 FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"
 for bios_file in \
     $source_path/pc-bios/*.bin \
+    $source_path/pc-bios/*.aml \
     $source_path/pc-bios/*.rom \
     $source_path/pc-bios/*.dtb \
     $source_path/pc-bios/openbios-* \
Signature · 1 line
1.7.1
#3 lore raw

PATCH 3/3 acpi: autoload dsdt

In reply to Gerd Hoffmann
---
 hw/pc.c      |   23 +++++++++++++++++++++++
 hw/pc.h      |    1 +
 hw/pc_piix.c |    1 +
 hw/pc_q35.c  |    1 +
 4 files changed, 26 insertions(+), 0 deletions(-)
hw/pc.c +23 -0
index 2b5bbbf..2547c26 100644
@@ -877,6 +877,29 @@ void pc_cpus_init(const char *cpu_model)
     }
 }
 
+void pc_acpi_init(const char *default_dsdt)
+{
+    char *filename = NULL, *arg = NULL;
+
+    if (acpi_tables != NULL) {
+        /* manually set via -acpitable, leave it alone */
+        return;
+    }
+
+    filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, default_dsdt);
+    if (filename == NULL) {
+        fprintf(stderr, "WARNING: failed to find %s\n", default_dsdt);
+        return;
+    }
+
+    arg = g_strdup_printf("file=%s", filename);
+    if (acpi_table_add(arg) != 0) {
+        fprintf(stderr, "WARNING: failed to load %s\n", filename);
+    }
+    g_free(arg);
+    g_free(filename);
+}
+
 void *pc_memory_init(MemoryRegion *system_memory,
                     const char *kernel_filename,
                     const char *kernel_cmdline,
hw/pc.h +1 -0
index 2237e86..9ecccbb 100644
@@ -79,6 +79,7 @@ void pc_register_ferr_irq(qemu_irq irq);
 void pc_acpi_smi_interrupt(void *opaque, int irq, int level);
 
 void pc_cpus_init(const char *cpu_model);
+void pc_acpi_init(const char *default_dsdt);
 void *pc_memory_init(MemoryRegion *system_memory,
                     const char *kernel_filename,
                     const char *kernel_cmdline,
hw/pc_piix.c +1 -0
index aa3e7f4..dbf5663 100644
@@ -87,6 +87,7 @@ static void pc_init1(MemoryRegion *system_memory,
     void *fw_cfg = NULL;
 
     pc_cpus_init(cpu_model);
+    pc_acpi_init("acpi-dsdt.aml");
 
     if (kvmclock_enabled) {
         kvmclock_create();
hw/pc_q35.c +1 -0
index 3429a9a..7a8d6fe 100644
@@ -87,6 +87,7 @@ static void pc_q35_init(QEMUMachineInitArgs *args)
     qemu_irq *cmos_s3;
 
     pc_cpus_init(cpu_model);
+    pc_acpi_init("q35-acpi-dsdt.aml");
 
     kvmclock_create();
 
Signature · 1 line
1.7.1
#4 lore raw
In reply to Gerd Hoffmann
Quoted 11 lines · Gerd Hoffmann

Hi,

Most q35 seabios patches just landed upstream. So here we go with a last-minute pull to plumb the missing q35 bits. It obviously updates seabios again. It also adds autoloading for the acpi dsdt table.

With this pull "qemu -M q35" JustWorks[tm].

please pull,
Gerd

Hi,

Feel free to add my Acked-by: Jason Baron <[email protected]> to the series.

I've just been looking at WindowsXP support and there are a few issues that need to be resolved to make it work with the current q35 code.

1) legacy ide mode

I can currently create a ide controller on the command-line using '-device'. However, on the real h/w there is an IDE compatibility mode which essentially advertises an ide controller at the same location that the ahci lives at. In fact, it changes the PCI device id. To deal with the fact that AHCI has 6 ports and thus 6 possible devices, it then adds a second controller for the remaining 2 disks. This shouldn't be too hard to emulate. But I'm wondering what we want the qemu interface to look like? A -machine options such as:
'-machine q35,diskmode=ahci,ide,raid'?

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

"
A problem has been detected and windows has been shut down to prevent damage to your computer.

If this is the first time you've seen this Stop error screen, restart your computer. If this screen appears again, follow these steps:

Check To be sure you have adequate disk space. If a driver is identified in The stop message, disable the driver or check with the manufacturer for driver updates. Try changing video adapters.

Check with your hardware vendor for any BIOS updates. Disable BIOS memory options such as caching or shadowing. If you need to use safe mode to remove or disable components, restart your computer, press F8 To select Advanced startup opTions, and then select safe mode.

Technical information:

*** STOP: Ox0000007E (OxFFFFFFFFC0000005,OxFFFFFADF8FCEDA83,OxFFFFFADF90631540,O xFFFFFADF90630F50)

*** acpi.sys - Address FFFFFADF8FCEDA83 base at FFFFFADF8FCDA000, DateStamp
42435eae
"

3) irq table

The irq table commit that makes windows 7 work, upsets Windows XP. If I back out seabios commit: 2114f50148c42e374586359d23b522483ca10e8d I do not get the following error:

"
A problem has been detected and windows has been shut down To prevent damage to your computer.

If this is The first time you've seen this stop error screen, restart your computer. If this screen appears again, follow these steps:

The BIOS in this sysTem is not fully ACPI compliant. Please contact your system vendor for an updated BIOS. If you are unable to obtain an updated BIOS or the latest BIOS supplied by your vendor is not ACPI compliant, you can turn off ACPI mode during textmode setup. To do this, press The F7 key when you are prompted To install storage drivers. The system will not notify you that the F7 key was pressed - it will silently disable ACPI and allow you to continue your installation.

Technical informaTion:

*** STOP: 0x000000A5 (Ox0000000000010006,OxFFFFFADF9C461108,0x0000000000000000,0 x0000000000000000)
"

Thanks,

-Jason

#5 lore raw

Hi,

Quoted 11 lines

1) legacy ide mode

I can currently create a ide controller on the command-line using '-device'. However, on the real h/w there is an IDE compatibility mode which essentially advertises an ide controller at the same location that the ahci lives at. In fact, it changes the PCI device id. To deal with the fact that AHCI has 6 ports and thus 6 possible devices, it then adds a second controller for the remaining 2 disks. This shouldn't be too hard to emulate. But I'm wondering what we want the qemu interface to look like? A -machine options such as:
'-machine q35,diskmode=ahci,ide,raid'?

I'm wondering whenever we want to deal with that at all?

"If your guest is too old to handle ahci natively, just stick to piix." is a sensible policy IMHO.

Quoted 4 lines

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

Hmm. That was added to make macos x happy and is also present on real hardware, so I'm wondering what is going on here.

Quoted 22 lines

3) irq table

The irq table commit that makes windows 7 work, upsets Windows XP. If I back out seabios commit: 2114f50148c42e374586359d23b522483ca10e8d I do not get the following error:

"
A problem has been detected and windows has been shut down To prevent damage to your computer.

If this is The first time you've seen this stop error screen, restart your computer. If this screen appears again, follow these steps:

The BIOS in this sysTem is not fully ACPI compliant. Please contact your system vendor for an updated BIOS. If you are unable to obtain an updated BIOS or the latest BIOS supplied by your vendor is not ACPI compliant, you can turn off ACPI mode during textmode setup. To do this, press The F7 key when you are prompted To install storage drivers. The system will not notify you that the F7 key was pressed - it will silently disable ACPI and allow you to continue your installation.

Quoted 5 lines

Technical informaTion:

*** STOP: 0x000000A5 (Ox0000000000010006,OxFFFFFADF9C461108,0x0000000000000000,0 x0000000000000000)
"

Jan, this is your commit, any idea?

cheers,
Gerd

#6 lore raw
Quoted 49 lines · Gerd Hoffmann

Hi,

Quoted 11 lines

1) legacy ide mode

I can currently create a ide controller on the command-line using '-device'. However, on the real h/w there is an IDE compatibility mode which essentially advertises an ide controller at the same location that the ahci lives at. In fact, it changes the PCI device id. To deal with the fact that AHCI has 6 ports and thus 6 possible devices, it then adds a second controller for the remaining 2 disks. This shouldn't be too hard to emulate. But I'm wondering what we want the qemu interface to look like? A -machine options such as:
'-machine q35,diskmode=ahci,ide,raid'?

I'm wondering whenever we want to deal with that at all?

"If your guest is too old to handle ahci natively, just stick to piix." is a sensible policy IMHO.

Quoted 4 lines

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

Hmm. That was added to make macos x happy and is also present on real hardware, so I'm wondering what is going on here.

Quoted 22 lines

3) irq table

The irq table commit that makes windows 7 work, upsets Windows XP. If I back out seabios commit: 2114f50148c42e374586359d23b522483ca10e8d I do not get the following error:

"
A problem has been detected and windows has been shut down To prevent damage to your computer.

If this is The first time you've seen this stop error screen, restart your computer. If this screen appears again, follow these steps:

The BIOS in this sysTem is not fully ACPI compliant. Please contact your system vendor for an updated BIOS. If you are unable to obtain an updated BIOS or the latest BIOS supplied by your vendor is not ACPI compliant, you can turn off ACPI mode during textmode setup. To do this, press The F7 key when you are prompted To install storage drivers. The system will not notify you that the F7 key was pressed - it will silently disable ACPI and allow you to continue your installation.

Quoted 7 lines
Quoted 5 lines

Technical informaTion:

*** STOP: 0x000000A5 (Ox0000000000010006,OxFFFFFADF9C461108,0x0000000000000000,0 x0000000000000000)
"

Jan, this is your commit, any idea?

Not really. This is looong ago. I hacked it in to make Win7 happy, but I may not have tested WinXP by that time.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
#7 lore raw
In reply to Gerd Hoffmann
Quoted 14 lines · Gerd Hoffmann

Hi,

Quoted 11 lines

1) legacy ide mode

I can currently create a ide controller on the command-line using '-device'. However, on the real h/w there is an IDE compatibility mode which essentially advertises an ide controller at the same location that the ahci lives at. In fact, it changes the PCI device id. To deal with the fact that AHCI has 6 ports and thus 6 possible devices, it then adds a second controller for the remaining 2 disks. This shouldn't be too hard to emulate. But I'm wondering what we want the qemu interface to look like? A -machine options such as:
'-machine q35,diskmode=ahci,ide,raid'?

Quoted 5 lines

I'm wondering whenever we want to deal with that at all?

"If your guest is too old to handle ahci natively, just stick to piix." is a sensible policy IMHO.

There was some discussion of trying to make q35 the default for 1.4, in which case it may be important to support older OS's such as WinXP.

Anthony, do you have any opinion on this?

Quoted 8 lines
Quoted 4 lines

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

Hmm. That was added to make macos x happy and is also present on real hardware, so I'm wondering what is going on here.

I also noticed that on Windows 7, the 'IRQNoFlags' line above makes the RTC clock complain that it does not have resources available. While removing the above line, removes that error.

thanks,

-Jason

#8 lore raw

Hi,

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

'-machine q35,diskmode=ahci,ide,raid'?

I'm wondering whenever we want to deal with that at all?

Quoted 8 lines
Quoted 3 lines

"If your guest is too old to handle ahci natively, just stick to piix." is a sensible policy IMHO.

There was some discussion of trying to make q35 the default for 1.4, in which case it may be important to support older OS's such as WinXP.

Anthony, do you have any opinion on this?

The fundamental issue is that you have either good compatibility (makes old guests happy) or good performance (makes modern guests happy) by default. Picking a default which makes everybody happy is impossible.

That problem doesn't change no matter whenever the choice is piix vs. q35 or q35+ide vs. q35+ahci.

management apps (using libosinfo) can tackle this in a sensible manner by picking virtual hardware depending on the guest capabilities. So I wouldn't worry too much on qemu level.

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

Quoted 7 lines
Quoted 3 lines

Hmm. That was added to make macos x happy and is also present on real hardware, so I'm wondering what is going on here.

I also noticed that on Windows 7, the 'IRQNoFlags' line above makes the RTC clock complain that it does not have resources available. While removing the above line, removes that error.

Hmm. The IRQNoFlags for the RTC isn't new though, but I can see that with win7 on piix too.

cheers,
Gerd

#9 lore raw
Quoted 5 lines · Gerd Hoffmann
Quoted 3 lines
Quoted 3 lines

I also noticed that on Windows 7, the 'IRQNoFlags' line above makes the RTC clock complain that it does not have resources available. While removing the above line, removes that error.

Hmm. The IRQNoFlags for the RTC isn't new though, but I can see that with win7 on piix too.

Works fine with 1.7.1 though. /me goes bisecting.

cheers,
Gerd

#10 lore raw
In reply to Gerd Hoffmann
Quoted 8 lines · On Tue, 04 Dec 2012 08:40:27 +0100 Gerd Hoffmann wrote:
Quoted 4 lines · Jason Baron

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

Hmm. That was added to make macos x happy and is also present on real hardware, so I'm wondering what is going on here.

Without that line, OS X only works as a single-core, non-SMP guest. This is the "legacy replacement irq mapping" option for HPET (section 2.4.2, page 24 of the IA-PC HPET Specification).

The options are 'IRQNoFlags () {2, 8}' for "APIC mapping" or 'IRQNoFlags () {0, 8}' for "8259 mapping". Either one works for SMP + OS X.

I don't have an XP install image anymore, but does replacing 2,8 with 0,8 help ?

On a few of my machines, this is actually coded as

                        IRQNoFlags ()
                            {0}			/* or 2 */
                        IRQNoFlags ()
                            {8}

Based on my reading of the ACPI manual, this should be syntactically equivalent to the the comma-separated single-line format we're currently using, but could it be that WinXP is picky about the specifics ?

Also, as far as I can tell, this change never made it into the "q35-acpi-dsdt.dsl" file, just the "classic" acpi-dsdt.dsl (or, lately, acpi-dsdt-hpet.dsl). I was about to submit another patch for that, but now I guess I won't press it until we sort this out :)

--Gabriel

#11 lore raw
Quoted 14 lines · Gabriel L. Somlo
Quoted 8 lines · On Tue, 04 Dec 2012 08:40:27 +0100 Gerd Hoffmann wrote:
Quoted 4 lines · Jason Baron

2) HPET ACPI error

This line: 'IRQNoFlags () {2, 8}' in the HPET acpi table is causing the folloing ACPI message (removing it makes it go away):

Hmm. That was added to make macos x happy and is also present on real hardware, so I'm wondering what is going on here.

Without that line, OS X only works as a single-core, non-SMP guest. This is the "legacy replacement irq mapping" option for HPET (section 2.4.2, page 24 of the IA-PC HPET Specification).

Quoted 6 lines

The options are 'IRQNoFlags () {2, 8}' for "APIC mapping" or 'IRQNoFlags () {0, 8}' for "8259 mapping". Either one works for SMP + OS X.

I don't have an XP install image anymore, but does replacing 2,8 with 0,8 help ?

no.

Quoted 11 lines

On a few of my machines, this is actually coded as

                        IRQNoFlags ()
                            {0}			/* or 2 */
                        IRQNoFlags ()
                            {8}

Based on my reading of the ACPI manual, this should be syntactically equivalent to the the comma-separated single-line format we're currently using, but could it be that WinXP is picky about the specifics ?

Didn't seem to help either. I also tried having just a single irq from 0,2,8, and that didn't work either. The only thing that seems to make XP happy is completely removing that line. So I'm not sure what is wrong.

Quoted 5 lines

Also, as far as I can tell, this change never made it into the "q35-acpi-dsdt.dsl" file, just the "classic" acpi-dsdt.dsl (or, lately, acpi-dsdt-hpet.dsl). I was about to submit another patch for that, but now I guess I won't press it until we sort this out :)

q35-acpi-dsdt.dsl is the current sebios tree does:

#include "acpi-dsdt-hpet.dsl"

Thanks,

-Jason

#12 lore raw
Quoted 13 lines · On Tue, Dec 04, 2012 at 10:11:38AM -0500, [email protected] wrote:
Quoted 3 lines

I don't have an XP install image anymore, but does replacing 2,8 with 0,8 help ?

no.

Quoted 7 lines

On a few of my machines, this is actually coded as

                        IRQNoFlags ()
                            {0}			/* or 2 */
                        IRQNoFlags ()
                            {8}
Quoted 8 lines
Quoted 4 lines

Based on my reading of the ACPI manual, this should be syntactically equivalent to the the comma-separated single-line format we're currently using, but could it be that WinXP is picky about the specifics ?

Didn't seem to help either. I also tried having just a single irq from 0,2,8, and that didn't work either. The only thing that seems to make XP happy is completely removing that line. So I'm not sure what is wrong.

I got one more thing to try:

src/acpi-dsdt-hpet.dsl +7 -2
index d5aa3f1..8385ce4 100644
@@ -23,12 +23,17 @@ Scope(\_SB) {
             }
             Return (0x0F)
         }
-        Name(_CRS, ResourceTemplate() {
+        Name(BUF0, ResourceTemplate() {
             IRQNoFlags() {2, 8}
             Memory32Fixed(ReadOnly,
                 0xFED00000,         // Address Base
                 0x00000400,         // Address Length
-                )
+                _Y09)
         })
+        Method(_CRS, 0, Serialized) {
+            CreateDWordField (BUF0, \_SB.HPET._Y09._BAS, HPT0)
+            Store(0xFED00000, HPT0)
+            Return (BUF0)
+        }
     }
 }

The complete definition for the HPET on my MacPro5,1 is below; along with the 0xFED00000 value gleaned from the previous SeaBIOS version of _CRS, I came up with the above. Hopefully it works for WinXP too...

Thanks,
--Gabriel

Device (HPET) {
    Name (_HID, EisaId ("PNP0103"))
    Name (BUF0, ResourceTemplate () {
        IRQNoFlags ()
            {0}
        IRQNoFlags ()
            {8}
        Memory32Fixed (ReadOnly,
            0xFED00000,         // Address Base
            0x00100000,         // Address Length
            _Y09)
    })
    Method (_STA, 0, NotSerialized) {
        If (LGreaterEqual (OSYS, 0x07D1)) {
            If (HPAE) {
                Return (0x0F)
            }
        } Else {
            If (HPAE) {
                Return (0x0B)
            }
        }
        Return (0x00)
    }
    Method (_CRS, 0, Serialized) {
        If (HPAE) {
            CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y09._BAS,   HPT0)
            If (LEqual (HPAS, 0x01)) {
                Store (0xFED10000, HPT0)
            }
            If (LEqual (HPAS, 0x02)) {
                Store (0xFED20000, HPT0)
            }
            If (LEqual (HPAS, 0x03)) {
                Store (0xFED30000, HPT0)
            }
        }
        Return (BUF0)
    }
}
#13 lore raw

Hi,

Quoted 36 lines

The complete definition for the HPET on my MacPro5,1 is below; along with the 0xFED00000 value gleaned from the previous SeaBIOS version of _CRS, I came up with the above. Hopefully it works for WinXP too...

Device (HPET) {
    Name (_HID, EisaId ("PNP0103"))
    Name (BUF0, ResourceTemplate () {
        IRQNoFlags ()
            {0}
        IRQNoFlags ()
            {8}
        Memory32Fixed (ReadOnly,
            0xFED00000,         // Address Base
            0x00100000,         // Address Length
            _Y09)
    })
    Method (_STA, 0, NotSerialized) {
        If (LGreaterEqual (OSYS, 0x07D1)) {
            If (HPAE) {
                Return (0x0F)
            }
        } Else {
            If (HPAE) {
                Return (0x0B)
            }
        }
        Return (0x00)
    }
    Method (_CRS, 0, Serialized) {
        If (HPAE) {
            CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y09._BAS,   HPT0)
            If (LEqual (HPAS, 0x01)) {
                Store (0xFED10000, HPT0)
            }
            If (LEqual (HPAS, 0x02)) {
                Store (0xFED20000, HPT0)
Quoted 8 lines
            }
            If (LEqual (HPAS, 0x03)) {
                Store (0xFED30000, HPT0)
            }
        }
        Return (BUF0)
    }
}

Ok, and how does the RTC look like on your MacPro?

thanks,
Gerd

#14 lore raw
Quoted 1 line · Gerd Hoffmann

Ok, and how does the RTC look like on your MacPro?

Device (RTC)

{
    Name (_HID, EisaId ("PNP0B00"))
    Name (_CRS, ResourceTemplate ()
    {
        IO (Decode16,
            0x0070,             // Range Minimum
            0x0070,             // Range Maximum
            0x01,               // Alignment
            0x08,               // Length
            )
    })
}
#15 lore raw
Quoted 4 lines · Gabriel L. Somlo
Quoted 1 line · Gerd Hoffmann

Ok, and how does the RTC look like on your MacPro?

Device (RTC)

Quoted 12 lines
{
    Name (_HID, EisaId ("PNP0B00"))
    Name (_CRS, ResourceTemplate ()
    {
        IO (Decode16,
            0x0070,             // Range Minimum
            0x0070,             // Range Maximum
            0x01,               // Alignment
            0x08,               // Length
            )
    })
}

Ok, so no IRQ declared for the RTC. We have IRQ 8 for both rtc and hpet, which most likely is the root cause for the issue. You can try simply dropping the line for testing. I'll try to come up with something more clever as the hpet can be disabled in which case we should keep irq8 assigned to rtc.

cheers,
Gerd

#16 lore raw
Quoted 5 lines · Gerd Hoffmann

Ok, so no IRQ declared for the RTC. We have IRQ 8 for both rtc and hpet, which most likely is the root cause for the issue. You can try simply dropping the line for testing. I'll try to come up with something more clever as the hpet can be disabled in which case we should keep irq8 assigned to rtc.

Yeah, with SnowLeopard, simply leaving out the IRQ on RTC in SeaBIOS got me all the way to a blue screen with a moving mouse pointer, but no further :)

However, the acpi-dsdt-isa.dsl RTC patch you just sent to SeaBIOS has no (negative) impact on my ability to boot SnowLeopard.

Thanks much,
--Gabriel