random panics in RELENG_6

Ernis ernisv at gmail.com
Thu May 18 22:45:43 PDT 2006


---------- Forwarded message ----------
From: "Ernestas V." <ernisv at gmail.com>
Date: Wed, 17 May 2006 22:06:32 +0300
Subject: random panics in RELENG_6
To: freebsd-current at freebsd.org

Hi,

I'm having kernel panics often with RELENG_6 running on an old AMD K6-2 with
128 mb ram. Below is the stack trace from core file. I'm new to FreeBSD -
just trying it on my router for a few months. Can anyone help me to find out
what's happening?

Hardware used on this pc is ural usb wireless card, rl and dc network cards,
snd_cmi integrated soundcard.
It crashes one time in 1-2 days under normal load (web proxy,ipsec+racoon for
wifi, pppoe gateway to internet). But when I was building the kernel, it
crashed VERY often - ~10-15 times in a few hours until compilation was
done :)

---8<--------------------------
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   = 0x708005c
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc04e84a1
stack pointer           = 0x28:0xc86c9cc8
frame pointer           = 0x28:0xc86c9cd8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 235 (ppp)
trap number             = 12
panic: page fault
Uptime: 7m3s
Dumping 125 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 125MB (31984 pages) 109 93 77 61 45 29 13

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));

(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc04ff687 in boot (howto=260) at ../../../kern/kern_shutdown.c:399
#2  0xc04ffb78 in panic (fmt=0xc06e218f "%s")
at ../../../kern/kern_shutdown.c:555
#3  0xc06ba558 in trap_fatal (frame=0xc86c9c88, eva=117964892)
    at ../../../i386/i386/trap.c:831
#4  0xc06baba9 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1066125920, tf_esi =
117964816, tf_ebp = -932406056, tf_isp = -932406092, tf_ebx = -1052732288,
tf_edx = -1052732288, tf_ecx = 1, tf_eax = 4, tf_trapno = 12, tf_err = 0,
tf_eip = -1068596063, tf_cs = 32, tf_eflags = 65543, tf_esp = -1054110784,
tf_ss = -1054110784}) at ../../../i386/i386/trap.c:267
#5  0xc06ac9ba in calltrap () at ../../../i386/i386/exception.s:139
#6  0xc04e84a1 in ithread_schedule (ithread=0xc1409480)
at ../../../kern/kern_intr.c:406
#7  0xc04d258d in hardclock (frame=0xc1409480)
at ../../../kern/kern_clock.c:275
#8  0xc06afb91 in intr_execute_handlers (isrc=0xc07435a0, iframe=0xc86c9d34)
    at ../../../i386/i386/intr_machdep.c:203
#9  0xc06bd7ad in atpic_handle_intr (iframe=
      {if_vec = 0, if_fs = 59, if_es = 59, if_ds = 59, if_edi = 134987776,
if_esi = 1442, if_ebp = -1077943304, if_ebx = 2048, if_edx = 134999732,
if_ecx = 16, if_eax = 134987776, if_eip = 134664084, if_cs = 51, if_eflags =
642, if_esp = -1077943536, if_ss = 59})
    at ../../../i386/isa/atpic.c:558
#10 0xc06aca50 in Xatpic_intr0 () at atpic_vector.s:70
#11 0x0806cf94 in ?? ()
Previous frame inner to this frame (corrupt stack?)

---8<--------------------------

Thanks,
Ernestas Vaiciukevicius


More information about the freebsd-stable mailing list