Subject: Re: port-shark/22355 [was CVS commit: src/sys/nfs]
To: None <port-shark-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: netbsd-bugs
Date: 07/30/2007 10:10:05
The following reply was made to PR port-shark/22355; it has been noted by GNATS.
From: "Julio M. Merino Vidal" <jmmv84@gmail.com>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Cc: source-changes@NetBSD.org, gnats-bugs@NetBSD.org
Subject: Re: port-shark/22355 [was CVS commit: src/sys/nfs]
Date: Mon, 30 Jul 2007 12:06:37 +0200
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>