Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 13:57:06 -0500 (CDT)
From:      presence <kkanno@churchofinformationwarfare.org>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   rebooting under load
Message-ID:  <Pine.BSF.4.33L2.0109041353120.372-100000@centipede.symmetric.net>
In-Reply-To: <20010904081017.B48472@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I've got a machine that has been suddenly rebooting. I can make it crash
at will by bringing the load to about 200 with the script below. My other
single CPU boxes can handle a this script with 3000 primes instances just
fine with 512MB of RAM.

Here is what I get whe it goes down. What does it mean?

bash-2.05# panic: vm_fault: fault on nofault entry, addr: cbbd3000
mp_lock = 01000002; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1

syncing disks... 15
done
Uptime: 5m13s
Automatic reboot in 15 seconds - press a key on the console to abort

====
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: Thu Aug  2 16:20:03 CDT 2001
    root@centipede.symmetric.net:/usr/src/sys/compile/NETSERVER-2
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1000.04-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134152192 (131008K bytes)
avail memory = 127197184 (124216K bytes)
Programming 16 pins in IOAPIC #0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  1, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  2, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0301000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc030109c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 4 -> irq 5
IOAPIC #1 intpin 17 -> irq 9
pci0: <PCI bus> on pcib0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x1800-0x183f mem 0xfd000000-0xfd0fffff,0xfd100000-0xfd100fff irq 5 at device 2.0 on pci0
fxp0: Ethernet address 00:e0:18:0b:a7:5a
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <ATI Mach64-GR graphics accelerator> at 7.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 0x1840-0x184f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <OHCI USB controller> at 15.2 irq 9
pcib5: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 8 -> irq 10
IOAPIC #1 intpin 9 -> irq 11
pci5: <PCI bus> on pcib5
sym0: <896> port 0x1c00-0x1cff mem 0xfd110000-0xfd111fff,0xfd112000-0xfd1123ff irq 10 at device 5.0 on pci5
sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym1: <896> port 0x2000-0x20ff mem 0xfd114000-0xfd115fff,0xfd112400-0xfd1127ff irq 11 at device 5.1 on pci5
sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
orm0: <Option ROMs> at iomem 0xc0000-0xca7ff,0xca800-0xce7ff on isa0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
ata0-slave: ata_command: timeout waiting for intr
ata0-slave: identify failed
acd0: CDROM <CD-540E> at ata0-master using PIO4
Waiting 3 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
Mounting root from ufs:/dev/da0s1a
da0 at sym0 bus 0 target 0 lun 0
da0: <IBM DDYS-T36950N S96H> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
WARNING: / was not properly dismounted


====

Program that when run twice crashes my machine, even before it seems to
swap out.

#!/usr/bin/perl
#
# Ken Kanno 08-31-2001
# I want a load average of 1000
# for fun

for($a=0; $a<100; $a++)
{
    print "starting primes instance # :$a \n";
    system "nice -20 primes 10000 > /dev/null &";
    #sleep 1;

}


# end
====


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?Pine.BSF.4.33L2.0109041353120.372-100000>