Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 5.0_RC2 panics on qt0



On Sat, 21 Feb 2009, George Harvey wrote:

Something I noticed while timing the kernel compile is that I get
ridiculous values for the user and sys times. This happens both with
/usr/bin/time and with the built-in time in bash. For example, timing a
compile of Tcl I got:

    2368.25 real 2133439630.70 user 2133437492.47 sys

The real time looks right but user and sys are clearly not. I haven't
got any other 5.0 systems to compare with so I don't know if this is VAX
specific or not.

  I suspect it's VAX specific.  Can you try the following patch?

Index: sys/arch/vax/vax/clock.c
===================================================================
RCS file: /cvsroot/src/sys/arch/vax/vax/clock.c,v
retrieving revision 1.49
diff -u -r1.49 clock.c
--- sys/arch/vax/vax/clock.c    7 Jan 2008 16:40:17 -0000       1.49
+++ sys/arch/vax/vax/clock.c    21 Feb 2009 18:48:47 -0000
@@ -108,7 +108,7 @@
 static struct timecounter vax_mfpr_tc = {
        vax_mfpr_get_counter,   /* get_timecount */
        0,                      /* no poll_pps */
-       ~0u,                    /* counter_mask */
+       0x1fff,                 /* counter_mask */
        1000000,                /* frequency */
        "mfpr",                       /* name */
        100,                    /* quality */

--
Michael L. Hitch                        mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA


Home | Main Index | Thread Index | Old Index