From owner-freebsd-stable@FreeBSD.ORG Fri Jul 23 08:00:36 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 644431065670; Fri, 23 Jul 2010 08:00:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id CD9CA8FC22; Fri, 23 Jul 2010 08:00:35 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1OcDBK-0007RD-SL; Fri, 23 Jul 2010 11:00:34 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Alexander Motin In-reply-to: <4C494790.4070305@FreeBSD.org> References: <20100723064421.GA40830@icarus.home.lan> <4C494790.4070305@FreeBSD.org> Comments: In-reply-to Alexander Motin message dated "Fri, 23 Jul 2010 10:41:04 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jul 2010 11:00:34 +0300 From: Daniel Braniss Message-ID: Cc: FreeBSD Stable , Jeremy Chadwick Subject: 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:00:36 -0000 > 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! thanks all, danny