NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49457: 'atactl sleep' loses drive



>Number:         49457
>Category:       kern
>Synopsis:       'atactl sleep' loses drive
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 07 18:20:00 +0000 2014
>Originator:     Hauke Fath
>Release:        NetBSD 7.0_BETA
>Organization:
Falling Raindrops
>Environment:
	
	
System: NetBSD pizza.causeuse.org 7.0_BETA NetBSD 7.0_BETA (BLACKBOX-$Revision: 1.85 $) #0: Sun Dec 7 17:09:27 CET 2014 hauke%pizza.causeuse.org@localhost:/var/obj/netbsd-builds/7/amd64/sys/arch/amd64/compile/BLACKBOX amd64
Architecture: x86_64
Machine: amd64
>Description:

	The machine has a second sata disk that is only used as an
	Amanda spool disk, and unmounted otherwise. The backup scripts
	run 'atactl sleep' on the drive to power it down after
	work. 

	This worked without a problem on netbsd-6, but irreversibly
	puts the drive in a coma on netbsd-7.

>How-To-Repeat:

[hauke@pizza] ~ # atactl wd1 checkpower
Current power status: Standby mode
[hauke@pizza] ~ # atactl wd1 sleep
load: 0.06  cmd: atactl 4012 [ahcicmd] 0.00u 0.00s 0% 0k
[hauke@pizza] ~ # atactl wd1 checkpower
atactl: wd1: Input/output error
[hauke@pizza] ~ # 

The console logs

wd1: wd_flushcache: status=0x5128<TIMEOU>
wd1: IDENTIFY failed

At this point, only a reboot will bring the drive back.

>Fix:
	Yes, please.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index