Date: Mon, 25 Jul 2005 01:32:13 -0400 From: "Anish Mistry" <amistry@am-productions.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: harrycoin@qconline.com Subject: kern/84034: Never getting dynamic hints Message-ID: <1122269533.0@bigguy.am-productions.biz> Resent-Message-ID: <200507250540.j6P5eBAF070412@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84034 >Category: kern >Synopsis: Never getting dynamic hints >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 25 05:40:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Anish Mistry >Release: FreeBSD 7.0-CURRENT i386 >Organization: AM Productions >Environment: FreeBSD littleguy.am-productions.biz 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jul 23 17:27:32 EDT 2005 amistry@littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY i386 >Description: Quoting Harry Coin "Otherwise if resource_xxx lookups get called while still in static hints mode, and hintmode is 0, then after going to dynamic hints mode hintp_ is not reset, and so the res_xxx routines only still look at the static hints, they don't get any of the dynamic hints that are new or changed." >How-To-Repeat: >Fix: --- subr_hints.c.patch begins here --- --- /sys/kern/subr_hints.c.orig Sat Jul 23 16:47:59 2005 +++ /sys/kern/subr_hints.c Sat Jul 23 16:48:28 2005 @@ -61,6 +61,7 @@ char *p; if (checkmethod) { + hintp = NULL; switch (hintmode) { case 0: /* loader hints in environment only */ break; --- subr_hints.c.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1122269533.0>