From owner-freebsd-current Sun Jul 22 3:11:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from midten.fast.no (midten.fast.no [213.188.8.11]) by hub.freebsd.org (Postfix) with ESMTP id 140ED37B407 for ; Sun, 22 Jul 2001 03:11:17 -0700 (PDT) (envelope-from Tor.Egge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [213.188.8.11]) by midten.fast.no (8.9.3/8.9.3) with ESMTP id MAA01533; Sun, 22 Jul 2001 12:11:13 +0200 (CEST) Message-Id: <200107221011.MAA01533@midten.fast.no> To: david@catwhisker.org Cc: current@FreeBSD.ORG Subject: Re: Interruptable hang starting init in today's -CURRENT From: Tor.Egge@fast.no In-Reply-To: Your message of "Thu, 5 Jul 2001 12:04:18 -0700 (PDT)" References: <200107051904.f65J4I217302@bunrab.catwhisker.org> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Jul_22_12:07:57_2001)--" Content-Transfer-Encoding: 7bit Date: Sun, 22 Jul 2001 12:11:12 +0200 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 ----Next_Part(Sun_Jul_22_12:07:57_2001)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Interestingly, "sysctl -a -N" spits out names, but then seems to fall > into a rut: > [....] > net.inet.udp.getcred > net.inet.accf.unloadable > net.inet.accf.373 > net.inet.accf.373 > net.inet.accf.373 [....] > Looks as if it's looping with no termination conditions being matched. When I got the same problem on my -current machine today, I found that net.inet.accf and net.inet.raw had the same oid. The system booted normally after changing the start oid for dynamically assigned sysctl entries from 100 to 256. - Tor Egge ----Next_Part(Sun_Jul_22_12:07:57_2001)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Index: sys/kern/kern_sysctl.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_sysctl.c,v retrieving revision 1.110 diff -u -r1.110 kern_sysctl.c --- sys/kern/kern_sysctl.c 2001/06/22 19:54:38 1.110 +++ sys/kern/kern_sysctl.c 2001/07/22 09:33:11 @@ -110,10 +110,10 @@ /* * If this oid has a number OID_AUTO, give it a number which * is greater than any current oid. Make sure it is at least - * 100 to leave space for pre-assigned oid numbers. + * 256 to leave space for pre-assigned oid numbers. */ if (oidp->oid_number == OID_AUTO) { - static int newoid = 100; + static int newoid = 256; oidp->oid_number = newoid++; if (newoid == 0x7fffffff) ----Next_Part(Sun_Jul_22_12:07:57_2001)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message