From owner-freebsd-current Sat Apr 27 10:20:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id E552237B41C; Sat, 27 Apr 2002 10:20:32 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id DAA05931; Sun, 28 Apr 2002 03:20:31 +1000 Date: Sun, 28 Apr 2002 03:21:43 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxime Henrion Cc: current@FreeBSD.ORG Subject: Re: Recent commit to sys/kern/kern_environment.c broke reading tunables In-Reply-To: <20020427110432.GA63621@elvis.mu.org> Message-ID: <20020428031711.H735-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 27 Apr 2002, Maxime Henrion wrote: > I think I may have found the bug. Could someone test the attached patch > and report if it fixes the problem or not ? I hope the problem with rev.1.22 is just spelling inconsistencies in dev/pccbb/pccbb.c and the user's configuration ("hw.cbb.start_mem" in the environment used to match the tunable "hw.cbb.start_memory", but rev.1.22 fixed this). PR 37443 is about the same bug as your patch. It has a slightly larger patch (involving moving the (*cp == '\0') clause into the new else clause). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message