Hello,
I've just got installed a brand new box, and I can say that it's
hanging on regular basis, around every 10 minutes.
The backtrace is included, as well as the dmesg.
Any help with this will be appreciated.
Thank you.
--
Sincerely,
Daniel Gerzo
-------------- next part --------------
bigbang# kgdb kernel.debug /var/crash/vmcore.0
[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".
Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xa9b2d30c
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc0810407
stack pointer = 0x28:0xe33b9b58
frame pointer = 0x28:0xe33b9be0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 11 (idle)
trap number = 12
panic: page fault
Uptime: 17m32s
Dumping 1007 MB (2 chunks)
chunk 0: 1MB (159 pages) ... ok
chunk 1: 1007MB (257776 pages) 991 975 959 943 927 911 895 879 863 847 831 815
799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495
479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175
159 143 127 111 95 79 63 47 31 15
#0 doadump () at pcpu.h:165
165 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) list *0xc0810407
0xc0810407 is in __qdivrem (/usr/src/sys/libkern/qdivrem.c:251).
246 u[i + j] = LHALF(t);
247 t = HHALF(t);
248 }
249 u[j] = LHALF(u[j] + t);
250 }
251 q[j] = qhat;
252 } while (++j <= m); /* D7: loop on j. */
253
254 /*
255 * If caller wants the remainder, we have to calculate it as
(kgdb) backtrace
#0 doadump () at pcpu.h:165
#1 0xc0638202 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2 0xc0638498 in panic (fmt=0xc084e5a2 "%s") at
/usr/src/sys/kern/kern_shutdown.c:555
#3 0xc0807c30 in trap_fatal (frame=0xe33b9b18, eva=2847068940) at
/usr/src/sys/i386/i386/trap.c:831
#4 0xc08073d2 in trap (frame {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi =
606, tf_esi = 0, tf_ebp = -482632736, tf_isp = -482632892, tf_ebx = 0, tf_edx =
0, tf_ecx = -1447898356, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip =
-1065286649, tf_cs = 32, tf_eflags = 589894, tf_esp = 55296, tf_ss = 55930})
at /usr/src/sys/i386/i386/trap.c:267
#5 0xc07f6dca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#6 0xc0810407 in __qdivrem (uq=Unhandled dwarf expression opcode 0x93
) at /usr/src/sys/libkern/qdivrem.c:251
#7 0xc081050e in __udivdi3 (a=9223372036854775808, b=3579545) at
/usr/src/sys/libkern/udivdi3.c:47
#8 0xc0640e5d in tc_windup () at /usr/src/sys/kern/kern_tc.c:491
#9 0xc064132d in tc_ticktock () at /usr/src/sys/kern/kern_tc.c:756
#10 0xc060ec50 in hardclock (frame=0xe33b9c98) at
/usr/src/sys/kern/kern_clock.c:243
#11 0xc07fcbe5 in lapic_handle_timer (frame {cf_vec = 0, cf_fs =
-1037828088, cf_es = -1067319256, cf_ds = 40, cf_edi = -1036617472, cf_esi =
-1036617448, cf_ebp = -482632484, cf_ebx = 0, cf_edx = 0, cf_ecx = 1000, cf_eax
= 1000, cf_eip = -1062831147, cf_cs = 32, cf_eflags = 524870, cf_esp =
-482632452, cf_ss = -1062848970}) at /usr/src/sys/i386/i386/local_apic.c:630
#12 0xc07f73b0 in Xtimerint () at apic_vector.s:137
#13 0xc0a67bd5 in ?? ()
#14 0xe33b9d04 in ?? ()
#15 0xc07fe487 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1134
Previous frame inner to this frame (corrupt stack?)
(kgdb) list
256 * u[m..m+n] >> d (this is at most n digits and thus fits
in
257 * u[m+1..m+n], but we may need more source digits).
258 */
259 if (arq) {
260 if (d) {
261 for (i = m + n; i > m; --i)
262 u[i] = (u[i] >> d) |
263 LHALF(u[i - 1] << (HALF_BITS -
d));
264 u[i] = 0;
265 }
(kgdb) backtrace full
#0 doadump () at pcpu.h:165
No locals.
#1 0xc0638202 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
first_buf_printf = 1
#2 0xc0638498 in panic (fmt=0xc084e5a2 "%s") at
/usr/src/sys/kern/kern_shutdown.c:555
td = (struct thread *) 0xc2247780
bootopt = 260
newpanic = 0
ap = 0xc2247780 "<j$? ?$?"
buf = "page fault", '\0' <repeats 245 times>
#3 0xc0807c30 in trap_fatal (frame=0xe33b9b18, eva=2847068940) at
/usr/src/sys/i386/i386/trap.c:831
code = 40
type = 12
ss = 40
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl =
0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1,
ssd_gran = 1}
#4 0xc08073d2 in trap (frame {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi =
606, tf_esi = 0, tf_ebp = -482632736, tf_isp = -482632892, tf_ebx = 0, tf_edx =
0, tf_ecx = -1447898356, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip =
-1065286649, tf_cs = 32, tf_eflags = 589894, tf_esp = 55296, tf_ss = 55930})
at /usr/src/sys/i386/i386/trap.c:267
td = (struct thread *) 0xc2247780
p = (struct proc *) 0xc2246a3c
sticks = 0
i = 0
ucode = 0
type = 12
code = 2
eva = 2847068940
#5 0xc07f6dca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#6 0xc0810407 in __qdivrem (uq=Unhandled dwarf expression opcode 0x93
) at /usr/src/sys/libkern/qdivrem.c:251
uj0 = 0
uj1 = 0
uj2 = 0
tmp = {q = 3579545, uq = 3579545, sl = {3579545, 0}, ul = {3579545, 0}}
u = (digit *) 0xe33b9bc4
v = (digit *) 0xe33b9bb8
q = (digit *) 0xa9b2d30c
v1 = 55296
qhat = 606
rhat = 0
t = 0
m = 482632784
n = -482632780
d = 10
j = 0
i = 0
uspace = {512, 0, 0, 0, 0}
vspace = {62595, 0, 0, 55296, 40601}
qspace = {0, 0, 599, 61080, 39104}
#7 0xc081050e in __udivdi3 (a=9223372036854775808, b=3579545) at
/usr/src/sys/libkern/udivdi3.c:47
No locals.
#8 0xc0640e5d in tc_windup () at /usr/src/sys/kern/kern_tc.c:491
bt = {sec = 1041520524, frac = 1039604477975553048}
th = (struct timehands *) 0xc08c4060
tho = (struct timehands *) 0xc08c40a0
scale = 9223372036854775808
delta = 0
ncount = 0
ogen = 105179
i = 0
t = -1064550304
#9 0xc064132d in tc_ticktock () at /usr/src/sys/kern/kern_tc.c:756
count = 0
#10 0xc060ec50 in hardclock (frame=0xe33b9c98) at
/usr/src/sys/kern/kern_clock.c:243
need_softclock = 0
#11 0xc07fcbe5 in lapic_handle_timer (frame {cf_vec = 0, cf_fs =
-1037828088, cf_es = -1067319256, cf_ds = 40, cf_edi = -1036617472, cf_esi =
-1036617448, cf_ebp = -482632484, cf_ebx = 0, cf_edx = 0, cf_ecx = 1000, cf_eax
= 1000, cf_eip = -1062831147, cf_cs = 32, cf_eflags = 524870, cf_esp =
-482632452, cf_ss = -1062848970}) at /usr/src/sys/i386/i386/local_apic.c:630
la = (struct lapic *) 0xc09540e0
#12 0xc07f73b0 in Xtimerint () at apic_vector.s:137
No locals.
#13 0xc0a67bd5 in ?? ()
No symbol table info available.
#14 0xe33b9d04 in ?? ()
No symbol table info available.
#15 0xc07fe487 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1134
No locals.
Previous frame inner to this frame (corrupt stack?)
-------------- next part --------------
Copyright (c) 1992-2005 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 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005
root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: <IntelR AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2994.90-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
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=0x4400<CNTX-ID,<b14>>
Hyperthreading: 2 logical CPUs
real memory = 1056899072 (1007 MB)
avail memory = 1025335296 (977 MB)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 7 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 5 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
pci_link6: <ACPI PCI Link LNK0> irq 0 on acpi0
pci_link7: <ACPI PCI Link LNK1> irq 12 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
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865G (865G GMCH) SVGA controller> port 0xb000-0xb007 mem
0xf0000000-0xf7ffffff,0xfa000000-0xfa07ffff irq 16 at device 2.0 on pci0
agp0: detected 16252k stolen memory
agp0: aperture size is 128M
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
ahc0: <Adaptec 29160N Ultra160 SCSI adapter> port 0x9000-0x90ff mem
0xf9021000-0xf9021fff irq 16 at device 1.0 on pci1
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x9400-0x943f mem
0xf9020000-0xf9020fff,0xf9000000-0xf901ffff irq 18 at device 3.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:03:47:af:a6:6e
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,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xd2000-0xd37ff 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]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
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
Timecounter "TSC" frequency 2994900140 Hz quality 800
Timecounters tick every 1.000 msec
Waiting 5 seconds for SCSI devices to settle
ad0: 78533MB <HDS728080PLAT20 PF2OA21B> at ata0-master UDMA100
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST336607LW 0006> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 48 files 14
WARNING: /storage was not properly dismounted