Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 1998 23:53:51 +0100 (CET)
From:      leifn@image.dk
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/6019: Timeout too short on scsi_start_unit() at boot
Message-ID:  <199803152253.XAA00486@darla.swimsuit.roskildebc.dk>

next in thread | raw e-mail | index | archive | help

>Number:         6019
>Category:       kern
>Synopsis:       Timeout too short on scsi_start_unit() at boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 15 15:00:01 PST 1998
>Last-Modified:
>Originator:     Leif Neland
>Organization:
not particular
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

	SCSI-disks witch don't spin up at poweron but need the
	scsi_start_unit()

>Description:

	The timeout is too short (10 secs) for old Micropolis disks 
	for spinning up. A long timeout doesn't harm fast-starting disks.
	When the scsi_start_unit() times out, the disks are not recognized
	properly, so a reboot is required.

>How-To-Repeat:

	Get an old disk, and jumper it not to spinup at poweron!

>Fix:
	
	Increase the timeout in /sys/scsi/scsi_base.c


*** scsi_base.c	Tue Jul 29 21:42:50 1997
--- scsi_base.c.NE	Sun Mar 15 23:42:06 1998
***************
*** 335,341 ****
  		0,
  		0,
  		2,
! 		10000,
  		NULL,
  		flags));
  }
--- 335,341 ----
  		0,
  		0,
  		2,
! 		30000, /* XXX leifn@image.dk: Timeout changed from 10 secs */
  		NULL,
  		flags));
  }

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803152253.XAA00486>