======================================================= E10K: Debugging Drain Failures ======================================================= :Title: E10K: Debugging Drain Failures :Author: Douglas O'Leary :Description: E10K: Debugging Drain Failures :Date created: 08/1999 :Date updated: 09/1999 :Disclaimer: Standard: Use the information that follows at your own risk. If you screw up a system, don't blame it on me... 1. Enable the kernel variable dr_mem_debug by setting its value to -1 using either adb or setting the value in /etc/system and reboot:: # adb -kw physmem 13af5d dr_mem_debug/W0x1 dr_mem_debug: 0x0 = 0x1 $q 2. Capture the console output from a failed DR drain session. The failed address will be readily apparent, the message will be something to the effect: hold_pfns: page not held: 3. In an adb session, enter the following command:: $$$$