WITNESS is the culprit was Re: latest 8.1 hangs on xpt_config
Alexander Motin
mav at FreeBSD.org
Fri Jul 23 08:06:28 UTC 2010
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
More information about the freebsd-stable
mailing list