Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754974Ab0AVWPP (ORCPT ); Fri, 22 Jan 2010 17:15:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754880Ab0AVWPO (ORCPT ); Fri, 22 Jan 2010 17:15:14 -0500 Received: from mta2.srv.hcvlny.cv.net ([167.206.4.197]:55900 "EHLO mta2.srv.hcvlny.cv.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754835Ab0AVWPM (ORCPT ); Fri, 22 Jan 2010 17:15:12 -0500 Date: Fri, 22 Jan 2010 17:14:58 -0500 From: Michael Breuer Subject: Re: Hang: 2.6.32.4 sky2/DMAR (was [PATCH] sky2: Fix WARNING: at lib/dma-debug.c:902 check_sync) In-reply-to: <20100122215304.GA3105@del.dom.local> To: Jarek Poplawski Cc: David Miller , Stephen Hemminger , akpm@linux-foundation.org, flyboy@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Michael Chan , Don Fry , Francois Romieu , Matt Carlson Message-id: <4B5A2362.6000306@majjas.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <20100120094103.GA6225@ff.dom.local> <4B58B217.8030001@majjas.com> <20100121204133.GB3085@del.dom.local> <4B59E7EB.3050605@majjas.com> <20100122215304.GA3105@del.dom.local> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b2pre Thunderbird/3.0.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2817 Lines: 62 On 1/22/2010 4:53 PM, Jarek Poplawski wrote: > On Fri, Jan 22, 2010 at 01:01:15PM -0500, Michael Breuer wrote: > >> Kernel 2.6.32.4 (git) with the following patches applied: >> >> af_packet.c (tpacket_snd version 3) >> sky2.c pskb_may_pull >> sky2 fix WARNING at lib/dma-debug.c check_sync >> > I guess, you meant the "sky2.c receive_copy" patch which you tested > earlier, or at least you managed to crash DMAR with that patch > before crashing it with Stephen's "lib/dma-debug.c check_sync" patch, > right? > > Yes - sorry, correct - all three patches were in the last run. Previously, I've encountered the crash without these patches. >> Running with CONFIG_DMAR=n, system is stable. >> Running with the exact same source but CONFIG_DMAR=y I get the >> WARNING (see below) after about 36 hours of uptime (has varied from >> about 24 to about 48): >> Smolt profile: http://smolt.fedoraproject.org/show?uuid=pub_bb05c701-1e47-4b3c-9fab-54f520f39d79+ >> I'm also attaching dmesg.old (dmesg from the crash). >> >> Subsequent to this the system watchdog reboots the system (it's hung). >> >> Of interest: each and every time this has happened the system was >> under heavy RX load (win7 backup to a cifs share hosted on this >> server). Also, there is always a dhcp exchange of some sort >> preceding the event. >> >> It is possible that the event is re creatable without DMAR enabled, >> but I have been unsuccessful in doing so. >> > It would be nice to check now if it's re-creatable without the dhcp > exchange yet, or at least dhcp through the switch and the router, > because I suspect there might be something more than a simple drop > on the switch that affects sky2 stability. > > Jarek P. > Not sure I can do that. Note that based on the log messages, there were no errors/dropped packets involving dhcp. Moving the dhcp server off of the affected machine is not trivial. The dhcp correlation is based on logged messages preceding each crash. I cannot confirm that they're related, however it's really suspicious. If it helps, HP replaced my unmanaged switch with a managed one so I can see whether there were any switch events logged the next time I have a crash. At this point, it seems the following is required to trigger the crash: 1) Uptime of 24-36 hours 2) High RX load on server (cifs traffic is what I've triggered it with). 3) Normal DHCP traffic. Looks like based on the events I've seen that the high RX load has to be sustained for about 15-20 minutes prior to the dhcp traffic. Crash follows about a minute later. -- 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/