Patch-ID# 109885-16 Keywords: glm pci power management kadb hang lsi 1010 d1000 ud2s Synopsis: SunOS 5.8: glm patch Date: May/13/2004 Install Requirements: Reconfigure after installation See Special Install Instructions Solaris Release: 8 SunOS Release: 5.8 Unbundled Product: Unbundled Release: Xref: Topic: SunOS 5.8: glm patch NOTE: Refer to Special Install Instructions section for IMPORTANT specific information on this patch. Relevant Architectures: sparc BugId's fixed with this patch: 4105425 4105459 4105493 4109696 4136950 4171405 4171423 4171429 4171438 4171717 4171731 4171733 4171738 4171747 4249502 4258589 4310491 4310501 4310502 4310508 4324244 4324250 4329411 4331145 4331147 4334348 4334505 4337546 4338033 4340982 4341851 4342624 4345567 4347753 4377141 4400052 4402996 4405933 4416758 4450607 4459104 4470577 4474925 4478315 4479986 4486385 4501545 4527136 4623973 4661880 4696162 4741149 4744095 4770492 4776340 4799457 4819026 4823893 4919566 4929125 Changes incorporated in this version: 4929125 Patches accumulated and obsoleted by this patch: 109344-03 111960-01 114294-03 Patches which conflict with this patch: Patches required with this patch: 108528-03 or greater Obsoleted by: Files included with this patch: /etc/driver_aliases /etc/name_to_major /kernel/drv/glm /kernel/drv/sparcv9/glm /usr/include/sys/scsi/adapters/glmreg.h /usr/include/sys/scsi/adapters/glmvar.h /usr/include/sys/scsi/generic/message.h /usr/lib/adb/glm /usr/lib/adb/glm_cmd /usr/lib/adb/glm_dsa /usr/lib/adb/glm_hba_dsa /usr/lib/adb/glm_unit /usr/lib/adb/sparcv9/glm /usr/lib/adb/sparcv9/glm_cmd /usr/lib/adb/sparcv9/glm_dsa /usr/lib/adb/sparcv9/glm_hba_dsa /usr/lib/adb/sparcv9/glm_unit Problem Description: 4929125 Spurious interrupt from glm module and it's not being claimed (from 109885-15) 4919566 Forcing 895 to single ended mode causes resets/command timeouts (from 109885-14) 4823893 Probing target > 15 for glm/ncrs/cadp panics system (from 109885-13) 4770492 error messages "got SCSI bus reset" during boot with Sun StorEdge L7 connected (from 109885-12) 4819026 glm: "got incorrect phase from (1,0)" on 2-disk configurations (from 109885-11) This patch revision was generated to accumulate and obsolete the feature changes introduced in feature point patch 114294-03 (from 109885-10) 4696162 glm GLM_INTRLOOP_COUNT may be set too low in patch 109885-06 (from 109885-09) 4623973 System loops trying to unconfigure SCSI I/O controller with DR (from 109885-08) 4486385 glm: driver does not check if channel is in low-power state; causes CPU BusError 4527136 Unexpected DMA state warnings on hot attach of SCSI cards (from 109885-07) 4501545 drives on D1000 not seen upon reboot using UD2S (from 109885-06) This patch revision was generated to accumulate and obsolete the feature changes introduced in feature point patch 111960-01. (from 109885-05) 4405933 glm: 'unexpected bus free' message during ntrw test with DLT-1 tape drive 4416758 glm data overrun errors when using dd on a Fujitsu M8100A Tape drive 4400052 command stops in glm (from 109885-04) 4342624 glm: driver not fully hardened, driver hung as a result of a corrupt pointer (from 109885-03) 4347753 glm: calls ddi_remove_intr twice in glm_dr_detach 4340982 BAD TRAP: type=31 occurred in module "glm" due to a NULL pointer dereference 4341851 The glm driver detects DATA IN parity error (from 109885-02) 4345567 glm: new glm kadb macro is not built or installed on 64-bit systems. (from 109885-01) This patch revision was generated to accumulate and obsolete the feature changes introduced in point patch 109344-03. 4258589 glm: need to support PCI power management states 4331145 glm: add 895/896 support. 4331147 glm: will panic if device is not supported. 4337546 glm: add glm_hba_dsa.dbg macro for better debugging 4329411 32 lun support in glm needs some type changes in the driver. 4338033 pci_{save,restore}config_regs 4334505 PCI PM should be made generic 4324244 pci_pci: support bridge power management support 4324250 pci_report_pmcap should verify arguments 4334348 PCI code causes panic in assert on CE errors. (from 109344-03) 4331145 glm: add 895/896 support. 4331147 glm: will panic if device is not supported. 4337546 glm: add glm_hba_dsa.dbg macro for better debugging 4329411 32 lun support in glm needs some type changes in the driver. (from 109344-02) 4338033 pci_{save,restore}config_regs 4334505 PCI PM should be made generic 4324244 pci_pci: support bridge power management support 4324250 pci_report_pmcap should verify arguments 4334348 PCI code causes panic in assert on CE errors. (from 109344-01) 4258589 glm: need to support PCI power management states (from 111960-01) 4377141 LSI 53C1010 controller support required 4105425 glm: handling of NINT_NEG_REJECT/NINT_MSGREJ with tagged queuing looks wrong 4105459 glm: setting of dma burstsizes not correct 4105493 glm: suspect wrong action codes returned in some obscure failure cases 4109696 glm: ddi_dma_sync()s not carried out on dsa areas 4136950 glm_wait_intr() always has a timeout of 60 seconds 4171405 glm: glm_wait_intr should handle case where multiple interrupts are outstanding 4171423 glm: hardening: shouldn't use dsa area to store value of msgoutcount 4171429 glm: hardening: shouldn't use dsa area to store value of time_ns 4171438 glm: hardening: shouldn't panic due to "timeout on bus reset interrupt" 4171717 glm: glm53c87x_scsi_status doesn't handle multiple error bits correctly 4171731 glm: hardening: need to handle recursive/infinitely repeating "DO_BUS_RESET" 4171733 glm: hardening: need to handle infinitely repeating "NACTION_MSG_PARITY" etc 4171738 glm: hardening: avoid infinite loop in glm_intr() 4171747 glm: hardening: avoid prolonged loop in glm_pollret() 4310491 glm: hardening: add calls to ddi_dev_report_fault to glm driver 4310501 glm: hardening: add ddi_check_acc_handle/ddi_check_dma_handle calls 4310502 glm: hardening: add ddi_get_devstate calls 4310508 glm: hardening: should call GLM_RESET before ddi_get_iblock_cookie 4402996 glm: hardening: ASSERT (tag != 0) during fault injections 4249502 glm should support bus quiesce and unquiesce 4342624 glm: driver not fully hardened, driver hung as a result of a corrupt pointer 4470577 glm: reset torture test fails and loses all disks within 15 minutes... 4459104 Phase incorrect when dumping on scsi3 disks using lsi 1010 controller 4474925 glm: panic when detach/attach the device 4478315 glm hangs machine at boot up with lsi810 controller 4479986 32bit glm panic when insert CD media in the drive with kernel heap corruption (from 114294-03) 4799457 /kernel/drv/glm: undefined symbol 'gettick' (from 114294-02) 4661880 glm: should not send a PPR message on a non LVD scsi bus. 4450607 glm driver for LSI Ultra 160 HBA in OS9 (from 114294-01) 4776340 ON support for Enchilada and Taco workstations 4741149 glm connected command timeout for target -external SCSI JAZ/ZIP drives 4744095 glm: interrupt level 4 not serviced Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-9 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- Reboot the system after patch installation. NOTE 1: To support greater than 8 LUNs, edit the /kernel/drv/glm.conf file, if it exists, or create a new one with: device-type-scsi-options-list = "Symbios StorEDGE A1000", "lsi-scsi-options", "Symbios StorEDGE A3000", "lsi-scsi-options", "SYMBIOS RSM Array 2000", "lsi-scsi-options"; lsi-scsi-options = 0x407f8; NOTE 2: For complete platform support for the SUNW,Sun-Blade-1500 and SUNW,Sun-Blade-2500, please install the following patches: 108528-20 (or newer) Kernel Update Patch 108974-28 (or newer) dada,uata,dad,sd,scsi patch 108975-08 (or newer) rmformat and format patch 108977-02 (or newer) libsmedia patch 109793-18 (or newer) su patch 109873-17 (or newer) libprtdiag_psr.so.1 patch 109885-11 (or newer) glm patch 109887-16 (or newer) smartcard patch 109888-21 (or newer) platform drivers patch 109889-04 (or newer) platform links & libc_psr patch 109896-13 (or newer) USB patch 109920-08 (or newer) pcic driver patch 110320-03 (or newer) s1394 patch 110460-28 (or newer) fruid/PICL plug-ins patch 110609-04 (or newer) USB header patch 111804-03 (or newer) update_drv,rem_drv patch 111808-02 (or newer) /usr/lib/adb/devinfo patch 109892-04 (or newer) ecpp patch NOTE 3: Please add entires to /etc/name_to_major for any driver that was not successfully added by this patch. Not including these entries can result in errors such as the following at boot: "WARNING: add_spec: No major number for mpt" Messages seen in /var/sadm/patch//log file when entry has not successfully been added to the /etc/name_to_major file: SUNWcsr: failed to add mpt to /etc/name_to_major: (mpt) already in use as a driver or alias. To add an entry in /etc/name_to_major, simply add a line with the driver name (from the error message) and a unique number that is not already in the /etc/name_to_major file. README -- Last modified date: Thursday, May 13, 2004