Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2008 14:17:16 -0400
From:      Michael Toth <freebsd.mtoth@queldor.net>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 7.0 Crashing
Message-ID:  <488CBBAC.7040507@queldor.net>
In-Reply-To: <488CBB02.1020105@FreeBSD.org>
References:  <488CACD9.7060002@queldor.net> <488CBB02.1020105@FreeBSD.org>

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


Kris Kennaway wrote:
> Michael Toth wrote:
>> Hi, I am running 7.0 stable on a Dell Power Edge 2950 and it is core 
>> dumping on me.
>>
>> Below is the dmesg and some core info
>>
>> I am hoping that someone can help me find out why it keeps core 
>> dumping on me.
>>
>> Thanks
>>
>> # cd /usr/obj/usr/src/sys/GENERIC/
>> # kgdb kernel.debug /var/crash/vmcore.5
>> 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"...
>>
>> Unread portion of the kernel message buffer:
>>
>>
>> Fatal trap 12: page fault while in kernel mode
>> cpuid = 4; apic id = 04
>> fault virtual address   = 0x188
>> fault code              = supervisor read, page not present
>> instruction pointer     = 0x20:0xc0775284
>> stack pointer           = 0x28:0xe7d6bad0
>> frame pointer           = 0x28:0xe7d6bae8
>> code segment            = base 0x0, limit 0xfffff, type 0x1b
>>                        = DPL 0, pres 1, def32 1, gran 1
>> processor eflags        = interrupt enabled, resume, IOPL = 0
>> current process         = 4838 (egrep)
>> trap number             = 12
>> panic: page fault
>> cpuid = 4
>> Uptime: 1h2m48s
>> Physical memory: 2035 MB
>> Dumping 87 MB: 72 56 40 24 8
>>
>> Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
>> /boot/kernel/acpi.ko.symbols...done.
>> done.
>> Loaded symbols for /boot/kernel/acpi.ko
>> #0  doadump () at pcpu.h:195
>> 195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
>> (kgdb)q
>>
>>
>> # cat /var/run/dmesg.boot
>> Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 7.0-STABLE #0: Sun Jul 27 08:58:11 EDT 2008
>>    mtoth@phpmyadmin.web.rcn.net:/usr/obj/usr/src/sys/GENERIC
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.20-MHz 686-class CPU)
>>  Origin = "GenuineIntel"  Id = 0xf48  Stepping = 8
>>  
>> 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> 
>>
>>  Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR>
>>  AMD Features=0x20100000<NX,LM>
>>  AMD Features2=0x1<LAHF>
>>  Cores per package: 2
>>  Logical CPUs per core: 2
>> real memory  = 2147221504 (2047 MB)
>> avail memory = 2091675648 (1994 MB)
>> ACPI APIC Table: <DELL   PE BKC  >
>> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
>> cpu0 (BSP): APIC ID:  0
>> cpu1 (AP): APIC ID:  1
>> cpu2 (AP): APIC ID:  2
>> cpu3 (AP): APIC ID:  3
>> cpu4 (AP): APIC ID:  4
>> cpu5 (AP): APIC ID:  5
>> cpu6 (AP): APIC ID:  6
>> cpu7 (AP): APIC ID:  7
>> ioapic0: Changing APIC ID to 8
>> ioapic1: Changing APIC ID to 9
>> ioapic2: Changing APIC ID to 10
>> ioapic3: Changing APIC ID to 11
>> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>> ioapic1 <Version 2.0> irqs 32-55 on motherboard
>> ioapic2 <Version 2.0> irqs 64-87 on motherboard
>> ioapic3 <Version 2.0> irqs 96-119 on motherboard
>> kbd1 at kbdmux0
>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, 
>> RF5413)
>> acpi0: <DELL PE BKC> on motherboard
>> acpi0: [ITHREAD]
>> acpi0: Power Button (fixed)
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> pci0: <ACPI PCI bus> on pcib0
>> pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
>> pci1: <ACPI PCI bus> on pcib1
>> pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
>> pci2: <ACPI PCI bus> on pcib2
>> amr0: <LSILogic MegaRAID 1.53> mem 
>> 0xf81f0000-0xf81fffff,0xfe9c0000-0xfe9fffff irq 46 at device 14.0 on 
>> pci2
>> amr0: [ITHREAD]
>> amr0: delete logical drives supported by controller
>> amr0: <LSILogic PERC 4e/Di> Firmware 521S, BIOS H430, 256MB RAM
>> pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1
>> pci3: <ACPI PCI bus> on pcib3
>> pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0
>> pci4: <ACPI PCI bus> on pcib4
>> pcib5: <ACPI PCI-PCI bridge> at device 5.0 on pci0
>> pci5: <ACPI PCI bus> on pcib5
>> pcib6: <ACPI PCI-PCI bridge> at device 0.0 on pci5
>> pci6: <ACPI PCI bus> on pcib6
>> em0: <Intel(R) PRO/1000 Network Connection 6.9.5> port 0xecc0-0xecff 
>> mem 0xfe6e0000-0xfe6fffff irq 64 at device 7.0 on pci6
>> em0: [FILTER]
>> em0: Ethernet address: 00:14:22:21:da:67
>> pcib7: <ACPI PCI-PCI bridge> at device 0.2 on pci5
>> pci7: <ACPI PCI bus> on pcib7
>> em1: <Intel(R) PRO/1000 Network Connection 6.9.5> port 0xdcc0-0xdcff 
>> mem 0xfe4e0000-0xfe4fffff irq 65 at device 8.0 on pci7
>> em1: [FILTER]
>> em1: Ethernet address: 00:14:22:21:da:68
>> pcib8: <ACPI PCI-PCI bridge> at device 6.0 on pci0
>> pci8: <ACPI PCI bus> on pcib8
>> pcib9: <ACPI PCI-PCI bridge> at device 0.0 on pci8
>> pci9: <ACPI PCI bus> on pcib9
>> amr1: <LSILogic MegaRAID 1.53> mem 0xf80f0000-0xf80fffff irq 106 at 
>> device 4.0 on pci9
>> amr1: [ITHREAD]
>> amr1: delete logical drives supported by controller
>> amr1: <LSILogic PERC 4/DC> Firmware 351S, BIOS 1.10, 128MB RAM
>> pcib10: <ACPI PCI-PCI bridge> at device 0.2 on pci8
>> pci10: <ACPI PCI bus> on pcib10
>> uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbce0-0xbcff 
>> irq 16 at device 29.0 on pci0
>> uhci0: [GIANT-LOCKED]
>> uhci0: [ITHREAD]
>> usb0: <Intel 82801EB (ICH5) 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> on usb0
>> uhub0: 2 ports with 2 removable, self powered
>> uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xbcc0-0xbcdf 
>> irq 19 at device 29.1 on pci0
>> uhci1: [GIANT-LOCKED]
>> uhci1: [ITHREAD]
>> usb1: <Intel 82801EB (ICH5) 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> on usb1
>> uhub1: 2 ports with 2 removable, self powered
>> uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xbca0-0xbcbf 
>> irq 18 at device 29.2 on pci0
>> uhci2: [GIANT-LOCKED]
>> uhci2: [ITHREAD]
>> usb2: <Intel 82801EB (ICH5) 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> on usb2
>> uhub2: 2 ports with 2 removable, self powered
>> ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 
>> 0xfeb00000-0xfeb003ff irq 23 at device 29.7 on pci0
>> ehci0: [GIANT-LOCKED]
>> ehci0: [ITHREAD]
>> usb3: EHCI version 1.0
>> usb3: companion controllers, 2 ports each: usb0 usb1 usb2
>> usb3: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
>> usb3: USB revision 2.0
>> uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
>> uhub3: 6 ports with 6 removable, self powered
>> uhub4: <vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 
>> 2> on uhub3
>> uhub4: multiple transaction translators
>> uhub4: 2 ports with 2 removable, self powered
>> pcib11: <ACPI PCI-PCI bridge> at device 30.0 on pci0
>> pci11: <ACPI PCI bus> on pcib11
>> vgapci0: <VGA-compatible display> port 0xcc00-0xccff mem 
>> 0xf0000000-0xf7ffffff,0xfdff0000-0xfdffffff irq 18 at device 13.0 on 
>> pci11
>> isab0: <PCI-ISA bridge> at device 31.0 on pci0
>> isa0: <ISA bus> on isab0
>> atapci0: <Intel ICH5 UDMA100 controller> port 
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
>> ata0: <ATA channel 0> on atapci0
>> ata0: [ITHREAD]
>> ata1: <ATA channel 1> on atapci0
>> ata1: [ITHREAD]
>> acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff 
>> on acpi0
>> Timecounter "HPET" frequency 14318180 Hz quality 900
>> cpu0: <ACPI CPU> on acpi0
>> est0: <Enhanced SpeedStep Frequency Control> on cpu0
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est0 attach returned 6
>> p4tcc0: <CPU Frequency Thermal Control> on cpu0
>> cpu1: <ACPI CPU> on acpi0
>> est1: <Enhanced SpeedStep Frequency Control> on cpu1
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est1 attach returned 6
>> p4tcc1: <CPU Frequency Thermal Control> on cpu1
>> cpu2: <ACPI CPU> on acpi0
>> est2: <Enhanced SpeedStep Frequency Control> on cpu2
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est2 attach returned 6
>> p4tcc2: <CPU Frequency Thermal Control> on cpu2
>> cpu3: <ACPI CPU> on acpi0
>> est3: <Enhanced SpeedStep Frequency Control> on cpu3
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est3 attach returned 6
>> p4tcc3: <CPU Frequency Thermal Control> on cpu3
>> cpu4: <ACPI CPU> on acpi0
>> est4: <Enhanced SpeedStep Frequency Control> on cpu4
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est4 attach returned 6
>> p4tcc4: <CPU Frequency Thermal Control> on cpu4
>> cpu5: <ACPI CPU> on acpi0
>> est5: <Enhanced SpeedStep Frequency Control> on cpu5
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est5 attach returned 6
>> p4tcc5: <CPU Frequency Thermal Control> on cpu5
>> cpu6: <ACPI CPU> on acpi0
>> est6: <Enhanced SpeedStep Frequency Control> on cpu6
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est6 attach returned 6
>> p4tcc6: <CPU Frequency Thermal Control> on cpu6
>> cpu7: <ACPI CPU> on acpi0
>> est7: <Enhanced SpeedStep Frequency Control> on cpu7
>> est: CPU supports Enhanced Speedstep, but is not recognized.
>> est: cpu_vendor GenuineIntel, msr e2900000e29
>> device_attach: est7 attach returned 6
>> p4tcc7: <CPU Frequency Thermal Control> on cpu7
>> fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
>> acpi0
>> fdc0: [FILTER]
>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 
>> on acpi0
>> sio0: type 16550A
>> sio0: [FILTER]
>> pmtimer0 on isa0
>> orm0: <ISA Option ROMs> at iomem 
>> 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xec000-0xeffff pnpid 
>> ORM0000 on isa0
>> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0
>> atkbd0: [GIANT-LOCKED]
>> atkbd0: [ITHREAD]
>> ppc0: parallel port not found.
>> sc0: <System console> at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
>> isa0
>> Timecounters tick every 1.000 msec
>> acd0: CDROM <TEAC CD-ROM CD-224E-N/3.AB> at ata0-master UDMA33
>> amr0: delete logical drives supported by controller
>> amrd0: <LSILogic MegaRAID logical drive> on amr0
>> amrd0: 34680MB (71024640 sectors) RAID 1 (optimal)
>> amr1: delete logical drives supported by controller
>> SMP: AP CPU #6 Launched!
>> SMP: AP CPU #1 Launched!
>> SMP: AP CPU #2 Launched!
>> SMP: AP CPU #5 Launched!
>> SMP: AP CPU #7 Launched!
>> SMP: AP CPU #3 Launched!
>> SMP: AP CPU #4 Launched!
>> Trying to mount root from ufs:/dev/amrd0s1a
>> WARNING: / was not properly dismounted
>> WARNING: /tmp was not properly dismounted
>> WARNING: /usr was not properly dismounted
>> WARNING: /var was not properly dismounted
>>
>>
>>
>>
>> _______________________________________________
>> freebsd-stable@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to 
>> "freebsd-stable-unsubscribe@freebsd.org"
>>
>>
>
> We need the backtrace.
>
> Kris

Backtrace added, please let me know if there is anything else that is 
needed  =)

Thanks

# kgdb kernel.debug /var/crash/vmcore.5
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"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 4; apic id = 04
fault virtual address   = 0x188
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0775284
stack pointer           = 0x28:0xe7d6bad0
frame pointer           = 0x28:0xe7d6bae8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 4838 (egrep)
trap number             = 12
panic: page fault
cpuid = 4
Uptime: 1h2m48s
Physical memory: 2035 MB
Dumping 87 MB: 72 56 40 24 8

Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
#0  doadump () at pcpu.h:195
195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:195
#1  0xc0782597 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0782859 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:572
#3  0xc0a8b39c in trap_fatal (frame=0xe7d6ba90, eva=392) at 
/usr/src/sys/i386/i386/trap.c:899
#4  0xc0a8b620 in trap_pfault (frame=0xe7d6ba90, usermode=0, eva=392) at 
/usr/src/sys/i386/i386/trap.c:812
#5  0xc0a8bfcc in trap (frame=0xe7d6ba90) at 
/usr/src/sys/i386/i386/trap.c:490
#6  0xc0a71bdb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0775284 in _mtx_lock_sleep (m=0xc600d174, tid=3318745216, opts=0, 
file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:339
#8  0xc09a93d7 in vm_fault (map=0xc56b5570, vaddr=671809536, 
fault_type=2 '\002', fault_flags=8) at /usr/src/sys/vm/vm_fault.c:293
#9  0xc0a8b50b in trap_pfault (frame=0xe7d6bd38, usermode=1, 
eva=671813488) at /usr/src/sys/i386/i386/trap.c:789
#10 0xc0a8be57 in trap (frame=0xe7d6bd38) at 
/usr/src/sys/i386/i386/trap.c:357
#11 0xc0a71bdb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#12 0x2806e607 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) q




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