Patch-ID# 108974-06
Keywords: atapi zip removable media sd uata LUN MMC scsi_poll IDE HBA dada dad
Synopsis: SunOS 5.8: dada, uata, dad, sd and scsi patch
Date: 15/Aug/00

Solaris Release: 8

SunOS release: 5.8

Unbundled Product: 

Unbundled Release: 

Topic: SunOS 5.8: dada, uata, dad, sd and scsi patch

	***********************************************************
	NOTE: This patch may contain one or more OEM-specific platform ports.
	      See the appropriate OEM_NOTES file within the patch for
	      information specific to these platforms.
 
	      DO NOT INSTALL this patch on an OEM system if a corresponding
	      OEM_NOTES file is not present (or is present, but instructs not
	      to install the patch), unless the OEM vendor directs otherwise.
	***********************************************************
	NOTE:	Refer to Special Install Instructions section for 
		IMPORTANT specific information on this patch.

BugId's fixed with this patch: 4102203 4231195 4231208 4237299 4262676 4263164 4271068 4271069 4275749 4279959 4284198 4285368 4285546 4291601 4297348 4302559 4304790 4305131 4305767 4313216 4313235 4325722 4325730 4328843 4329580 4335919 4337637 4346167 4348075 

Changes incorporated in this version: 4348075

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch: 109343-04 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

/etc/minor_perm
/kernel/drv/dad
/kernel/drv/sd
/kernel/drv/sparcv9/dad
/kernel/drv/sparcv9/sd
/kernel/drv/sparcv9/uata
/kernel/drv/uata
/kernel/misc/dada
/kernel/misc/scsi
/kernel/misc/sparcv9/dada
/kernel/misc/sparcv9/scsi
/usr/include/sys/scsi/targets/sddef.h
/usr/lib/adb/ata_controller
/usr/lib/adb/ata_drive
/usr/lib/adb/dcd_disk
/usr/lib/adb/scsi_disk
/usr/lib/adb/sparcv9/ata_controller
/usr/lib/adb/sparcv9/ata_drive
/usr/lib/adb/sparcv9/dcd_disk
/usr/lib/adb/sparcv9/scsi_disk

Problem Description:

4348075 "fdisk: Error in ioctl DKIOCSMBOOT on /dev/rdsk/c0t0d0p0." of the scsi drives

(from 108974-05)

	This patch revision was generated to accumulate and obsolete
	the feature changes introduced in point patch 109343-04.

4231195 Commands timeout for a request which does not start from even address.
4102203 IDE driver code needs cleanup
4231208 IDE driver uses non-recommended commands for READ/WRITE DMA
4237299 Seperate out chip specific code from the IDE HBA driver.
4262676 Need to implement a backup  speed mechanism in IDE drivers.
4263164 UDCDCMD ioctl does not work properly in 64 bit OS
4275749 Permission for internal IDE drive are set wrong for the group (sys)
4284198 Need power management support for 'dad' driver....
4305767 Need to support power management in the IDE HBA driver - uata
4313216 Warning "uata: WARNING: ata_controller - Can not reset 1st channel"
4279959 some of the cdio ioctl'a fail on DVD-ROM drives
4291601 sd: can't power manage CD-ROM when no media is present
4305131 sd: LUN not ready condition is not being handled properly
4313235 sd: complains about attempt to read when no media present in a removable drive
4325722 sd should not issue READ on non-data CDs
4302559 Unable To Install A 3rd Party EIDE DRIVE > 32GB On An Ultra 5/10 Running Solaris
4325730 fixes for pm of removable media devices
4328843 warlock and cstyle broken for scsi/sd
4329580 Need to have lower time for cpr resume on new platform
4335919 uata: Drive not ready before set_features
4337637 new platform: IDE doesn't complete all writes
4346167 SB IDE interrupt can not be blocked - can not remove intr handler in cpr

(from 108974-04)

4271069 ssd:  Overloaded (Queue Full) throttle
4297348 ssd: ssddump() does not work reliably
4271068 ssd:  Eliminate excessive transport rejected messages

(from 108974-03)

4304790 sometimes must eject/remount to rmformat zip media on intel

(from 108974-02)

4313235 sd: complains about attempt to read when no media present in a removable drive

(from 108974-01)

4285546 When atapi zip is read-write protected there are error
4285368 atapi zip with ufs can not be mounted on Ultra-10
4305131 sd: LUN not ready condition is not being handled properly

(from 109343-04)

4337637 new platform: IDE doesn't complete all writes
4346167 SB IDE interrupt can not be blocked - can not remove intr handler in cpr

(from 109343-03)

4302559 Unable To Install A 3rd Party EIDE DRIVE > 32GB On An Ultra 5/10 Running Solaris
4335919 uata: Drive not ready before set_features

(from 109343-02)

4329580 Need to have lower time for cpr resume on new platform

(from 109343-01)

4231195 Commands timeout for a request which does not start from even address.
4102203 IDE driver code needs cleanup
4231208 IDE driver uses non-recommended commands for READ/WRITE DMA
4237299 Seperate out chip specific code from the IDE HBA driver.
4262676 Need to implement a backup  speed mechanism in IDE drivers.
4263164 UDCDCMD ioctl does not work properly in 64 bit OS
4275749 Permission for internal IDE drive are set wrong for the group (sys)
4284198 Need power management support for 'dad' driver....
4305767 Need to support power management in the IDE HBA driver - uata
4313216 Warning "uata: WARNING: ata_controller - Can not reset 1st channel"

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-8 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:	If you're using CDE 1.4, you MUST install the following
                patches:
 
                109165-01 (or newer)    CDE 1.4: dtfile patch 
                109167-01 (or newer)    CDE 1.4: Desktop Help Update Patch 
                108921-02 (or newer)    CDE 1.4: dtwm Patch 
 
		If you're using OpenWindows 3.8, you MUST install patch
                109463-01 (or newer).

        NOTE 2: To get the complete Removable Media functionality, one
		needs to install the following patches:

		108970-01 (or newer)	/usr/lib/fs/pcfs/fsck and
					/usr/lib/fs/pcfs/mkfs patch
		108972-01 (or newer)	/sbin/fdisk patch
		108977-01 (or newer)	libsmedia patch
		108968-01 (or newer)	vol/vold/rmmount patch
		108975-01 (or newer)    /usr/bin/rmformat and
					/usr/sbin/format patch

	NOTE 3: To get the complete fix for 4304790 (sometimes must eject/
		remount to rmformat zip media on intel), one needs to 
		install the following patches:

		108974-03 (or newer)    sd driver patch
		109642-01 (or newer)    /usr/include/sys/dkio.h patch
		108972-02 (or newer)    /sbin/fdisk patch
		108975-03 (or newer)    /usr/bin/rmformat patch

	NOTE 4: To get the complete fix for the following bugs:
	
		4271069 ssd:  Overloaded (Queue Full) throttle
		4297348 ssd: ssddump() does not work reliably
		4271068	ssd:  Eliminate excessive transport rejected messages

		one needs to install the ssd patch 109524-02 (or newer).

	NOTE 5: To get the full support for following platforms:

                        SUNW,Sun-Blade-100
                        SUNW,Sun-Blade-1000

                one needs to install the following new packages:

                SUNW1394h       Sun IEEE1394 Framework Header Files
                SUNW1394x       Sun IEEE1394 Framework
                SUNWeridx       Sun RIO 10/100 Mb Ethernet Drivers (64-bit)
                SUNWiscr        Sun ISCRI OCF CT Driver
                SUNWiscrx       Sun ISCRI OCF CT Driver (64-bit)
                SUNWstcx        SUN ISCRI Kernel Driver - (64-bit)
                SUNWusx.u       UltraSPARC CPU Device Driver (64-bit)
                SUNWpiclh       PICL Header Files
                SUNWpiclr       PICL Framework (Root)
                SUNWpiclu       PICL Libraries, and Plugin Modules (Usr)
                SUNWpiclx       PICL Libraries (64-bit)

		AND the following patches:

		108528-03 (or newer)    kernel update patch
		108979-08 (or newer)    devfsadm, platform nexus, I2C and 
                                        Netra ct patch
		109883-01 (or newer)    ecppsys.h patch
		109877-01 (or newer)    dma_i8237A.h patch
		109793-02 (or newer)    su driver patch
		109872-01 (or newer)    vis driver patch
		109873-01 (or newer)    prtdiag patch
		108974-05 (or newer)	dada, uata, dad, sd and scsi patch
		109874-01 (or newer)    audio patch
		108725-02 (or newer)    st patch
		109876-01 (or newer)    fd patch	
		109885-01 (or newer)    glm patch
		109879-01 (or newer)    isadma patch
		109880-01 (or newer)    forthdebug patch
		109881-01 (or newer)    1394 adb macros patch
		109882-01 (or newer)    eri header files patch
		109892-01 (or newer)    ecpp patch
		109888-01 (or newer)    platform drivers patch
		109889-01 (or newer)    usr platform and libc_psr patch
		109887-01 (or newer)    smartcard patch
