http://defect.opensolaris.org/bz/show_bug.cgi?id=6569

           Summary: assertion failure in pg_cmt_cpu_inactive()
    Classification: Development
           Product: power-mgmt
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: ACCEPTED
          Severity: major
          Priority: P2
         Component: PAD
        AssignedTo: eric.saxe at sun.com
        ReportedBy: eric.saxe at sun.com
                CC: tesla-dev at opensolaris.org


Pat hit another assertion failure, this time in pg_cmt_cpu_inactive():

panic[cpu1]/thread=ffffff02fb58a540: assertion failed: err == 0, file:
../../common/disp/cmt.c, line: 931

ffffff000f6f9d00 genunix:assfail+7e ()
ffffff000f6f9d60 unix:pg_cmt_cpu_inactive+1e9 ()
ffffff000f6f9d90 unix:pg_cpu_inactive+64 ()
ffffff000f6f9dc0 unix:cpu_remove_active+4b ()
ffffff000f6f9e30 unix:cpu_offline+205 ()
ffffff000f6f9e80 genunix:p_online_internal+fc ()
ffffff000f6f9eb0 genunix:p_online+1d ()
ffffff000f6f9f00 unix:brand_sys_sysenter+2d7 ()

This is a regression brought on by a typo in the fix for 6537:
        /*
         * If the parent is at the top of the hierarchy, replace it's entry
         * in the root lgroup's group of top level PGs.
         */
        if (parent->cmt_parent == NULL) {
                if (group_remove(&cmt_root->cl_pgs, pg, GRP_NORESIZE) != -1) {
                        r = group_add(&cmt_root->cl_pgs, pg, GRP_NORESIZE);
                        ASSERT(r != -1);
                }
        }

should be:

        /*
         * If the parent is at the top of the hierarchy, replace it's entry
         * in the root lgroup's group of top level PGs.
         */
        if (parent->cmt_parent == NULL) {
                if (group_remove(&cmt_root->cl_pgs, parent, GRP_NORESIZE)
                    != -1) {
                        r = group_add(&cmt_root->cl_pgs, pg, GRP_NORESIZE);
                        ASSERT(r != -1);
                }
        }

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to