page fault panic tracked down (selwakeuppri())
Bruce Evans
bde at zeta.org.au
Tue Dec 30 08:20:25 PST 2003
On Tue, 30 Dec 2003, Stefan Ehmann wrote:
> On Tue, 2003-12-30 at 07:56, Bruce Evans wrote:
> > I have farily large patches which do buffering in ext2fs in a different
> > way so that the 2003/08/28 changes are irrelevant. I will send these
> > in private mail.
>
> Applied the patches and rebuilt kernel. Unfortunately I got the same
> panic after 2 hours.
At least it's easy to duplicate, and another possible cause is ruled out.
Do you do anything special with ext2fs or have a special configuration?
It should be easy to turn off the selwakeuppri() chnages by editing a
line or two of selwakeuppri(). From sys_generic.c:
% /* Wake up a selecting thread. */
% void
% selwakeup(sip)
% struct selinfo *sip;
% {
% doselwakeup(sip, -1);
% }
%
% /* Wake up a selecting thread, and set its priority. */
% void
% selwakeuppri(sip, pri)
% struct selinfo *sip;
% int pri;
% {
% doselwakeup(sip, pri);
% }
Just change the last `pri' to -1.
Bruce
More information about the freebsd-current
mailing list