Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 15:41:18 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-current@FreeBSD.org
Subject:   Linuxulator: CRASH
Message-ID:  <20150525204118.GA1176@borg.lerctr.org>

next in thread | raw e-mail | index | archive | help
I have a boinc-client installation running World Community Grid science
that's been working fine for months. 

Updated to current -HEAD, and now we crash the kernel if it's running. 

The backtrace points to the linuxulator. 

Ideas?


borg.lerctr.org dumped core - see /var/crash/vmcore.17

Mon May 25 15:38:26 CDT 2015

FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #45 r283537: Mon May 25 15:10:23 CDT 2015     root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64

panic: page fault

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 "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address	= 0xfffffe2e72400000
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff80e96273
stack pointer	        = 0x28:0xfffffe2eb49c7600
frame pointer	        = 0x28:0xfffffe2eb49c7610
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		= 1128 (wcgrid_fahv_vina_pr)
trap number		= 12
panic: page fault
cpuid = 3
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe2eb49c7150
vpanic() at vpanic+0x189/frame 0xfffffe2eb49c71d0
panic() at panic+0x43/frame 0xfffffe2eb49c7230
trap_fatal() at trap_fatal+0x379/frame 0xfffffe2eb49c7290
trap_pfault() at trap_pfault+0x22e/frame 0xfffffe2eb49c7330
trap() at trap+0x4b5/frame 0xfffffe2eb49c7540
calltrap() at calltrap+0x8/frame 0xfffffe2eb49c7540
--- trap 0xc, rip = 0xffffffff80e96273, rsp = 0xfffffe2eb49c7600, rbp = 0xfffffe2eb49c7610 ---
copystr() at copystr+0x13/frame 0xfffffe2eb49c7610
namei() at namei+0xdb/frame 0xfffffe2eb49c76d0
kern_execve() at kern_execve+0x24c/frame 0xfffffe2eb49c7a20
linux_common_execve() at linux_common_execve+0x84/frame 0xfffffe2eb49c7a60
linux_execve() at linux_execve+0xad/frame 0xfffffe2eb49c7ae0
ia32_syscall() at ia32_syscall+0x288/frame 0xfffffe2eb49c7bf0
Xint0x80_syscall() at Xint0x80_syscall+0x95/frame 0xfffffe2eb49c7bf0
--- syscall (0, Linux ELF32, linux_nosys), rip = 0x8048110, rsp = 0xffffcca4, rbp = 0 ---
Uptime: 1m33s
Dumping 2647 out of 64457 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

Reading symbols from /boot/kernel/linux.ko.symbols...done.
Loaded symbols for /boot/kernel/linux.ko.symbols
Reading symbols from /boot/kernel/linux_common.ko.symbols...done.
Loaded symbols for /boot/kernel/linux_common.ko.symbols
Reading symbols from /boot/kernel/if_lagg.ko.symbols...done.
Loaded symbols for /boot/kernel/if_lagg.ko.symbols
Reading symbols from /boot/kernel/snd_envy24ht.ko.symbols...done.
Loaded symbols for /boot/kernel/snd_envy24ht.ko.symbols
Reading symbols from /boot/kernel/snd_spicds.ko.symbols...done.
Loaded symbols for /boot/kernel/snd_spicds.ko.symbols
Reading symbols from /boot/kernel/coretemp.ko.symbols...done.
Loaded symbols for /boot/kernel/coretemp.ko.symbols
Reading symbols from /boot/kernel/ichsmb.ko.symbols...done.
Loaded symbols for /boot/kernel/ichsmb.ko.symbols
Reading symbols from /boot/kernel/smbus.ko.symbols...done.
Loaded symbols for /boot/kernel/smbus.ko.symbols
Reading symbols from /boot/kernel/ichwd.ko.symbols...done.
Loaded symbols for /boot/kernel/ichwd.ko.symbols
Reading symbols from /boot/kernel/cpuctl.ko.symbols...done.
Loaded symbols for /boot/kernel/cpuctl.ko.symbols
Reading symbols from /boot/kernel/crypto.ko.symbols...done.
Loaded symbols for /boot/kernel/crypto.ko.symbols
Reading symbols from /boot/kernel/cryptodev.ko.symbols...done.
Loaded symbols for /boot/kernel/cryptodev.ko.symbols
Reading symbols from /boot/kernel/dtraceall.ko.symbols...done.
Loaded symbols for /boot/kernel/dtraceall.ko.symbols
Reading symbols from /boot/kernel/profile.ko.symbols...done.
Loaded symbols for /boot/kernel/profile.ko.symbols
Reading symbols from /boot/kernel/dtrace.ko.symbols...done.
Loaded symbols for /boot/kernel/dtrace.ko.symbols
Reading symbols from /boot/kernel/systrace_freebsd32.ko.symbols...done.
Loaded symbols for /boot/kernel/systrace_freebsd32.ko.symbols
Reading symbols from /boot/kernel/systrace.ko.symbols...done.
Loaded symbols for /boot/kernel/systrace.ko.symbols
Reading symbols from /boot/kernel/sdt.ko.symbols...done.
Loaded symbols for /boot/kernel/sdt.ko.symbols
Reading symbols from /boot/kernel/lockstat.ko.symbols...done.
Loaded symbols for /boot/kernel/lockstat.ko.symbols
Reading symbols from /boot/kernel/fasttrap.ko.symbols...done.
Loaded symbols for /boot/kernel/fasttrap.ko.symbols
Reading symbols from /boot/kernel/fbt.ko.symbols...done.
Loaded symbols for /boot/kernel/fbt.ko.symbols
Reading symbols from /boot/kernel/dtnfscl.ko.symbols...done.
Loaded symbols for /boot/kernel/dtnfscl.ko.symbols
Reading symbols from /boot/kernel/dtmalloc.ko.symbols...done.
Loaded symbols for /boot/kernel/dtmalloc.ko.symbols
Reading symbols from /boot/modules/vboxdrv.ko...done.
Loaded symbols for /boot/modules/vboxdrv.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/kernel/ipmi.ko.symbols...done.
Loaded symbols for /boot/kernel/ipmi.ko.symbols
Reading symbols from /boot/kernel/ipmi_linux.ko.symbols...done.
Loaded symbols for /boot/kernel/ipmi_linux.ko.symbols
Reading symbols from /boot/kernel/radeonkms.ko.symbols...done.
Loaded symbols for /boot/kernel/radeonkms.ko.symbols
Reading symbols from /boot/kernel/iicbb.ko.symbols...done.
Loaded symbols for /boot/kernel/iicbb.ko.symbols
Reading symbols from /boot/kernel/iicbus.ko.symbols...done.
Loaded symbols for /boot/kernel/iicbus.ko.symbols
Reading symbols from /boot/kernel/iic.ko.symbols...done.
Loaded symbols for /boot/kernel/iic.ko.symbols
Reading symbols from /boot/kernel/drm2.ko.symbols...done.
Loaded symbols for /boot/kernel/drm2.ko.symbols
Reading symbols from /boot/kernel/radeonkmsfw_R100_cp.ko.symbols...done.
Loaded symbols for /boot/kernel/radeonkmsfw_R100_cp.ko.symbols
Reading symbols from /boot/kernel/uhid.ko.symbols...done.
Loaded symbols for /boot/kernel/uhid.ko.symbols
Reading symbols from /boot/kernel/ums.ko.symbols...done.
Loaded symbols for /boot/kernel/ums.ko.symbols
Reading symbols from /boot/modules/vboxnetflt.ko...done.
Loaded symbols for /boot/modules/vboxnetflt.ko
Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
Loaded symbols for /boot/kernel/netgraph.ko.symbols
Reading symbols from /boot/kernel/ng_ether.ko.symbols...done.
Loaded symbols for /boot/kernel/ng_ether.ko.symbols
Reading symbols from /boot/modules/vboxnetadp.ko...done.
Loaded symbols for /boot/modules/vboxnetadp.ko
#0  doadump (textdump=1) at pcpu.h:221
221	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:221
#1  0xffffffff80a84975 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:447
#2  0xffffffff80a84f68 in vpanic (fmt=<value optimized out>, 
    ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:744
#3  0xffffffff80a84fb3 in panic (fmt=0x0)
    at /usr/src/sys/kern/kern_shutdown.c:675
#4  0xffffffff80e980b9 in trap_fatal (frame=<value optimized out>, 
    eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:859
#5  0xffffffff80e982fe in trap_pfault (frame=0xfffffe2eb49c7550, 
    usermode=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:676
#6  0xffffffff80e979c5 in trap (frame=0xfffffe2eb49c7550)
    at /usr/src/sys/amd64/amd64/trap.c:426
#7  0xffffffff80e787d2 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:235
#8  0xffffffff80e96273 in copystr () at /usr/src/sys/amd64/amd64/support.S:662
#9  0xffffffff80b296eb in namei (ndp=0xfffffe2eb49c7900)
    at /usr/src/sys/kern/vfs_lookup.c:165
#10 0xffffffff80a4425c in kern_execve (td=0xfffff800ac6044b0, 
    args=0xfffffe2eb49c7a88, mac_p=<value optimized out>)
    at /usr/src/sys/kern/kern_exec.c:432
#11 0xffffffff81e935d4 in linux_common_execve (td=0xfffff800ac6044b0, 
    eargs=0xfffffe2eb49c7a88)
    at /usr/src/sys/modules/linux_common/../../compat/linux/linux_emul.c:195
#12 0xffffffff81e0503d in linux_execve (td=0xfffff800ac6044b0, 
    args=<value optimized out>)
    at /usr/src/sys/modules/linux/../../amd64/linux32/linux32_machdep.c:151
#13 0xffffffff80f9c9d8 in ia32_syscall (frame=0xfffffe2eb49c7c00)
    at subr_syscall.c:133
#14 0xffffffff80e78db5 in Xint0x80_syscall () at ia32_exception.S:73
#15 0x0000000008048110 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688



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