NetBSD-Bugs archive

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

Re: kern/49457: 'atactl sleep' loses drive



The following reply was made to PR kern/49457; it has been noted by GNATS.

From: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost
Subject: Re: kern/49457: 'atactl sleep' loses drive
Date: Mon, 8 Dec 2014 21:59:03 +0100

 On Mon,  8 Dec 2014 17:25:00 +0000 (UTC), Manuel Bouyer wrote:
 > tested on a netbsd-7 host with ahcisata controller here:
 >  yquem# atactl wd0 checkpower
 >  Current power status: Active mode
 >  yquem# atactl wd0 sleep
 >  yquem# atactl wd0 checkpower
 >  ATA command timed out
 >  [this is expected, a drive in sleep doesn't reply to any ATA command - only
 >  a reset will wake it up]
 >  yquem# disklabel -r wd0
 >  [several seconds delay, I can hear the drive spin up]
 >  # /dev/rwd0d:
 >  type: unknown
 >  disk: ST500DM002-1BD1
 >  label: 
 >  [...]
 
 For the same procedure, I get
 
 [hauke@pizza] ~ # atactl wd1 checkpower
 Current power status: Active mode
 [hauke@pizza] ~ # atactl wd1 sleep
 [hauke@pizza] ~ # atactl wd1 checkpower
 atactl: wd1: Input/output error
 [hauke@pizza] ~ # disklabel -r wd1
 disklabel: /dev/rwd1d: Input/output error
 [hauke@pizza] ~ # 
 
 and dmesg says
 
 [...]
 wd1: wd_flushcache: status=0x5128<TIMEOU>
 wd1: IDENTIFY failed
 wd1: IDENTIFY failed
 
 I remember the "device timeout" line you quoted from netbsd-6, but have 
 not seen them on netbsd-7.
 


Home | Main Index | Thread Index | Old Index