Subject: Re: lm with K8VNXP? + softdep issue
To: Frank van der Linden <fvdl@NetBSD.org>
From: Andreas Kahari <email@example.com>
Date: 03/07/2004 13:52:57
On Sun, Mar 07, 2004 at 02:09:41PM +0100, Frank van der Linden wrote:
> 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.
Ah, that does exactly what I want. It says:
$ sudo mbmon -D
Probe Request: none
>>> Testing Reg's at ISA-IO <<<
[ISA Port IO-Base:0x290]
Probing Winbond/Asus/LM78/79 chip:
CR40:0x80, CR41:0x7F, CR42:0x7F, CR43:0x7F
CR44:0x7F, CR45:0x7F, CR46:0x00, CR47:0x00
CR48:0x2D, CR49:0x00, CR4A:0x00, CR4B:0x00
CR4C:0x00, CR4D:0x00, CR4E:0x00, CR4F:0x00
CR56:0x00, CR58:0x90, CR59:0x4F, CR5D:0x00
CR3E:0xFF, CR13:0x31, CR17:0x00, CRA1:0x9F
CR20:0x5D, CR22:0xCD, CR23:0xB7, CR24:0xB8
CR27:0x6D, CR29:0x1A, CR2A:0x1E, CR2B:0x7F
Probing ITE7805/7812/SIS950 chip:
CR00:0x11, CR01:0x00, CR02:0x00, CR03:0x01
CR0A:0x00, CR48:0x2D, CR50:0xFF, CR51:0x38
CR20:0x5D, CR21:0x9F, CR22:0xCD, CR23:0xB7
CR24:0xB8, CR25:0x6A, CR26:0x5D, CR27:0x6D
CR28:0x00, CR29:0x1A, CR2A:0x1E, CR2B:0x7F
CR0B:0x3B, CR0D:0x33, CR0E:0xFF, CR0F:0xFF
Using ISA-IO access method!!
* Int.Tec.Exp. Chip IT8705F/IT8712F or SIS950 found.
So... I suppose it's not a LM compatible chip I have so I can't
use lm(4), but I'm happy with using the mbmon port. It has a
daemon mode, so I can start it from /etc/rc.local and query it
as an ordinary user simply using telnet.
> 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.
I had no problem with slowness at all. The reply cam without
Thanks a lot for fixing the port and for pointing me towards it!
> > 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.
Ok, I can live with it for a while I guess.
How's XFree86-4.4.0 coming along, by the way?
Andreas Kähäri |(--)|
East Anglia |(--)|