From yoshiaki@kt.rim.or.jp  Sun Jun 15 00:38:33 2003
Return-Path: <yoshiaki@kt.rim.or.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A951137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Jun 2003 00:38:33 -0700 (PDT)
Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 73AA043F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Jun 2003 00:38:32 -0700 (PDT)
	(envelope-from yoshiaki@kt.rim.or.jp)
Received: from mail4.rim.or.jp
	by serio.al.rim.or.jp (3.7W/HMX-13) id QAA28973
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Jun 2003 16:38:29 +0900 (JST)
Received: from singer.tertio.atoll (yoshiaki.st.rim.or.jp [202.247.140.34]) by mail4.rim.or.jp (8.9.3/3.7W)
	id QAA15800 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Jun 2003 16:38:30 +0900 (JST)
Received: (from yoshiaki@localhost)
	by singer.tertio.atoll (8.12.9/8.12.9/Submit) id h5F7cPF2000859;
	Sun, 15 Jun 2003 16:38:25 +0900 (JST)
	(envelope-from yoshiaki)
Message-Id: <200306150738.h5F7cPF2000859@singer.tertio.atoll>
Date: Sun, 15 Jun 2003 16:38:25 +0900 (JST)
From: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
Reply-To: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Interrupt routing, pci.c, 5.1-CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53334
>Category:       kern
>Synopsis:       [PATCH] Interrupt routing, pci.c, 5.1-CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    andre
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 15 00:40:18 PDT 2003
>Closed-Date:    Wed Dec 31 08:05:48 PST 2003
>Last-Modified:  Wed Dec 31 08:05:48 PST 2003
>Originator:     Yoshiaki Uchikawa
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD singer.tertio.atoll 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sun Jun 15 16:17:07 JST 2003 root@singer.tertio.atoll:/usr/src/sys/i386/compile/CRUSE i386

real memory  = 536854528 (511 MB)
avail memory = 515788800 (491 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f16e0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Ali Generic host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0 
on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xeb800000-0xeb800fff ir
q 9 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
sym0: <895> port 0xb400-0xb4ff mem 0xe9000000-0xe9000fff,0xe9800000-0xe98000ff 
irq 15 at device 10.0 on pci0
sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: SCAN AT BOOT disabled for targets 8 9 10 11 12 13 14 15.
sym0: SCAN FOR LUNS disabled for targets 8.
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xb000-0xb03f mem
 0xe8000000-0xe80fffff,0xe8800000-0xe8800fff irq 10 at device 11.0 on pci0
>Description:

 My system can't boot after 2002.jun.05 current kernel.

 it stopped at, 
===
Waiting 5 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
===

>How-To-Repeat:
>Fix:

Work around:
src/sys/dev/pci/pci.c
--- pci.c.orig	Sun Jun 15 15:48:12 2003
+++ pci.c	Sun Jun 15 16:16:50 2003
@@ -798,7 +798,7 @@
 	}
 
 	if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
-#if defined(__ia64__) || (defined(__i386__) && !defined(SMP) && !defined(PC98))
+#if defined(__ia64__) 
 		/*
 		 * Try to re-route interrupts. Sometimes the BIOS or
 		 * firmware may leave bogus values in these registers.



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->andre 
Responsible-Changed-By: andre 
Responsible-Changed-When: Sat Dec 27 08:45:30 PST 2003 
Responsible-Changed-Why:  
Take over. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53334 
State-Changed-From-To: open->feedback 
State-Changed-By: andre 
State-Changed-When: Tue Dec 30 04:31:25 PST 2003 
State-Changed-Why:  
Problem believed to be fixed.  Asked Originator for recheck. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53334 

From: Andre Oppermann <andre@freebsd.org>
To: freebsd-gnats-submit@FreeBSD.org, yoshiaki@kt.rim.or.jp
Cc:  
Subject: Re: kern/53334: [PATCH] Interrupt routing, pci.c, 5.1-CURRENT
Date: Tue, 30 Dec 2003 13:31:28 +0100

 Yoshiaki-san,
 
 could check with again 5.2RC2 or an up to date -CURRENT whether the
 is still occuring?
 
 I believe your problem has been fixed in sys/dev/pci/pci.c rev 1.221
 on Jun.22 2003.
 
 -- 
 Andre
 

From: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
To: andre@freebsd.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/53334: [PATCH] Interrupt routing, pci.c, 5.1-CURRENT
Date: Wed, 31 Dec 2003 23:51:49 +0900 (JST)

 Dear Andre,
 
 I check 5.2-current(31 Dec 2003) with symbios scsi device.
 The problem has been fixed.
 
 Thank you.
 
 >>>>> From: Andre Oppermann <andre@freebsd.org>
 >>>>> Date: Tue, 30 Dec 2003 13:31:28 +0100
 
  > Yoshiaki-san,
  > 
  > could check with again 5.2RC2 or an up to date -CURRENT whether the
  > is still occuring?
  > 
  > I believe your problem has been fixed in sys/dev/pci/pci.c rev 1.221
  > on Jun.22 2003.
 --
   yoshiaki@kt.rim.or.jp
State-Changed-From-To: feedback->closed 
State-Changed-By: jhb 
State-Changed-When: Wed Dec 31 08:05:28 PST 2003 
State-Changed-Why:  
Submitter reported that the problem has been fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53334 
>Unformatted:
