Date: Sun, 4 Jul 1999 23:19:09 -0400 From: Randall Hopper <aa8vb@ipass.net> To: multimedia@freebsd.org Subject: rplayd -- failing with fcntl(NON_BLOCK) on 3.2R Message-ID: <19990704231909.A13666@ipass.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990704231909.A13666>
