From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 6 14:47:24 2013 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B98C6D6B for ; Wed, 6 Feb 2013 14:47:24 +0000 (UTC) (envelope-from mattblists@icritical.com) Received: from mail3.icritical.com (mail3.icritical.com [212.57.248.143]) by mx1.freebsd.org (Postfix) with SMTP id 296E0F6C for ; Wed, 6 Feb 2013 14:47:23 +0000 (UTC) Received: (qmail 13796 invoked from network); 6 Feb 2013 14:47:05 -0000 Received: from localhost (127.0.0.1) by mail3.icritical.com with SMTP; 6 Feb 2013 14:47:05 -0000 Received: (qmail 13789 invoked by uid 599); 6 Feb 2013 14:47:02 -0000 Received: from unknown (HELO PDC002.icritical.int) (212.57.254.146) by mail3.icritical.com (qpsmtpd/0.28) with ESMTP; Wed, 06 Feb 2013 14:47:02 +0000 Message-ID: <51126CEA.5090302@icritical.com> Date: Wed, 6 Feb 2013 14:47:06 +0000 From: Matt Burke User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130122 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: Progress display on multiple core dumps Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-TLS-Incoming: YES X-Virus-Scanned: by iCritical at mail3.icritical.com X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 14:47:24 -0000 I've been doing a lot of panicing recently trying to track down a dtrace problem, and have noticed that only the first call of doadump() shows a progress display, resulting in uncertainty as to whether or not the dump is happening, at least with a low amount of RAM dumping to a ramdisk (the panicing machine is a VM) This fixes it for me: --- a/sys/amd64/amd64/minidump_machdep.c +++ b/sys/amd64/amd64/minidump_machdep.c @@ -226,6 +226,9 @@ minidumpsys(struct dumperinfo *di) struct minidumphdr mdhdr; retry_count = 0; + for (i = 0; i < 10; i++) + progress_track[i].visited = 0; + retry: retry_count++; counter = 0; -- Sorry for the below... The information contained in this message is confidential and intended for the addressee only. If you have received this message in error, or there are any problems with its content, please contact the sender. iCritical is a trading name of Critical Software Ltd. Registered in England: 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. This message has been scanned for security threats by iCritical. www.icritical.com