From owner-freebsd-stable@FreeBSD.ORG Sat Feb 4 05:03:40 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A0E71065672 for ; Sat, 4 Feb 2012 05:03:40 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id BDF088FC12 for ; Sat, 4 Feb 2012 05:03:39 +0000 (UTC) Received: by iaeo4 with SMTP id o4so8811776iae.13 for ; Fri, 03 Feb 2012 21:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=P5p8fXAyoabZIxza9/xgZgejlKYCMg/l1jEbQ/hk/QQ=; b=LIcGoFX27g8aKI2KWO2LeLsR4ecRB0nUJvgZHXCSLRtCT//0IPjnJ1YV9zKcA2uEYj WjEvl9Ddai+4YqkBoQc6tgGqiKzx962vkmHXTFYRhffZbruZE477dF/QOU3/p/pRVabn 5R+HaCJ6kjD+GuFYWYxmokcm/wpHQ9NcVpWQg= Received: by 10.50.95.166 with SMTP id dl6mr11457261igb.27.1328330282620; Fri, 03 Feb 2012 20:38:02 -0800 (PST) Received: from DataIX.net (adsl-99-181-135-57.dsl.klmzmi.sbcglobal.net. [99.181.135.57]) by mx.google.com with ESMTPS id bj3sm7801715igb.4.2012.02.03.20.38.00 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 20:38:01 -0800 (PST) Sender: Jason Hellenthal Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q144bvD3042733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Feb 2012 23:37:57 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q144bu1D042637; Fri, 3 Feb 2012 23:37:56 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Fri, 3 Feb 2012 23:37:56 -0500 From: Jason Hellenthal To: Torfinn Ingolfsen Message-ID: <20120204043756.GA67863@DataIX.net> References: <20120202212222.e940f64c.torfinn.ingolfsen@broadpark.no> <20120203204110.cc933dc5.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120203204110.cc933dc5.torfinn.ingolfsen@broadpark.no> Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 8.2-stable: devd fails to restart X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 05:03:40 -0000 Just because of what I read already is pretty terse I am top-posting for a reason. $ su - # /etc/rc.d/devd stop # pgrep -l devd (This should show nothing if so kill the results) # /sbin/devd -D -d (Paste the results) On Fri, Feb 03, 2012 at 08:41:10PM +0100, Torfinn Ingolfsen wrote: > On Fri, 03 Feb 2012 08:34:10 +0300 > Sergey Kandaurov wrote: > > > Please apply this patch and report how it goes for you. > > http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/devd.diff?r1=1.12;r2=1.13 > > > > This is not in 8-STABLE yet. > > It looks like it (or almost the same) is here already: > root@kg-v2# more /etc/rc.d/devd > #!/bin/sh > # > # $FreeBSD: src/etc/rc.d/devd,v 1.11.2.2 2011/04/29 20:31:52 dougb Exp $ > # > > # PROVIDE: devd > # REQUIRE: netif network_ipv6 > # BEFORE: NETWORKING mountcritremote > # KEYWORD: nojail shutdown > > . /etc/rc.subr > > name="devd" > rcvar=`set_rcvar` > command="/sbin/${name}" > > start_precmd=${name}_prestart > stop_precmd=find_pidfile > > find_pidfile() > { > if get_pidfile_from_conf pid-file /etc/devd.conf; then > pidfile="$_pidfile_from_conf" > else > pidfile="/var/run/${name}.pid" > fi > } > > devd_prestart () > { > find_pidfile > > # If devd is disabled, turn it off in the kernel to avoid memory leaks. > if ! checkyesno ${rcvar}; then > $SYSCTL hw.bus.devctl_disable=1 > fi > } > > load_rc_config $name > run_rc_command "$1" > > HTH > -- > Torfinn > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- ;s =;