Fatal trap 12: page fault while in kernel mode -- on BETA4 i386 of Sep 14

From: Gleb Kozyrev <gkozyrev_at_ukr.net>
Date: Fri, 23 Sep 2005 20:32:19 +0300
Hello, All!

This panic keeps happening from time to time.
Is there any additional info I should post?

=========Beginning of the citation==============
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x58
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc06c62d0
stack pointer      = 0x28:0xcc8b8b14
frame pointer       = 0x28:0xcc8b8b34
code segment     = base0x0, limit 0xfffff, type 0x1b= DPL 0, pres 1, def32 1, gran 1
processor eflags=interruptenabled,resume,IOPL = 0
current process=898(mlnet-real)
trapnumber =1
=========The end of the citation================

(kgdb) bt full

=========Beginning of the citation==============
#0  doadump () at pcpu.h:165
No locals.
#1  0xc063312c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
        first_buf_printf = 1
#2  0xc0633441 in panic (fmt=0xc0825561 "%s") at /usr/src/sys/kern/kern_shutdown.c:555
        td = (struct thread *) 0xc15b9c00
        bootopt = 260
        newpanic = 1
        ap = 0xcc8b8a50 "iõ\207À"
        buf = "page fault", '\0' <repeats 245 times>
#3  0xc07f2046 in trap_fatal (frame=0xcc8b8ad4, eva=88) at /usr/src/sys/i386/i386/trap.c:841
        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 = 10, ssd_xx1 = 0, ssd_def32 =
1, ssd_gran = 1}
#4  0xc07f1d53 in trap_pfault (frame=0xcc8b8ad4, usermode=0, eva=88) at /usr/src/sys/i386/i386/trap.c:752
        va = 0
        vm = (struct vmspace *) 0x0
        map = 0xc15b3e10
        rv = 1
        ftype = 1 '\001'
        td = (struct thread *) 0xc15b9c00
        p = (struct proc *) 0xc15dca3c
#5  0xc07f199d in trap (frame=
      {tf_fs = 8, tf_es = -1065025496, tf_ds = 40, tf_edi = 0, tf_esi = -863269744, tf_ebp = -863270092, tf_isp = -863270144, tf_ebx
= 0, tf_edx = -863269488, tf_ecx = 0, tf_eax = 8, tf_trapno = 12, tf_err = 2, tf_eip = -1066638640, tf_cs = 32, tf_eflags = 66195,
tf_esp = 0, tf_ss = -1064920834})
    at /usr/src/sys/i386/i386/trap.c:442
        td = (struct thread *) 0xc15b9c00
        p = (struct proc *) 0xc15dca3c
        sticks = 3230809024
        i = 0
        ucode = 0
        type = 12
        code = 2
        eva = 88
#6  0xc07df5ba in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#7  0x00000008 in ?? ()
No symbol table info available.
#8  0xc0850028 in ?? ()
No symbol table info available.
#9  0x00000028 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
#11 0xcc8b8c90 in ?? ()
No symbol table info available.
#12 0xcc8b8b34 in ?? ()
No symbol table info available.
#13 0xcc8b8b00 in ?? ()
No symbol table info available.
#14 0x00000000 in ?? ()
No symbol table info available.
#15 0xcc8b8d90 in ?? ()
No symbol table info available.
#16 0x00000000 in ?? ()
No symbol table info available.
#17 0x00000008 in ?? ()
No symbol table info available.
#18 0x0000000c in ?? ()
No symbol table info available.
#19 0x00000002 in ?? ()
No symbol table info available.
#20 0xc06c62d0 in ip_ctloutput (so=0x0, sopt=0xcc8b8c90) at /usr/src/sys/netinet/ip_output.c:1206
        inp = (struct inpcb *) 0x0
        error = 0
        optval = 8
#21 0xc06d556b in tcp_ctloutput (so=0xc213cb20, sopt=0xcc8b8c90) at /usr/src/sys/netinet/tcp_usrreq.c:1041
        error = 0
        opt = 0
        optval = 0
        inp = (struct inpcb *) 0xc190f21c
        tp = (struct tcpcb *) 0xc213cb20
        ti = {tcpi_state = 108 'l', __tcpi_ca_state = 139 '\213', __tcpi_retransmits = 139 '\213', __tcpi_probes = 204 'Ì',
__tcpi_backoff = 196 'Ä',
  tcpi_options = 90 'Z', tcpi_snd_wscale = 5 '\005', tcpi_rcv_wscale = 6 '\006', __tcpi_rto = 3230878424, __tcpi_ato = 3230877464,
  __tcpi_snd_mss = 3231010048, __tcpi_rcv_mss = 0, __tcpi_unacked = 0, __tcpi_sacked = 3431697288, __tcpi_lost = 3227867844,
__tcpi_retrans = 3230877984,
  __tcpi_fackets = 3230877464, __tcpi_last_data_sent = 3231008384, __tcpi_last_ack_sent = 0, __tcpi_last_data_recv = 0,
__tcpi_last_ack_recv = 3431697316,
  __tcpi_pmtu = 3227867844, __tcpi_rcv_ssthresh = 3230878464, __tcpi_rtt = 3230877464, __tcpi_rttvar = 3231010560, tcpi_snd_ssthresh
= 0, tcpi_snd_cwnd = 0,
  __tcpi_advmss = 3244006400, __tcpi_reordering = 0, __tcpi_rcv_rtt = 3244006520, tcpi_rcv_space = 3431697356, tcpi_snd_wnd =
3227796715,
  tcpi_snd_bwnd = 3230809024, __tcpi_pad = {2, 3229989685, 615, 3244006400, 3431697368, 582, 3230838880, 3431697380, 3227694837,
3231126728, 3431697424,
    3227868852, 3230838880, 0, 3229998386, 1718, 3230838880, 0, 3229998386, 1715, 3231126732, 3431697456, 3227865758, 3231126728,
582, 3230396548,
    3244394796, 131, 3230011530, 3431697492, 3227694452, 3244394796}}
#22 0xc066d634 in sosetopt (so=0xc213cb20, sopt=0xcc8b8c90) at /usr/src/sys/kern/uipc_socket.c:1553
        error = -1050960896
        optval = -1064955766
        l = {l_onoff = 131, l_linger = 0}
        tv = {tv_sec = -1050572500, tv_usec = 0}
        val = 0
#23 0xc0671e79 in kern_setsockopt (td=0xc15b9c00, s=42, level=0, name=0, val=0x0, valseg=UIO_USERSPACE, valsize=0) at
/usr/src/sys/kern/uipc_syscalls.c:1331
        error = 0
        fp = (struct file *) 0xc16da798
        sopt = {sopt_dir = SOPT_SET, sopt_level = 0, sopt_name = 3, sopt_val = 0xbfbfed10, sopt_valsize = 4, sopt_td = 0xc15b9c00}
#24 0xc0671dc2 in setsockopt (td=0xc15b9c00, uap=0x0) at /usr/src/sys/kern/uipc_syscalls.c:1287
No locals.
#25 0xc07f22fb in syscall (frame=
      {tf_fs = 138608699, tf_es = 59, tf_ds = -1078001605, tf_edi = 1, tf_esi = 138794656, tf_ebp = -1077940968, tf_isp
= -863269532, tf_ebx = 138335196, tf_edx = 42, tf_ecx = 99, tf_eax = 105, tf_trapno = 22, tf_err = 2, tf_eip = 675680119, tf_cs =
51, tf_eflags = 514, tf_esp = -1077941012, tf_ss = 59})
    at /usr/src/sys/i386/i386/trap.c:986
        params = 0xbfbfecf0 <Address 0xbfbfecf0 out of bounds>
        callp = (struct sysent *) 0xc08babec
        td = (struct thread *) 0xc15b9c00
        p = (struct proc *) 0xc15dca3c
        orig_tf_eflags = 514
        sticks = 2034628
        error = 0
        narg = 5
        args = {42, 0, 3, -1077940976, 4, 0, 2034628, -1050817988}
        code = 105
#26 0xc07df60f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
No locals.
#27 0x0843003b in ?? ()
#28 0x0000003b in ?? ()
No symbol table info available.
#29 0xbfbf003b in ?? ()
No symbol table info available.
#30 0x00000001 in ?? ()
No symbol table info available.
#31 0x0845d6a0 in ?? ()
No symbol table info available.
#32 0xbfbfed18 in ?? ()
No symbol table info available.
#33 0xcc8b8d64 in ?? ()
No symbol table info available.
#34 0x083ed3dc in ?? ()
No symbol table info available.
#35 0x0000002a in ?? ()
No symbol table info available.
#36 0x00000063 in ?? ()
No symbol table info available.
#37 0x00000069 in ?? ()
No symbol table info available.
#38 0x00000016 in ?? ()
No symbol table info available.
#39 0x00000002 in ?? ()
No symbol table info available.
#40 0x28460f77 in ?? ()
No symbol table info available.
#41 0x00000033 in ?? ()
No symbol table info available.
#42 0x00000202 in ?? ()
No symbol table info available.
#43 0xbfbfecec in ?? ()
No symbol table info available.
#44 0x0000003b in ?? ()
No symbol table info available.
#45 0x000000ad in ?? ()
No symbol table info available.
#46 0x000000ae in ?? ()
No symbol table info available.
#47 0x000000af in ?? ()
No symbol table info available.
#48 0x000000b0 in ?? ()
No symbol table info available.
#49 0x063a6000 in ?? ()
No symbol table info available.
#50 0xc15dca3c in ?? ()
No symbol table info available.
#51 0xc15b9c00 in ?? ()
No symbol table info available.
#52 0xcc8b87dc in ?? ()
No symbol table info available.
#53 0xcc8b87c4 in ?? ()
No symbol table info available.
#54 0xc1347480 in ?? ()
No symbol table info available.
#55 0xc06437df in sched_switch (td=0x845d6a0, newtd=0x83ed3dc, flags=Cannot access memory at address 0xbfbfed28
) at /usr/src/sys/kern/sched_4bsd.c:973
        kg = (struct ksegrp *) 0x0
        p = (struct proc *) 0x1
=========The end of the citation================

dmesg

=========Beginning of the citation==============
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-BETA4 #0: Wed Sep 14 10:37:28 EEST 2005
    root_at_localhost:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (331.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134217728 (128 MB)
avail memory = 121593856 (115 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> on acpi0
pci_link2: <ACPI PCI Link LNKC> on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 9 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1420-0x142f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1400-0x141f irq 9 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
pci0: <bridge> at device 7.3 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0xf4000000-0xf40000ff irq 11 at device 13.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:44:77:b2:4b
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
speaker0: <PC speaker> port 0x61 on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xe0000-0xe3fff,0xe4000-0xeffff on isa0
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
sbc0: <ESS ES1868> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
sbc0: [GIANT-LOCKED]
ata2: <Generic ESDI/IDE/ATA controller> at port 0x168-0x16f,0x36e-0x36f irq 12 on isa0
Timecounter "TSC" frequency 331832538 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 114498MB <SAMSUNG SP1213N TL100-23> at ata0-master UDMA33
acd0: CDRW <PLEXTOR CD-R PX-W8432T/1.09> at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
=========The end of the citation================

-- 
With best regards, Gleb Kozyrev.
Received on Fri Sep 23 2005 - 15:31:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC