From owner-freebsd-net@FreeBSD.ORG Wed May 21 20:52:19 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12B7E106564A for ; Wed, 21 May 2008 20:52:19 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id DB6178FC0A for ; Wed, 21 May 2008 20:52:18 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so2855618wah.3 for ; Wed, 21 May 2008 13:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=e7amYAJp5DkGtlUdBNu9N3wfRvawnMrOLUleQikdvVE=; b=J0pSnISjjZPLEE6G0U4RY0XpXrVbDQCtIBfkIDTZ0+tWehS/4e8wXIHnQrc+CAFspszg2pC9O+JxnfnJ1GM/51qhNALFUyp4ImBVIRUGrEeEQ3p6Bg3tsjEyd3BB+KsxzKorSDXSxOVS0mnmZuxK3JfKT7nYYjJLFnU3yxHI/bA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FuXY5E2MTIf63NgbFbDE58lGC6MkTYvFR4ou5BpKA0HygHqKmxw6pdP8AaU817JGdt9KdraL2wE77IZhD9eTq7zqfhiQn79U27QRnf5IS7i30jPyk4jMLYNUpmzTGjR44OInUGfQxI4vzCfU3T+5qizrucoVucBtdVO5l+JxeVo= Received: by 10.114.79.18 with SMTP id c18mr11097321wab.86.1211403138358; Wed, 21 May 2008 13:52:18 -0700 (PDT) Received: by 10.114.177.4 with HTTP; Wed, 21 May 2008 13:52:18 -0700 (PDT) Message-ID: <2a41acea0805211352s37e6fd40maaaac90e51912947@mail.gmail.com> Date: Wed, 21 May 2008 13:52:18 -0700 From: "Jack Vogel" To: "Neil Hoggarth" In-Reply-To: <2a41acea0805211326v74baa017tc03fcd329a764ef5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0805211326v74baa017tc03fcd329a764ef5@mail.gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: [em][panic] recursed on non-recursive mutex em0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 20:52:19 -0000 On Wed, May 21, 2008 at 1:26 PM, Jack Vogel wrote: > On Wed, May 21, 2008 at 12:11 PM, Neil Hoggarth wrote: >> Hi Folks, >> >> I opened PR kern/122928 last month, describing my problems with Intel >> PRO/1000 MT adaptor on 7-STABLE, with v6.7.3 of the em driver: every >> so often the machine would get into a state where it would repeatedly >> watchdog timeout the em0 interface, and the interface would stop >> receiving packets. >> >> A few weeks ago I cvsupped a newer version of the 7-STABLE source >> tree, after v6.9.0 of the em driver was MFCed. Since I started running >> on the newer build watchdog timeouts appear to be followed by a system >> panic rather than the freezing up of the interface. I have no hard >> evidence but it "feels like" the panics are happening under the same >> sort of circumstance that was previously triggering my watchdog >> problem (basically network activity combined with CPU load). A similar >> observation was made by Yani Karydis on the freebsd-stable mailing >> list earlier in the month: >> >> http://lists.freebsd.org/pipermail/freebsd-stable/2008-May/042311.html >> >> I've now got a serial console set up, and I'm running a kernel with >> DDB support compiled in. I managed to get the information below out of >> the most recent panic. Is anyone able to use this to debug the >> situation? What else might I try to gather useful information? > > This is a helpful start, I'll stare at the code and see... sounds like some > rx lock design issue. OPPS, I think I found the problem, look for a delta on if_em.c shortly. Let me know if this fixes your problem. Jack