Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 17:32:27 -0400
From:      Vivek Khera <khera@kcilink.com>
To:        stable@freebsd.org
Subject:   shutdown not completing
Message-ID:  <15146.32491.443330.764581@onceler.kciLink.com>

next in thread | raw e-mail | index | archive | help

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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 536805376 (524224K bytes)
avail memory = 519901184 (507716K bytes)
Preloaded elf kernel "kernel" at 0xc02d1000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib1: <ServerWorks host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
pcib0: <ServerWorks host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <ATI Mach64-GR graphics accelerator> at 3.0
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x8b0-0x8bf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pcib2: <ServerWorks host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib2
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Adaptec 2940 Ultra2 SCSI adapter> 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: <ServerWorks host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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 <SAMSUNG CD-ROM SN-124> 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: <IMPERIAL MG-5000 A203> 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: <SEAGATE ST39204LC 0005> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15146.32491.443330.764581>