fix bugzilla 89 x86_64 linux won't boot on hardware with sata drives
PATCH 1/1 fix bugzilla 89 x86_64 linux won't boot on hardware with sata drives
changes in the linux patch 2.6.12 -> 2.6.12.5 in drivers/acpi/pci_irq.c stopped x86_64 linux from booting under xen on machines with SATA drives. This patch undoes only those changes and restores the previous functionality.
Signature · 4 lines
Mike D. Day STSM and Architect, Open Virtualization IBM Linux Technology Center [email protected]
# HG changeset patch
# User [email protected]
# Node ID 3e6af82cf5fe61ac8400e94e24aeb3a4540d9662
# Parent 7c951e3eb5ab4ab0a6de33a8f831c828d16b1ad4
This linux patch, in particular the file drivers/acpi/pci_irq.c, breaks Athlons x86_64 with SATA drives. Removed the patch to pci_irq.c and confirmed that x86_64 2.6.12.5 works as it did prior to the 2.6.12.5 patch
signed-off-by Mike Day <[email protected]>
patches/linux-2.6.12/2.6.12.5.patch +1 -15
@@ -534,7 +534,7 @@ while (go[MASTER]) /* wait for master to be ready */ no_cpu_relax(); -@@ -313,16 +318,14 @@ static __cpuinit void sync_tsc(void) +@@ -313,17 +318,15 @@ static __cpuinit void sync_tsc(void) printk(KERN_INFO "CPU %d: synchronized TSC with CPU %u (last diff %ld cycles, " "maxerr %lu cycles)\n",
@@ -553,20 +553,6 @@ } static __init int notscsync_setup(char *s) -diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c ---- a/drivers/acpi/pci_irq.c -+++ b/drivers/acpi/pci_irq.c -@@ -433,8 +433,9 @@ acpi_pci_irq_enable ( - printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: no GSI", - pci_name(dev), ('A' + pin)); - /* Interrupt Line values above 0xF are forbidden */ -- if (dev->irq >= 0 && (dev->irq <= 0xF)) { -+ if (dev->irq > 0 && (dev->irq <= 0xF)) { - printk(" - using IRQ %d\n", dev->irq); -+ acpi_register_gsi(dev->irq, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW); - return_VALUE(0); - } - else { diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel