From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: deadlocks if use htb Date: Fri, 10 Oct 2008 14:34:54 +0200 Message-ID: <48EF4BEE.7030400@trash.net> References: <20081010075640.GA5204@ff.dom.local> <48EF4B72.8080305@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Jarek Poplawski , netdev@vger.kernel.org, Denys To: Badalian Vyacheslav Return-path: Received: from stinky.trash.net ([213.144.137.162]:53334 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754491AbYJJMe5 (ORCPT ); Fri, 10 Oct 2008 08:34:57 -0400 In-Reply-To: <48EF4B72.8080305@trash.net> Sender: netdev-owner@vger.kernel.org List-ID: Patrick McHardy wrote: > Jarek Poplawski wrote: >> On 10-10-2008 07:44, Badalian Vyacheslav wrote: >>> Hello all! >> >> Hello Slavon, >> >>> Please look to if you have time: >>> http://bugzilla.kernel.org/show_bug.cgi?id=11718 >>> >>> We have deadlocks at few PC one times in week. >>> I can test any patches to detect and fix problem. >>> Now i test 2.6.27-rc kernel at one PC. >> >> A similar bug was reported by Denys Fedoryshchenko but it wasn't fully >> diagnosed. Anyway it looks like hardware dependent. The patch below >> can sometimes help. 2.6.27 may have this fixed too (some other way). > > I doubt its hardware related, whats happening is that the hrtimer > insertion gets into an endless loop because the rb tree (or node) > apparently has a loop. I went through the qdiscs' use of hrtimers > again, but can't spot any error there. > > Denys, did your systems also have CONFIG_HIGH_RES_TIMERS=n? Badalian, please try enabling CONFIG_DEBUG_OBJECTS and post the results, if any.