Subject: kern/9018: Qlogic ISP driver no longer works on AlphaServer 8200
To: None <gnats-bugs@gnats.netbsd.org>
From: Jason R Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 12/17/1999 12:00:53
>Number:         9018
>Category:       kern
>Synopsis:       Qlogic ISP driver no longer works on AlphaServer 8200
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 17 12:00:01 1999
>Last-Modified:
>Originator:     Jason R Thorpe
>Organization:
Numerical Aerospace Simulation Facility - NASA Ames
>Release:        Fri Dec 17 11:24:18 PST 1999
>Environment:
	

	AlphaServer 8200 5/440, 2G RAM, 2 CPUs

	(jules.nas.nasa.gov)

>Description:
	The Qlogic ISP driver does not function properly on the
	AlphaServer 8200.  Failed boot:

Jumping to entry point...

NetBSD/alpha 1.4 Secondary Bootstrap, Revision 1.10
(ross@netbsd.org, May 8 11:34:00 PDT 1999)

VMS PAL rev: 0x10000a00010114
OSF PAL rev: 0x10000500020116
Switch to OSF PAL code succeeded.

Boot file: netbsd.mp
Boot flags: S

Loading netbsd.mp...
3920128+332528 [85+251592+146715]

Entering netbsd.mp at 0xfffffc00003010f0...
[ preserving 399296 bytes of netbsd ELF symbol table ]
consinit: using prom console
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.
NetBSD 1.4P (GENERIC.MP) #74: Fri Dec 17 11:11:42 PST 1999
    thorpej@bishop:/amd/dracul/u2/netbsd/src/sys/arch/alpha/compile/GENERIC.MP
AlphaServer 8200 5/440, 437MHz
8192 byte page size, 2 processors.
total memory = 2048 MB
(2720 KB reserved for PROM, 2045 MB used by NetBSD)
avail memory = 1894 MB
using 13103 buffers containing 102 MB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 8 (primary), 21164A-2 (pass 2)
cpu1 at mainbus0: ID 9, 21164A-2 (pass 2)
tlsb0 at mainbus0
tlsb0 node 4: Dual CPU, 4MB cache
gbus0 at tlsb0 node 4: Dual CPU, 4MB cache
zsc at gbus0 offset 0x10000000 not configured
zsc at gbus0 offset 0x11000000 not configured
mcclock0 at gbus0 offset 0x20000000: mc146818 or compatible
tlsbmem0 at tlsb0 node 5: MS7CC Memory Module
tlsb0 node 8: routing interrupts to cpu0
kft0 at tlsb0 node 8: KFTIA I/O interface
dwlpx0 at kft0 hose 0: PCIA rev. 0, STD I/O not present, 32K S/G entries
pci0 at dwlpx0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci0 dev 0 function 0
isp0: interrupting at kn8ae irq 14 vector 0x8400 PCI Interrupt Pin A
scsibus0 at isp0: 16 targets, 8 luns per target
isp1 at pci0 dev 1 function 0
isp1: interrupting at kn8ae irq 14 vector 0x8401 PCI Interrupt Pin A
scsibus1 at isp1: 16 targets, 8 luns per target
de0 at pci0 dev 2 function 0
de0: interrupting at kn8ae irq 14 vector 0x8402 PCI Interrupt Pin A
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:00:f8:24:ce:e1
de0: supplying EUI64: 00:00:f8:ff:fe:24:ce:e1
fpa0 at pci0 dev 3 function 0: DEC DEFPA PCI FDDI SAS Controller
fpa0: FDDI address 08:00:2b:b9:f7:5a, FW=3.10, HW=1, SMT V7.2
fpa0: FDDI Port = S (PMD = ANSI Multi-Mode)
fpa0: interrupting at kn8ae irq 14 vector 0x8403 PCI Interrupt Pin A
isp2 at pci0 dev 4 function 0
isp2: interrupting at kn8ae irq 14 vector 0x8404 PCI Interrupt Pin A
scsibus2 at isp2: 16 targets, 8 luns per target
isp3 at pci0 dev 5 function 0
isp3: interrupting at kn8ae irq 14 vector 0x8405 PCI Interrupt Pin A
scsibus3 at isp3: 16 targets, 8 luns per target
de1 at pci0 dev 6 function 0
de1: interrupting at kn8ae irq 14 vector 0x8406 PCI Interrupt Pin A
de1: DEC 21040 [10Mb/s] pass 2.4
de1: address 00:00:f8:24:9f:2f
dwlpx1 at kft0 hose 1: PCIA rev. 1, STD I/O not present, 32K S/G entries
pci1 at dwlpx1 bus 0
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci1 d
ev 3 function 0 not configured
isp4 at pci1 dev 4 function 0
isp4: interrupting at kn8ae irq 14 vector 0x8414 PCI Interrupt Pin A
scsibus4 at isp4: 16 targets, 8 luns per target
ahc0 at pci1 dev 5 function 0
ahc0: interrupting at kn8ae irq 14 vector 0x8415 PCI Interrupt Pin A
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus5 at ahc0 channel 0: 16 targets, 8 luns per target
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci1 d
ev 8 function 0 not configured
tlsb0 node 7: routing interrupts to cpu0
kft1 at tlsb0 node 7: KFTHA I/O interface
dwlpx2 at kft1 hose 2: PCIA rev. 1, STD I/O not present, 32K S/G entries
pci2 at dwlpx2 bus 0
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
de2 at pci2 dev 0 function 0
de2: interrupting at kn8ae irq 14 vector 0x8320 PCI Interrupt Pin A
de2: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de2: address 00:00:c0:7f:a1:ef
de2: enabling 10baseT port
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci2 d
ev 4 function 0 not configured
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci2 d
ev 8 function 0 not configured
dwlpx3 at kft1 hose 3: PCIA rev. 1, STD I/O not present, 32K S/G entries
pci3 at dwlpx3 bus 0
pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci3 d
ev 0 function 0 not configured
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci3 d
ev 4 function 0 not configured
tlsb0 node 6: routing interrupts to cpu0
kft2 at tlsb0 node 6: KFTHA I/O interface
dwlpx0: node 8 hose 0 error interrupt
        HPC 0: ERR=0x0000c001; DMA read from Memory, Failing Address 0x0
               Illegal CSR Address Error
               Nonexistent PCI Address Error
scsibus0: waiting 2 seconds for devices to settle...
de0: enabling 10baseT port
scsibus1: waiting 2 seconds for devices to settle...
de1: autosense failed: cable problem?
scsibus2: waiting 2 seconds for devices to settle...
scsibus3: waiting 2 seconds for devices to settle...
isp3: command for target 0 lun 0 was aborted
isp3: command for target 0 lun 0 was aborted
isp3: command for target 0 lun 0 was aborted
isp3: command for target 0 lun 0 was aborted
isp3: command for target 0 lun 0 was aborted
.
.
.


A `successful' 1.4 boot looks as follows (trimmed for brevity):

isp3 at pci0 dev 5 function 0
isp3: interrupting at kn8ae irq 14 vector 0x8405 PCI Interrupt Pin A
isp3: Board Revision 1020, loaded F/W Revision 7.55
isp3: Last F/W revision was 5.57
isp3: driver initiated bus reset
scsibus3 at isp3: 16 targets, 8 luns per target
sd0 at scsibus3 targ 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd1 at scsibus3 targ 1 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd1: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd2 at scsibus3 targ 2 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd2: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
cd0 at scsibus3 targ 4 lun 0: <DEC, RRD45   (C) DEC, 0436> SCSI2 5/cdrom removab
le
sd3 at scsibus3 targ 5 lun 0: <SEAGATE, ST32430N, 0250> SCSI2 0/direct fixed
sd3: 2049MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4197405 sectors

>How-To-Repeat:
	See above.

>Fix:
	Not supplied.

	There was some discussion on port-alpha recently about the ISP
	driver incorrectly thinking it can do Ultra mode?  Maybe this
	is the issue.  I will rebuild the kernel with -DDEBUG to see
	what other information I can obtain.
>Audit-Trail:
>Unformatted: