From owner-freebsd-multimedia Sun Jul 4 20:17:19 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id D9C70151FA for ; Sun, 4 Jul 1999 20:17:15 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-1-53.dialup.rdu.ipass.net [209.170.132.53]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id XAA05187 for ; Sun, 4 Jul 1999 23:17:11 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id XAA14251 for multimedia@freebsd.org; Sun, 4 Jul 1999 23:19:09 -0400 (EDT) (envelope-from rhh) Date: Sun, 4 Jul 1999 23:19:09 -0400 From: Randall Hopper To: multimedia@freebsd.org Subject: rplayd -- failing with fcntl(NON_BLOCK) on 3.2R Message-ID: <19990704231909.A13666@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does this ring any bells with anyone? I upgraded to 3.2-R recently and just now am looking at why rplayd is failing to startup now when I continue to start it from /etc/rc.local. However, it runs fine when I start it manually from the console. In case it's useful, here's my invocation: /usr/local/sbin/rplayd --audio-close=1 \ -F 1 \ --audio-match \ --conf=/opt/etc/rplay.conf \ --hosts=/opt/etc/rplay.hosts & Also, I slapped a ktrace on it in /etc/rc.local, and here's what the tail end of it looks like when it bails out: 319 rplayd CALL socket(0x2,0x2,0) 319 rplayd RET socket 3 319 rplayd CALL bind(0x3,0xbfbfdc90,0x10) 319 rplayd RET bind 0 319 rplayd CALL fcntl(0,0x3,0) 319 rplayd RET fcntl 0 319 rplayd CALL fcntl(0,0x4,0x4) <----------------------------------- 319 rplayd RET fcntl -1 errno 19 Operation not supported by device 319 rplayd CALL writev(0x2,0x80704e0,0x2) 319 rplayd RET writev -1 errno 5 Input/output error 319 rplayd CALL close(0) 319 rplayd RET close 0 319 rplayd CALL close(0xffffffff) 319 rplayd RET close -1 errno 9 Bad file descriptor 319 rplayd CALL close(0x3) 319 rplayd RET close 0 319 rplayd CALL close(0xffffffff) 319 rplayd RET close -1 errno 9 Bad file descriptor 319 rplayd CALL exit(0x1) I'm not 100% sure, but is this trying to set stdin to non-blocking? Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message