From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] Add refcounts to LED target Date: Thu, 25 Mar 2010 15:08:48 +0100 Message-ID: <4BAB6E70.8090605@trash.net> References: <4A18A70F.50808@shikadi.net> <4A1DC798.1090604@shikadi.net> <4A26418C.5090707@trash.net> <4A265891.4050201@shikadi.net> <4AF2E8A5.7020409@trash.net> <4AF34C03.7020907@shikadi.net> <4AF43916.5010408@trash.net> <4B11D1B5.2060306@shikadi.net> <4B125C18.7060802@shikadi.net> <4B14EA81.5030603@trash.net> <4B1B82D5.2070607@shikadi.net> <4B1BB086.3030700@trash.net> <4BAB6CB2.3050904@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Adam Nielsen , Netfilter Developer Mailing List To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:52722 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753137Ab0CYOIs (ORCPT ); Thu, 25 Mar 2010 10:08:48 -0400 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > On Thursday 2010-03-25 15:01, Patrick McHardy wrote: >> Patrick McHardy wrote: >>> Adam Nielsen wrote: >>>>> Since this has already taken ages, I took the liberty of preparing >>>>> an example fix. Adam, please have a look at this and give it some >>>>> testing. >>>> Well I'm afraid I can't see why, but for some reason once I add a second >>>> iptables rule with this target my kernel often locks up, hard (audio >>>> starts skipping, magic SysRq keys don't work) even if I don't have any >>>> actual LED devices on the system. The first rule, even when attached to >>>> a LED device, seems to work fine. >>>> >>>> I'll have to do some more debugging to see if I can figure out where >>>> it's locking up. >>> Its probably the timer, which uses the ledinfo of the first rule as >>> private data. Try passing ledinternal to the timer instead of ledinfo, >>> that should fix it. >> I've waited patiently for about a year for this simple problem to >> get fixed. Unless I see a patch in time for 2.6.34, I'll remove >> the LED module again. > > I want to give this a look, but I notice there's no iptables module > files for xt_LED yet either. Correct, I didn't add it while this was still unfixed to keep the possibility of removing the module again. You should be able to find it in the mailing list archives.