From owner-freebsd-current@FreeBSD.ORG Tue Nov 23 07:37:23 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 E55A9106566C for ; Tue, 23 Nov 2010 07:37:23 +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 6F14C8FC08 for ; Tue, 23 Nov 2010 07:37:23 +0000 (UTC) Received: by fxm19 with SMTP id 19so6028118fxm.13 for ; Mon, 22 Nov 2010 23:37:22 -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:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=4rBq+FlNJoWWVBc71f8mrvT8rvGyXuwi6sTrIYwlH8U=; b=EpkbQIGXHqlju12DVGD22T9Vnur2KkUzxXQ+QvwOBJBmjErwQo8nx9eVR6VktQemhD v0hafeStHIQigL4IDVxGYu+17OmysSvA+SnQRbrPrJ4TWY0x5ychTcQ2eFz46mHRUmcu EBtk5spPvlaBZHyU/pK/IvMTASAogVYNmQ4aA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=RRsinzVNmx0j7EpmvlMJzzulGp0l4iivvcpjCxskyVoaXsOtfEIRXfgDR5i4+oZRrg OZLA/LNrYILQKzDnsvI1+Uj70x2bzwHXuZ809FiB0PCPHN5bZtWRuNtzLtjjh3+Zr+7K DVpWiiLlKZzAsaU+wA7uxMoMQhj2kRztJ5bwk= Received: by 10.223.71.199 with SMTP id i7mr2095788faj.57.1290497842426; Mon, 22 Nov 2010 23:37:22 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id b4sm1522224fav.45.2010.11.22.23.37.20 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Nov 2010 23:37:21 -0800 (PST) Sender: Alexander Motin Message-ID: <4CEB6F26.3010004@FreeBSD.org> Date: Tue, 23 Nov 2010 09:37:10 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Roger Hammerstein , FreeBSD-Current References: <20101122172016.71e6b3ca@core.draftnet> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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: Tue, 23 Nov 2010 07:37:24 -0000 Hi. Roger Hammerstein wrote: > And then wait 30 seconds to a minute. > I get a bunch of g_vfs_done():ad8[write(offset=146023743488,length=16384)]error=6 This part look suspicious. ENXIO may mean that device disappeared. Shown "use after free" panic also may tell the same. Could you boot with verbose kernel messages and repeat it again? It would be interesting to get some prehistory of what's going on. This may be result of some hardware issue, not properly handled by software. Error recovery is not a best point of old ata(4). You could try to switch to CAM-based ATA using ATA_CAM kernel option. It probably won't fix original problem, but it better handles situations with disappearing devices and may give more ideas. -- Alexander Motin