From owner-freebsd-current@FreeBSD.ORG Wed Nov 24 17:57:51 2010 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 B4DF5106566B for ; Wed, 24 Nov 2010 17:57:51 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3F29C8FC14 for ; Wed, 24 Nov 2010 17:57:50 +0000 (UTC) Received: by fxm19 with SMTP id 19so9808fxm.13 for ; Wed, 24 Nov 2010 09:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=6lAVyjW+OR3p8z3omvUVEGENiiZ17MWQb2w9MQDdzog=; b=FKSVK7TNQ64H8jONX5umr7Xy+nmk2jZqjtJ9SfsTsKjpVzesQdej7Q87bhJjwZMEvA 8bC+fL7wYGgr/Bi+aeEPhHCvUGzrcQ6uIlOGMyqJRZwk6Rk9U380PYS7TcvnDRtzQGg1 PDMy5DrcsLA+e5G42sMLP/TSdE2hq2c4cn1Hc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Xjhfyjsa90Vlgg+41RXE15QA8lZgXvTumh8R/V4bhForQP+Br8M64RNnIulAsV/21S 4TsoaeS7kZjlRbAy6yhiNW1SymlZ36WPgbrI8ewybKFW/+OmFPEj7B3IU6LtguCq2Xe0 im464ynhtbCgeucXH42Az+t+2c1VIMTwGEqvU= Received: by 10.223.123.142 with SMTP id p14mr6163023far.122.1290621469032; Wed, 24 Nov 2010 09:57:49 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id d20sm2301467fav.14.2010.11.24.09.57.47 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 09:57:47 -0800 (PST) Sender: Alexander Motin Message-ID: <4CED5210.9070209@FreeBSD.org> Date: Wed, 24 Nov 2010 19:57:36 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Roger Hammerstein References: <20101122172016.71e6b3ca@core.draftnet>, , , , <4CEB6F26.3010004@FreeBSD.org>, In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: panic with devclass_get_name (dc=0xdeadc0dedeadc0de) 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, 24 Nov 2010 17:57:51 -0000 Roger Hammerstein wrote: > Using ATA_CAM it doesn't panic, it removes the bad disk from /dev after > the problem. > > Nov 24 12:36:15 butter kernel: ata4: SATA connect time=0ms status=00000113 > Nov 24 12:36:15 butter kernel: ata4: reset tp1 mask=01 ostat0=d0 ostat1=00 > Nov 24 12:36:15 butter kernel: ata4: stat0=0xd0 err=0x00 lsb=0x54 msb=0x02 > Nov 24 12:36:15 butter last message repeated 309 times > Nov 24 12:36:15 butter kernel: ata4: reset tp2 stat0=d0 stat1=00 devices=0x0 It looks like controller or device stuck in some irresponsible state, where soft reset unable to get device back. You can make driver execute also hard reset before soft reset by changing in file ata-serverworks.c: if (ata_sata_phy_reset(dev, -1, 1)) to if (ata_sata_phy_reset(dev, -1, 0)) Please report what you get. -- Alexander Motin