From owner-freebsd-stable Thu Aug 16 21:21:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by hub.freebsd.org (Postfix) with ESMTP id A86B837B409 for ; Thu, 16 Aug 2001 21:21:23 -0700 (PDT) (envelope-from mike@sentex.net) Received: (from root@localhost) by cage.simianscience.com (8.11.5/8.11.5) id f7H4LMn03618; Fri, 17 Aug 2001 00:21:22 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.sentex.net (fcage [192.168.0.2]) by cage.simianscience.com (8.11.5/8.11.5av) with ESMTP id f7H4LGM03610; Fri, 17 Aug 2001 00:21:16 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20010817002022.04d98e90@192.168.0.12> X-Sender: mdtancsa@192.168.0.12 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 17 Aug 2001 00:21:15 -0400 To: Jones Begone , stable@freebsd.org From: Mike Tancsa Subject: Re: problem with gif devices using GENERIC In-Reply-To: <127159937320.20010816215503@robotslave.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 09:55 PM 8/16/2001 -0600, Jones Begone wrote: >On two separate machines with the source tree synched to 4-stable (at >about 10pm MDT Aug 14th) and a rebuild of the GENERIC kernel, the gif* >devices do not show up in an ifconfig -a. From updating (and the heads up sent to STABLE) 20010724: The gif(4) interface has been converted to use cloning rather then allocating a static number of devices a compile time. If you use gif interfaces and configure them by any method other then setting standard variables in /etc/rc.conf you will need to update your system to create devices with "ifconfig gifX create" before attempting to configure them. See the ifconfig(8) man page and /etc/rc.network for more information. ---Mike >ifconfig reports: > >------ >xl0: flags=8843 mtu 1500 > inet 199.239.105.138 netmask 0xffffff00 broadcast 199.239.105.255 > inet6 fe80::250:daff:fe93:ba67%xl0 prefixlen 64 scopeid 0x1 > ether 00:50:da:93:ba:67 > media: Ethernet autoselect (10baseT/UTP) > status: active >xl1: flags=8843 mtu 1500 > inet 10.237.2.26 netmask 0xffff0000 broadcast 10.237.255.255 > inet6 fe80::260:97ff:fe37:a5b8%xl1 prefixlen 64 scopeid 0x2 > ether 00:60:97:37:a5:b8 > media: Ethernet autoselect (10baseT/UTP) > status: active >sl0: flags=c010 mtu 552 >faith0: flags=8000 mtu 1500 >lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > inet 127.0.0.1 netmask 0xff000000 >ppp0: flags=8010 mtu 1500 >------ > >all of the other pseudo-device interfaces are present, except gif0-4. > no modifications were made to the GENERIC kernel, and a config -r was >run before the make depend && make && make install. > >Here is the uname -a and the dmesg from one of the machines: > >------ > >FreeBSD ipsec.igs.com 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Thu Aug 16 >21:36:57 MDT 2001 root@ipsec.igs.com:/usr/src/sys/compile/GENERIC i386 > >Copyright (c) 1992-2001 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD 4.4-PRERELEASE #0: Thu Aug 16 21:36:57 MDT 2001 > root@ipsec.igs.com:/usr/src/sys/compile/GENERIC >Timecounter "i8254" frequency 1193182 Hz >CPU: Pentium III/Pentium III Xeon/Celeron (848.05-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x683 Stepping = 3 > >Features=0x387f9ff >real memory = 268423168 (262132K bytes) >avail memory = 256749568 (250732K bytes) >Preloaded elf kernel "kernel" at 0xc0483000. >Pentium Pro MTRR support enabled >md0: Malloc disk >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pci1: at 0.0 irq 11 >isab0: at device 7.0 on pci0 >isa0: on isab0 >atapci0: port 0x10e0-0x10ef at device 7.1 >on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >uhci0: port 0x10c0-0x10df irq 9 >at device 7.2 on pci0 >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >chip1: port 0x7000-0x700f at >device 7.3 on pci0 >xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1000-0x107f mem >0xf0000000-0xf000007f irq 11 at device 13.0 on pci0 >xl0: Ethernet address: 00:50:da:93:ba:67 >miibus0: on xl0 >xlphy0: <3Com internal media interface> on miibus0 >xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >xl1: <3Com 3c905-TX Fast Etherlink XL> port 0x1080-0x10bf irq 10 at device >14.0 on pci0 >xl1: Ethernet address: 00:60:97:37:a5:b8 >miibus1: on xl1 >nsphy0: on miibus1 >nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >orm0: