Re: RHEL 3 WS kernel broken on hp workstation i2000 (BigSur)?

Bill Nottingham <[email protected]>
Newsgroups gmane.linux.redhat.taroon
Message-ID <[email protected]>
Emeric Maschino ([email protected]) said: 
> Trying to install RHEL 3 WS (ia64) on an hp workstation i2000 (Itanium,
> not Itanium2-based) crashes during the initial load of the kernel 
> with the following message:
> 
> ACPI: SCI (IRQ-1) allocation failed
>  ACPI-0133: *** Error: Unable to install System Control Interrupt 
> Handler, AE_NOT_REQUIRED
> ACPI: Unable to start the ACPI Interpreter
> Trying to free free IRQ0
> CPU0: checking for saved MCA error records

Known issue, patch attached. Note that Itanium I cpus
are *not* supported by this release.

Bill
ia64-patch (text/plain, 4.1 KB)
>From [email protected] Wed Aug  6 17:54:57 2003
Return-Path: <[email protected]>
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254])
	by devserv.devel.redhat.com (8.11.6/8.11.0) with ESMTP id h76LsvS27490
	for <notting-s/M1imWmeEoQw3kMeb7FcACJwEvxM/[email protected]>; Wed, 6 Aug 2003 17:54:57 -0400
Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h76LsuI20829;
	Wed, 6 Aug 2003 17:54:56 -0400
Received: from vger.kernel.org (vger.kernel.org [67.72.78.212])
	by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h76LsuZ11152;
	Wed, 6 Aug 2003 17:54:56 -0400
Received: ([email protected]) by vger.kernel.org via listexpand
	id S271751AbTHFVyw (ORCPT <rfc822;[email protected]> + 3 others);
	Wed, 6 Aug 2003 17:54:52 -0400
Received: ([email protected]) by vger.kernel.org id S272071AbTHFVyw
	(ORCPT <rfc822;linux-ia64-outgoing>); Wed, 6 Aug 2003 17:54:52 -0400
Received: from atlrel8.hp.com ([156.153.255.206]:65493 "EHLO atlrel8.hp.com")
	by vger.kernel.org with ESMTP id S271751AbTHFVyv (ORCPT
	<rfc822;[email protected]>); Wed, 6 Aug 2003 17:54:51 -0400
Received: from smtp2.fc.hp.com (smtp.fc.hp.com [15.15.136.253])
	by atlrel8.hp.com (Postfix) with ESMTP
	id 803781C01BFB; Wed,  6 Aug 2003 17:54:50 -0400 (EDT)
Received: from ldl.fc.hp.com (ldl.fc.hp.com [15.11.146.30])
	by smtp2.fc.hp.com (Postfix) with ESMTP
	id DCC2623D82; Wed,  6 Aug 2003 15:54:49 -0600 (MDT)
Received: from eeyore.helgaas (lart.fc.hp.com [15.11.146.31])
	by ldl.fc.hp.com (Postfix) with ESMTP
	id 93C081340D5; Wed,  6 Aug 2003 15:54:49 -0600 (MDT)
From: Bjorn Helgaas <[email protected]>
To: "H. J. Lu" <hjl-8HFB7qzu3A/[email protected]>, linux ia64 kernel <[email protected]>
Subject: Re: 2.4 PATCH: Fix acpi for bigsur
Date: Wed, 6 Aug 2003 15:54:49 -0600
User-Agent: KMail/1.5.2
References: <20030806154504.GC28899-8HFB7qzu3A/[email protected]>
In-Reply-To: <20030806154504.GC28899-8HFB7qzu3A/[email protected]>
Cc: [email protected]
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[email protected]>
Sender: [email protected]
Precedence: bulk
X-Mailing-List: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)
Status: RO
Content-Length: 1425

> I need this patch to get the current 2.4 kernel to boot on bigsur.

I reproduced that problem, and applied the following patch for 2.4
(this is what we had in 2.4.21, prior to the big ACPI update in 2.4).

Andy, can you apply this to ACPI?  It's needed for both 2.4 and 2.5
ia64 kernels.  The problem is that on machines with an 8259, the
SCI interrupt might be a legacy ISA IRQ, not a GSI.

I'm not thrilled about the name "acpi_irq_to_vector".  Something
like "acpi_interrupt_to_irq" seems like it would fit the usage better.
Suggestions?

Bjorn


===== drivers/acpi/osl.c 1.27 vs edited =====
--- 1.27/drivers/acpi/osl.c	Thu Jul 10 04:20:31 2003
+++ edited/drivers/acpi/osl.c	Wed Aug  6 16:16:38 2003
@@ -251,7 +251,12 @@
 	irq = acpi_fadt.sci_int;
 
 #ifdef CONFIG_IA64
-	irq = gsi_to_vector(irq);
+	irq = acpi_irq_to_vector(irq);
+	if (irq < 0) {
+		printk(KERN_ERR PREFIX "SCI (ACPI interrupt %d) not registerd\n",
+		       acpi_fadt.sci_int);
+		return AE_OK;
+	}
 #endif
 	acpi_irq_irq = irq;
 	acpi_irq_handler = handler;
@@ -269,7 +274,7 @@
 {
 	if (acpi_irq_handler) {
 #ifdef CONFIG_IA64
-		irq = gsi_to_vector(irq);
+		irq = acpi_irq_to_vector(irq);
 #endif
 		free_irq(irq, acpi_irq);
 		acpi_irq_handler = NULL;

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.