From owner-freebsd-stable@FreeBSD.ORG Fri Jul 23 08:06:27 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6BD71065670 for ; Fri, 23 Jul 2010 08:06:27 +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 614508FC18 for ; Fri, 23 Jul 2010 08:06:27 +0000 (UTC) Received: by fxm13 with SMTP id 13so5321556fxm.13 for ; Fri, 23 Jul 2010 01:06:26 -0700 (PDT) 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=HxeGNY8DA2TWHDhCUCtmjK6pF/j36x7UEUlb7EB2pRk=; b=dNeHK/0Kv3asZLVOP78WLoNcHDRjpZfJ18NGJJVw4X1/fGCYEUju7paHnpCO3qpvtC 94vNM0jnk/6f/z8eTptFd3z1IQTA6amowC7PyKkiQc4iDLxLGAn/I/sV/frivp5ypF/Z 8XS5Ym9PWsQmOqKo9n0cvDsWMlZeUxhS+F7vY= 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=vGtfTxKpFZZzOnFqh8itksYM2TLnyd+WzXefynlsNDk174Ky+/gXe20BLP9btz2d8K 3jiSvOqILAc3Q7mfYAS/8i0A4jQAVfw4Hd8BugvP5XKHKCeZi9BGzLl790lQQNgZkh6m UtAGea8ts8xM41rLaTdMUDOWZoiXZGdGDC560= Received: by 10.223.126.71 with SMTP id b7mr2878531fas.97.1279872385568; Fri, 23 Jul 2010 01:06:25 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id d15sm42100faa.1.2010.07.23.01.06.24 (version=SSLv3 cipher=RC4-MD5); Fri, 23 Jul 2010 01:06:24 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C494D7D.6040608@FreeBSD.org> Date: Fri, 23 Jul 2010 11:06:21 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Daniel Braniss References: <20100723064421.GA40830@icarus.home.lan> <4C494790.4070305@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 Stable Subject: Re: WITNESS is the culprit was Re: latest 8.1 hangs on xpt_config X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 08:06:28 -0000 Daniel Braniss wrote: >> Daniel Braniss wrote: >>>> On Fri, Jul 23, 2010 at 09:35:55AM +0300, Daniel Braniss wrote: >>>>> It seems that the latest changes (last 7 days) introduced this problem: >>>>> ... >>>>> run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config >>>>> run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config >>>>> run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config >>>>> run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config >>>>> ... >>>>> >>>>> i'll try to hunt this down, but any help is welcome. >>>> Recent to semi-recent commits relevant to xpt that I can find The >>>> problem might not be even in xpt though. Which xpt piece pertains to >>>> you probably depends on your system setup/configuration. Dates/times >>>> are in PDT/UTC-0700: >>>> >>>> -rw-r--r-- 1 root wheel 6037 1 Mar 22:48 /usr/src/sys/cam/cam_xpt_internal.h >>>> -rw-r--r-- 1 root wheel 124773 9 May 10:19 /usr/src/sys/cam/cam_xpt.c >>>> -rw-r--r-- 1 root wheel 72556 23 May 10:41 /usr/src/sys/cam/scsi/scsi_xpt.c >>>> -rw-r--r-- 1 root wheel 56663 19 Jul 05:28 /usr/src/sys/cam/ata/ata_xpt.c >>>> >>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cam/cam_xpt_internal.h >>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cam/cam_xpt.c >>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cam/scsi/scsi_xpt.c >>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cam/ata/ata_xpt.c >>> thanks Jeremy, i'll try and make some sence of the changes. >>> >>> here is some more info: >>> there are one disk and one dvd connected via SATA >> I recently had report about alike problem with "PIONEER DVD-RW DVR-215 >> 1.19" drive. Don't you have the same device or another Pioneer? >> >> In that case this patch: >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cam/ata/ata_xpt.c.diff?r1=1.3.2.29;r2=1.3.2.30;f=h >> allowed system to boot, though problem seemed to be hardware. Try this >> patch, it at least may give additional info about the problem. > > That was my first guess, so I detached the DVD, but the problem persisted. > the device is: > ATAPI DVD A DH16AAS JL34> Removable CD-ROM SCSI-0 device > > anyways, I compiled a kernel without WITNESS, and it now works ok! That's hardly a solution or reason. Still please try the patch (or fresh 8-STABLE with it), may be it tell more. -- Alexander Motin