Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 16:54:35 +0200
From:      Panagiotis Christias <christias@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 5.3BETA5: kernel panic and crash dump
Message-ID:  <e4b0ecef04111606545e263521@mail.gmail.com>

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

I have a FreeBSD 5.3-BETA5 server that panics more or less every week.
 I have compiled the kernel with "makeoptions DEBUG=-g" and got a
vmcore of the last crash. Next stop will be installing FreeBSD
5.3-RELEASE within the next days.

Here is the kgdb output:

# cd /usr/obj/usr/src/sys/GENERIC/
# kgdb /boot/kernel.debug/kernel.debug /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
doadump () at pcpu.h:159
(kgdb) bt
#0  doadump () at pcpu.h:159
#1  0xc060b1fb in boot (howto=260) at ../../../kern/kern_shutdown.c:397
#2  0xc060b521 in panic (fmt=0xc07ec8c8 "%s") at
../../../kern/kern_shutdown.c:553
#3  0xc07a5aa4 in trap_fatal (frame=0xe9979c30, eva=4) at
../../../i386/i386/trap.c:809
#4  0xc07a57e7 in trap_pfault (frame=0xe9979c30, usermode=0, eva=4) at
../../../i386/i386/trap.c:727
#5  0xc07a5421 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = -937099248, tf_edi = 1, tf_esi
= -929937744, tf_ebp = -375939972, tf_isp = -375940004, tf_ebx =
-932514684, tf_edx = 0, tf_ecx = -928768836, tf_eax = 1, tf_trapno =
12, tf_err = 0, tf_eip = -1067512973, tf_cs = 8, tf_eflags = 66067,
tf_esp = -929937744, tf_ss = -929937836}) at
../../../i386/i386/trap.c:417
#6  0xc079390a in calltrap () at ../../../i386/i386/exception.s:140
#7  0x00000018 in ?? ()
#8  0x00000010 in ?? ()
#9  0xc8250010 in ?? ()
#10 0x00000001 in ?? ()
#11 0xc89246b0 in ?? ()
#12 0xe9979c7c in ?? ()
#13 0xe9979c5c in ?? ()
#14 0xc86af484 in ?? ()
#15 0x00000000 in ?? ()
#16 0xc8a41cbc in ?? ()
#17 0x00000001 in ?? ()
#18 0x0000000c in ?? ()
#19 0x00000000 in ?? ()
#20 0xc05f0b73 in knlist_remove_kq (knl=0xc89246b0, kn=0xc86af484,
knlislocked=1, kqislocked=0) at ../../../kern/kern_event.c:1510
#21 0xc05f0c53 in knlist_remove (knl=0xc89246b0, kn=0xc86af484,
islocked=1) at ../../../kern/kern_event.c:1528
#22 0xc06434f0 in filt_sordetach (kn=0xc89246b0) at
../../../kern/uipc_socket.c:2164
#23 0xc05f0f79 in knote_fdclose (td=0xc7d7baf0, fd=13) at
../../../kern/kern_event.c:1677
#24 0xc05ea4d8 in close (td=0xc7d7baf0, uap=0x0) at
../../../kern/kern_descrip.c:994
#25 0xc07a5daf in syscall (frame=
      {tf_fs = -1065811921, tf_es = 47, tf_ds = 47, tf_edi =
135872512, tf_esi = -1077966576, tf_ebp = -1077966696, tf_isp =
-375939724, tf_ebx = 672990700, tf_edx = 672983748, tf_ecx =
135872512, tf_eax = 6, tf_trapno = 22, tf_err = 2, tf_eip = 672503139,
tf_cs = 31, tf_eflags = 646, tf_esp = -1077966724, tf_ss = 47}) at
../../../i386/i386/trap.c:1001
#26 0xc079395f in Xint0x80_syscall () at ../../../i386/i386/exception.s:201
#27 0xc079002f in bsd_disklabel_le_dec (ptr=0x8194000 <Address
0x8194000 out of bounds>, d=Cannot access memory at address 0xbfbf88a4
) at endian.h:121
Previous frame inner to this frame (corrupt stack?)
(kgdb)


and also the dmesg output:

# dmesg
Copyright (c) 1992-2004 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.3-BETA5 #0: Sat Nov  6 19:38:50 EET 2004
    root@achilles.noc.ntua.gr:/usr/src/sys/i386/compile/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2658.10-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 2147418112 (2047 MB)
avail memory = 2095955968 (1998 MB)
ACPI APIC Table: <INTEL  S7501HG0>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
    ACPI-0697: *** Warning: Type override - [DEB_] had invalid type
(Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [MLIB] had invalid type
(Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [DATA] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SIO_] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [LEDP] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [GPEN] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [GPST] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [GP1N] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [WUES] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [WUSE] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SBID] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SWCE] had invalid type
(String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SMIR] had invalid type
(String) for Scope operator, changed to (Scope)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
lapic0: Forcing LINT1 to edge trigger
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL S7501HG0> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x8> port 0xca7,0xca6 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P5
- AE_NOT_FOUND
pci2: <ACPI PCI bus> on pcib1
pci2: <base peripheral, interrupt controller> at device 28.0 (no
driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci2
pci5: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0x2040-0x207f mem 0xfeac0000-0xfeadffff irq 58 at device 5.0 on pci5
em0: Ethernet address: 00:03:47:31:ea:ae
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0x2000-0x203f mem 0xfeae0000-0xfeafffff irq 59 at device 5.1 on pci5
em1: Ethernet address: 00:03:47:31:ea:af
em1:  Speed:N/A  Duplex:N/A
pci2: <base peripheral, interrupt controller> at device 30.0 (no
driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <PCI-PCI bridge> at device 1.0 on pci3
pci4: <PCI bus> on pcib4
amr0: <LSILogic MegaRAID> mem
0xfe980000-0xfe9fffff,0xfc6f0000-0xfc6fffff irq 28 at device 0.0 on
pci4
amr0: [GIANT-LOCKED]
amr0: <LSILogic Intel(R) RAID Controller SRCU42X> Firmware 411M, BIOS
H404, 128MB RAM
pci0: <unknown> at device 3.1 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port
0x3040-0x305f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port
0x3020-0x303f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port
0x3000-0x301f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib5
pci1: <display, VGA> at device 12.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port
0x3a0-0x3af,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller (FDE)> port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 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 10.000 msec
ATAPI_RESET time = 240us
acd0: DVDROM <PLEXTOR DVD-ROM PX-116A2 0100/1.00> at ata1-master UDMA66
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 210018MB (430116864 sectors) RAID 5 (optimal)
ses0 at amr0 bus 0 target 6 lun 0
ses0: <ESG-SHV SCA HSBP M15 0.11> Fixed Processor SCSI-2 device 
ses0: SAF-TE Compliant Device
ses1 at amr0 bus 1 target 5 lun 0
ses1: <ESG-SHV SCA HSBP M15 0.10> Fixed Processor SCSI-2 device 
ses1: SAF-TE Compliant Device
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
lapic6: Forcing LINT1 to edge trigger
SMP: AP CPU #2 Launched!
Mounting root from ufs:/dev/amrd0s2a
WARNING: / was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 436 files 53
/var: superblock summary recomputed
em0: Link is up 100 Mbps Full Duplex
pid 1298: corrected slot count (2->1)


Any ideas?

Thanks,
Panagiotis



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