Project

General

Profile

Actions

Bug #4569

closed
JP RB

system_set_harddisk_standby() needs rewritten for current CAM-based ATA stack

Bug #4569: system_set_harddisk_standby() needs rewritten for current CAM-based ATA stack

Added by Jim Pingle over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
04/01/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2.x
Affected Architecture:

Description

The current system_set_harddisk_standby() function in source:etc/inc/system.inc#L2049 uses invalid sysctl values and commands for FreeBSD 10.x.

The old style of setting ATA standby is gone, there is no general way to set standby that I could see. The value must be set using camcontrol, for example:

camcontrol standby ada0 -t x

Where x is the value for standby in seconds, or 0 to disable. It must be run for each ATA device explicitly.

So rather than setting one value we'll likely need to iterate kern.disks and run the camcontrol command for each.

CB Updated by Chris Buechler over 11 years ago Actions #1

  • Status changed from New to Confirmed
  • Target version changed from 2.2.2 to 2.2.3
  • Affected Version changed from 2.2.1 to 2.2

CB Updated by Chris Buechler over 11 years ago Actions #2

  • Target version changed from 2.2.3 to 2.3

KB Updated by Kill Bill about 11 years ago Actions #3

JT Updated by Jim Thompson almost 11 years ago Actions #4

  • Assignee set to Renato Botelho

CB Updated by Chris Buechler almost 11 years ago Actions #5

  • Status changed from Confirmed to Resolved
  • Affected Version changed from 2.2 to 2.2.x

this looks fine now on the back end, but the front end part was lost in bootstrap conversion. Opened #5482 for that.

Actions

Also available in: Atom