From owner-freebsd-current@FreeBSD.ORG Wed Feb 25 19:56:42 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA5D7106566B for ; Wed, 25 Feb 2009 19:56:42 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF618FC16 for ; Wed, 25 Feb 2009 19:56:41 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 235848229; Wed, 25 Feb 2009 21:56:41 +0200 Message-ID: <49A5A276.9080401@FreeBSD.org> Date: Wed, 25 Feb 2009 21:56:38 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.19 (X11/20090118) MIME-Version: 1.0 To: Gary Jennejohn References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: SATA disks suddenly stop working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 19:56:43 -0000 Gary Jennejohn wrote: > I've been having lots of problems with SATA drives attached to higher > port numbers, namely ata5 and ata6. > > I was installing Linux under qemu today and it had been running for > several hours and had installed multi-gigabytes of data when qemu > just stopped. > > I noticed that all I/O to the disk had ceased. > > Doing "atacontrol reinit" on the port (ata5) resulted in a message > that the device was not configured, which was patently false since > qemu had just been merrily writing to it. > > This with a kernel made from sources updated today at about 2 PM (GMT+1). > > I've also seen problems with a disk attached to ata6. It just sort > of disappears after a while. > > Disks attached to ata2, ata3 and ata4 don't exhibit any problems. You have told much and same time gave nothing that can be used. What controller do you have? What drives on what channels? Is there any kernel messages about the problem? Have you tried to enable verbose messages to get additional details? Reinit could return ENXIO if it already was in progress. Disappearing drives are also can be related to that reinit. Can't it be just a real hardware problem? -- Alexander Motin