From owner-freebsd-current@FreeBSD.ORG Sun May 14 14:04:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D25416A45E for ; Sun, 14 May 2006 14:04:09 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC1743D45 for ; Sun, 14 May 2006 14:04:08 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4EE47UT028693; Sun, 14 May 2006 10:04:07 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k4EE46li052890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 May 2006 10:04:06 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060514100211.08f21a18@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 14 May 2006 10:04:02 -0400 To: sekes From: Mike Tancsa In-Reply-To: <53cc795f0605140344q3ab31c04vfd23a1dbf0e00cd4@mail.gmail.co m> References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <59366.192.168.4.1.1147575479.squirrel@mail.abi01.homeunix.org> <53cc795f0605140344q3ab31c04vfd23a1dbf0e00cd4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 14 May 2006 14:04:09 -0000 At 06:44 AM 14/05/2006, sekes wrote: >i've read BUGS section. and i haven't any uid/gid rules neither ipfw nor pf. >look my previous messgae with ipfw rules. > > >LOR appearing even i disabled ipfw at all Is it the same LOR when you have ipfw disabled ? (i.e. a LOR in ipdivert when you dont have ipdivert in the kernel ??) I ran into a number of problems with LORs in ipdivert (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/86427) I was able to avoid it by changing to pf and doing the natting there. ---Mike >On 5/14/06, Max Laier wrote: >> >>Hi, >> >>On Sat, May 13, 2006 10:45 pm, sekes wrote: >> > i found the reason of my unpredictable reboots. >> > it is in netgraph.ko module. if i don't let ppp(8) and mpd(8) load >>module >> > system works fine. >> > otherwise after a bit of time it hangs up with following error: >> > >> > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() >> > lock order reversal: >> > 1st 0xc2b8b090 inp (divinp) @ >> > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 >> > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) >>@ >> > /usr/src/sys/net/pfil.c:73 >> >>it looks like you are using pf(4) or ipfw(8) with user/group rules and >>haven't read the BUGS section of the respective manual page. The problem >>there is, that user/group rules are basically a layering violation and >>thus cause a LOR which might lead to a deadlock. We are working on a fix >>for that, but it might be a couple of weeks before that happens. Please >>do away with the user/group rules for now or enable Giant over the >>netstack. >> >>-- >>/"\ Best regards, | mlaier@freebsd.org >>\ / Max Laier | ICQ #67774661 >>X http://pf4freebsd.love2party.net/ | mlaier@EFnet >>/ \ ASCII Ribbon Campaign | Against HTML Mail and News >> >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"