Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 15:25:11 -0700
From:      Clinton Adams <clinton.adams@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   kernel panics involving NFS+RPCSEC_GSS
Message-ID:  <CAEuopLZo%2BffHyuOtPTv%2BsAX27SUt0AV-5b3t2wekejM1xG6Rag@mail.gmail.com>

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

Kernel panics if clients hit the nfs server sufficiently hard -
happens repeatedly with 13 clients logging in at the same approximate
time, using nfsv4 mounted homes.

server is running freebsd 8.2-RELEASE-p2. clients are linux 2.6.38-10

Running a memtest on the server now to rule out bad mem. The server
has been used for samba, and it's only with the attempted switch to
nfs that this problem has appeared.

Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address   = 0xffffff80007bd260
    fault code              = supervisor read data, page not present
    instruction pointer     = 0x20:0xffffffff80e20939
    stack pointer           = 0x28:0xffffff80732baaa0
    frame pointer           = 0x28:0xffffff80732bab80
    code segment            = base 0x0, limit 0xfffff, type 0x1b
                            = DPL 0, pres 1, long 1, def32 0, gran 1
    processor eflags        = interrupt enabled, resume, IOPL = 0
    current process         = 0 (wpi0 taskq)
    trap number             = 12
    panic: page fault
    cpuid = 0
    Uptime: 12m21s
    Physical memory: 4002 MB
    #0  doadump () at pcpu.h:223
    223             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
    (kgdb) list *0xffffffff80e20939
    0xffffffff80e20939 is in wpi_newstate
(/usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2453).
    2448                    device_printf(sc->sc_dev, "could not configure\n");
    2449                    return error;
    2450            }
    2451
    2452            /* configuration has changed, set Tx power accordingly */
    2453            if ((error = wpi_set_txpower(sc, ni->ni_chan, 1)) != 0) {
    2454                    device_printf(sc->sc_dev, "could not set
Tx power\n");
    2455                    return error;
    2456            }
    2457
    (kgdb) backtrace
    #0  doadump () at pcpu.h:223
    #1  0xffffffff8056f9c0 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:416
    #2  0xffffffff8056fe2d in panic (fmt=0xffffffff80917ba4 "%s") at
/usr/src/sys/kern/kern_shutdown.c:579
    #3  0xffffffff80842c20 in trap_fatal (frame=0xffffff0002a80740,
eva=Variable "eva" is not available.
    )
        at /usr/src/sys/amd64/amd64/trap.c:857
    #4  0xffffffff80842fcc in trap_pfault (frame=0xffffff80732ba9f0, usermode=0)
        at /usr/src/sys/amd64/amd64/trap.c:773
    #5  0xffffffff80843618 in trap (frame=0xffffff80732ba9f0) at
/usr/src/sys/amd64/amd64/trap.c:499
    #6  0xffffffff8082a6d3 in calltrap () at
/usr/src/sys/amd64/amd64/exception.S:224
    #7  0xffffffff80e20939 in wpi_newstate (vap=0xffffff0005aca000,
nstate=IEEE80211_S_AUTH, arg=192)
        at /usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2482
    #8  0xffffffff806517dc in ieee80211_newstate_cb (xvap=Variable
"xvap" is not available.
    )
        at /usr/src/sys/net80211/ieee80211_proto.c:1654
    #9  0xffffffff805a9ded in taskqueue_run (queue=0xffffff000314cd00)
        at /usr/src/sys/kern/subr_taskqueue.c:239
    #10 0xffffffff805aa052 in taskqueue_thread_loop (arg=Variable
"arg" is not available.
    ) at /usr/src/sys/kern/subr_taskqueue.c:360
    #11 0xffffffff80548e4d in fork_exit (callout=0xffffffff805aa00c
<taskqueue_thread_loop>,
        arg=0xffffff80003ab0b8, frame=0xffffff80732bac80) at
/usr/src/sys/kern/kern_fork.c:843
    #12 0xffffffff8082abae in fork_trampoline () at
/usr/src/sys/amd64/amd64/exception.S:561
    #13 0x0000000000000000 in ?? ()
    #14 0x0000000000000000 in ?? ()
    #15 0x0000000000000000 in ?? ()
    #16 0x0000000000000000 in ?? ()
    #17 0x0000000000000000 in ?? ()
    #18 0x0000000000000000 in ?? ()
    #19 0x0000000000000000 in ?? ()
    #20 0x0000000000000000 in ?? ()
    #21 0x0000000000000000 in ?? ()
    #22 0x0000000000000000 in ?? ()
    #23 0x0000000000000000 in ?? ()
    #24 0x0000000000000000 in ?? ()
    #25 0x0000000000000000 in ?? ()
    #26 0x0000000000000000 in ?? ()
    #27 0x0000000000000000 in ?? ()
    #28 0x0000000000000000 in ?? ()
    #29 0x0000000000000000 in ?? ()
    #30 0x0000000000000000 in ?? ()
    #31 0x0000000000000000 in ?? ()
    #32 0x0000000000000000 in ?? ()
    #33 0x0000000000000000 in ?? ()
    #34 0x0000000000000000 in ?? ()
    #35 0x0000000000000000 in ?? ()
    #36 0x0000000000000000 in ?? ()
    #37 0x0000000001c71000 in ?? ()
    #38 0x0000000000000000 in ?? ()
    #39 0x0000000000000000 in ?? ()
    #40 0xffffff000239ee40 in ?? ()
    #41 0xffffff0003901000 in ?? ()
    #42 0xffffff80732ba140 in ?? ()
    #43 0xffffff80732ba0f8 in ?? ()
    #44 0xffffff0002a80740 in ?? ()
    #45 0xffffffff80592283 in sched_switch (td=0xffffff80003ab0b8,
newtd=0xffffffff805aa00c, flags=Variable "flags" is not available.
    )
        at /usr/src/sys/kern/sched_ule.c:1844
    Previous frame inner to this frame (corrupt stack?)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEuopLZo%2BffHyuOtPTv%2BsAX27SUt0AV-5b3t2wekejM1xG6Rag>