Btw. the devide by 0 panic seems to occur inside the CPUDRV_IDLE_CNT_PERCENT macro at line 728 in usr/src/uts/common/io/cpudrv.c:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/cpudrv.c#728 715 /* 716 * Let's assume CPU is considered idle at full speed 717 * when it is spending I% of time in running the idle 718 * thread. At full speed, CPU will be busy (100 - I) % 719 * of times. This % of busyness increases by factor of 720 * N as CPU slows down. CPU that is idle I% of times 721 * in full speed, it is idle (100 - ((100 - I) * N)) % 722 * of times in N speed. The idle_lwm is a fixed 723 * percentage. A large value of N may result in 724 * idle_hwm to go below idle_lwm. We need to make sure 725 * that there is at least a buffer zone seperation 726 * between the idle_lwm and idle_hwm values. 727 */ 728 idle_cnt_percent = CPUDRV_IDLE_CNT_PERCENT( 729 cpudrv_idle_hwm, speeds, i); -- This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
