From owner-freebsd-questions@FreeBSD.ORG Tue Nov 16 14:54:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B66C16A4CE for ; Tue, 16 Nov 2004 14:54:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED2A343D48 for ; Tue, 16 Nov 2004 14:54:35 +0000 (GMT) (envelope-from christias@gmail.com) Received: by rproxy.gmail.com with SMTP id b11so778963rne for ; Tue, 16 Nov 2004 06:54:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=RYpTUrGrfP3b/Kbzr6v5CbkjUsLS4HCzGApx0uUseSn6V6pcItSClURTqNmZBHuDaY+BdAN0y5mUeyQbYrWF1JfZShLqFiHPEH2GuS03hxcArfNrONxw+S7yEI95UJY5s8W+1ldRcf282XtUTcFdySO3HaSgMpbhHw3U6KYrdec= Received: by 10.38.81.73 with SMTP id e73mr388888rnb; Tue, 16 Nov 2004 06:54:35 -0800 (PST) Received: by 10.38.165.80 with HTTP; Tue, 16 Nov 2004 06:54:35 -0800 (PST) Message-ID: Date: Tue, 16 Nov 2004 16:54:35 +0200 From: Panagiotis Christias To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FreeBSD 5.3BETA5: kernel panic and crash dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Panagiotis Christias List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 14:54:36 -0000 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
, 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 Hyperthreading: 2 logical CPUs real memory = 2147418112 (2047 MB) avail memory = 2095955968 (1998 MB) ACPI APIC Table: 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 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard lapic0: Forcing LINT1 to edge trigger npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: 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: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: at device 3.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P5 - AE_NOT_FOUND pci2: on pcib1 pci2: at device 28.0 (no driver attached) pcib2: at device 29.0 on pci2 pci5: on pcib2 em0: 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: 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: at device 30.0 (no driver attached) pcib3: at device 31.0 on pci2 pci3: on pcib3 pcib4: at device 1.0 on pci3 pci4: on pcib4 amr0: mem 0xfe980000-0xfe9fffff,0xfc6f0000-0xfc6fffff irq 28 at device 0.0 on pci4 amr0: [GIANT-LOCKED] amr0: Firmware 411M, BIOS H404, 128MB RAM pci0: at device 3.1 (no driver attached) uhci0: port 0x3040-0x305f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0x3020-0x303f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0x3000-0x301f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: at device 30.0 on pci0 pci1: on pcib5 pci1: at device 12.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: at device 31.3 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc0000-0xc7fff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec ATAPI_RESET time = 240us acd0: DVDROM at ata1-master UDMA66 amrd0: on amr0 amrd0: 210018MB (430116864 sectors) RAID 5 (optimal) ses0 at amr0 bus 0 target 6 lun 0 ses0: Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device ses1 at amr0 bus 1 target 5 lun 0 ses1: 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