Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2013 14:47:06 +0000
From:      Matt Burke <mattblists@icritical.com>
To:        <freebsd-hackers@FreeBSD.org>
Subject:   Progress display on multiple core dumps
Message-ID:  <51126CEA.5090302@icritical.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51126CEA.5090302>