Subject: Re: port-shark/22355 [was CVS commit: src/sys/nfs]
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: source-changes
Date: 07/30/2007 12:06:37
On 30/07/2007, at 11:13, Julio M. Merino Vidal wrote:
> On 30/07/2007, at 2:10, YAMAMOTO Takashi wrote:
>
>>> Any idea about what happens?
>>
>> hardclock without softintr_schedule is broken?
>
> Seems to be the cause. If I make "needsoftclock" be always true in
> kern_timeout.c:callout_hardclock, the machine works fine.
> Similarly, adding "_setsoftintr(0)" just after the call to hardclock
> () from clockintr() does the same.
>
> Otherwise, at some point the machine seems to stop receiving
> interrupts: not even clockintr is called. See my last reply to the
> PR.
Another data point: making clockintr happen at IPL_HIGH instead of
IPL_CLOCK (by changing its isa_intr_establish call) makes the thing
work too.
--
Julio M. Merino Vidal <jmmv84@gmail.com>