Patch-ID# 119443-05 NOTE: *********************************************************************** READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE. *********************************************************************** Keywords: sd fdisk luns io Synopsis: SunOS 5.9_x86: sd patch Date: Aug/29/2006 Install Requirements: Reboot immediately after patch is installed Install in Single User Mode Solaris Release: 9_x86 SunOS Release: 5.9_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 113277 Topic: SunOS 5.9_x86: sd patch Relevant Architectures: i386 BugId's fixed with this patch: 4808352 4886293 5023670 5036894 6216135 6230146 6249580 Changes incorporated in this version: 6230146 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 117172-17 (or greater) Obsoleted by: Files included with this patch: /kernel/drv/sd /usr/include/sys/scsi/targets/sddef.h Problem Description: 6230146 sd should export pm-components property for sata drives (from 119443-04) 5036894 Solaris target disk driver does gratuitous resets during detach. 4808352 memory leak in sd_register_devid() (from 119443-03) 4886293 driver config files need an "exclude" option. 6216135 vold mount takes about 2 minutes with Toshiba DVD ROM SD-M1711 (from 119443-02) 5023670 V440 onboard RAID does not work with SunCluster 3.x (from 119443-01) 6249580 x86 needs to support large LUNs 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-10 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: ----------------------------- NOTE 1: Reboot the system after patch installation. NOTE 2: KNOWN PROBLEMS AND LIMITATIONS When applying this patch to a system where a disk has already been formatted and only part of the disk was available (bug 5042195) the existing Solaris label *MUST* be cleared in order for the disk to be fully utilized. If this is not done then the existing label will be used and that disk configuration from that label will continue to limit the amount of disk space that can be used for that disk. BE SURE TO BACKUP ANY DATA YOU WISH TO RETAIN BEFORE PROCEEDING FURTHER! For an unpatched system it is best to boot into single user mode with the ITU loaded. See examples above for how to do that. To clear the entire disk you can use this command (fill in the '?' spots with the values for the disk you are dealing with. If unsure, run 'format' to see what disks you have in your system and their paths: dd if=/dev/zero of=/dev/rdsk/c?t?d?p0 bs=1024k count=10 The example above will wipe out the entire fdisk table and the first 10MB of data on the disk. For a disk with multiple fdisk partitions you may wish to preserve the other fdisk partitions and only wipe out the Solaris partition. This can be done by only clearing the Solaris partition, in a fashion similar to how you can clear the fdisk information. First use fdisk, or the fdisk command within format, to determine which partition is your Solaris partition. The fdisk partitions are numbered 1 to 4, so simply count from the top down on the display of partitions to determine which one is the Solaris fdisk partition. You can then clear that partition with a command like this (in this example the Solaris partition is number 2): dd if=/dev/zero of=/dev/rdsk/c?t?d?p2 count=????? Note that you should use the number for the length of the fdisk partition for the argument to count. This will take longer than just wiping out the fdisk table as in the first example, because it writes the entire partition one block at a time, but that is needed to destroy all the backup labels so they will not be used. README -- Last modified date: Tuesday, August 29, 2006