Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 11:00:34 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>, Jeremy Chadwick <freebsd@jdc.parodius.com>
Subject:   WITNESS is the culprit was Re: latest 8.1 hangs on xpt_config 
Message-ID:  <E1OcDBK-0007RD-SL@kabab.cs.huji.ac.il>
In-Reply-To: <4C494790.4070305@FreeBSD.org> 
References:  <20100723064421.GA40830@icarus.home.lan>  <mailpost.1279870026.9803508.57228.mailing.freebsd.stable@FreeBSD.cs.nctu.edu.tw> <4C494790.4070305@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1OcDBK-0007RD-SL>