Date: Mon, 1 Nov 2010 17:23:43 GMT From: Bruce Cran <brucec@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/151871: camcontrol(8): incorrect standby timer calculation Message-ID: <201011011723.oA1HNhl7016935@www.freebsd.org> Resent-Message-ID: <201011011730.oA1HU9Sg016522@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151871 >Category: bin >Synopsis: camcontrol(8): incorrect standby timer calculation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 01 17:30:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD core.nessbank 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r214509: Fri Oct 29 13:26:38 BST 2010 brucec@core.nessbank:/usr/obj/usr/src/head/sys/CORE amd64 >Description: Incorrect standby timer values are sent to the disk. According to t13, the values should be: 1-1200 seconds: (seconds / 5) 1260 seconds: 252 1800-19800 seconds: (minutes/30) + 240 Currently a timeout value of 1800s (30 minutes) is being programmed as 242, which will cause the drive to go into standby after 60 minutes. >How-To-Repeat: Compare the code on line 4315 of src/sbin/camcontrol/camcontrol.c with table 19 in T13 1532D Volume 1. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011011723.oA1HNhl7016935>