Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2007 20:36:44 GMT
From:      Stefan Krüger<skrueger@europe.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/112532: freebsd6-stable SMP kernel crash, maybe nfs related
Message-ID:  <200705082036.l48Kai26052008@www.freebsd.org>
Resent-Message-ID: <200705082050.l48Ko3Ht015361@freefall.freebsd.org>

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

>Number:         112532
>Category:       kern
>Synopsis:       freebsd6-stable SMP kernel crash, maybe nfs related
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 08 20:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Krüger
>Release:        FreeBSD 6.2-STABLE
>Organization:
>Environment:
FreeBSD 6.2-STABLE #0: Sun May  6 02:06:28 CEST 2007 root@localhost:/usr/obj/usr/src/sys/SMP_ALTQ
>Description:
# cat /var/crash/info.0
Dump header from device /dev/da0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 1073283072B (1023 MB)
  Blocksize: 512
  Dumptime: Sun May  6 10:16:24 2007
  Hostname: beastie.example.net
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.2-STABLE #0: Sun May  6 02:06:28 CEST 2007
    space7@beastie.example.net:/usr/obj/usr/src/sys/SMP_ALTQ
  Panic String: page fault
  Dump Parity: 3165583476
  Bounds: 0
  Dump Status: good

# kgdb /var/crash/kernel.debug /var/crash/vmcore.0
[snip]
Unread portion of the kernel message buffer:
<118>May  6 10:16:24 beastie init: /bin/sh on /etc/rc.shutdown terminated abnormally, going to single user mode
<118>May  6 10:16:24 beastie syslogd: exiting on signal 15


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x24
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0767ae6
stack pointer           = 0x28:0xeb87fab0
frame pointer           = 0x28:0xeb87fc4c
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         = 816 (mountd)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 44m18s
Dumping 1023 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 1023MB (261872 pages) 1007 991 975 959 943 927 911 895 879 863 847 83
1 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) bt
#0  doadump () at pcpu.h:165
#1  0xc0711271 in boot (howto=16644) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0711664 in panic (fmt=0xc09fbbb2 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc099975c in trap_fatal (frame=0xeb87fa70, eva=0)
    at /usr/src/sys/i386/i386/trap.c:837
#4  0xc0999402 in trap_pfault (frame=0xeb87fa70, usermode=0, eva=36)
    at /usr/src/sys/i386/i386/trap.c:745
#5  0xc0998f9d in trap (frame=
      {tf_fs = -986644472, tf_es = -343474136, tf_ds = -1066008536, tf_edi = 0, tf_esi = -984895488, tf_ebp = -343409588, tf_isp = -343410020, tf_ebx = -985990192, tf_edx = -986000112, tf_ecx = 4, tf_eax = -986581260, tf_trapno = 12, tf_err = 0, tf_eip = -1065977114, tf_cs = 32, tf_eflags = 66178, tf_esp = -984861296, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:435
#6  0xc097ff3a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0767ae6 in unp_connect (so=0xc559f000, nam=0xc5d54940, td=0xc526b900)
    at /usr/src/sys/kern/uipc_usrreq.c:1031
#8  0xc0765807 in uipc_connect (so=0xc559f000, nam=0xc531f6f4, td=0xc531f6f4)
    at /usr/src/sys/kern/uipc_usrreq.c:243
#9  0xc075a297 in soconnect (so=0xc559f000, nam=0xc531f6f4, td=0xc531f6f4)
    at /usr/src/sys/kern/uipc_socket.c:558
#10 0xc076156d in kern_connect (td=0xc526b900, fd=-986581260, sa=0xc5d54940)
    at /usr/src/sys/kern/uipc_syscalls.c:536
#11 0xc0761491 in connect (td=0xc531f6f4, uap=0xeb87fd04)
    at /usr/src/sys/kern/uipc_syscalls.c:505
#12 0xc0999b80 in syscall (frame=
      {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 672689924, tf_esi = 3, tf_ebp = -1077942104, tf_isp = -343409308, tf_ebx = 672602528, tf_edx = -1077941920, tf_ecx = 672602528, tf_eax = 98, tf_trapno = 0, tf_err = 2, tf_eip = 672402143, tf_cs = 51, tf_eflags = 582, tf_esp = -1077942468, tf_ss = 59})
    at /usr/src/sys/i386/i386/trap.c:983
#13 0xc097ff8f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#14 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

if you need more info, feel free to mail me instructions

kernel.debug + vmcore.0 available on request
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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