Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265423AbUAPM61 (ORCPT ); Fri, 16 Jan 2004 07:58:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265427AbUAPM61 (ORCPT ); Fri, 16 Jan 2004 07:58:27 -0500 Received: from gprs214-224.eurotel.cz ([160.218.214.224]:45184 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S265423AbUAPM60 (ORCPT ); Fri, 16 Jan 2004 07:58:26 -0500 Date: Fri, 16 Jan 2004 13:58:06 +0100 From: Pavel Machek To: "Amit S. Kale" Cc: kgdb-bugreport@lists.sourceforge.net, kernel list Subject: Re: KGDB 2.0.3 with fixes and development in ethernet interface Message-ID: <20040116125806.GA7409@elf.ucw.cz> References: <200401161759.59098.amitkale@emsyssoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401161759.59098.amitkale@emsyssoft.com> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 35 Hi! > KGDB 2.0.3 is available at > http://kgdb.sourceforge.net/kgdb-2/linux-2.6.1-kgdb-2.0.3.tar.bz2 > > Ethernet interface still doesn't work. It responds to gdb for a couple of > packets and then panics. gdb log for ethernet interface is pasted > below. ++int kgdbeth_thread(void *data) ++{ ++ struct net_device *ndev = (struct net_device *)data; ++ daemonize("kgdbeth"); ++ while (!ndev->ip_ptr) { ++ schedule(); ++ } ++ debugger_entry(); ++ return 0; Don't you need some locking around ndev->ip_ptr? [Okay, it probably only matters on SMP, so it is not causing your problems..] Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - 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/