From owner-freebsd-bugs Thu Oct 30 03:30:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA03274 for bugs-outgoing; Thu, 30 Oct 1997 03:30:08 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA03260; Thu, 30 Oct 1997 03:30:02 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 30 Oct 1997 03:30:02 -0800 (PST) Resent-Message-Id: <199710301130.DAA03260@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, vasim@uddias.diaspro.com Received: from uddias.diaspro.com (vasim@uddias.diaspro.com [194.84.211.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA03177 for ; Thu, 30 Oct 1997 03:28:19 -0800 (PST) (envelope-from vasim@uddias.diaspro.com) Received: (from vasim@localhost) by uddias.diaspro.com (8.8.7/8.8.7) id QAA04794; Thu, 30 Oct 1997 16:27:53 +0500 (ES) Message-Id: <199710301127.QAA04794@uddias.diaspro.com> Date: Thu, 30 Oct 1997 16:27:53 +0500 (ES) From: Vasim Valejev Reply-To: vasim@uddias.diaspro.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4892: config gives bad numbers of pseudo-device to kernel Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4892 >Category: bin >Synopsis: config gives bad numbers of pseudo-device to kernel >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 30 03:30:01 PST 1997 >Last-Modified: >Originator: Vasim Valejev >Organization: DiasPro >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0-CURRENT config's sources from 28.10.1997 >Description: i have next lines in /sys/i386/conf/my_system_name : pseudo-device sl 16 pseudo-device ppp 16 after commands : config my_system_name cd ../../compile/my_system_name make depend make make install reboot i got system with ONE ppp-interface and ONE slip-interface :( :( :( . >How-To-Repeat: try compile kernel 3.0-CURRENT with number ppp or slip-interfaces > 1 . >Fix: config confuses when pseudo-device have multiple (> 1) entries in /sys/conf/files . I don't sure , but i use next fix : *** mkheaders.c.orig Thu Oct 30 16:18:35 1997 --- mkheaders.c Thu Oct 30 16:07:48 1997 *************** *** 94,98 **** for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next) if (dp->d_unit != -1 && eq(dp->d_name, dev)) { ! if (dp->d_type == PSEUDO_DEVICE) { count = dp->d_slave != UNKNOWN ? dp->d_slave : 1; --- 94,98 ---- for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next) if (dp->d_unit != -1 && eq(dp->d_name, dev)) { ! if (dp->d_type & PSEUDO_DEVICE) { count = dp->d_slave != UNKNOWN ? dp->d_slave : 1; >Audit-Trail: >Unformatted: