Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 13:42:44 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-current@FreeBSD.org, Chagin Dmitry <dchagin@freebsd.org>
Subject:   Re: Linuxulator: CRASH
Message-ID:  <0A9E570A-AFBF-4667-9075-3542E5952D46@gmail.com>
In-Reply-To: <20150525204118.GA1176@borg.lerctr.org>
References:  <20150525204118.GA1176@borg.lerctr.org>

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

--Apple-Mail=_72A8C96E-7223-4A10-AF1D-664C1D5C6F32
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On May 25, 2015, at 13:41, Larry Rosenman <ler@lerctr.org> wrote:

> I have a boinc-client installation running World Community Grid =
science
> that's been working fine for months.
>=20
> Updated to current -HEAD, and now we crash the kernel if it's running.
>=20
> The backtrace points to the linuxulator.
>=20
> Ideas?
>=20
>=20
> borg.lerctr.org dumped core - see /var/crash/vmcore.17
>=20
> Mon May 25 15:38:26 CDT 2015
>=20
> 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
>=20
> panic: page fault
>=20
> 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"...
>=20
> Unread portion of the kernel message buffer:
>=20
>=20
> Fatal trap 12: page fault while in kernel mode
> cpuid =3D 3; apic id =3D 03
> fault virtual address	=3D 0xfffffe2e72400000
> fault code		=3D supervisor read data, page not present
> instruction pointer	=3D 0x20:0xffffffff80e96273
> stack pointer	        =3D 0x28:0xfffffe2eb49c7600
> frame pointer	        =3D 0x28:0xfffffe2eb49c7610
> code segment		=3D base 0x0, limit 0xfffff, type 0x1b
> 			=3D DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
> current process		=3D 1128 (wcgrid_fahv_vina_pr)
> trap number		=3D 12
> panic: page fault
> cpuid =3D 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 =3D 0xffffffff80e96273, rsp =3D 0xfffffe2eb49c7600, =
rbp =3D 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 =3D 0x8048110, rsp =3D =
0xffffcca4, rbp =3D 0 ---
> Uptime: 1m33s
> Dumping 2647 out of 64457 =
MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%
>=20
> 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=3D1) at pcpu.h:221
> 221	pcpu.h: No such file or directory.
> 	in pcpu.h
> (kgdb) #0  doadump (textdump=3D1) at pcpu.h:221
> #1  0xffffffff80a84975 in kern_reboot (howto=3D260)
>    at /usr/src/sys/kern/kern_shutdown.c:447
> #2  0xffffffff80a84f68 in vpanic (fmt=3D<value optimized out>,
>    ap=3D<value optimized out>) at =
/usr/src/sys/kern/kern_shutdown.c:744
> #3  0xffffffff80a84fb3 in panic (fmt=3D0x0)
>    at /usr/src/sys/kern/kern_shutdown.c:675
> #4  0xffffffff80e980b9 in trap_fatal (frame=3D<value optimized out>,
>    eva=3D<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:859
> #5  0xffffffff80e982fe in trap_pfault (frame=3D0xfffffe2eb49c7550,
>    usermode=3D<value optimized out>) at =
/usr/src/sys/amd64/amd64/trap.c:676
> #6  0xffffffff80e979c5 in trap (frame=3D0xfffffe2eb49c7550)
>    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=3D0xfffffe2eb49c7900)
>    at /usr/src/sys/kern/vfs_lookup.c:165
> #10 0xffffffff80a4425c in kern_execve (td=3D0xfffff800ac6044b0,
>    args=3D0xfffffe2eb49c7a88, mac_p=3D<value optimized out>)
>    at /usr/src/sys/kern/kern_exec.c:432
> #11 0xffffffff81e935d4 in linux_common_execve (td=3D0xfffff800ac6044b0,
>    eargs=3D0xfffffe2eb49c7a88)
>    at =
/usr/src/sys/modules/linux_common/../../compat/linux/linux_emul.c:195
> #12 0xffffffff81e0503d in linux_execve (td=3D0xfffff800ac6044b0,
>    args=3D<value optimized out>)
>    at =
/usr/src/sys/modules/linux/../../amd64/linux32/linux32_machdep.c:151
> #13 0xffffffff80f9c9d8 in ia32_syscall (frame=3D0xfffffe2eb49c7c00)
>    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

CCing Dmitry..

--Apple-Mail=_72A8C96E-7223-4A10-AF1D-664C1D5C6F32
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJVY4lEAAoJEMZr5QU6S73eMRkH/0LuDvlq7QtaImzaf8w8YFY7
8oehF5agZtyacJKXNqTsWr03QFAvNzsGOkgUsMazvdN1E1oi0IEDU0wGYRBm4q5q
n9fbkmNNrFPi2uHvhZbGjlAxfs9AZ4Ng8aTd6nd0NR/5+WHmK7NaNqutSKGvGZLo
IuhuVB9B+svEHEC78MprK+Th4V6Z9fHJCJYbXJ/sVpvrMK/45jqSkfMeJWM7f0tQ
17HQoZiuryIh+9R2kuLfqzZn1OOwsHHR4A7WE0FcXODAiEVMcHAhNSBxZkDjJnhQ
VMgeuoOAMTSLDIz6sYtrJxAf7mLKCzZgR8oOvY5tDSWBDGuFPpSjkOGud0oM9hE=
=NW1y
-----END PGP SIGNATURE-----

--Apple-Mail=_72A8C96E-7223-4A10-AF1D-664C1D5C6F32--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A9E570A-AFBF-4667-9075-3542E5952D46>