Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 23 Sep 2002 16:01:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 23 Sep 2002 16:01:12 -0400 Received: from mailrelay2.lanl.gov ([128.165.4.103]:54663 "EHLO mailrelay2.lanl.gov") by vger.kernel.org with ESMTP id ; Mon, 23 Sep 2002 15:59:02 -0400 Subject: Re: Sleeping function called from illegal context at slab.c:1378 From: Steven Cole To: Andrew Morton Cc: lkml In-Reply-To: <3D8F5DB2.A3E36E16@digeo.com> References: <1032804558.28404.13.camel@spc9.esa.lanl.gov> <3D8F5DB2.A3E36E16@digeo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2-5mdk Date: 23 Sep 2002 14:00:20 -0600 Message-Id: <1032811220.28332.24.camel@spc9.esa.lanl.gov> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2628 Lines: 76 On Mon, 2002-09-23 at 12:30, Andrew Morton wrote: > That's a bug in ip_fw_ctl(). It's calling convert_ipfw() > inside FWC_WRITE_LOCK_IRQ(&ip_fw_lock, flags); > > But convert_ipfw() does kmalloc(GFP_KERNEL). > > > Steven Cole wrote: > > > > Hi Andrew, > > > > Are these traced warnings of any use to you? I guess that traced warning was of interest, so here are two more from 2.5.38-mm2. ( I got a total of four warnings; the first was identical to that posted by Grega Fajdiga here: http://marc.theaimsgroup.com/?l=linux-kernel&m=103278825525479&w=2 and the fourth slabc:1378 warning was the one referred to above.) Here is the second slabc:1378 warning traced with ksymoops: Trace; c0119986 <__might_sleep+56/5d> Trace; c0135166 Trace; c0120048 <__request_region+18/c0> Trace; c0215ca2 Trace; c02037a4 Trace; c020298c Trace; c0117c71 Trace; c01f1c6a Trace; c0117fe2 Trace; c01f149d Trace; c01ea9da Trace; c013432d Trace; c0134f07 Trace; c013533a Trace; c01c7b43 Trace; c01f3c06 Trace; c01ec218 Trace; c01b0133 Trace; c01050b1 Trace; c0105060 Trace; c01070b9 Here is the third slabc:1378 warning traced with ksymoops: Trace; c0119986 <__might_sleep+56/5d> Trace; c0135166 Trace; c0271e03 Trace; c027216a Trace; c017ab91 Trace; c026a023 Trace; c012ff2e Trace; c0130db5 Trace; c012d8ef Trace; c012b5ba Trace; c023471a Trace; c0234790 Trace; c0242fda Trace; c02255de Trace; c022562a Trace; c0263995 Trace; c02269d6 Trace; c0227026 Trace; c0114ea0 Trace; c01099b1 Trace; c0108f6f Steven - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/