From owner-freebsd-current@FreeBSD.ORG Thu Sep 24 13:31:18 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 C9F87106566B; Thu, 24 Sep 2009 13:31:18 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 01B3A8FC08; Thu, 24 Sep 2009 13:31:17 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so394467qwd.7 for ; Thu, 24 Sep 2009 06:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=OMweef/AyQTKEIUbk7fSseeIhSPuGDS4ehHrZRrLNeI=; b=tUY6yzBUbv7q+XjsMaEy1rC1OuN/q2I96J+ibJTmvQ6tokkEGj9GD7nPk9T6SoQ1Ok dIq1BQk5rjgQAjiF/Mx/nuQoJwSBr8BeBbTSFDAVWzsEre3SUFSGSBi5pNKReV+Z1JeB UKcaIOwNGTRlKRvBKccimKKJw28eG3y7F5TYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=urYOh+htLWM+nIe7Md6rs66NXhM85D8aXlU9HV8okXokB3+3v3yzlZ+kNL5gKj7HRt s4hEsEmsmERHsuAsFVqGi+oGJE15K7rewReyosR/m0xcjsCMZbWFOeQ/LwoG94fvXd3j TAxFyPxkpS6L/OjNZ1hDPnBI7nUcUM10c3vVE= Received: by 10.224.50.137 with SMTP id z9mr3171022qaf.83.1253798673061; Thu, 24 Sep 2009 06:24:33 -0700 (PDT) Received: from ?10.0.3.231? ([71.187.189.54]) by mx.google.com with ESMTPS id 21sm544270qyk.4.2009.09.24.06.24.31 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Sep 2009 06:24:32 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <4ABB3DA6.5090004@FreeBSD.org> References: <20090923055647.GA2183@a91-153-125-115.elisa-laajakaista.fi> <4ABA5566.8010406@FreeBSD.org> <4ABA5B13.9050208@freebsd.org> <4ABA5C39.7090007@FreeBSD.org> <20090924060805.GA2057@a91-153-125-115.elisa-laajakaista.fi> <4ABB3DA6.5090004@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 24 Sep 2009 09:24:20 -0400 Message-Id: <1253798660.1546.2.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD-Current , Peter Holm , scottl@freebsd.org, Andriy Gapon , Jaakko Heinonen , Thomas Quinot , Kostik Belousov Subject: Re: Fwd: core dump on kldload atapicam 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: Thu, 24 Sep 2009 13:31:18 -0000 On Thu, 2009-09-24 at 12:36 +0300, Alexander Motin wrote: > Jaakko Heinonen wrote: > > On 2009-09-23, Alexander Motin wrote: > >> Then please explain me how it happens. I don't think that explanation > >> "it just works" sufficient. > >> > >> Any ideas what needed to reproduce that? Because it looks like not going > >> to fall in my case: > > > > It happens if a parent ata device is not attached. I can reproduce the > > problem on system which hash ata0, ata2 and ata3 devices but ata1 fails > > to probe. > > Nice catch. I think it is newbus problem, not ata. I am able to simulate > this problem locally and attached patch fixes it. Any objections? > I can confirm that this patch fixes panic in my environment, even with the patch from Jaakko Heinonen reverted. My system is: FreeBSD RabbitsDen.RabbitsLawn.verizon.net 8.0-RC1 FreeBSD 8.0-RC1 #1 r197402M: Thu Sep 24 08:04:08 EDT 2009 root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60 i386 -- Alexandre Kovalenko (Олександр Коваленко)