PROBLEM:	(Patch ID: OSF350-002)		(QAR 32284)
********
Certain conditions could cause stray interrupts which lock up the PCI bus,
hanging the system.


PROBLEM:	(Patch ID: OSF350-002) 		(QAR 33107)
********
Re-seating RZ28M/RZ28VW/RZ26N in BA356 off P2SE would cause the slot 
to become inaccessible, which would require a reboot to regain access 
to the slot.

	
PROBLEM:	(Patch ID: OSF350-002)		(QAR 35448)
********
All Alpha/PCI systems that support QLogic fail to boot when two or more tapes 
are installed on a QLogic/SCSI channel. The system hangs during boot.


PROBLEM:	(Patch ID: OSF350-075)		(Case ID: QAR 32939)
********
System panics after 24 hours with "simple_lock: time limit exceeded". Problem 
occurs when Qlogic driver calls zfree() to free allocated memory when in 
interrupt context.

Panic will occur with panic string "simple_lock: time limit exceeded".

The full stack trace is as follows:

1 panic("event_timeout: panic request") ["../../../../src/kernel/bsd/subr_prf.c":673] 
2 event_timeout() ["../../../../src/kernel/arch/alpha/cpu.c":698] 
3 simple_lock_miss() ["../../../../src/kernel/arch/alpha/lockprim.s":1062] 
4 zfree() ["../../../../src/kernel/kern/zalloc.c":713] 
5 cam_zfree() ["../../../../src/kernel/io/cam/sim_common.c":1424] 
6 sc_free() ["../../../../src/kernel/io/cam/sim_common.c":1222] 
7 isp_process_response_queue() ["../../../../src/kernel/io/cam/qlogic/isp1020.c":2421] 
8 isp_intr() ["../../../../src/kernel/io/cam/qlogic/isp1020.c":2040] 
9 _XentInt() ["../../../../src/kernel/arch/alpha/locore.s":926] 
10 swap_ipl() ["../../../../src/kernel/arch/alpha/spl.s":131] 
11 boot() ["../../../../src/kernel/arch/alpha/machdep.c":1554] 
12 panic() ["../../../../src/kernel/bsd/subr_prf.c":757]
13 simple_lock_fault() ["../../../../src/kernel/kern/lock.c":1601]
14 simple_lock_time_violation() ["../../../../src/kernel/kern/lock.c":1670]
15 zfree() ["../../../../src/kernel/kern/zalloc.c":713]
16 cam_zfree() ["../../../../src/kernel/io/cam/sim_common.c":1424]
17 sc_free() ["../../../../src/kernel/io/cam/sim_common.c":1222]
18 isp_process_response_queue() ["../../../../src/kernel/io/cam/qlogic/isp1020.c":2421]
19 isp_intr() ["../../../../src/kernel/io/cam/qlogic/isp1020.c":2040]
20 _XentInt() ["../../../../src/kernel/arch/alpha/locore.s":926]
21 simple_lock_B() ["../../../../src/kernel/arch/alpha/lockprim.s":505]
22 zfree() ["../../../../src/kernel/kern/zalloc.c":713]
23 cam_zfree() ["../../../../src/kernel/io/cam/sim_common.c":1424]
24 ccmn_rel_dbuf() ["../../../../src/kernel/io/cam/pdrv_common.c":3297]
25 cdisk_online() ["../../../../src/kernel/io/cam/cam_disk.c":2130]
26 cdisk_open() ["../../../../src/kernel/io/cam/cam_disk.c":1790]
27 spec_open() ["../../../../src/kernel/vfs/spec_vnops.c":1280]
28 get_raw_vd_attrs() ["../../../../src/kernel/msfs/bs/bs_domain.c":1420]
29 bs_bfdmn_tbl_activate() ["../../../../src/kernel/msfs/bs/bs_domain.c":613]
30 fs_fset_get_info() ["../../../../src/kernel/msfs/fs/fs_file_sets.c":626]
31 msfs_real_syscall() ["../../../../src/kernel/msfs/bs/bs_misc.c":2622]
32 msfs_syscall() ["../../../../src/kernel/msfs/osf/msfs_syscalls.c":122]
33 syscall() ["../../../../src/kernel/arch/alpha/syscall_trap.c":530]
34 _Xsyscall() ["../../../../src/kernel/arch/alpha/locore.s":1086]


PROBLEM:	(Patch ID: OSF350-075)		(Case ID: QAR 34634)
********
System running intensive Oracle Queries in asynchronous I/O mode on Tlaser/KFTIA
using raw device on top of LSM volumes crashes with pciaerror panic.

This modified driver, by itself, cannot totally eliminate the occurrence of 
this panic, but several of the driver changes might help mitigate the occurrence 
of this panic. Complete solution of the problem will involve some changes in the 
Tlaser platform code.


PROBLEM:	(Patch ID: OSF350-075)		(Case ID: QAR 36319)
********
Running Bus Device Reset test scripts on narrow or wide SCSI devices results 
in timeouts, aborts, hung SCSI buses, UBC write errors and dirty file systems. 
This problem would be exhibited on all platforms. 

Complete solution of these problems requires both this modified driver and new 
Qlogic firmware (rev 2.10 or greater). 


PROBLEM:	(Patch ID: OSF350-075)		(Case ID: QAR 38014)
********
In the Available Server Environment, the Qlogic driver returns incorrect 
status if the sim driver is unable to correctly respond to an Enable_Lun 
command from the peripheral driver. This occurs if an Enable_Lun is attempted 
to an adapter that contains the Qlogic 1020 chip (minimum chip rev is the 
1020A). This results in error messages being printed on the system console.

The error message is of the form:

    <node> vmunix: isp_enable_target failed: status=0x4001


PROBLEM:	(Patch ID: OSF350-075)		( No CLD, QAR or SPR)
********
CAM errors when the target NVRAM parameters for either tagged queueing or 
disconnect privilege enable are disabled. 


PROBLEM: 	(Patch ID: OSF350-075)		(No CLD, QAR or SPR).
********
Specifying a data transfer size of 16Mb results in no data transferred on 
the SCSI bus. 


PROBLEM:	(Patch ID: OSF350-075)		( No CLD, QAR or SPR).
********
Data corruption occurs on SCSI write transaction in response to a particular 
sequence of events on the PCI and SCSI bus. This driver change, in combination 
with rev 2.10 or greater Qlogic firmware, corrects the problem.

Problem exists in either the 1020 or 1020A chip.


PROBLEM:  ( TKTB52828, QAR 42761 )   (Patch ID: OSF350-261)
********
This patch fixes the following system panic:

        panic `Unable to restart Qlogic(LUN queue after abort)

A typical stack trace for this type of panic is:

        0 boot
        1 panic         `Unable to restart Qlogic(LUN queue after abort)`
        2 isp_termio_abort_bdr
        3 ss_perform_abort
        4 ss_sched
        5 scsiisr
        6 ss_start_sm
        7 ss_go
        8 ss_abort
        9 ss_perform_timeout
        10 ss_process_timeouts
        11 softclock_scan
        12 hardclock
        13 _XentInt
        14 idle_thread


PROBLEM:  ( QAR 46071, 45122 )   (Patch ID: OSF350-261 )
********
This patch fixes the following system panic:

        simple_unlock: minimum spl violation

        pc of caller:         0xfffffc0000420b04
        lock address:         0xfffffc0077f236d0
        lock info addr:       0xfffffc00005b0b50
        lock class name:      cam_pd_device       (could also be cam_isp)
        current spl level:    0
        required spl level:   4
        panic (cpu xx): simple_unlock: minimum spl violation

where 'xx' above is the CPU number.  A sample stack trace is not available.
This panic is seen when lockmode is set to 4.


PROBLEM:  ( QAR 46756 )   (Patch ID: OSF350-261 )
********
This patch fixes the situation where the following sequences of messages are
displayed during startup:

     cam_logger: CAM_ERROR packet
     cam_logger: bus 0
     isp_enable_lun
     Failed to enable target for selections
     cam_logger: CAM_ERROR entry too large to log!
     cam_logger: CAM_ERROR packet
     cam_logger: bus 0
     isp_enable_lun
     Failed to enable target for selections
     cam_logger: CAM_ERROR entry too large to log!
     cam_logger: CAM_ERROR packet


PROBLEM:  ( ZPOB71272, 46139, 46757, 42908, 43719, 44474, 40361, 40443,41465)
********  ( Patch ID: OSF350-261 )			
This patch fixes the following system panic:

        panic `Simple lock : time limit exceeded`

One typical stack trace for this type of panic is:

        4 boot
        5 panic
        6 simple_lock_fault
        7 simple_lock_time_violation
        8 ss_finish
        9 sm_bus_free
        10 isp_process_response_queue
        11 isp_intr
        12 intr_dispatch_post
        13 _XentInt
        14 isp_mailboxcomplete
        15 isp_mailboxissue
        16 isp_abort
        17 isp_termio_abort_bdr
        18 ss_perform_abort
        19 ss_sched
        20 scsiisr

Another stack trace encountered is:

        12 boot
        13 panic        `Simple lock : time limit exceeded`
        14 simple_lock_fault
        15 simple_lock_time_violation
        16 ss_finish
        17 ss_abort_done
        18 sm_bus_free
        19 isp_abort_done
        20 softclock_scan
        21 hardclock
        22 _XentInt
        23 alpha_delay
        24 microdelay
        25 isp_mailboxcomplete
        26 isp_mailboxissue
        27 isp_stop_queue
        28 isp_termio_abort_bdr
        29 ss_perform_abort
        30 ss_sched
        31 scsiisr
        32 ss_start_sm
        33 ss_go
        34 ss_abort
                                             

PROBLEM:	(HGOBB0043,HGOBB0597)	(Patch ID: OSF350-320)
********
Intermittently, the probe of an isp will fail during a boot, and the system can
hang.  This happens maybe once in 20 system boots, so a workaround is to try 
the boot again.

A typical console listing looks like this when it fails:

        .
        .
        .
  Created FRU table configuration errorlog packet
  tiop0 at tlsb0 node 8
  tiop0: cpu interrupt mask being set as 1.
  pci0 at tiop0 slot 0
  isp0 at pci0 slot 0
  isp0: QLOGIC ISP1020 - Differential Mode
  cam_logger: CAM_ERROR packet
  cam_logger: bus 0
  isp_mailbox complete
  Timeout on mailbox command completion scheduling chip reinit
  cam_logger: CAM_ERROR packet
  cam_logger: bus 0
  isp_init
  Mailbox operations not functional for common init
  cam_logger: CAM_ERROR packet
  cam_logger: bus 0
  isp_probe
  Common init failure - Failing probe
  isp0: Not probed.
  isp in slot 0 not configured.
        .
        .
        .

IMPORTANT:  This patch should be installed on ANY system that contains
            a Qlogic chip.  If the system boot sequence displays the
            word "Qlogic", then install this patch.  Qlogic chips are built
            into many systems, and can also be found in many add-on options,
            such as: KFTIA, KZPBA, KZPDA, PZPSM, P1SE, P2SE, and others.


FILE(s):

/usr/sys/BINARY/isp1020.o		subset OSFHWBIN350
CHECKSUM: 63985     88	RCSfile: isp1020.c   RCS: 1.1.36.5
/usr/sys/include/io/cam/qlogic/isp1020.h  subset OSFBINCOM350
CHECKSUM: 44553     43	RCSfile: isp1020.h   RCS: 1.1.28.4
