Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2002 16:32:30 +0100 (CET)
From:      Michal Mertl <mime@traveller.cz>
To:        current@freebsd.org
Subject:   crash with network load (in tcp syncache ?)
Message-ID:  <Pine.BSF.4.41.0211011547180.44724-100000@prg.traveller.cz>

next in thread | raw e-mail | index | archive | help
I'm getting panics on SMP -CURRENT while running apachebench (binary ab
from apache distribution, not the Perl one) against httpd on the machine.

The panics don't occur when I have WITNESS and INVARIANTS turned on.

I'm running apache server from ports with no special configuration. I'm
running (on different machine) ./ab -c 100000 http://host/index.html.

The panics occur after bit more than the number of connections I have set
as kern.ipc.maxsockets (17000 by default, 30000 incresed) - probably
because the first ones expire (when I set net.inet.tcp.msl to 5000 I
can't make it panic - the number of tcpcb in vm.zone doesn't grow past
about 6500 - it doesn't go much down even long after the benchmark run
finishes but that's ok I suppose).

I had

while 1;
sysctl -a |grep tcpcb
sleep 1
end

running and the output was like this

....
tcpcb:           604,    30000,  28551,     57,    28354
tcpcb:           604,    30000,  29301,     57,    29104
tcpcb:           604,    30000,  29926,     56,    29729
- and then panic into ddb with backtrace below (the one posted here is
actually from kern.ipc.maxsockets being 17000)

My kernel config is basically GENERIC with stripped HW the machine doesn't
dontain.

----- verbose booting -----

/boot/kernel/kernel text=0x209c10 data=0x2ae18+0x3d54c syms=[0x4+0x2da40+0x4+0x37495]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
/boot/kernel/acpi.ko text=0x380ec data=0x1a38+0xae8 syms=[0x4+0x56e0+0x4+0x733b]
SMAP type=01 base=00000000 00000000 len=00000000 0009f000
SMAP type=02 base=00000000 0009f000 len=00000000 00001000
SMAP type=02 base=00000000 000f0000 len=00000000 00010000
SMAP type=01 base=00000000 00100000 len=00000000 1fefd000
SMAP type=03 base=00000000 1fffd000 len=00000000 00002000
SMAP type=04 base=00000000 1ffff000 len=00000000 00001000
SMAP type=02 base=00000000 fec00000 len=00000000 00001000
SMAP type=02 base=00000000 fee00000 len=00000000 00001000
SMAP type=02 base=00000000 ffff0000 len=00000000 00010000
Copyright (c) 1992-2002 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 #0: Thu Oct 31 15:34:37 CET 2002
    mime@mimet.eunet.cz:/usr/obj/usr/src/sys/TESTIK
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0422000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04220a8.
Calibrating clock(s) ... TSC clock: 751634930 Hz, i8254 clock: 1193071 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium III/Pentium III Xeon/Celeron (751.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536858624 (524276K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009dfff, 643072 bytes (157 pages)
0x0044c000 - 0x1ffbcfff, 532090880 bytes (129905 pages)
avail memory = 515866624 (503776K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
bios32: Found BIOS32 Service Directory header at 0xc00f9e20
bios32: Entry = 0xf0530 (c00f0530)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0x730
pnpbios: Found PnP BIOS data at 0xc00fd270
pnpbios: Entry = f0000:d2a0  Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
Initializing GEOMetry subsystem
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P2B-D   > on motherboard
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80002358
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
Using $PIR table, 6 entries at 0xc00f0d20
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
slot 1      0   12    A   0x60  3 4 5 7 9 10 11 12
slot 1      0   12    B   0x61  3 4 5 7 9 10 11 12
slot 1      0   12    C   0x62  3 4 5 7 9 10 11 12
slot 1      0   12    D   0x63  3 4 5 7 9 10 11 12
slot 2      0   11    A   0x61  3 4 5 7 9 10 11 12
slot 2      0   11    B   0x62  3 4 5 7 9 10 11 12
slot 2      0   11    C   0x63  3 4 5 7 9 10 11 12
slot 2      0   11    D   0x60  3 4 5 7 9 10 11 12
slot 3      0   10    A   0x62  3 4 5 7 9 10 11 12
slot 3      0   10    B   0x63  3 4 5 7 9 10 11 12
slot 3      0   10    C   0x60  3 4 5 7 9 10 11 12
slot 3      0   10    D   0x61  3 4 5 7 9 10 11 12
slot 4      0    9    A   0x63  3 4 5 7 9 10 11 12
slot 4      0    9    B   0x60  3 4 5 7 9 10 11 12
slot 4      0    9    C   0x61  3 4 5 7 9 10 11 12
slot 4      0    9    D   0x62  3 4 5 7 9 10 11 12
embedded    0    4    A   0x60  3 4 5 7 9 10 11 12
embedded    0    4    B   0x61  3 4 5 7 9 10 11 12
embedded    0    4    C   0x62  3 4 5 7 9 10 11 12
embedded    0    4    D   0x63  3 4 5 7 9 10 11 12
embedded    0    1    A   0x60  3 4 5 7 9 10 11 12
embedded    0    1    B   0x61  3 4 5 7 9 10 11 12
embedded    0    1    C   0x62  3 4 5 7 9 10 11 12
embedded    0    1    D   0x63  3 4 5 7 9 10 11 12
acpi0: power button is handled as a fixed feature programming model.
ACPI timer looks BAD  min = 2, max = 5, width = 4
ACPI timer looks BAD  min = 2, max = 5, width = 4
ACPI timer looks BAD  min = 2, max = 5, width = 4
ACPI timer looks BAD  min = 2, max = 16776973, width = 16776972
ACPI timer looks BAD  min = 2, max = 5, width = 4
ACPI timer looks BAD  min = 2, max = 5, width = 4
ACPI timer looks BAD  min = 1, max = 5, width = 5
ACPI timer looks BAD  min = 2, max = 5, width = 4
ACPI timer looks BAD  min = 1, max = 6, width = 6
ACPI timer looks BAD  min = 2, max = 5, width = 4
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
---- initial configuration ------------------------
---- before setting priority for links ------------
---- before fixup boot-disabled links -------------
---- after fixup boot-disabled links --------------
---- arbitrated configuration ---------------------
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
        map[10]: type 3, range 32, base e4000000, size 26, enabled
found-> vendor=0x8086, dev=0x7190, revid=0x03
        bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0106, statreg=0x2210, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7191, revid=0x03
        bus=0, slot=1, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0117, statreg=0x0220, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x88 (34000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7110, revid=0x02
        bus=0, slot=4, func=0
        class=06-01-00, hdrtype=0x00, mfdev=1
        cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[20]: type 4, range 32, base 0000d800, size  4, port disabled
found-> vendor=0x8086, dev=0x7111, revid=0x01
        bus=0, slot=4, func=1
        class=01-01-80, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
IOAPIC #0 intpin 19 -> irq 2
Freeing (NOT implemented) redirected PCI irq 10.
        map[20]: type 4, range 32, base 0000d400, size  5, enabled
found-> vendor=0x8086, dev=0x7112, revid=0x01
        bus=0, slot=4, func=2
        class=0c-03-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=d, irq=2
        map[90]: type 4, range 32, base 0000e800, size  4, enabled
found-> vendor=0x8086, dev=0x7113, revid=0x02
        bus=0, slot=4, func=3
        class=06-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
Freeing (NOT implemented) redirected PCI irq 10.
        map[10]: type 1, range 32, base d7800000, size 12, enabled
        map[14]: type 4, range 32, base 0000d000, size  6, enabled
        map[18]: type 1, range 32, base d7000000, size 20, enabled
found-> vendor=0x8086, dev=0x1229, revid=0x08
        bus=0, slot=9, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0017, statreg=0x0290, cachelnsz=8 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
        intpin=a, irq=2
        powerspec 2  supports D0 D1 D2 D3  current D0
found-> vendor=0x1044, dev=0xa500, revid=0x01
        bus=0, slot=10, func=0
        class=06-04-00, hdrtype=0x01, mfdev=1
        cmdreg=0x0006, statreg=0x04b0, cachelnsz=8 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
IOAPIC #0 intpin 18 -> irq 10
Freeing (NOT implemented) redirected PCI irq 11.
        map[10]: type 3, range 32, base e0000000, size 25, enabled
found-> vendor=0x1044, dev=0xa501, revid=0x01
        bus=0, slot=10, func=1
        class=0e-00-01, hdrtype=0x00, mfdev=1
        cmdreg=0x0116, statreg=0x04b0, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x01 (250 ns), maxlat=0x01 (250 ns)
        intpin=a, irq=10
        powerspec 2  supports D0 D3  current D0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0
agp0: allocating GATT for aperture of size 64M
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xe000-0xdfff
pcib1:   memory decode     0xd8000000-0xdfefffff
pcib1:   prefetched decode 0xe3f00000-0xe3ffffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
        map[10]: type 1, range 32, base d8000000, size 26, enabled
found-> vendor=0x5333, dev=0x8a13, revid=0x02
        bus=1, slot=0, func=0
        class=03-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x04 (1000 ns), maxlat=0xff (63750 ns)
        powerspec 1  supports D0 D1 D2 D3  current D0
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
atapci0: Busmastering DMA not supported
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 4.2 (no driver attached)
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped e400
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xd7000000-0xd70fffff,0xd7800000-0xd7800fff irq 2 at device 9.0 on pci0
fxp0: using memory space register mapping
fxp0: Ethernet address 00:02:b3:2b:9e:0e
fxp0: PCI IDs: 8086 1229 8086 000c 0008
fxp0: Dynamic Standby mode is disabled
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: fxp0 attached
pcib2: <PCI-PCI bridge> at device 10.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0x0-0x0
pcib2:   memory decode     0x100000-0xfffff
pcib2:   prefetched decode 0x100000-0xfffff
pci2: <PCI bus> on pcib2
pci2: physical bus=2
asr0: <Adaptec Caching SCSI RAID> mem 0xe0000000-0xe1ffffff irq 10 at device 10.1 on pci0
asr0: major=154
Freeing (NOT implemented) redirected PCI irq 11.
asr0: ADAPTEC 3210S FW Rev. 370F, 2 channel, 256 CCBs, Protocol I2O
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: <2880-KB 3.5" drive (in 1440-KB mode)> on fdc0 drive 0
unknown: not probed (disabled)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
unknown: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000
psm0: unable to allocate IRQ
psmcpnp0 irq 12 on acpi0
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 03 06
psm: status 00 33 55
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
unknown: not probed (disabled)
unknown: not probed (disabled)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
fdc: fdc0 already exists; skipping it
sio: sio0 already exists; skipping it
sio: sio1 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xcc000-0xd1fff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
adv0 failed to probe on isa0
aha0 failed to probe on isa0
aic0 failed to probe on isa0
bt0 failed to probe on isa0
cs0 failed to probe at port 0x300 on isa0
ed0 failed to probe at port 0x280 iomem 0xd8000 irq 10 on isa0
fe0 failed to probe at port 0x300 on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
pmtimer0 on isa0
ppc0 failed to probe at irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0 failed to probe at port 0x300 irq 10 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
vt0 failed to probe on isa0
isa_probe_children: probing PnP devices
SMP: enabled INTs: 1, 2, 3, 4, 6, 9, 10, 12, 14, 15, apic_imen: 0xffff29a1
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
Timecounters tick every 10.000 msec
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
bpf: lo0 attached
pass0 at asr0 bus 0 target 0 lun 0
pass0: <ADAPTEC RAID-1 370F> Fixed Direct Access SCSI-2 device
pass0: Serial Number +
pass0: Tagged Queueing Enabled
pass1 at asr0 bus 1 target 6 lun 0
pass1: <TOSHIBA CD-ROM XM-6401TA 1003> Removable CD-ROM SCSI-2 device
da0 at asr0 bus 0 target 0 lun 0
da0: <ADAPTEC RAID-1 370F> Fixed Direct Access SCSI-2 device
da0: Serial Number +
da0: Tagged Queueing Enabled
da0: 17501MB (35842048 512 byte sectors: 255H 63S/T 2231C)
cd0 at asr0 bus 1 target 6 lun 0
cd0: <TOSHIBA CD-ROM XM-6401TA 1003> Removable CD-ROM SCSI-2 device
cd0: cd present [125664 x 2048 byte records]
GEOM: new disk da0
SMP: AP CPU #1 Launched!
SMP: CPU1 ap_init():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
Slice 1:
0000   00 01 01 00 07 fe ff ff 3f 00 00 00 fc 8a 38 01  |........?.....8.|
[0] f:00 typ:7 s(CHS):0/1/1 e(CHS):255/254/255 s:63 l:20482812
GEOM: Add da0s1, start 32256 length 10487199744 end 10487231999
Slice 2:
0000   80 ff ff ff a5 fe ff ff 3b 8b 38 01 bc 58 ea 00  |........;.8..X..|
[1] f:80 typ:165 s(CHS):255/255/255 e(CHS):255/254/255 s:20482875 l:15358140
GEOM: Add da0s2, start 10487232000 length 7863367680 end 18350599679
GEOM: Configure da0s2a, start 0 length 268435456 end 268435455
GEOM: Configure da0s2b, start 268435456 length 1153433600 end 1421869055
GEOM: Configure da0s2c, start 0 length 7863367680 end 7863367679
GEOM: Configure da0s2e, start 1421869056 length 6441498624 end 7863367679
Mounting root from ufs:/dev/da0s2a
WARNING: / was not properly dismounted
start_init: trying /sbin/init
Entropy harvesting: interrupts ethernet point_to_point.
kernel dumps on /dev/da0s2b
swapon: adding /dev/da0s2b as swap device
Starting file system checks:
/dev/da0s2a: 2110 files, 38477 used, 90442 free (1330 frags, 11139 blocks, 1.0% fragmentation)
/dev/da0s2e: DEFER FOR BACKGROUND CHECKING
WARNING: /usr was not properly dismounted
Doing initial network setup: hostname.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet a.b.c.d netmask 0xffffff00 broadcast a.b.c.255
        ether 00:02:b3:2b:9e:0e
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
add net default: gateway a.b.c.1
Additional routing options:.
Mounting NFS file systems:.
Starting syslogd.
Oct 31 18:02:16 mimet syslogd: kernel boot file is /boot/kernel/kernel
Checking for core dump...
savecore: reboot after panic: from debugger
Oct 31 18:02:18 mimet savecore: reboot after panic: from debugger
savecore: writing core to vmcore.6
^CELF 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 local daemons:.
Updating motd.
Configuring syscons: blanktime.
Starting sshd.
Initial i386 initialization:.
Additional ABI support:.
Local package initialization: apache.
Additional TCP options:.
Starting inetd.
Starting cron.
Starting background file system checks.

------------


--------- panic and ddb trace -------

panic: sofree: not queued
cpuid = 1; lapic.id = 00000000
Debugger("panic")
Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c02f1004,0,c02f4367,d6a62a38,1) at Debugger+0x55
panic(c02f4367,c58f05d0,c58f05d0,d6a62a60,c01fa508) at panic+0x11f
sofree(c58f05d0,0,0,c46bb6e8,d6a62b3c) at sofree+0x6e
sonewconn(c43874d8,2,c01cc210,c46bb880,c1672d00) at sonewconn+0xf8
syncache_socket(c46bb6e8,c43874d8,c1662200,c42543e0,c1f6c820) at syncache_socket+0x1f
syncache_expand(d6a62b3c,c1f6c834,d6a62b10,c1662200,5000) at syncache_expand+0x98
tcp_input(c1662200,14,c1630018,d6a60010,d6a60010) at tcp_input+0x6a8
ip_input(c1662200,c031ac00,d6a62ccc,c01b293a,c031aba0) at ip_input+0x793
ipintr(c1639d02,c162d980,c162d980,c162b400,d6a62d08) at ipintr+0xd4
swi_net(0,0,0,0,c1638540) at swi_net+0x23
ithread_loop(c162b400,d6a62d48,0,0,0) at ithread_loop+0x1d4
fork_exit(c01a8bf0,c162b400,d6a62d48) at fork_exit+0x94
fork_trampoline() at fork_trampoline+0x1a
--- trap 0x1, eip = 0, esp = 0xd6a62d7c, ebp = 0 ---


-------- gdb trace --------
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
#1  0xc01bd1ca in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:364
#2  0xc01bd487 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
#3  0xc013e5e2 in db_panic () at /usr/src/sys/ddb/db_command.c:450
#4  0xc013e562 in db_command (last_cmdp=0xc0310460, cmd_table=0x0,
    aux_cmd_tablep=0xc030996c, aux_cmd_tablep_end=0xc0309970)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc013e676 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6  0xc014132a in db_trap (type=3, code=0) at
/usr/src/sys/ddb/db_trap.c:72
#7  0xc02b02e0 in kdb_trap (type=3, code=0, regs=0xd6a629b0)
    at /usr/src/sys/i386/i386/db_interface.c:166
#8  0xc02c939a in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = -980418544, tf_edi = -1050436352,
tf_esi = 256, tf_ebp = -693753348, tf_isp = -693753380, tf_ebx = 0, tf_edx
= 0, tf_ecx = 1021, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip =
-1070922283, tf_cs = 8, tf_eflags = 646, tf_esp = -1070583802, tf_ss =
-1070657532})
    at /usr/src/sys/i386/i386/trap.c:605
#9  0xc02b1b18 in calltrap () at {standard input}:99
#10 0xc01bd46f in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:503
#11 0xc01f7e1e in sofree (so=0xc58f05d0) at
/usr/src/sys/kern/uipc_socket.c:312
#12 0xc01fa508 in sonewconn (head=0xc43874d8, connstatus=2)
    at /usr/src/sys/kern/uipc_socket2.c:208
#13 0xc023f42f in syncache_socket (sc=0x2, lso=0xc43874d8, m=0xc1662200)
    at /usr/src/sys/netinet/tcp_syncache.c:564
#14 0xc023f748 in syncache_expand (inc=0xd6a62b3c, th=0xc1f6c834,
    sop=0xd6a62b10, m=0xc1662200) at
/usr/src/sys/netinet/tcp_syncache.c:783
#15 0xc0239978 in tcp_input (m=0xc1f6c834, off0=20)
    at /usr/src/sys/netinet/tcp_input.c:713
#16 0xc0235143 in ip_input (m=0xc1662200)
    at /usr/src/sys/netinet/ip_input.c:916
#17 0xc0235234 in ipintr () at /usr/src/sys/netinet/ip_input.c:934
#18 0xc02295f3 in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:97
#19 0xc01a8dc4 in ithread_loop (arg=0xc162b400)
    at /usr/src/sys/kern/kern_intr.c:535
#20 0xc01a7c54 in fork_exit (callout=0xc01a8bf0 <ithread_loop>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:860



Please keep me on cc: list, I'm getting digests so I would be slow in
reponsding.

-- 
Michal Mertl
mime@traveller.cz




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.41.0211011547180.44724-100000>