Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Shutdown, Gentoo and the Arietta.G25
Date: Mon, 01 Dec 2014 21:21:42
Message-Id: BLU436-SMTP179B4D513B29A4319F87C538D7D0@phx.gbl
In Reply to: Re: [gentoo-user] Shutdown, Gentoo and the Arietta.G25 by meino.cramer@gmx.de
1 On Monday, December 01, 2014 7:34:35 PM meino.cramer@×××.de wrote:
2 > Dale <rdalek1967@×××××.com> [14-12-01 19:16]:
3 > > meino.cramer@×××.de wrote:
4 > > > Hi,
5 > > >
6 > > > another >sigh< from an Arietta adventure...
7 > > >
8 > > > I sintalled Gentoo on an Arietta G25
9 > > > (http://www.acmesystems.it/arietta).
10 > > >
11 > > > For this I used Robert Nelsons Kernel for armv5tel platforms,
12 > > > which boots fine (using at91bootstrap, no U-Boot).
13 > > >
14 > > > But: Shutdown (as recommmended by acmesystems "shutdown -h -H now")
15 > > > REBOOTS the system instead of powering it down.
16 > > >
17 > > > The hardware is not to blame: Using the original Debian rootfs
18 > > > and the kernel 3.16.1 (Robert Nelsons kernel is 3.17.3.) the
19 > > > powerdown works fine.
20 > > >
21 > > > Firstly I blamed the kernel...but when using the 3.16.1 kernel
22 > > > and the Gentoo rootfs the problem remains.
23 > > >
24 > > > Then I copied the Gentoo shutdown to the Debian rootfs, boot that
25 > > > and tries to shutdown the Debian Linux with it.
26 > > > shutdown cries "no /dev/initctl" adn shutdowns the system only for
27 > > > rebooting it.
28 > > >
29 > > > Ok...seems to be the shutdown executable.
30 > > >
31 > > > I copied the Debian shutdown to Gentoo and tries that:
32 > > > The systems reboots.
33 > > >
34 > > > Slowly but surely I begin to think, that I dont understand anything at
35 all of
36 > > > It would be relly good news,
37 > > > that...
38 > > >
39 > > > "man shutdown" on the Debian image informs me, that the manpages
40 > > > were not installed (embedded system...). Shutdown --version gives
41 > > > a short help of the usual options...but nothing more.
42 > > >
43 > > > What is the difference here?
44 > > > Isn't it, that all shutdown applications only send some instructions
45 > > > to the kernel and the kernel is the main actor in bringing the system
46 > > > down?
47 > > >
48 > > > Is there any shutdown guru ;) out there, who is able to shed some
49 > > > light into this problem ? :)
50 > > >
51 > > > Thank you very much in advance for any torch send into my direction!
52 > > > Best regards,
53 > > > Meino
54 > > >
55 > >
56 > > Just shooting in the dark here, try -h and -H but not at the same time?
57 > > Maybe having both is clashing in some weird way???
58 > >
59 > > Dale
60 > >
61 > > :-) :-)
62 > >
63 >
64 > Hi Dale,
65 >
66 > The "Trouble shooting FAQ"*) by acmesystems explicitely say "shutdown -h
67 > -H now" (and it works with the Debian rootfs)...but I will try "the
68 > other shutdowns" and will see, what happens,
69 >
70 > Best regards,
71 > Meino
72 >
73 >
74 >
75 > *) http://www.acmesystems.it/qa
76 >
77
78 Also AFAICT the -H option just set an env variable INIT_HALT and it looks like
79 OpenRC ignores it so look at your init scripts on Debian and see what it does
80 when it is set.
81
82 --
83 Fernando Rodriguez
84 frodriguez.developer@×××××××.com
85 PGP Key: http://keys.gnupg.net/pks/lookup?op=get&search=0xF6CE157FF9525C1C

Attachments

File name MIME type
signature.asc application/pgp-signature