Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: "Guido Günther" <agx@sigxcpu.org>
Cc: Christoffer Holmstedt <christoffer@christofferholmstedt.se>,
	linux-wpan@vger.kernel.org
Subject: Re: RPi model B - bluetooth-next kernel, shutdown always reboots the RPi
Date: Fri, 5 Jun 2015 11:12:43 +0200	[thread overview]
Message-ID: <20150605091239.GA30035@omega> (raw)
In-Reply-To: <20150605090541.GA16437@bogon.m.sigxcpu.org>

On Fri, Jun 05, 2015 at 11:05:41AM +0200, Guido Günther wrote:
> On Thu, Jun 04, 2015 at 11:33:16AM +0200, Christoffer Holmstedt wrote:
> > On Thu, Jun 04, 2015 at 09:41:26AM +0200, Alexander Aring wrote:
> > > On Thu, Jun 04, 2015 at 08:34:16AM +0200, Christoffer Holmstedt wrote:
> > > > I know some of you are using the RPi as well so I start by asking here, perhaps
> > > > linux-rpi-kernel list is the next step. When I run "shutdown -h 0" the RPi
> > > 
> > > Maybe try "halt"? "halt" should shutdown your RPi, means unmounting
> > > filesystems etc. and stops there (without rebooting) Then it should be
> > > safe to pull the plug.
> > > 
> > > To poweroff the RPi, the RPi can't do that, it only can reboot itself
> > > which is solved by some watchdog timeout, I suppose. Maybe there exists
> > > self-builded solutions somewhere on RPi sites to shutdown the RPi
> > > somehow (means poweroff).
> > > 
> > > - Alex
> > 
> > "shutdown -h 0", halt, poweroff all end up with the same result. Rebooting
> > U-Boot and eventually starting Raspbian.
> > 
> > Yea, I probably have to look deeper into some RPi sources and find out how it
> > works in the 3.18.y series.
> 
> This might not help much but I'm seeing the same behaviour here but did
> not get around to look into this.
> Cheers,

I am using barebox [0] as bootloader and not seeing this issue. When I
type "halt" several messages are shown and ends with:

[  127.095945] reboot: System halted

no reboot.

- Alex

[0] http://barebox.org/

  reply	other threads:[~2015-06-05  9:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04  6:34 RPi model B - bluetooth-next kernel, shutdown always reboots the RPi Christoffer Holmstedt
2015-06-04  7:41 ` Alexander Aring
2015-06-04  9:33   ` Christoffer Holmstedt
2015-06-05  9:05     ` Guido Günther
2015-06-05  9:12       ` Alexander Aring [this message]
2015-06-08 12:29       ` Christoffer Holmstedt
2015-06-09  8:42         ` Guido Günther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150605091239.GA30035@omega \
    --to=alex.aring@gmail.com \
    --cc=agx@sigxcpu.org \
    --cc=christoffer@christofferholmstedt.se \
    --cc=linux-wpan@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox