make buildworld powers down system

doug at safeport.com doug at safeport.com
Fri Dec 2 07:40:02 UTC 2011


On Thu, 1 Dec 2011, Robert Bonomi wrote:

>> From owner-freebsd-questions at freebsd.org  Thu Dec  1 01:16:21 2011
>> Date: Thu, 1 Dec 2011 02:14:04 -0500 (EST)
>> From: doug <doug at fledge.watson.org>
>> To: freebsd-questions at freebsd.org
>> Cc:
>> Subject: make buildworld powers down system
>>
>> Three times in a row. It seems to be repeatable. At the end what should my next
>> debugging step be?
>>
>> I ran the buildworld using script, the last lines in the make:
>>
>> cc -O2 -pipe  -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I.
>> -I/usr/obj/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncurses
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses -Wall -DNDEBUG
>> -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -fstack-protector  -c
>> /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses/base/lib_beep.c
>> cc -O2 -pipe  -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I.
>> -I/usr/obj/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncurses
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses -Wall -DNDEBUG
>> -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -fstack-protector  -c
>> /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses/base/lib_bkgd.c
>> cc -O2 -pipe  -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I.
>> -I/usr/obj/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncurses
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses -Wall -DNDEBUG
>> -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -fstack-protector  -c
>> /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses/base/lib_box.c
>> cc -O2 -pipe  -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I.
>> -I/usr/obj/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncursesw
>> -I/usr/src/lib/ncurses/ncursesw/../ncurses
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include
>> -I/usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses -Wall
>> -DNDE^@^@^@^@^@^@^@
>>
>> this after about 30 minutes of running. There are no errors in the logs
>>
>
> First, look for *something* that would cause the machine to
> sleep/suspend/hibernate/shutdown after a period of "inactivity"
>
> It _could_ be a BIOS setting, it could be 'power mangement' software
> settings.
>
> It is also -possible- that this is a *THERMAL* issue -- that the 30+
> minutes of heavy CPU utilization is triggering an overtemperature
> shutdown.  Make sure all fans are working properly, and that CPU
> heat-sinks are dust-free.
>

Thanks for your suggestions. I have ruled out hardware. I did change a BIOS 
setting to make the function keys be functions without the fn key (this is a 
Dell laptop). The only other thing I changed was to run a script to record the 
time and some of the hw.acpi sysctl values. As I now have the upgrade installed 
I will try the buildworld again. The screen does go into standby and I am not 
sure what is controling that, nothing in KDE or Xorg that I set, perhaps a 
sysctl setting but I did not see one in the acpi section.


More information about the freebsd-questions mailing list