Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
loading new envstat properties reboots system
When I run "sudo /etc/rc.d/envsys restart" my system reboots. My
/var/log/messages has nothing about it. I do have slightly old versions.
I think this happened to me before but I can't find my notes on it. I
had been able to repeat it.
/etc/rc.d/envsys:
$NetBSD: envsys,v 1.4 2007/10/07 05:30:56 xtraeme Exp $
/usr/sbin/envstat:
$NetBSD: crt0-common.c,v 1.1 2010/08/07 18:01:33 joerg Exp $
$NetBSD: crt0.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
$NetBSD: crti.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
$NetBSD: crtbegin.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
$NetBSD: envstat.c,v 1.78 2010/08/01 15:39:52 mlelstv Exp $
$NetBSD: config.c,v 1.9 2010/02/15 22:37:14 pgoyette Exp $
$NetBSD: config_yacc.y,v 1.4 2008/07/17 16:24:55 drochner Exp $
$NetBSD: config_lex.l,v 1.7 2010/02/15 22:37:14 pgoyette Exp $
$NetBSD: crtend.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
$NetBSD: crtn.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
NetBSD 5.99.38 NetBSD 5.99.38 (GENERIC) #0: Tue Aug 10 19:00:23 UTC 2010
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201008110000Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
amd64 x86_64
It boots fine with the new envsys.con configuration.
$ cat /etc/envsys.conf | grep -v ^#
amdtemp0 {
refresh-timeout = 5s;
sensor0 {
critical-min = 85C;
critical-max = 92C;
}
sensor1 {
critical-min = 85C;
critical-max = 92C;
}
sensor2 {
critical-min = 85C;
critical-max = 92C;
}
sensor3 {
critical-min = 85C;
critical-max = 92C;
}
}
In this case sensor2 and sensor3 I think are cpu1 sensor0 and cpu1
sensor1.
Home |
Main Index |
Thread Index |
Old Index