Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262484AbVCPDSY (ORCPT ); Tue, 15 Mar 2005 22:18:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262486AbVCPDSY (ORCPT ); Tue, 15 Mar 2005 22:18:24 -0500 Received: from sta.galis.org ([66.250.170.210]:54925 "HELO sta.galis.org") by vger.kernel.org with SMTP id S262484AbVCPDSP (ORCPT ); Tue, 15 Mar 2005 22:18:15 -0500 From: "George Georgalis" Mail-Followup-To: linux-kernel@vger.kernel.org, supervision@list.skarnet.org Date: Tue, 15 Mar 2005 22:18:14 -0500 To: supervision@list.skarnet.org Cc: Linux Kernel Mail List Subject: Re: a problem with linux 2.6.11 and sa 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3015 Lines: 91 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