I'm running SunOS/4.1.x and every time I try to format my new 9GB SCSI disk I get "format failed" messages -- what's broke, and how can I fix it?

    	new 9GB SCSI disk I get "format failed" messages -- what's

	The SunOS kernel has a default timeout of two hours for SCSI
    	formatting -- if the time required to perform the format is
    	longer, the format fails.

    	Edit /usr/sys/scsi/targets/sddef.h and apply the following "diff",
    	then rebuild the kernel:

*** sddef.h.orig  Tue Nov 29 07:52:53 1994
--- sddef.h  Tue Nov 29 07:52:53 1994
***************
*** 396 ****
! #define SD_FMT_TIME     120*60
*** 396 ****
! #define SD_FMT_TIME     240*60

	Or you can use this small adb script to modify the SCSI
	format timeout in the running kernel.
	
	#!/bin/sh
	adb -k -w /vmunix /dev/mem  << EOF
	sd_fmt_time /W 0t9600
	EOF


	Last Updated:  April 14, 1995.

Go to the index previous next