Re: Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-27 Thread Peter Wemm
Maxime Henrion wrote: > Peter Wemm wrote: > > This turned out to be part of the problem. I committed your patch and > > another followup that got the rest of it. The outstanding problems were: > > 1) checkmethod caused use_kenv to be set only once and the next time it > > was called, use_kenv wo

Re: Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-27 Thread Maxime Henrion
Peter Wemm wrote: > This turned out to be part of the problem. I committed your patch and > another followup that got the rest of it. The outstanding problems were: > 1) checkmethod caused use_kenv to be set only once and the next time it > was called, use_kenv would stay at zero and static hint

Re: Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-27 Thread Peter Wemm
Peter Wemm wrote: > Maxime Henrion wrote: > > Hi, > > > > > > I think I may have found the bug. Could someone test the attached patch > > and report if it fixes the problem or not ? > > > > Thanks in advance, > > Maxime > > No joy: > > FreeBSD 5.0-CURRENT #8: Sat Apr 27 13:48:13 PDT 2002

Re: Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-27 Thread Peter Wemm
Maxime Henrion wrote: > Hi, > > > I think I may have found the bug. Could someone test the attached patch > and report if it fixes the problem or not ? > > Thanks in advance, > Maxime No joy: FreeBSD 5.0-CURRENT #8: Sat Apr 27 13:48:13 PDT 2002 [EMAIL PROTECTED]:/home/src/sys/alpha

Re: Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-27 Thread Shizuka Kudo
--- Bruce Evans <[EMAIL PROTECTED]> wrote: > On Fri, 26 Apr 2002, Shizuka Kudo wrote: > > > It seems the latest commit of > > sys/kern/kern_environment to current broke the > reading > > of system tunables set by loader.conf. This is > true at > > least for hw.cbb.start_mem of my cardbus bridge.

Re: Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-27 Thread Maxime Henrion
Hi, I think I may have found the bug. Could someone test the attached patch and report if it fixes the problem or not ? Thanks in advance, Maxime Index: subr_hints.c === RCS file: /space2/ncvs/src/sys/kern/subr_hints.c,v

Recent commit to sys/kern/kern_environment.c broke reading tunables

2002-04-26 Thread Shizuka Kudo
It seems the latest commit of sys/kern/kern_environment to current broke the reading of system tunables set by loader.conf. This is true at least for hw.cbb.start_mem of my cardbus bridge. With this latest commit, the hw.cbb.start_mem sysctl still shows the default value after boot up. Reverting