From mark@doorway.homeip.net  Thu Jan 16 03:49:46 2003
Return-Path: <mark@doorway.homeip.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AAD0937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Jan 2003 03:49:46 -0800 (PST)
Received: from mail009.syd.optusnet.com.au (mail009.syd.optusnet.com.au [210.49.20.137])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 75C1343F1E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Jan 2003 03:49:45 -0800 (PST)
	(envelope-from mark@doorway.homeip.net)
Received: from doorway.homeip.net (c17007.sunsh3.vic.optusnet.com.au [211.28.121.120])
	by mail009.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id h0GBnhF28274
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Jan 2003 22:49:44 +1100
Received: from doorway.home.lan (localhost.home.lan [127.0.0.1])
	by doorway.homeip.net (8.12.6/8.12.6) with ESMTP id h0GBnhQY009626
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Jan 2003 22:49:44 +1100 (EST)
	(envelope-from mark@doorway.home.lan)
Received: (from mark@localhost)
	by doorway.home.lan (8.12.6/8.12.6/Submit) id h0GBnhr6009625;
	Thu, 16 Jan 2003 22:49:43 +1100 (EST)
Message-Id: <200301161149.h0GBnhr6009625@doorway.home.lan>
Date: Thu, 16 Jan 2003 22:49:43 +1100 (EST)
From: Mark Hannon <markhannon@optusnet.com.au>
Reply-To: Mark Hannon <markhannon@optusnet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: 5.0 with rc_ng and nis hangs at startup
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47140
>Category:       bin
>Synopsis:       5.0 with rc_ng and nis hangs at startup
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    mtm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 16 03:50:05 PST 2003
>Closed-Date:    Sat Apr 19 14:43:48 PDT 2003
>Last-Modified:  Sat Apr 19 14:43:48 PDT 2003
>Originator:     Mark Hannon
>Release:        FreeBSD 5.0-CURRENT
>Organization:
>Environment:
System: FreeBSD tbird.home.lan 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Thu Jan 16 18:13:51 EST 2003     mark@tbird.home.lan:/usr/obj/usr/src/sys/GENERIC  i386

	
>Description:
	
Clean install of 5.0-RC2, source upgrade to 5.0-CURRENT cvsuped a few hours ago.
Machine is a nis client, relevant sections of rc.conf are:

  nis_client_enable="YES"
  nisdomainname="home.lan"
  rpcbind_enable="YES"

At startup the machine hangs after the network interfaces have been 
configured and the results displayed.  Pressing Control-C allows the 
boot to continue.

>How-To-Repeat:
	
>Fix:

	
Setting rc_ng="NO" gets things working.


>Release-Note:
>Audit-Trail:

From: Mike Makonnen <mtm@identd.net>
To: Mark Hannon <markhannon@optusnet.com.au>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Thu, 16 Jan 2003 11:37:58 -0500

 --=.'TAtT3in_ocS9v
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Please put rc_debug=yes
 in your rc.conf, reboot and send me the resulting output from the system log or 
 copy and paste from console.
 
 Cheers.
 -- 
 Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
 mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
 
 --=.'TAtT3in_ocS9v
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+Jt/52uHir9vMaLkRAgfNAJ0fdcjd+b6kAxXFNmxdNVYespg+kQCgk6Jb
 lgO4LSyb6s0mNvg3+hMDKrs=
 =56k7
 -----END PGP SIGNATURE-----
 
 --=.'TAtT3in_ocS9v--

From: Mark Hannon <markhannon@optusnet.com.au>
To: Mike Makonnen <mtm@identd.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Sat, 18 Jan 2003 22:28:52 +1100

 This is a multi-part message in MIME format.
 --------------090408080900010409030501
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Mike Makonnen wrote:
 
 >Please put rc_debug=yes
 >in your rc.conf, reboot and send me the resulting output from the system log or 
 >copy and paste from console.
 >
 >Cheers.
 >  
 >
 Hi Mike,
 
 Here are two files, one with the old rc system and one with the new.  In 
 the new
 case the system hangs after printing the line:
 
     /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
 
 Control-C allows the boot to proceed.
 
 Regards/Mark
 
 
 
 --------------090408080900010409030501
 Content-Type: text/plain;
  name="old_rc"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="old_rc"
 
 Copyright (c) 1992-2003 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 5.0-CURRENT #2: Thu Jan 16 18:13:51 EST 2003
     mark@tbird.home.lan:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc06e7000.
 Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06e70a8.
 Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06e7158.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06e7204.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 1210786505 Hz
 CPU: AMD Athlon(tm) Processor (1210.79-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
   AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
 real memory  = 268353536 (255 MB)
 avail memory = 253276160 (241 MB)
 Initializing GEOMetry subsystem
 Pentium Pro MTRR support enabled
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <ASUS   A7V-E   > on motherboard
     ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
 Using $PIR table, 9 entries at 0xc00f1690
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter "ACPI-fast"  frequency 3579545 Hz
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
 acpi_cpu0: <CPU> on acpi0
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xfc000000-0xfdffffff at device 0.0 on pci0
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 isab0: <PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device 7.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 7.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub0: port error, restarting port 1
 uhub0: port error, giving up port 1
 uhub0: port error, restarting port 2
 uhub0: port error, giving up port 2
 uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device 7.3 on pci0
 usb1: <VIA 83C572 USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub1: port error, restarting port 1
 uhub1: port error, giving up port 1
 uhub1: port error, restarting port 2
 uhub1: port error, giving up port 2
 rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem 0xed800000-0xed8000ff irq 9 at device 11.0 on pci0
 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
 rl0: Ethernet address: 00:20:18:8d:b0:25
 miibus0: <MII bus> on rl0
 rlphy0: <RealTek internal media interface> on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pcm0: <Creative EMU10K1> port 0xa000-0xa01f irq 10 at device 15.0 on pci0
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/8 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 sio0 port 0x3f8-0x3ff irq 4 on acpi0
 sio0: type 16550A
 sio1 port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounters tick every 10.000 msec
 acpi_cpu: CPU throttling available, 16 steps from 100% to 6.2%
 ad0: 38172MB <QUANTUM FIREBALLlct20 40> [77557/16/63] at ata0-master UDMA100
 acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-116 0109> at ata1-master PIO4
 acd1: CD-RW <RICOH CD-R/RW MP7083A> at ata1-slave PIO4
 MBREXT Slice 5 on ad0s2:
 [0] f:00 typ:11 s(CHS):218/1/129 e(CHS):255/254/255 s:63 l:54990432
 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
 Mounting root from ufs:/dev/ad0s3a
 Entropy harvesting:
  interrupts
  ethernet
  point_to_point
 .
 lock order reversal
  1st 0xc267fb18 process lock (process lock) @ /usr/src/sys/kern/kern_descrip.c:2100
  2nd 0xc2703434 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:2107
 swapon: adding /dev/ad0s3b as swap device
 Automatic boot in progress...
 /dev/ad0s3a: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3a: clean, 95213 free (205 frags, 11876 blocks, 0.2% fragmentation)
 /dev/ad0s3e: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3e: clean, 128899 free (75 frags, 16103 blocks, 0.1% fragmentation)
 /dev/ad0s3f: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3f: clean, 1126417 free (28617 frags, 137225 blocks, 1.3% fragmentation)
 /dev/ad0s3d: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3d: clean, 123592 free (1200 frags, 15299 blocks, 0.9% fragmentation)
 Doing initial network setup:
  host.conf
  hostname
  domain
 .
 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 	inet6 fe80::220:18ff:fe8d:b025%rl0 prefixlen 64 scopeid 0x1 
 	inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
 	ether 00:20:18:8d:b0:25
 	media: Ethernet autoselect (100baseTX <full-duplex>)
 	status: active
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 	inet6 ::1 prefixlen 128 
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
 	inet 127.0.0.1 netmask 0xff000000 
 Additional routing options:
 .
 Routing daemons:
 .
 Mounting NFS filesystem:
 .
 Additional daemons:
  syslogd
 Jan 18 20:56:40 tbird syslogd: kernel boot file is /boot/kernel/kernel
 .
 Doing additional network setup:
  rpcbind
  ypbind
 .
 Starting final network daemons:
  NFS access cache time=2
  rpc.statd
  rpc.lockd
 .
 ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
 Starting standard daemons:
  cron
  sshd
  usbd
  sendmail
  sendmail-clientmqueue
 .
 Initial rc.i386 initialization:
 .
 Configuring syscons:
  blanktime
 .
 Additional ABI support:
  linux
 .
 Local package initialization:
  xfs
  gdm
 .
 Additional TCP options:
 .
 Starting background file system checks in 60 seconds.
 
 Sat Jan 18 20:56:45 EST 2003
 acquiring duplicate lock of same type: "system map"
  1st system map @ /usr/src/sys/vm/vm_map.c:2168
  2nd system map @ /usr/src/sys/vm/vm_kern.c:325
 cd9660: RockRidge Extension
 Jan 18 21:10:06 tbird kernel: cd9660: RockRidge Extension
 Jan 18 21:43:18 tbird su: mark to root on /dev/ttyp0
 Jan 18 21:50:30 tbird su: BAD SU mark to root on /dev/ttyp0
 
 --------------090408080900010409030501
 Content-Type: text/plain;
  name="new_rc"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="new_rc"
 
 Copyright (c) 1992-2003 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 5.0-CURRENT #2: Thu Jan 16 18:13:51 EST 2003
     mark@tbird.home.lan:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc06e7000.
 Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06e70a8.
 Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06e7158.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06e7204.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 1210786757 Hz
 CPU: AMD Athlon(tm) Processor (1210.79-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
   AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
 real memory  = 268353536 (255 MB)
 avail memory = 253276160 (241 MB)
 Initializing GEOMetry subsystem
 Pentium Pro MTRR support enabled
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <ASUS   A7V-E   > on motherboard
     ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
 Using $PIR table, 9 entries at 0xc00f1690
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter "ACPI-fast"  frequency 3579545 Hz
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
 acpi_cpu0: <CPU> on acpi0
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xfc000000-0xfdffffff at device 0.0 on pci0
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 isab0: <PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device 7.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 7.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub0: port error, restarting port 1
 uhub0: port error, giving up port 1
 uhub0: port error, restarting port 2
 uhub0: port error, giving up port 2
 uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device 7.3 on pci0
 usb1: <VIA 83C572 USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub1: port error, restarting port 1
 uhub1: port error, giving up port 1
 uhub1: port error, restarting port 2
 uhub1: port error, giving up port 2
 rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem 0xed800000-0xed8000ff irq 9 at device 11.0 on pci0
 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
 rl0: Ethernet address: 00:20:18:8d:b0:25
 miibus0: <MII bus> on rl0
 rlphy0: <RealTek internal media interface> on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pcm0: <Creative EMU10K1> port 0xa000-0xa01f irq 10 at device 15.0 on pci0
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/8 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 sio0 port 0x3f8-0x3ff irq 4 on acpi0
 sio0: type 16550A
 sio1 port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounters tick every 10.000 msec
 acpi_cpu: CPU throttling available, 16 steps from 100% to 6.2%
 ad0: 38172MB <QUANTUM FIREBALLlct20 40> [77557/16/63] at ata0-master UDMA100
 acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-116 0109> at ata1-master PIO4
 acd1: CD-RW <RICOH CD-R/RW MP7083A> at ata1-slave PIO4
 MBREXT Slice 5 on ad0s2:
 [0] f:00 typ:11 s(CHS):218/1/129 e(CHS):255/254/255 s:63 l:54990432
 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
 Mounting root from ufs:/dev/ad0s3a
 Loading configuration files.
 /etc/rc: DEBUG: checkyesno: devd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: devd_enable is set to NO.
 hw.bus.devctl_disable: 
 0
  -> 
 1
 
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Entropy harvesting:
 /etc/rc: DEBUG: checkyesno: harvest_interrupt is set to YES.
  interrupts
 /etc/rc: DEBUG: checkyesno: harvest_ethernet is set to YES.
  ethernet
 /etc/rc: DEBUG: checkyesno: harvest_p_to_p is set to YES.
  point_to_point
 .
 lock order reversal
  1st 0xc2707068 process lock (process lock) @ /usr/src/sys/kern/kern_descrip.c:2100
  2nd 0xc2703034 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:2107
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: start_vinum is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 swapon: adding /dev/ad0s3b as swap device
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Starting file system checks:
 /etc/rc: DEBUG: checkyesno: background_fsck is set to YES.
 /dev/ad0s3a: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3a: clean, 95213 free (205 frags, 11876 blocks, 0.2% fragmentation)
 /dev/ad0s3e: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3e: clean, 128898 free (74 frags, 16103 blocks, 0.1% fragmentation)
 /dev/ad0s3f: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3f: clean, 1126417 free (28633 frags, 137223 blocks, 1.3% fragmentation)
 /dev/ad0s3d: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s3d: clean, 123636 free (1212 frags, 15303 blocks, 0.9% fragmentation)
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: atm_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: ipsec_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: ipfilter_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: pccard_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Doing initial network setup:
  host.conf
  hostname
  domain
 .
 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 	inet6 fe80::220:18ff:fe8d:b025%rl0 prefixlen 64 scopeid 0x1 
 	inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
 	ether 00:20:18:8d:b0:25
 	media: Ethernet autoselect (100baseTX <full-duplex>)
 	status: active
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 	inet6 ::1 prefixlen 128 
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
 	inet 127.0.0.1 netmask 0xff000000 
 /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: firewall_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Additional routing options:
 .
 /etc/rc: DEBUG: checkyesno: ipv6_firewall_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: ipv6_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Mounting NFS file systems:
 .
 /etc/rc: DEBUG: checkyesno: lomac_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: syslogd_enable is set to YES.
 /etc/rc: DEBUG: checkyesno: named_enable is set to NO.
 Starting syslogd.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/syslogd -s 
 Jan 18 22:22:32 tbird syslogd: kernel boot file is /boot/kernel/kernel
 /etc/rc: DEBUG: checkyesno: ipmon_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: isdn_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: No dump device. Quitting.
 /etc/rc: DEBUG: checkyesno: named_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: ntpdate_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: rpcbind_enable is set to YES.
 Starting rpcbind.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/rpcbind  
 /etc/rc: DEBUG: checkyesno: nis_ypxfrd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nis_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: rpc_ypupdated_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nis_client_enable is set to YES.
 /etc/rc: DEBUG: checkyesno: rpcbind_enable is set to YES.
 Starting ypbind.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/ypbind  
 /etc/rc: DEBUG: checkyesno: nis_ypset_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nis_yppasswdd_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: accounting_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to YES.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 NFS access cache time=2
 /etc/rc: DEBUG: checkyesno: amd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: clear_tmp_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: dmesg_enable is set to YES.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: ipnat_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: ipxrouted_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: kerberos_stash is set to NO.
 /etc/rc: DEBUG: checkyesno: kerberos4_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: kerberos5_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: kerberos_stash is set to NO.
 /etc/rc: DEBUG: checkyesno: kadmind4_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: kadmind5_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: keyserv_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: ldconfig_insecure is set to NO.
 ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
 /etc/rc: DEBUG: checkyesno: enable_quotas is set to NO.
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: mountd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: rpc_statd_enable is set to YES.
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to YES.
 Starting statd.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/rpc.statd  
 /etc/rc: DEBUG: checkyesno: rpc_lockd_enable is set to YES.
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to YES.
 Starting lockd.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/rpc.lockd  
 /etc/rc: DEBUG: checkyesno: pppoed_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: checkyesno: usbd_enable is set to YES.
 Starting usbd.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/usbd  
 /etc/rc: DEBUG: checkyesno: timed_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: apm_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: apmd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: bootparamd_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Starting local daemons:
 .
 /etc/rc: DEBUG: checkyesno: lpd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: update_motd is set to YES.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Updating motd.
 /etc/rc: DEBUG: checkyesno: mroute6d_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: mrouted_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: ntpd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: rarpd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: ipv6_router_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: router_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: rtadvd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: rwhod_enable is set to NO.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Configuring syscons:
  blanktime
 .
 /etc/rc: DEBUG: checkyesno: sshd_enable is set to YES.
 Starting sshd.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/sshd  
 /etc/rc: DEBUG: checkyesno: sendmail_enable is set to YES.
 Starting sendmail.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/sendmail -L sm-mta -bd -q30m 
 /etc/rc: DEBUG: checkyesno: sendmail_enable is set to YES.
 /etc/rc: DEBUG: checkyesno: sendmail_outbound_enable is set to YES.
 /etc/rc: DEBUG: checkyesno: sendmail_msp_queue_enable is set to YES.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Initial i386 initialization:
 /etc/rc: DEBUG: checkyesno: ibcs2_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: xtend_enable is set to NO.
 .
 Additional ABI support:
 /etc/rc: DEBUG: checkyesno: sysvipc_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: linux_enable is set to YES.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
  linux
 /etc/rc: DEBUG: checkyesno: svr4_enable is set to NO.
 .
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Local package initialization:
  xfs
  gdm
 .
 Additional TCP options:
 .
 /etc/rc: DEBUG: checkyesno: moused_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: inetd_enable is set to NO.
 /etc/rc: DEBUG: checkyesno: cron_enable is set to YES.
 Starting cron.
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/cron  
 /etc/rc: DEBUG: checkyesno: background_fsck is set to YES.
 /etc/rc: DEBUG: run_rc_command: using XXX_cmd functions.
 Starting background file system checks in 60 seconds.
 
 Sat Jan 18 22:22:38 EST 2003
 
 --------------090408080900010409030501--
 

From: Mark Hannon <markhannon@optusnet.com.au>
To: Mike Makonnen <mtm@identd.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Mon, 20 Jan 2003 09:43:16 +1100

 This is a multi-part message in MIME format.
 --------------020203020609030204030803
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 Hello,
 
 Some more clues.  Deleting /etc/nsswitch.conf and rebooting works fine. 
  A dummy
 /etc/nsswitch.conf is created and the bootup continues.
 
 My /etc/nsswitch.conf is attached.
 
 /mark
 
 
 
 --------------020203020609030204030803
 Content-Type: text/plain;
  name="nsswitch.conf"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="nsswitch.conf"
 
 group:		nis files
 passwd:  	nis files
 
 --------------020203020609030204030803--
 
Responsible-Changed-From-To: freebsd-bugs->mtm 
Responsible-Changed-By: mtm 
Responsible-Changed-When: Sun Jan 19 16:21:37 PST 2003 
Responsible-Changed-Why:  
I'm working on this. 
Thanks for providing the extra info. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47140 

From: Mike Makonnen <mtm@identd.net>
To: Mark Hannon <markhannon@optusnet.com.au>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Sun, 19 Jan 2003 23:54:33 -0500

 Hi Mark,
 
 Can you try the following patch?
 If it doesn't fix your problem can you grab the latest /etc/rc.subr (ver. 1.9)
 and repost the rc startup log with rc_debug set. It would also be helpful if you
 posted your *entire* rc.conf.
 
 Cheers.
 -- 
 Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
 mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
 
 Index: etc/rc.d/network1
 ===================================================================
 RCS file: /home/ncvs/src/etc/rc.d/network1,v
 retrieving revision 1.144
 diff -u -r1.144 network1
 --- etc/rc.d/network1	13 Dec 2002 23:36:31 -0000	1.144
 +++ etc/rc.d/network1	20 Jan 2003 04:44:33 -0000
 @@ -13,52 +13,50 @@
  start_cmd="network_start"
  stop_cmd="network_stop"
  
 -convert_host_conf()
 -{
 -	host_conf=$1; shift;
 -	nsswitch_conf=$1; shift;
 -	awk '                                                               \
 -	/^[:blank:]*#/       { next }                                       \
 -	/(hosts|local|file)/ { nsswitch[c] = "files"; c++; next }           \
 -	/(dns|bind)/         { nsswitch[c] = "dns";   c++; next }           \
 -	/nis/                { nsswitch[c] = "nis";   c++; next }           \
 -	{ printf "Warning: unrecognized line [%s]", $0 > "/dev/stderr" }    \
 -	END {                                                               \
 -		printf "hosts: ";                                           \
 -		for (i in nsswitch) printf "%s ", nsswitch[i];              \
 -		printf "\n";                                                \
 -	}' < $host_conf > $nsswitch_conf
 +convert_host_conf() {
 +    host_conf=$1; shift;
 +    nsswitch_conf=$1; shift;
 +    awk '                                                                   \
 +        /^[:blank:]*#/       { next }                                       \
 +        /(hosts|local|file)/ { nsswitch[c] = "files"; c++; next }           \
 +        /(dns|bind)/         { nsswitch[c] = "dns";   c++; next }           \
 +        /nis/                { nsswitch[c] = "nis";   c++; next }           \
 +        { printf "Warning: unrecognized line [%s]", $0 > "/dev/stderr" }    \
 +        END {                                                               \
 +                printf "hosts: ";                                           \
 +                for (i in nsswitch) printf "%s ", nsswitch[i];              \
 +                printf "\n";                                                \
 +        }' < $host_conf > $nsswitch_conf
  }
  
 -generate_host_conf()
 -{
 -	nsswitch_conf=$1; shift;
 -	host_conf=$1; shift;
 -
 -	awk '
 -	BEGIN {
 -		xlat["files"] = "hosts";
 -		xlat["dns"] = "bind";
 -		xlat["nis"] = "nis";
 -		cont = 0;
 -	}
 -	sub(/^[\t ]*hosts:/, "") || cont {
 -		if (!cont)
 -			srcs = ""
 -		sub(/#.*/, "")
 -		gsub(/[][]/, " & ")
 -		cont = sub(/\\$/, "")
 -		srcs = srcs " " $0
 -	}
 -	END {
 -		print "# Auto-generated from nsswitch.conf, do not edit"
 -		ns = split(srcs, s)
 -		for (n = 1; n <= ns; ++n) {
 -			if (s[n] in xlat)
 -			    print xlat[s[n]]
 -		}
 -	}
 -	' <$nsswitch_conf >$host_conf
 +generate_host_conf() {
 +    nsswitch_conf=$1; shift;
 +    host_conf=$1; shift;
 +    
 +    awk '
 +BEGIN {
 +    xlat["files"] = "hosts";
 +    xlat["dns"] = "bind";
 +    xlat["nis"] = "nis";
 +    cont = 0;
 +}
 +sub(/^[\t ]*hosts:/, "") || cont {
 +    if (!cont)
 +	srcs = ""
 +    sub(/#.*/, "")
 +    gsub(/[][]/, " & ")
 +    cont = sub(/\\$/, "")
 +    srcs = srcs " " $0
 +}
 +END {
 +    print "# Auto-generated from nsswitch.conf, do not edit"
 +    ns = split(srcs, s)
 +    for (n = 1; n <= ns; ++n) {
 +        if (s[n] in xlat)
 +            print xlat[s[n]]
 +    }
 +}
 +' <$nsswitch_conf >$host_conf
  }
  
  network_gif_setup() {

From: "Mark Hannon" <markhannon@optusnet.com.au>
To: "'Mike Makonnen'" <mtm@identd.net>
Cc: <bug-followup@FreeBSD.org>
Subject: RE: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Mon, 20 Jan 2003 23:27:05 +1100

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0002_01C2C0DB.722085A0
 Content-Type: text/plain;
 	charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 Hi Mike,
 
 Tried the attached patch, no luck, grabbed the latest rc.subr and
 generated the
 debug output you asked for.
 
 Regards/mark
 
 
 ------=_NextPart_000_0002_01C2C0DB.722085A0
 Content-Type: application/octet-stream;
 	name="dmesg_030120"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="dmesg_030120"
 
 Copyright (c) 1992-2003 The FreeBSD Project.=0A=
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A=
 	The Regents of the University of California. All rights reserved.=0A=
 FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003=0A=
     root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC=0A=
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0699000.=0A=
 Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06990a8.=0A=
 Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0699158.=0A=
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0699204.=0A=
 Timecounter "i8254"  frequency 1193182 Hz=0A=
 Timecounter "TSC"  frequency 1210787408 Hz=0A=
 CPU: AMD Athlon(tm) Processor (1210.79-MHz 686-class CPU)=0A=
   Origin =3D "AuthenticAMD"  Id =3D 0x642  Stepping =3D 2=0A=
   =
 Features=3D0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
 CMOV,PAT,PSE36,MMX,FXSR>=0A=
   AMD Features=3D0xffffffffc0440000<RSVD,AMIE,DSP,3DNow!>=0A=
 real memory  =3D 268353536 (255 MB)=0A=
 avail memory =3D 253595648 (241 MB)=0A=
 Initializing GEOMetry subsystem=0A=
 Pentium Pro MTRR support enabled=0A=
 npx0: <math processor> on motherboard=0A=
 npx0: INT 16 interface=0A=
 acpi0: <ASUS   A7V-E   > on motherboard=0A=
     ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15=0A=
 Using $PIR table, 9 entries at 0xc00f1690=0A=
 acpi0: power button is handled as a fixed feature programming model.=0A=
 Timecounter "ACPI-fast"  frequency 3579545 Hz=0A=
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0=0A=
 acpi_cpu0: <CPU> on acpi0=0A=
 acpi_button0: <Power Button> on acpi0=0A=
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0=0A=
 pci0: <ACPI PCI bus> on pcib0=0A=
 agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem =
 0xfc000000-0xfdffffff at device 0.0 on pci0=0A=
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0=0A=
 pci1: <ACPI PCI bus> on pcib1=0A=
 pci1: <display, VGA> at device 0.0 (no driver attached)=0A=
 isab0: <PCI-ISA bridge> at device 7.0 on pci0=0A=
 isa0: <ISA bus> on isab0=0A=
 atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device 7.1 =
 on pci0=0A=
 ata0: at 0x1f0 irq 14 on atapci0=0A=
 ata1: at 0x170 irq 15 on atapci0=0A=
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device =
 7.2 on pci0=0A=
 usb0: <VIA 83C572 USB controller> on uhci0=0A=
 usb0: USB revision 1.0=0A=
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A=
 uhub0: 2 ports with 2 removable, self powered=0A=
 uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device =
 7.3 on pci0=0A=
 usb1: <VIA 83C572 USB controller> on uhci1=0A=
 usb1: USB revision 1.0=0A=
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A=
 uhub1: 2 ports with 2 removable, self powered=0A=
 rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem =
 0xed800000-0xed8000ff irq 9 at device 11.0 on pci0=0A=
 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect =
 mode=0A=
 rl0: Ethernet address: 00:20:18:8d:b0:25=0A=
 miibus0: <MII bus> on rl0=0A=
 rlphy0: <RealTek internal media interface> on miibus0=0A=
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A=
 pcm0: <Creative EMU10K1> port 0xa000-0xa01f irq 10 at device 15.0 on pci0=0A=
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port =
 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0=0A=
 fdc0: FIFO enabled, 8 bytes threshold=0A=
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0=0A=
 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0=0A=
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode=0A=
 ppc0: FIFO with 16/16/8 bytes threshold=0A=
 plip0: <PLIP network interface> on ppbus0=0A=
 lpt0: <Printer> on ppbus0=0A=
 lpt0: Interrupt-driven port=0A=
 ppi0: <Parallel I/O> on ppbus0=0A=
 sio0 port 0x3f8-0x3ff irq 4 on acpi0=0A=
 sio0: type 16550A=0A=
 sio1 port 0x2f8-0x2ff irq 3 on acpi0=0A=
 sio1: type 16550A=0A=
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0=0A=
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0=0A=
 kbd0 at atkbd0=0A=
 psm0: <PS/2 Mouse> irq 12 on atkbdc0=0A=
 psm0: model IntelliMouse, device ID 3=0A=
 pmtimer0 on isa0=0A=
 sc0: <System console> at flags 0x100 on isa0=0A=
 sc0: VGA <16 virtual consoles, flags=3D0x300>=0A=
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=0A=
 Timecounters tick every 10.000 msec=0A=
 acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%=0A=
 ad0: 38172MB <QUANTUM FIREBALLlct20 40> [77557/16/63] at ata0-master =
 UDMA100=0A=
 acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-116 0109> at ata1-master =
 PIO4=0A=
 acd1: CD-RW <RICOH CD-R/RW MP7083A> at ata1-slave PIO4=0A=
 MBREXT Slice 5 on ad0s2:=0A=
 0000   00 01 81 da 0b fe ff ff 3f 00 00 00 60 16 47 03  =
 |........?...`.G.|=0A=
 [0] f:00 typ:11 s(CHS):218/1/129 e(CHS):255/254/255 s:63 l:54990432=0A=
 0000   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  =
 |................|=0A=
 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0=0A=
 Mounting root from ufs:/dev/ad0s3a=0A=
 /etc/rc: DEBUG: Sourcing /etc/defaults/rc.conf=0A=
 /etc/rc: DEBUG: checkyesno: devd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: devd_enable is set to NO.=0A=
 hw.bus.devctl_disable: =0A=
 0=0A=
  -> =0A=
 1=0A=
 =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating initrandom_start().=0A=
 Entropy harvesting:=0A=
 /etc/rc: DEBUG: checkyesno: harvest_interrupt is set to YES.=0A=
  interrupts=0A=
 /etc/rc: DEBUG: checkyesno: harvest_ethernet is set to YES.=0A=
  ethernet=0A=
 /etc/rc: DEBUG: checkyesno: harvest_p_to_p is set to YES.=0A=
  point_to_point=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating dumpon_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: start_vinum is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ccd_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating swapon -a().=0A=
 swapon: adding /dev/ad0s3b as swap device=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating fsck_start().=0A=
 Starting file system checks:=0A=
 /etc/rc: DEBUG: checkyesno: background_fsck is set to YES.=0A=
 /dev/ad0s3a: FILESYSTEM CLEAN; SKIPPING CHECKS=0A=
 /dev/ad0s3a: clean, 103286 free (814 frags, 12809 blocks, 0.6% =
 fragmentation)=0A=
 /dev/ad0s3e: FILESYSTEM CLEAN; SKIPPING CHECKS=0A=
 /dev/ad0s3e: clean, 128914 free (26 frags, 16111 blocks, 0.0% =
 fragmentation)=0A=
 /dev/ad0s3f: FILESYSTEM CLEAN; SKIPPING CHECKS=0A=
 /dev/ad0s3f: clean, 1458971 free (18795 frags, 180022 blocks, 0.9% =
 fragmentation)=0A=
 /dev/ad0s3d: FILESYSTEM CLEAN; SKIPPING CHECKS=0A=
 /dev/ad0s3d: clean, 122404 free (1116 frags, 15161 blocks, 0.9% =
 fragmentation)=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating root_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating mountcritlocal_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating random_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating adjkerntz -i().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: atm_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating sppp_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ttyflags_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating addswap_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: ipsec_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: ipfilter_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating FreeBSD_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating pccard_start().=0A=
 /etc/rc: DEBUG: checkyesno: pccard_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: WARNING: Ignoring scratch file /etc/rc.d/network1.orig=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating network_start().=0A=
 Doing initial network setup:=0A=
  host.conf=0A=
  hostname=0A=
  domain=0A=
 .=0A=
 rl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500=0A=
 	inet6 fe80::220:18ff:fe8d:b025%rl0 prefixlen 64 scopeid 0x1 =0A=
 	inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255=0A=
 	ether 00:20:18:8d:b0:25=0A=
 	media: Ethernet autoselect (100baseTX <full-duplex>)=0A=
 	status: active=0A=
 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384=0A=
 	inet6 ::1 prefixlen 128 =0A=
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 =0A=
 	inet 127.0.0.1 netmask 0xff000000 =0A=
 /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: firewall_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating network2_start().=0A=
 Additional routing options:=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: ipv6_firewall_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: ipv6_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating mountcritremote_precmd().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating mountcritremote_start().=0A=
 Mounting NFS file systems:=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: lomac_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: syslogd_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating syslogd_precmd().=0A=
 /etc/rc: DEBUG: checkyesno: named_enable is set to NO.=0A=
 Starting syslogd.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/syslogd -s =0A=
 Jan 20 23:13:48 tbird syslogd: kernel boot file is /boot/kernel/kernel=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: ipmon_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: isdn_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating savecore_prestart().=0A=
 /etc/rc: DEBUG: No dump device. Quitting.=0A=
 /etc/rc: DEBUG: checkyesno: named_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: ntpdate_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 Starting ntpdate.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/ntpdate -b =
 doorway.home.lan >/dev/null 2>&1=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: rpcbind_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 Starting rpcbind.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/rpcbind  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: nis_ypxfrd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nis_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: rpc_ypupdated_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nis_client_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ypbind_precmd().=0A=
 /etc/rc: DEBUG: checkyesno: rpcbind_enable is set to YES.=0A=
 Starting ypbind.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/ypbind  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: nis_ypset_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nis_yppasswdd_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating virecover_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: accounting_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating nfsclient_precmd().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating nfsclient_start().=0A=
 NFS access cache time=3D2=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: amd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: clear_tmp_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: dmesg_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating do_dmesg().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: ipnat_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: ipxrouted_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: kerberos_stash is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: kerberos4_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: kerberos5_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: kerberos_stash is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: kadmind4_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: kadmind5_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: keyserv_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ldconfig_start().=0A=
 /etc/rc: DEBUG: checkyesno: ldconfig_insecure is set to NO.=0A=
 ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib=0A=
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout =
 /usr/X11R6/lib/aout=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: enable_quotas is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: mountd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: rpc_statd_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating checkyesno nfs_server_enable =
 || checkyesno nfs_client_enable=0A=
 		[ -n  ]().=0A=
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to YES.=0A=
 Starting statd.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/rpc.statd  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: rpc_lockd_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating checkyesno nfs_server_enable =
 || checkyesno nfs_client_enable=0A=
 		[ -n  ]().=0A=
 /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to YES.=0A=
 Starting lockd.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/rpc.lockd  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: pppoed_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating pwcheck_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating securelevel_start().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: usbd_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 Starting usbd.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/usbd  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: timed_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: apm_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: apmd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: bootparamd_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating local_start().=0A=
 Starting local daemons:=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: lpd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: update_motd is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating motd_start().=0A=
 Updating motd.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: mroute6d_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: mrouted_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: ntpd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: rarpd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: ipv6_router_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: router_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: rtadvd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: rwhod_enable is set to NO.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating syscons_precmd().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating syscons_start().=0A=
 Configuring syscons:=0A=
  blanktime=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: sshd_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating sshd_precmd().=0A=
 Starting sshd.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/sshd  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: sendmail_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 Starting sendmail.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/sendmail -L sm-mta -bd =
 -q30m =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: sendmail_enable is set to YES.=0A=
 /etc/rc: DEBUG: checkyesno: sendmail_outbound_enable is set to YES.=0A=
 /etc/rc: DEBUG: checkyesno: sendmail_msp_queue_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating /usr/sbin/sendmail -L =
 sm-msp-queue -Ac -q30m().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating pcvt_precmd().=0A=
 Initial i386 initialization:=0A=
 /etc/rc: DEBUG: checkyesno: ibcs2_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: xtend_enable is set to NO.=0A=
 .=0A=
 Additional ABI support:=0A=
 /etc/rc: DEBUG: checkyesno: sysvipc_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: linux_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating linux_start().=0A=
  linux=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: svr4_enable is set to NO.=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating locald_start().=0A=
 Local package initialization:=0A=
  gdm=0A=
 .=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 Additional TCP options:=0A=
 .=0A=
 /etc/rc: DEBUG: checkyesno: moused_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: inetd_enable is set to NO.=0A=
 /etc/rc: DEBUG: checkyesno: cron_enable is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 Starting cron.=0A=
 /etc/rc: DEBUG: run_rc_command: _doit: /usr/sbin/cron  =0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 /etc/rc: DEBUG: checkyesno: background_fsck is set to YES.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating echo 'Starting background =
 file system checks.'().=0A=
 Starting background file system checks.=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating nice -4 fsck -B -p 2>&1 | =
 logger -p daemon.notice &().=0A=
 /etc/rc: DEBUG: run_rc_command: evaluating ().=0A=
 =0A=
 Mon Jan 20 23:13:55 EST 2003=0A=
 
 ------=_NextPart_000_0002_01C2C0DB.722085A0
 Content-Type: application/octet-stream;
 	name="nsswitch.conf"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="nsswitch.conf"
 
 hosts: =0A=
 passwd: nis files=0A=
 group:  nis files=0A=
 
 ------=_NextPart_000_0002_01C2C0DB.722085A0
 Content-Type: application/octet-stream;
 	name="rc.conf"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="rc.conf"
 
 rc_debug=3D"YES"=0A=
 # -- sysinstall generated deltas -- # Mon Jan 20 09:08:19 2003=0A=
 # Created: Mon Jan 20 09:08:19 2003=0A=
 # Enable network daemons for user convenience.=0A=
 # Please make all changes to this file, not to /etc/defaults/rc.conf.=0A=
 # This file now contains just the overrides from /etc/defaults/rc.conf.=0A=
 hostname=3D"tbird.home.lan"=0A=
 ifconfig_rl0=3D"DHCP"=0A=
 kern_securelevel_enable=3D"NO"=0A=
 linux_enable=3D"YES"=0A=
 nfs_client_enable=3D"YES"=0A=
 nis_client_enable=3D"YES"=0A=
 nisdomainname=3D"home.lan"=0A=
 ntpdate_enable=3D"YES"=0A=
 ntpdate_flags=3D"-b doorway.home.lan"=0A=
 rpc_lockd_enable=3D"YES"=0A=
 rpc_statd_enable=3D"YES"=0A=
 rpcbind_enable=3D"YES"=0A=
 sendmail_enable=3D"YES"=0A=
 sshd_enable=3D"YES"=0A=
 usbd_enable=3D"YES"=0A=
 
 ------=_NextPart_000_0002_01C2C0DB.722085A0--
 

From: Mike Makonnen <mtm@identd.net>
To: Mark Hannon <markhannon@optusnet.com.au>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Mon, 20 Jan 2003 23:50:16 -0500

 There is something that confuses me:
 	/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
 	/etc/rc: DEBUG: run_rc_command: evaluating ().
 	/etc/rc: DEBUG: checkyesno: firewall_enable is set to NO.
  
 Between the ipfilter line and the next one should be a line checking the
 value of ppp_enable, but it doesn't appear here. So, it seems that the boot may
 have hung in the ppp-user script and have nothing to do with nis. But then why
 would killing nsswitch.conf cure it....
 
 Have you modified in any way the ppp configuration files or
 /etc/defaults/rc.conf?
 
 Can you also try and narrow the problem down. For example, by commenting out
 each nis/nfs related line in rc.conf one by one and seeing which one causes the
 hang?
 
 Also, is nis or nfs hampered in any way after you Control-C?
 
 What does ps(1) look like after it finishes booting?
 
 Just so we're on the same page, you are rebooting between changes, right?
 You're not just shutting down to single user and then bringing it back up.
 
 I will try to setup a similar environment using the rc.conf you gave me and see
 if I can reproduce the problem.
 
 Cheers.
 -- 
 Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
 mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9

From: Mike Makonnen <mtm@identd.net>
To: "Mark Hannon" <markhannon@optusnet.com.au>
Cc: bug-followup@freebsd.org
Subject: Re: bin/47140: 5.0 with rc_ng and nis hangs at startup
Date: Mon, 10 Feb 2003 04:44:22 -0500

 Hi Mark,
 
 Can you give the following patch a try. It definitely fixes a bug, and I have a
 feeling it's related to your problem.
 
 Cheers.
 -- 
 Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
 mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
 
 Index: etc/rc.d/cleanvar
 ===================================================================
 RCS file: /home/ncvs/src/etc/rc.d/cleanvar,v
 retrieving revision 1.2
 diff -u -r1.2 cleanvar
 --- etc/rc.d/cleanvar	12 Oct 2002 10:31:31 -0000	1.2
 +++ etc/rc.d/cleanvar	10 Feb 2003 09:32:53 -0000
 @@ -33,7 +33,7 @@
  	fi
  }
  
 -rm -f /var/run/clean_var /var/spool/lock/clean_var
 +[ "$1" = "faststart" ] && rm -f /var/run/clean_var /var/spool/lock/clean_var
  if [ -d /var/run -a ! -f /var/run/clean_var ]; then
  	purgedir /var/run
  	# And an initial utmp file
State-Changed-From-To: open->analyzed 
State-Changed-By: mtm 
State-Changed-When: Sun Feb 16 13:22:35 PST 2003 
State-Changed-Why:  
The ppp-user service allows the admin to start ppp as a user other 
than root. As part of its chrooting facility /etc/rc.subr used 
id(1) to check if the current user == the ppp_user. If the user 
has provided an nsswitch.conf mapping for the passwd database 
specifying the 'nis' source before 'files', then getpwuid(3) times 
out trying to query an nis facility that doesn't yet exist. 
This is the specific problem here, but it can also manifest itself 
if any service or local customizations that try to use nis before it's 
setup. 

I'm not sure what to do about this. I'll look to see if the nsdispatch(3) 
reolver can be modified to fail gracefully. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47140 
State-Changed-From-To: analyzed->closed 
State-Changed-By: mtm 
State-Changed-When: Sat Apr 19 14:40:34 PDT 2003 
State-Changed-Why:  
Fixed with the latest round of rc.d changes. 
The nisdomain script will not set the domain name 
untill after rpcbind is running. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47140 
>Unformatted:
