From owner-svn-src-head@FreeBSD.ORG Thu Sep 5 06:19:17 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D6B3EF3D; Thu, 5 Sep 2013 06:19:17 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA9C2D93; Thu, 5 Sep 2013 06:19:17 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id C241EEA9; Thu, 5 Sep 2013 08:13:48 +0200 (CEST) Date: Thu, 5 Sep 2013 08:19:24 +0200 From: Pawel Jakub Dawidek To: Konstantin Belousov Subject: Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensola... Message-ID: <20130905061923.GA5011@garage.freebsd.pl> References: <201309050009.r8509vsE061271@svn.freebsd.org> <20130905024448.GO41229@kib.kiev.ua> <20130905061429.GD1388@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20130905061429.GD1388@garage.freebsd.pl> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 06:19:18 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 05, 2013 at 08:14:29AM +0200, Pawel Jakub Dawidek wrote: > On Thu, Sep 05, 2013 at 05:44:48AM +0300, Konstantin Belousov wrote: > > On Thu, Sep 05, 2013 at 12:09:57AM +0000, Pawel Jakub Dawidek wrote: > > > Author: pjd > > > Date: Thu Sep 5 00:09:56 2013 > > > New Revision: 255219 > > > URL: http://svnweb.freebsd.org/changeset/base/255219 > >=20 > > Shortly after the boot of the updated kernel, I get: > >=20 > > Fatal trap 12: page fault while in kernel mode > > cpuid =3D 7; apic id =3D 07 > > fault virtual address =3D 0x0 > > fault code =3D supervisor read data, page not present > > instruction pointer =3D 0x20:0xffffffff802f685a > > stack pointer =3D 0x28:0xfffffe0235d50460 > > frame pointer =3D 0x28:0xfffffe0235d504b0 > > 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 199 (ip6addrctl) > > [ thread pid 199 tid 100086 ] > > Stopped at 0xffffffff802f685a =3D fget+0x2a: movq (%rdx),%rax > > db> bt > > Tracing pid 199 tid 100086 td 0xfffff80005351980 > > fget() at 0xffffffff802f685a =3D fget+0x2a/frame 0xfffffe0235d504b0 > > fdesc_lookup() at 0xffffffff80e6d88d =3D fdesc_lookup+0xed/frame 0xffff= fe0235d50510 > > VOP_LOOKUP_APV() at 0xffffffff8057b54e =3D VOP_LOOKUP_APV+0x12e/frame 0= xfffffe0235d50560 > > lookup() at 0xffffffff803d31b0 =3D lookup+0x5a0/frame 0xfffffe0235d505f0 > > namei() at 0xffffffff803d2934 =3D namei+0x464/frame 0xfffffe0235d506c0 > > vn_open_cred() at 0xffffffff803ee78f =3D vn_open_cred+0x27f/frame 0xfff= ffe0235d50810 > > kern_openat() at 0xffffffff803e7bfd =3D kern_openat+0x22d/frame 0xfffff= e0235d50980 > > amd64_syscall() at 0xffffffff805387dd =3D amd64_syscall+0x28d/frame 0xf= ffffe0235d50ab0 > > Xfast_syscall() at 0xffffffff8051f21b =3D Xfast_syscall+0xfb/frame 0xff= fffe0235d50ab0 > > --- syscall (5, FreeBSD ELF64, sys_open), rip =3D 0x800942d6a, rsp =3D = 0x7fffffffcff8, rbp =3D 0x7fffffffd030 --- > >=20 > > (gdb) list *fget+0x2a > > 0xffffffff802f685a is in fget (/usr/home/kostik/work/build/bsd/DEV/src/= sys/kern/kern_descrip.c:2385). > >=20 > > I do not have any capsicum-related options in the kernel config. >=20 > Do you have some local changes? Could you try to do full buildkernel? > There were two compilation issues when CAPABILITIES option was absent in > kernel configuration, so something isn't right is you were able to > compile your kernel. Forgot to mention that my test machine can boot fine with kernel compiled without the CAPABILITIES option. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://mobter.com --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIoImsACgkQForvXbEpPzRzEgCgzKvz0coHX/W159XjqRTKz5TU iOYAn3U/51RO8DkLhDT2LelfDIS/p9sQ =RDpB -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--