asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Model B not shutting down

Sat Jul 19, 2014 8:32 pm

I have i model B with nothing plugged in except a powered USB HDD which has the OS on it.

After the latest update, my pi won't shutdown.

Both sudo halt and sudo poweroff result in a reboot, and the only way to poweroff is to pull the plug.

I've seen this mentioned for the B+, but I have good mains wiring, and a solid brick construction to prevent cosmic rays (long story with Sun).

This pi has both my mail and web servers on it, so I'd like to do a controlled shutdown.

Any help would be appreciated.

Thanks.

[EDIT] It's not even rebooting now as I can't ssh back in. The act light does the poweroff flashing, but all the rest of the lights stay on.
Last edited by asandford on Sat Jul 19, 2014 8:38 pm, edited 1 time in total.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Model B not shutting down

Sat Jul 19, 2014 8:37 pm

After the latest update, my pi won't shutdown.
What commands did you use to perform the update?

Could you run the following 2 command and paste the results here:
uname -a
/opt/vc/bin/vcgencmd version

Richard S.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Model B not shutting down

Sat Jul 19, 2014 8:43 pm

redhawk wrote:
After the latest update, my pi won't shutdown.
What commands did you use to perform the update?

Could you run the following 2 command and paste the results here:
uname -a
/opt/vc/bin/vcgencmd version

Richard S.
The usual:
sudo su -
apt-get update
apt-get upgrade -y
rpi-update

Code: Select all

austin@sandford ~ $ uname -a
Linux sandford 3.12.24+ #694 PREEMPT Tue Jul 15 17:34:35 BST 2014 armv6l GNU/Linux
austin@sandford ~ $ /opt/vc/bin/vcgencmd version
VCHI initialization failed
austin@sandford ~ $

rpiuser123
Posts: 7
Joined: Sat Jul 19, 2014 7:55 pm

Re: Model B not shutting down

Sat Jul 19, 2014 8:58 pm

Have you tried init 0?

User avatar
PeterO
Posts: 5877
Joined: Sun Jul 22, 2012 4:14 pm

Re: Model B not shutting down

Sat Jul 19, 2014 9:18 pm

Sounds like this thread ..... http://www.raspberrypi.org/forums/viewt ... 8&start=25

And yes I know that is about B+ but may be something in common with firmware changes made for the B+

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Model B not shutting down

Sun Jul 20, 2014 9:48 am

rpiuser123 wrote:Have you tried init 0?
I have now.

Looking at the activity on the screen, the system goes down correctly; act light flashes, video goes off.

It seems that the ethernet port is being kept alive, all the lights are still on, and I can unplug and replug the cable and a link is re-established.

User avatar
jojopi
Posts: 3268
Joined: Tue Oct 11, 2011 8:38 pm

Re: Model B not shutting down

Sun Jul 20, 2014 9:58 am

I also noticed this after updating firmware on some Model Bs yesterday: http://www.raspberrypi.org/forums/viewt ... 49#p581749

It is not a big problem but it does waste a little power and makes it look as if the board has not shut down correctly.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Model B not shutting down

Sun Jul 20, 2014 10:38 pm

The dt-blob.bin has fixed it

Sheddyian
Posts: 21
Joined: Thu Jul 17, 2014 4:33 pm

Re: Model B not shutting down

Mon Jul 21, 2014 11:35 am

For what it's worth, I too noticed this the other day. A 256MB Model B and recent 512MB model B running latest firmware and Raspbian both leave the LAN leds lit after a sudo shutdown -h. The HDMI and the USB power down OK. Not only are they lit, but there's flashing in response to LAN activity.

It's confusing as it's not always clear when it's finished shutting down.

I idly wondered if it was some new plan for a Wake on Lan function, but sending a WOL magic packet to them does not cause anything to happen.

However, a model B+ also with current firmware and Raspbian does extinguish it's LAN leds after a sudo shutdown -h.

Ian

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: Model B not shutting down

Tue Jul 22, 2014 6:59 am

On a RPi model B, after doing an rpi-update, I have same problem. Pi seems to shut down, but LED's remain active/lit. This behavior started immiediately after the update. Seems more confusing than harmfull, but should not be that way.

Windwalker-DE
Posts: 8
Joined: Wed Oct 02, 2013 5:04 pm
Location: Germany

Re: Model B not shutting down

Tue Jul 22, 2014 8:11 pm

Same issue here on a B model after firmware update.

User avatar
liamkennedy
Posts: 62
Joined: Thu Dec 19, 2013 10:12 am
Contact: Website Facebook Twitter

Re: Model B not shutting down

Thu Jul 24, 2014 6:05 am

Yep. Me too. Model B's. Hope this gets fixed soon.. as it's going to add confusion to my users as far as knowing when the Pi's are actually shut down.

User avatar
rpdom
Posts: 17170
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Model B not shutting down

Thu Jul 24, 2014 6:24 am

It is fixed in the latest update (yesterday).

http://www.raspberrypi.org/forums/viewt ... 10#p584507

Windwalker-DE
Posts: 8
Joined: Wed Oct 02, 2013 5:04 pm
Location: Germany

Re: Model B not shutting down

Thu Jul 24, 2014 11:52 am

After applying the yesterdays firmware update my Pi no longer boot.
I had to install a backup of the SD card.

Any suggestions?

User avatar
liamkennedy
Posts: 62
Joined: Thu Dec 19, 2013 10:12 am
Contact: Website Facebook Twitter

Re: Model B not shutting down

Sat Jul 26, 2014 8:17 pm

I just installed the new firmware (3.12.25+) and I can confirm the issue is now resolved.

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Model B not shutting down

Sat Jul 26, 2014 8:25 pm

Windwalker-DE wrote:After applying the yesterdays firmware update my Pi no longer boot.
I had to install a backup of the SD card.

Any suggestions?
There was a problem with the firmware update for 23rd July which stopped it booting if gpu_mem in file /boot/config.txt was less than 64. This was fixed with the update for 24th July.

You could get it to boot by changing gpu_mem=16 or 32 to gpu_mem=64. You could then get the new update which sorted out the problem.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “Troubleshooting”