Patch-ID# 100343-06 Keywords: 1GB greater, disk, gigabyte,sequence,step Synopsis: SunOS 4.1.1: sd.o patch to access scsi drive capacity beyond 1GB. Date: Jan/07/94 SunOS release: 4.1.1 Topic: 1.3GB Disk Drive Enhancement/sequence step fix for sun4c BugId's fixed with this patch: 1058682 1045586 1045071 1049417 1046580 1048141 1046305 1140764 Changes incorporated in this version: 1140764 Architectures for which this patch is available: sun4, sun4c, sun4e Patches which may conflict with this patch: 100243 Note: This patch conflicts with Online Disk Suite and Backup: Copilot. Obsoleted by: 4.1.2 Problem Description: Bug 1140764 The ESP100A is falsely reporting a "bad sequence step 7" instead of the rmal sequence step of 4. This causes the SCSI peripheral to fail on that I/O & the potential of not being able to boot the system or install it. This patch (rev 06) is created only for change in esp in sun4c architecture. (from 100343-05) format functions are limited to 1GB (2^21 bit address). Reassign of a block beyond 1GB wraps around to the lower 21 bit address.As a result,using a 1.3 GB drive ,for example, the top .3GB will be inaccessible without this patch. Using the format "repair" function I reassigned block # 2676800 (28D840x). The Flexstar tester reports block # 576648 (08D840 hex) to be reassigned. Using the Ancot bus analyzer I verified that the driver is issuing a reassign block command for block 08D840 hex, indicating that it is truncating the most significant bits of the address and supports only a 21 bit address in this section of the code. User data will remain intact, but since the block in error is not being reassigned it will continue to fail, which could eventually lead to loss of data. Good blocks will be reassigned unecessarily, which can adversely affect performance. INSTALL: A) FOR SUN4C and SUN4E : 1)As root: mv /sys/{sun4c,sun4e}/OBJ/sd.o /sys/{sun4c,sun4e}/OBJ/sd.o.fcs cp {sun4c,sun4e}/sd.o /sys/{sun4c,sun4e}/OBJ/sd.o mv /sys/{sun4c,sun4e}/OBJ/esp.o /sys/{sun4c,sun4e}/OBJ/esp.o.fcs cp {sun4c,sun4e}/esp.o /sys/{sun4c,sun4e}/OBJ/esp.o 2) If customer' system has 4.1.1 installed and NOT 4.1.1RevB, copy the format.dat file. cp {sun4c,sun4e}/format.dat /etc/format.dat You will then have to re-run config and make on your kernel. Please refer to the System and Network administration manual for information on building and installing a custom kernel. B) FOR SUN4 : If customer' system has 4.1.1 installed and NOT 4.1.1RevB, copy the format.dat file . As root cp sun4/format.dat /etc/format.dat There is no need to remake the kernel in a sun4 architecture. ADDENDUM : Other Bugs fixed are Bugid 1058682: Reassign block (format "repair") malfunctions beyond 1GB (6-byte address) Bugs 1045586 and 1045071 : format parameters problem modify sd_maptouscsi to handle i/o past 1 GB, bugid 1045071 Bugid 1049417: Hang in selection phase Bug id 1046580: rework several issues dealing with the running of proxy commands; Bugid 1048141: if a data overrun is detected, set e_weak for that target. Bugid 1046305: in esp_commoncap the sync and disconnect stuff was reversed for the target-only case. This patch is being resubmitted to correct the source files and the README. This patch is being resubmitted to include the format.dat file to make the whole patch self contained . This patch is being resubmitted to add support for sun4e.