my BBB has been doing random shutdowns.
Today, I was in the middle of an apt-get update, and part way through the board decides that the power button was pushed and shuts down. This was while I had both a USB connection to my mac and a 5v power supply plugged in. There is also a powered USB hub connected that has the wifi adapter so this should not be a matter of insufficient power.
debian@beaglebone:~$ sudo ifup wlan0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/74:da:38:0c:e3:5a
Sending on LPF/wlan0/74:da:38:0c:e3:5a
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.28 – renewal in 34746 seconds.
debian@beaglebone:~$ sudo apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://repos.rcn-ee.net wheezy Release.gpg
Hit http://ftp.us.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.us.debian.org wheezy-updates Release.gpg
Hit http://repos.rcn-ee.net wheezy Release
Hit http://ftp.us.debian.org wheezy Release
Hit http://ftp.us.debian.org wheezy-updates Release
Hit http://security.debian.org wheezy/updates/main armhf Packages
Hit http://repos.rcn-ee.net wheezy/main armhf Packages
Hit http://security.debian.org wheezy/updates/contrib armhf Packages
Hit http://security.debian.org wheezy/updates/non-free armhf Packages
Hit http://ftp.us.debian.org wheezy/main armhf Packages
Hit http://ftp.us.debian.org wheezy/contrib armhf Packages
Hit http://ftp.us.debian.org wheezy/non-free armhf Packages
Hit http://ftp.us.debian.org wheezy-updates/main armhf Packages
Hit http://ftp.us.debian.org wheezy-updates/contrib armhf Packages
Hit http://ftp.us.debian.org wheezy-updates/non-free armhf Packages
100% [Packages 7,432 kB]
Broadcast message from root@beaglebone (Sun Jun 14 16:11:48 2015):
Power button pressed
The system is going down for system halt NOW!
Reading package lists… 11%
Broadcast message from root@beaglebone (Sun Jun 14 16:11:55 2015):
Power button pressed
The system is going down for system halt NOW!
Connection to 192.168.7.2 closed by remote host.
Connection to 192.168.7.2 closed.
chriss-air:~ chrisholm$
Any hints/clues?
Chris