From owner-freebsd-stable Fri Jun 15 14:32:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by hub.freebsd.org (Postfix) with ESMTP id 7864437B403 for ; Fri, 15 Jun 2001 14:32:28 -0700 (PDT) (envelope-from khera@kciLink.com) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id 8E0122E461 for ; Fri, 15 Jun 2001 17:32:27 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.4/8.11.3) id f5FLWRV33535; Fri, 15 Jun 2001 17:32:27 -0400 (EDT) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15146.32491.443330.764581@onceler.kciLink.com> Date: Fri, 15 Jun 2001 17:32:27 -0400 To: stable@freebsd.org Subject: shutdown not completing X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 I have some 4.3-STABLE boxes that sometimes fail to shutdown properly. The uname -a date is "4.3-STABLE FreeBSD 4.3-STABLE #0: Mon May 14 16:37:38 EDT 2001" on one of them, for example. These are Dell PowerEdge 1550 boxes connected to a Cyclades terminal server for the serial consoles. The BIOS on these boxes is redirected to the serial console as well, but that doesn't seem to be the issue. What happens is I login via the serial console as myself. Then I su to root and issue a "shutdown now". All processes get killed it seems, and all services go away (nmap shows no open ports, but ping answers on both ethernets). The console then just sits there. I never get the "flushing buffers" messages, nor do I get a prompt for entering the password to enter single user mode. The only time I really ever do this is when upgrading the system, so perhaps it has something to do with installing a new kernel just before the shutdown. I don't have evidence that this is the cause, however, since it doesn't happen every time (I've only ever upgraded about 4 times, mostly from going from 4.3-RC2 to RC3 to STABLE, and now to a more recent STABLE just ready to make the servers into full production mode). Anyone else experience this? I'm kinda feeling like I shouldn't be logged into the console when I shutdown, as that seems to reduce the likelihood of such a crash. The dmesg output on a twin machine is this (I'm waiting for the datacenter to reset the hung machine right now...) 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.3-STABLE #0: Mon May 14 16:37:38 EDT 2001 vivek@w01.m1e.net:/n/lorax1/usr/obj/n/lorax1/usr/src/sys/M01 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (860.89-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387fbff real memory = 536805376 (524224K bytes) avail memory = 519901184 (507716K bytes) Preloaded elf kernel "kernel" at 0xc02d1000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib1: on motherboard pci1: on pcib1 pcib0: on motherboard pci0: on pcib0 fxp0: port 0xecc0-0xecff mem 0xfe100000-0xfe1fffff,0xfe2ff000-0xfe2fffff irq 11 at device 1.0 on pci0 fxp0: Ethernet address 00:b0:d0:e1:35:02 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xec80-0xecbf mem 0xfe000000-0xfe0fffff,0xfe2fe000-0xfe2fefff irq 10 at device 2.0 on pci0 fxp1: Ethernet address 00:b0:d0:e1:35:03 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 3.0 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x8b0-0x8bf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pcib2: on motherboard pci2: on pcib2 ahc0: port 0xdc00-0xdcff mem 0xfeaff000-0xfeafffff irq 5 at device 5.0 on pci2 aic7899: Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xd800-0xd8ff mem 0xfeafe000-0xfeafefff irq 3 at device 5.1 on pci2 aic7899: Wide Channel B, SCSI Id=7, 32/255 SCBs ahc2: port 0xd400-0xd4ff mem 0xfeafd000-0xfeafdfff irq 11 at device 6.0 on pci2 aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs pcib3: on motherboard pci3: on pcib3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, unlimited logging acd0: CDROM at ata0-master using PIO4 Waiting 5 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a da1 at ahc2 bus 0 target 0 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 511MB (1048320 512 byte sectors: 64H 32S/T 511C) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 8683MB (17783239 512 byte sectors: 255H 63S/T 1106C) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message