Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 1996 11:48:05 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        owensc@enc.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: HELP!:  page fault (revisited)
Message-ID:  <199604160218.LAA21029@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.FBS.3.92.960415170608.17160A-100000@dingo.enc.edu> from "Charles Owens" at Apr 15, 96 05:39:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Owens stands accused of saying:
> 
> Folks:
> 
> I'm still having trouble with page faults, and it seems to occur when I
> create users.

Ok.  You need to build a kernel with 'options DDB' in it, and when you
get the debugger up when it faults, use the 'trace' command to see
where you are.

If you can, do this two or three times, and make a note each time as to
where exactly the fault occurs.  If it's always in the same place,
copy down the _entire_ trace output and forward it to the list, along
with your kernel config and what you're doing.

> The modified adduser (I call it ypadduser)  works with NIS and the quota
> system.  This is what it does:
> 	Add new user entry to /var/yp/master.passwd
> 	from /var/yp -   make -DNOPUSH
> 	create new user directory, etc.
> 	quotaoff -a
> 	edquota -Pprotouser -u newuser
> 	quoton -a
> 
> After last user is created:
> 	from /var/yp -   make      (pushing to NIS sub servers)
> 	quotaoff -a
> 	quotacheck -a
> 	quoton -a
> 
> That's basicly it.  It seems that the system is rock solid most of the
> time, but if I use the above scripts to create users I seem to always have
> a crash.

Argh.  Quotas.  I suspect this is your problem.  Make sure your quota files
are in the root directory of the filesystems that they represent, and
that you have no quotas on the root filesystem.  

I believe that there are still outstanding bogons in the quota code that
could be your problem.  I'm not sure what incentivation you could offer to
the relevant developers to push them as an issue.

>   Charles Owens					 Email:  owensc@enc.edu

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604160218.LAA21029>