Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2003 15:57:01 -0400
From:      Don Bowman <don@sandvine.com>
To:        "'Justin T. Gibbs'" <gibbs@scsiguy.com>, Don Bowman <don@sandvine.com>, "'freebsd-scsi@freebsd.org'" <freebsd-scsi@freebsd.org>, "'aic7xxx@freebsd.org'" <aic7xxx@freebsd.org>
Subject:   RE: Infinite interrupt loop, INTSTAT = 0 in ahd driver?
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337027425CA@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help

> From: Justin T. Gibbs [mailto:gibbs@scsiguy.com]
> > In aic79xx.c, in ahd_pause_and_flushwork() there 
> > is a heuristic to prevent looping more than 1000 times.
> > If this happens a message like
> > "Infinite interrupt loop, INTSTAT = 0" is emitted.
> > 
> > I am hitting this case.
> > System has a aic7902. If i set the clock to 20MHz,
> > disable wide negotiation, disable packetisation and 
> > qas, the system will come up. There appears to 
> > be no trouble for the bios to access the drive, it
> > is only the driver that hits this case.
> 
> The BIOS does not operate in packetized mode.  It also only
> sends one trasaction at a time.  This roughly equivalent
> to the behavior you've setup for the driver with your
> settings in SCSI-Select.
> 
> The ahd_pause_and_flushwork() routine is only called from
> timeouts.  While there may be a bug in this routine, it
> is not the root cause of your failure.  What drives are
> you using?  Is the controller operating in PCI or PCI-X
> mode?  Are there any other busmasters on the same PCI(-X)
> segment?  What chipset is on your MB (include revision numbers
> if your system is using the P64H2 PCI-X hub)?
> 

P64H2 is B1 rev [rev 4].
Its e7501 chipset.
its pci-x.
its the only master on the bus.

chip0@pci0:0:0: class=0x060000 card=0x358015d9 chip=0x254c8086 rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7501 Host Controller'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:0:1: class=0xff0000 card=0x358015d9 chip=0x25418086 rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7500 System Controller (MCH, Hub Interface A) Error
Reporter'
pcib1@pci0:2:0: class=0x060400 card=0x00000000 chip=0x25438086 rev=0x01
hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'E7500/E7501 HI_B Virtual PCI-to-PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
none1@pci0:29:0:        class=0x0c0300 card=0x358015d9 chip=0x24828086
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #1'
    class    = serial bus
    subclass = USB
none2@pci0:29:1:        class=0x0c0300 card=0x358015d9 chip=0x24848086
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #2'
    class    = serial bus
    subclass = USB
none3@pci0:29:2:        class=0x0c0300 card=0x358015d9 chip=0x24878086
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #3'
    class    = serial bus
    subclass = USB
pcib4@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086
rev=0x42 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BA/CA/DB (ICH2/3/4) Hub Interface to PCI Bridge (244E)'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24808086
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) LPC Interface'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:      class=0x01018a card=0x358015d9 chip=0x248b8086
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA (ICH3) UltraATA/100 EIDE Controller'
    class    = mass storage
    subclass = ATA
ichsmb0@pci0:31:3:      class=0x0c0500 card=0x358015d9 chip=0x24838086
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) SMBus Controller'
    class    = serial bus
    subclass = SMBus
none4@pci1:28:0:        class=0x080020 card=0x358015d9 chip=0x14618086
rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82870P2 I/OxAPIC Interrupt Controller'
    class    = base peripheral
    subclass = interrupt controller
pcib2@pci1:29:0:        class=0x060400 card=0x00000050 chip=0x14608086
rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82870P2 P64H2 PCI/PCI-X Hub Controller'
    class    = bridge
    subclass = PCI-PCI
none5@pci1:30:0:        class=0x080020 card=0x358015d9 chip=0x14618086
rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82870P2 I/OxAPIC Interrupt Controller'
    class    = base peripheral
    subclass = interrupt controller
pcib3@pci1:31:0:        class=0x060400 card=0x00000050 chip=0x14608086
rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82870P2 P64H2 PCI/PCI-X Hub Controller'
    class    = bridge
    subclass = PCI-PCI
em0@pci2:1:0:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
em1@pci2:1:1:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
em2@pci2:3:0:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
em3@pci2:3:1:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Gigabit Ethernet Controller (copper)'
    class    = network
    subclass = ethernet
ahd0@pci3:2:0:  class=0x010000 card=0x005f9005 chip=0x801f9005 rev=0x03
hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AIC-7902 Ultra320 SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI
ahd1@pci3:2:1:  class=0x010000 card=0x005f9005 chip=0x801f9005 rev=0x03
hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AIC-7902 Ultra320 SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI
none6@pci4:1:0: class=0x030000 card=0x00081002 chip=0x47521002 rev=0x27
hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337027425CA>