From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmk@plan9.bell-labs.com Message-Id: <200007250233.WAA14385@cse.psu.edu> Date: Mon, 24 Jul 2000 22:33:03 -0400 To: 9fans@cse.psu.edu Subject: Re: [9fans] after exiting from rc... MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e9ff1670-eac8-11e9-9e20-41e7f4b1d025 From okamoto@granite.cias.osakafu-u.ac.jp: After typed ^t^tr at terminals, I got no reboot but the following messages, and the terminal itself is waiting something: cpu1: exiting cpu0: exiting apshutdown: active = 0x00 This is different behaviour from release 2. What does this mean? Kenji When an MP kernel shuts down it prints a message as each CPU is disabled (a legacy from when they didn't always turn off properly...). When enough time has passed for them all to have shut down, the system should reset after printing the mask of still active CPUs (in this case they all shut down). 'apshutdown' means 'Application Processor shutdown'. Why the system didn't then reboot I don't know. The shutdown code could certainly be better, it tries to do a warm-reset which sometimes fails due to activity from busmastering controllers for example. There is commented-out code in mpshutdown() (in pc/mp.c) to do a cold boot but the whole shutdown thing needs updated. --jim