From: Harley Peters <harley@thepetersclan.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Diskless client will not shutdown.
Date: Mon, 20 Jul 2009 20:56:39 -0500 [thread overview]
Message-ID: <20090720205639.1cf2ae9b@parity.biterror.net> (raw)
In-Reply-To: <20090709143145.1cb93d55@parity.biterror.net>
On Thu, 9 Jul 2009 14:31:45 -0500
Harley Peters <harley@thepetersclan.net> wrote:
> I am running a diskless Mythtv frontend client.
> Everything is working great accept it will not shutdown.
> It goes through all the steps of shutting down successfully including
> remounting any remaining file systems read only.
> But it never issues the power down command.
> Yes acpi is setup correctly.
> The runlevels look the same as all the other machines I have.
> Anybody have any idea what actually issues the power down command or
> where to even start looking ?
>
> emerge --info:
>
> Portage 2.2_rc33 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3,
> glibc-2.8_p20080602-r1, 2.6.30 x86_64)
> =================================================================
> System uname:
> Linux-2.6.30-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-gentoo-2.0.1
> Timestamp of tree: Thu, 09 Jul 2009 14:00:15 +0000 ccache version 2.4
> [disabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r2,
> 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8
> dev-util/ccache: 2.4-r8
> dev-util/cmake: 2.6.3-r1
> sys-apps/baselayout: 2.0.1
> sys-apps/openrc: 0.4.3-r3
> sys-apps/sandbox: 2.0
> sys-devel/autoconf: 2.13, 2.63-r1
> sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
> sys-devel/binutils: 2.18-r3
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool: 2.2.6a
> virtual/os-headers: 2.6.30
> ACCEPT_KEYWORDS="amd64 ~amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon64 -msse3 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
> DISTDIR="/usr/distfiles"
> EMERGE_DEFAULT_OPTS="--keep-going --jobs=4 --load-average=6"
> FEATURES="collision-protect distlocks fixpackages parallel-fetch
> preserve-libs protect-owned sandbox sfperms strict unmerge-orphans
> userfetch userpriv usersandbox"
> GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/
> ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/
> ftp://lug.mtu.edu/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j4 -l4.50"
> PKGDIR="/usr/packages" PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --compress --force --whole-file --delete --stats --timeout=180
> --exclude=/distfiles --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/dev/shm" PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://192.168.1.100/gentoo-portage" USE="3dnow 3dnowext X acl
> alsa amd64 bzip2 caps cli cracklib crypt custom-cflags custom-cxxflags
> dbus dri gdbm gif gpm hal iconv ipv6 isdnlog jpeg kerberos midi mmx
> mmxext mng mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre
> perl pppd python qt3support readline reflection sdl session spl sse
> sse2 ssl ssse3 sysfs tcpd threads tiff truetype unicode vdpau xinerama
> xorg xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym
> copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
> lfloat linear meter mmap_emul mulaw multi null plug rate route share
> shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
> authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
> authz_groupfile authz_host authz_owner authz_user autoindex cache dav
> dav_fs dav_lock deflate dir disk_cache env expires ext_filter
> file_cache filter headers include info log_config logio mem_cache mime
> mime_magic negotiation rewrite setenvif speling status unique_id
> userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev
> keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633
> glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="iguanaIR"
> USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS,
> INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
>
Just in case anybody else runs into this the problem is in /etc/inittab
The following line should be changed:
l0s:0:wait:/sbin/halt -dhip
to this:
l0s:0:wait:/sbin/halt -dhp
The -i halt option turns off all network interfaces which is bad on a
diskless client.
Harley
prev parent reply other threads:[~2009-07-21 1:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 19:31 [gentoo-user] Diskless client will not shutdown Harley Peters
2009-07-10 8:47 ` Keith Dart
2009-07-10 21:35 ` Harley Peters
2009-07-21 1:56 ` Harley Peters [this message]
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=20090720205639.1cf2ae9b@parity.biterror.net \
--to=harley@thepetersclan.net \
--cc=gentoo-user@lists.gentoo.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