All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mike D. Day" <ncmike@us.ibm.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] fix bugzilla 89 x86_64 linux won't boot on hardware with sata drives
Date: Thu, 20 Oct 2005 19:55:49 -0400	[thread overview]
Message-ID: <43582E85.4090509@us.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

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.




-- 

Mike D. Day
STSM and Architect, Open Virtualization
IBM Linux Technology Center
ncmike@us.ibm.com

[-- Attachment #2: acpi.diff --]
[-- Type: text/plain, Size: 1730 bytes --]

# HG changeset patch
# User mdday@athlon64.silverwood.home
# 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 <ncmike@us.ibm.com>

diff -r 7c951e3eb5ab -r 3e6af82cf5fe patches/linux-2.6.12/2.6.12.5.patch
--- a/patches/linux-2.6.12/2.6.12.5.patch	Wed Oct 19 10:53:00 2005
+++ b/patches/linux-2.6.12/2.6.12.5.patch	Thu Oct 20 23:41:35 2005
@@ -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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2005-10-20 23:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 23:55 Mike D. Day [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-21  1:41 [PATCH] fix bugzilla 89 x86_64 linux won't boot on hardware with sata drives Ian Pratt
2005-10-21  9:39 ` Keir Fraser
2005-10-21 11:30   ` Mike D. Day
2005-10-21 14:31     ` Ryan Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43582E85.4090509@us.ibm.com \
    --to=ncmike@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.