From owner-freebsd-current@FreeBSD.ORG Tue Sep 2 00:49:21 2014 Return-Path: Delivered-To: freebsd-current@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 ESMTPS id CE7A8213 for ; Tue, 2 Sep 2014 00:49:21 +0000 (UTC) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A04701934 for ; Tue, 2 Sep 2014 00:49:21 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id ey11so13270218pad.7 for ; Mon, 01 Sep 2014 17:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=FumV9boU1BS1IcHYUm5gjayozHKXUUIVquf7xCT8jrA=; b=WSHLhxGa91Erx8QTCGD6RFXs9QVNk5/llxncWXqeG5ImhgsGudSeU7tkhJF2tMTfQl QyKcEpATJ+tO+OY4OmLJJb7NWTj6kCKisRPzhq4VuDsY28NhTjnXHoDMMUjC113ltz0X oK6Id4XgJcrp6xhD6WInvYPP2FfnoaUB16ELK2yoxHOWIvOxT2YWnHDgMp2XSwQtCUMV OabLFg5bpBAXsCdZ67wjqFxSWCeC+Uo7Dh7kBWW0bQXAD5wOW0C4FXtUIpDyunL7T6la T9mg4LXcs7VnBAuUI8be9/cKHKFCtmrzkh4tCVz+AWo0h9pUDsx0kfCtA02VlMb/i4Ao 676A== X-Received: by 10.68.224.225 with SMTP id rf1mr23778432pbc.56.1409618961184; Mon, 01 Sep 2014 17:49:21 -0700 (PDT) Received: from [192.168.20.11] (c-98-247-240-204.hsd1.wa.comcast.net. [98.247.240.204]) by mx.google.com with ESMTPSA id qv9sm2079427pbb.86.2014.09.01.17.49.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Sep 2014 17:49:20 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (11D257) From: Garrett Cooper Subject: Re: Kernel page fault with non-sleepable locks held error with kernel r270837 Date: Mon, 1 Sep 2014 17:49:19 -0700 To: "hiroo.ono+freebsd@gmail.com" Cc: freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 00:49:22 -0000 > On Aug 30, 2014, at 22:01, Hiroo Ono (=1B$B>.Ln42@8=1B(B) wrote: >=20 > Hello, >=20 > During upgrading world and kernel from r26939 to r270837, I got the > following problem. > a) the arch is i386 > b) kernel is of r270837, userland is of r26939 (make kernel is done > and rebooted, make installworld not yet). > c) booting in single user mode is OK. > d) during startup of multi-user mode, when dhclient is run, the > following message appears, and the system freezes: >=20 > Starting devd. > wlan0: link state changed to UP > Starting webcamd. > Attached to ugen4.2[0] > Starting webcready running for ugen4.2.0 > /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd > Starting dhclient. > DHCPREQUEST on wlan0 to 255.255.255.255 port 67 > DHCPACK from 192.168.8.2 > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex so_rcv (so_rcv) r =3D 0 (0xc713f078) locked @ > /usr/src/sys/kern/kern_event.c:2005 > KDB stack backtrace: > rapper+0x2d/frame 0xe8f42710 > kdb_backtrace(c11aaf80,0,c713f078,c119a9e8,7d5,...) at 0xc0b4b160 =3D > kdb_backtrace+0x30/frame 0xe8f42778 > witness_warn(5,0,c136b0a0,76fb000,c1833d58,...) at 0xc8b68a52 =3D > witness_warn+0x402/frame 0xe8f427c8 > trap_pfault(18,3fd,c0dcc2d0,c1f64a80,c75fa000,...) at 0xc102f46b =3D > trap_pfault+0x5b/frame 0xe8f42840 > trap(e8f42988) at 0xc102edcf =3D trap+0x6cf/frame 0xe8f4297c > calltrap() at 0xc1017c4c =3D calltrap+0x6/frame 0xe8f4297c > filt_soread(c75f7828,0,c119a9e8,48d,0,...) at 0xc0b9837d =3D > filt_soread+0x9d/frame 0xe8f429f0 > kqueue_register(c6f59310,1,1,4f5,0,...) at 0xc0ad1457 =3D > kqueue_register+0x807/frame 0xe8f42a68 > kern_kevent(c6f59310,7,12c217ce1 =3D Xint0x80), eip =3D > instruction poi =3D 0x28:0xe8f429f0 fff, type 0x1b > DHCPREQUEST on wlan0 to 255.255.255.255 port 67 > DHCPACK from 192.168.8.2 Is bpf built into the kernel, or is it built and loaded as a module. I'm won= dering because an issue with vimage and socket "hook" support was resolved i= n an earlier revision, but this might not have been caught: http://svnweb.freebsd.org/base?view=3Drevision&revision=3D270318 Cheers, -Garrett=