Date: Wed, 9 Nov 2005 17:25:18 -1000 From: Randy Bush <randy@psg.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd ports <freebsd-ports@freebsd.org> Subject: Re: ordering and timing /usr/local/etc/rc.d Message-ID: <17266.48542.888562.373533@roam.psg.com> References: <17265.40837.338064.87576@roam.psg.com> <20051109181200.GB12837@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>> o network services come up befofe the ether is really alive >> and in contact with the world. some of them don't behave >> well if this happens (e.g. asterisk, ejabberd, ...) > > The only cases I know of where this can happen are Intel wireless cards. i am having this problem with em0. note <<<<==== ntpd, mail, and apache started before em0 came up randy --- cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI 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 pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0 pci1: <ACPI PCI bus> on pcib1 em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xa000-0xa01f mem 0xfd000000-0xfd01ffff irq 18 at device 1.0 on pci1 em0: Ethernet address: 00:30:48:80:b3:72 pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xb000-0xb00f mem 0xf9000000-0xf97fffff irq 24 at device 1.0 on pci2 twe0: [GIANT-LOCKED] twe0: 4 ports, Firmware FE7S 1.05.00.065, BIOS BE7X 1.08.00.048 pci0: <serial bus, USB> at device 29.0 (no driver attached) pci0: <serial bus, USB> at device 29.1 (no driver attached) pci0: <base peripheral> at device 29.4 (no driver attached) pci0: <base peripheral, interrupt controller> at device 29.5 (no driver attached) pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pci3: <display, VGA> at device 9.0 (no driver attached) em1: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xc400-0xc43f mem 0xfc000000-0xfc01ffff irq 19 at device 10.0 on pci3 em1: Ethernet address: 00:30:48:80:b3:73 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel 6300ESB UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_tz0: <Thermal Zone> on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff pnpid ORM0000 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 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled acd0: CDROM <CD-224E/1.9A> at ata1-master UDMA33 twed0: <Unit 0, TwinStor, Normal> on twe0 twed0: 238474MB (488395120 sectors) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/twed0s1a Loading configuration files. kernel dumps on /dev/twed0s1b Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/twed0s1b as swap device Starting file system checks: /dev/twed0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/twed0s1a: clean, 424045 free (1669 frags, 52797 blocks, 0.3% fragmentation) /dev/twed0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/twed0s1d: clean, 487909 free (445 frags, 60933 blocks, 0.1% fragmentation) /dev/twed0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/twed0s1e: clean, 474492 free (292 frags, 59275 blocks, 0.1% fragmentation) /dev/twed0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/twed0s1f: clean, 14544731 free (67971 frags, 1809595 blocks, 0.4% fragmentation) /dev/twed0s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/twed0s1g: clean, 87827930 free (11106 frags, 10977103 blocks, 0.0% fragmentation) /dev/twed0s1h: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/twed0s1h: clean, 67513 free (41 frags, 8434 blocks, 0.1% fragmentation) Setting hostname: work0.psg.com. kern.ipc.shm_allow_removed: 0 -> 1 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet 147.28.0.35 netmask 0xffffff00 broadcast 147.28.0.255 inet 147.28.0.41 netmask 0xffffffff broadcast 147.28.0.41 ether 00:30:48:80:b3:72 media: Ethernet autoselect status: no carrier Starting divert daemons:Flushed all rules. Firewall rules loaded. Firewall logging enabled net.inet.ip.fw.enable: 1 -> 1 Creating and/or trimming log files:. Starting syslogd. Nov 9 15:38:27 work0 syslogd: kernel boot file is /boot/kernel/kernel add net default: gateway 147.28.0.5 Additional routing options: drop SYN+FIN packets=YES. Starting devd. hw.acpi.cpu.cx_lowest: C1 -> C1 Mounting NFS file systems:. Checking for core dump on /dev/twed0s1b... savecore: no dumps found Nov 9 15:38:27 work0 savecore: no dumps found Clearing /tmp. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout Starting local daemons:. Updating motd. Starting ntpd. Nov 9 15:38:28 work0 ntpd[413]: no IPv6 interfaces found <<<<==== Configuring syscons: keymap keyrate blanktime. Starting sshd. Nov 9 15:38:28 work0 sshd[436]: Server listening on 0.0.0.0 port 22. sendmail_outbound: /etc/mail/aliases newer than /etc/mail/aliases.db, regenerating 27 entries written exim started <<<<==== Initial i386 initialization:. Additional ABI support:. Starting cron. Local package initialization: aim-transport Starting apache. <<<<==== Nov 9 15:38:29 work0 kernel: em0: link state changed to UP <<<<==== Starting asterisk. Internet Systems Consortium DHCP Server V3.0.1rc14 Copyright 2004 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Wrote 0 deleted host decls to leases file. Wrote 0 new dynamic host decls to leases file. Wrote 1 leases to leases file. Listening on BPF/em0/00:30:48:80:b3:72/147.28.0.0/24 Sending on BPF/em0/00:30:48:80:b3:72/147.28.0.0/24 Sending on Socket/fallback/fallback-net dhcpdStarting ejabberd: Nov 9 15:38:31 work0 epmd: epmd: epmd running - daemon = 1 Kernel pid terminated (application_controller) (shutdown) ejabberd. flow-capture Starting gkrellmd. Starting irrd. Starting mysql. /usr/local/etc/rc.d/ssltunnel.sh: /usr/local/libexec/pppserver: not found (skipping ztdummy.sh, not executable). Additional TCP options:. Raising kernel security level: kern.securelevel: -1 -> 1 Starting inetd. Wed Nov 9 15:38:42 UTC 2005 FreeBSD/i386 (work0.psg.com) (ttyd0) login:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17266.48542.888562.373533>