From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MT4az-0005ts-AY for garchives@archives.gentoo.org; Tue, 21 Jul 2009 01:56:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0E1EE029D; Tue, 21 Jul 2009 01:56:43 +0000 (UTC) Received: from vps.biterror.net (vps.biterror.net [209.40.204.251]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E46FE029D for ; Tue, 21 Jul 2009 01:56:43 +0000 (UTC) Received: from vps.biterror.net (localhost [127.0.0.1]) by vps.biterror.net (Postfix) with ESMTP id 85A5C6C16F for ; Mon, 20 Jul 2009 18:56:43 -0700 (PDT) Received: from parity.biterror.net (97-114-133-182.sxfl.qwest.net [97.114.133.182]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by vps.biterror.net (Postfix) with ESMTPSA id EBADF6C10E for ; Mon, 20 Jul 2009 18:56:42 -0700 (PDT) Date: Mon, 20 Jul 2009 20:56:39 -0500 From: Harley Peters To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Diskless client will not shutdown. Message-ID: <20090720205639.1cf2ae9b@parity.biterror.net> In-Reply-To: <20090709143145.1cb93d55@parity.biterror.net> References: <20090709143145.1cb93d55@parity.biterror.net> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by ClamAV using ClamSMTP at biterror.net X-Archives-Salt: 8dfc2223-3456-4b7d-91e6-e56090bc4de3 X-Archives-Hash: bba2eb6c4805feb1803bf9d4b09ddbcb On Thu, 9 Jul 2009 14:31:45 -0500 Harley Peters 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