From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/748 Path: news.gmane.org!not-for-mail From: "George Georgalis" Newsgroups: gmane.comp.sysutils.supervision.general,gmane.linux.kernel Subject: Re: a problem with linux 2.6.11 and sa Date: Tue, 15 Mar 2005 22:18:14 -0500 Message-ID: <20050316031814.GB1315@ixeon.local> References: <20050303214023.GD1251@ixeon.local> <6.2.1.2.0.20050303165334.038f32a0@192.168.50.2> <20050303224616.GA1428@ixeon.local> <871xaqb6o0.fsf@amaterasu.srvr.nix> <20050308165814.GA1936@ixeon.local> <871xap9dfg.fsf@amaterasu.srvr.nix> <20050309152958.GB4042@ixeon.local> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110943049 29609 80.91.229.2 (16 Mar 2005 03:17:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 03:17:29 +0000 (UTC) Cc: Linux Kernel Mail List Original-X-From: supervision-return-984-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Mar 16 04:17:29 2005 Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by ciao.gmane.org with smtp (Exim 4.43) id 1DBP1p-0004bQ-5b for gcsg-supervision@gmane.org; Wed, 16 Mar 2005 04:17:01 +0100 Original-Received: (qmail 12745 invoked by uid 76); 16 Mar 2005 03:18:38 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 12740 invoked from network); 16 Mar 2005 03:18:38 -0000 Mail-Followup-To: linux-kernel@vger.kernel.org, supervision@list.skarnet.org Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: X-MailScanner-To: gcsg-supervision@gmane.org Xref: news.gmane.org gmane.comp.sysutils.supervision.general:748 gmane.linux.kernel:287726 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:748 On Wed, Mar 09, 2005 at 06:28:35PM -0500, Paul Jarc wrote: >"George Georgalis" wrote: >> It (Gerrit Pape's technique) very defiantly stopped working a few revs >> back (2.6.7?). I'm seeing a similar failed read from /dev/rtc and >> mplayer with 2.6.10, now too. > >The /proc/kmsg problem happens because the kernel now checks for >permission at read() instead of open(). The /dev/rtc problem seems to >be a different beast. Thanks for the kmsg clairfication, Paul. >> while read file; do mplayer $file ; done > >> Failed to open /dev/rtc: Permission denied >> >> for file in `cat mediafiles.txt`; do mplayer $file ; done >> >> works. > >To simplify, what about these two: >mplayer foo.mpg >mplayer foo.mpg < mediafiles.txt > >You might try strace'ing both cases and see how they compare. The particular host does not have X support so mpg is out. I'm not sure that that test would work as mplayer requires filenames as command arguments not stdin (exclusivly, I think); my guess is mplayer would try to decode stdin. this works fine mplayer `cat zz.mtest ` Then I tried mplayer /dev/stdin /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. the file almost played though... Playing /usr/nfs/sandbox/media/audio/_the-party-has-just-begun/Lebanese_Blonde.ogg. Ogg file format detected. ... But it seemed to take keyboard commands from the binary No bind found for key _ A: 0.1 (00.1) ??,?% No bind found for key R A: 0.8 (00.8) 4.2% and quit. I tried the sysctl suggestion, no change, whenever a file list is redirected to stdin, and a filename argument is given to mplayer, eg while read file; do mplayer "$file" ; done