Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 8 Nov 2002 14:54:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 8 Nov 2002 14:54:52 -0500 Received: from packet.digeo.com ([12.110.80.53]:52370 "EHLO packet.digeo.com") by vger.kernel.org with ESMTP id ; Fri, 8 Nov 2002 14:54:52 -0500 Message-ID: <3DCC1817.3DBBAFED@digeo.com> Date: Fri, 08 Nov 2002 12:01:27 -0800 From: Andrew Morton X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.5.46 i686) X-Accept-Language: en MIME-Version: 1.0 To: Burton Windle , Arnaldo Carvalho de Melo CC: linux-kernel@vger.kernel.org Subject: Re: 2.5.46-bk3: BUG in skbuff.c:178 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Nov 2002 20:01:28.0064 (UTC) FILETIME=[9FB26000:01C28761] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1337 Lines: 34 Burton Windle wrote: > > Single-CPU system, running 2.5.46-bk3. Whiling compiling bk4, and running > a script that was pinging every host on my subnet (I was running arp -a > to see what was in the arp table at the time), I hit this BUG. > > Debug: sleeping function called from illegal context at mm/slab.c:1305 > Call Trace: > [] __might_sleep+0x54/0x58 > [] kmem_flagcheck+0x1e/0x50 > [] kmem_cache_alloc+0x12/0xc8 > [] sock_alloc_inode+0x10/0x68 > [] alloc_inode+0x15/0x180 > [] new_inode+0xb/0x78 > [] sock_alloc+0xf/0x68 > [] sock_create+0x8d/0xe4 > [] sys_socket+0x1d/0x58 > [] sys_socketcall+0x5f/0x1f4 > [] syscall_call+0x7/0xb > > bad: scheduling while atomic! Something somewhere has caused a preempt_count imbalance. What you're seeing here are the downstream effects of an earlier bug. I'd be suspecting the seq_file conversion in arp.c. The read_lock_bh() stuff in there looks, umm, unclear ;) (Could we pleeeeze nuke the __inline__'s in there too?) - 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/