When the kernel environment goes to dynamic from static hints mode, the a bug in the resource_xxx lookup routines prevent them from using the dynamic environment. So they only report as of the static environment, while the kenv related routines report what's in the new environment. This can lead to very messy symptoms. The subr_hints.c file tries to detect when the kernel environment changes state. But there's a bug in that. Update below has been tested. --- /usr/src/sys/kern/subr_hints.c Sun Mar 13 12:05:26 2005 +++ /mnt/server1/usr/src/sys/kern/subr_hints.c Mon Jul 18 13:53:02 2005 _at__at_ -61,6 +61,7 _at__at_ char *p; if (checkmethod) { + hintp=NULL; switch (hintmode) { case 0: /* loader hints in environment only */ break; HarryReceived on Mon Jul 18 2005 - 17:29:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC