[nas] Fatal server error...

Vincas Ciziunas fizban-nas at tamos.net
Thu Jan 30 19:06:52 MST 2003


Here's the strace...it's not long.  If it's not full duplex, is there any
way it could work.  I only really want to use the device as an output.


BEGIN NASD STRACE---------------------

execve("/usr/bin/nasd", ["/usr/bin/nasd"], [/* 24 vars */]) = 0
brk(0)                                  = 0x3e32c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/home/QtPalmtop/lib/v4l/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
SYS_195(0xbfffefb8, 0xbffff014, 0xbffff014, 0x704, 0xbfffefb8) = -1 ENOENT (No such file or directory)
open("/home/QtPalmtop/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
SYS_195(0xbfffefb8, 0xbffff014, 0xbffff014, 0x704, 0xbfffefb8) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 6
SYS_197(0x6, 0xbfffefcc, 0xbfffefcc, 0x704, 0x6) = 0
mmap(0, 2264, PROT_READ, MAP_PRIVATE, 6, 0) = 0x40019000
close(6)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 6
read(6, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\304\1\2\000"..., 1024) = 1024
SYS_197(0x6, 0xbffff004, 0xbffff004, 0x704, 0x6) = 0
mmap(0, 1155400, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40022000
mprotect(0x4012b000, 69960, PROT_NONE)  = 0
mmap(0x40132000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x108000) = 0x40132000
mmap(0x40139000, 12616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40139000
close(6)                                = 0
munmap(0x40019000, 2264)                = 0
getpid()                                = 3055
brk(0)                                  = 0x3e32c
brk(0x3e4ac)                            = 0x3e4ac
brk(0x3f000)                            = 0x3f000
open("/etc/nas/nasd.conf", O_RDONLY)    = 6
brk(0x44000)                            = 0x44000
ioctl(6, TCGETS, 0xbffff694)            = -1 ENOTTY (Inappropriate ioctl for device)
SYS_197(0x6, 0xbffff61c, 0xbffff61c, 0x7f8, 0x6) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(6, "#\n#\tA sample config file for the"..., 8192) = 2410
read(6, "", 4096)                       = 0
read(6, "", 8192)                       = 0
ioctl(6, TCGETS, 0xbffff66c)            = -1 ENOTTY (Inappropriate ioctl for device)
chdir("/")                              = 0
close(0)                                = 0
close(1)                                = 0
write(2, "", 0)                         = 0
getpgrp()                               = 3054
SYS_191(0x7, 0xbffffc14, 0x1924, 0, 0x3e2a0) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 0
setsockopt(0, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(0, {sin_family=AF_INET, sin_port=htons(8000), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
setsockopt(0, SOL_SOCKET, SO_LINGER, [0], 8) = 0
listen(0, 5)                            = 0
ioctl(0, SIOCGIFCONF, 0xbffff410)       = 0
umask(0)                                = 0
mkdir("/tmp/.sockets", 0777)            = -1 EEXIST (File exists)
unlink("/tmp/.sockets/audio0")          = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 1
bind(1, {sun_family=AF_UNIX, sun_path="/tmp/.sockets/audio0"}, 22) = 0
listen(1, 5)                            = 0
umask(0)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x1b774, [HUP], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x1b7b8, [INT], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x1b7b8, [TERM], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
open("/etc/X0.hosts", O_RDONLY)         = -1 ENOENT (No such file or directory)
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 8) = 0
getppid()                               = 3054
open("/dev/dsp", O_RDWR|O_SYNC)         = 9
open("/dev/dsp", O_RDONLY)              = -1 EINVAL (Invalid argument)
ioctl(9, SNDCTL_DSP_SETFMT, 0x292e0)    = 0
ioctl(9, SNDCTL_DSP_STEREO, 0x292e4)    = 0
ioctl(9, SNDCTL_DSP_SPEED, 0x292ec)     = 0
ioctl(9, SNDCTL_DSP_SPEED, 0x292f0)     = 0
ioctl(9, SNDCTL_DSP_SETFRAGMENT, 0xbffffbac) = 0
open("/dev/mixer", O_RDONLY)            = 10
ioctl(10, SOUND_MIXER_READ_DEVMASK, 0x29224) = 0
ioctl(10, SOUND_MIXER_READ_RECMASK, 0x2922c) = 0
ioctl(10, SOUND_MIXER_READ_RECSRC, 0x29228) = -1 EINVAL (Invalid argument)
write(2, "\nFatal server error:\n", 21
Fatal server error:
) = 21
write(2, "could not create audio connectio"..., 44could not create audio connection block info) = 44
write(2, "\n", 1
)                       = 1
_exit(1)                                = ?

END NASD STRACE----------------------------


On Thu, 30 Jan 2003, Nick Ing-Simmons wrote:

> Jon Trulson <jon at radscan.com> writes:
> >On Wed, 29 Jan 2003, Vincas Ciziunas wrote:
> >
> >> Date: Wed, 29 Jan 2003 22:30:38 -0500 (EST)
> >> From: Vincas Ciziunas <fizban-nas at tamos.net>
> >> To: nas at radscan.com
> >> Subject: [nas] Fatal server error...
> >>
> >> I'm using a dma sound device (I've tried on both my powerbook and on a
> >> zaurus) and with both, nas dies with the following error:
> >>
> >> Fatal server error:
> >> could not create audio connection block info
> >>
> >
> >	Couple of causes for this... It typically means there was some
> >problem in opening the sound device... Either it is already in use by a
> >different program, doesn't exist (/dev/dsp) or won't do full duplex...
> >
> >	Running strace on it should point out the problem.  Look for the
> >open on /dev/audio* or /dev/dsp*
>
> Any chance that the errno from the failing open could get propagated
> or used in the error message?
>
>
>
> --
> Nick Ing-Simmons
> http://www.ni-s.u-net.com/
>
>
>

-------------------------------------------------------------------------------

				--Vincas Ciziunas--
      (College Student, Linux Geek, Music Nut, Virginian, Computer Science Major)
  	       fizban at tamos.net  vciziuna at gmu.edu  winkie at faceprint.com
			   http://www.tamos.net/~fizban
	"There's nothing worse in the world than an angry tree," --Bob Ross

-------------------------------------------------------------------------------




More information about the Nas mailing list