Subject: Re: lm with K8VNXP? + softdep issue
To: None <port-amd64@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: port-amd64
Date: 03/07/2004 14:09:41
On Sat, Mar 06, 2004 at 10:36:06PM +0000, Andreas Kahari wrote:
> I have a (brand new, yay!) box with a Gigabyte K8VNXP
> motherboard (VIA K8T800 chipset) running an AMD 64 Athlon
> 3400+.  The BIOS (Award BIOS) is able to tell me the processor
> temperature and CPU fan speed etc. and I was just wondering if I
> could read this info from within NetBSD.

You could start by using pkgsrc/sysutils/mbmon. It knows about
all the different PIO and SMbus devices out there, but does it
all from userspace (and thus must be run as root). I made it
work on NetBSD/amd64 after I read your mail, so you'll need
to update pkgsrc there first.

You could probably also look at the debug output of mbmon, and
find the port values there. Note: mbmon is pretty slow to start
up, it's trying a lot of different things. Be patient.

> Another thing:  If I mount my drives with softdep, the system
> sometimes "freezes" for short periods of time (about 3-5
> seconds or so).  This seems to occur under heavy disk activity
> (rebuilding userland) when the pagedeamon process which will
> use a lot of CPU periodically.  Is this a known issue, or a
> non-issue?  I thought it was annoying enough to make me disable
> softdep.

Yes, that's a known issue. There are some discussions going on
how to fix this, basically it's a flaw in the trickle syncer.

- Frank