[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [listener] errno: 32



No i didn't try that. But since i removed the exec it haven't crashed since yesterday. Looks like the problem lies in the script or the way listener handles the way its executed. Is there anyway to debug whats wrong?

Folkert van Heusden skrev:
Have you tried my suggestion of using the oss audio mode?

On Tue, Jan 23, 2007 at 01:22:43AM +0100, Johannes wrote:
I removed the exec and it has been running fine for a while now. Ill leave it and check tomorrow to es if its still up. Don t see why my script can interfere with the prog. Its a very basic script. maybe this is a bug in listener? Maybe someone can have a look at my script and see if im doing anything wrong. The way i see it, it works like it should.
script:
http://drknas.dontexist.com/encode.pl


Uldis Kalni?? skrev:
Possible solutions:

- kernel changes - try lower version. I tried 2.6.12, it worked.
- try without exec = /srv/www/encode.pl - maybe problems with script.
- of course, OSS or OSS emulation can be tested.
- compile options of Listener - i don't know about LFS, but with Gentoo you can
over optimize binaries, so they works unstable or don't work.


- try with different distribution livecd - an example, Gentoo. Or better -
install other distribution on separated partition.

If nothing helps, try to buy another soundcard - nowadays they are cheap :)


Uldis


Yes im using ALSA.
Dont have any other computer or soundcard to change to. The one now
using is a p3 700mhz 256 meg ram. Integrated Cirrus Logic CS
4614/22/24/30 using Sound Fusion CS46xx driver. It records sound from
line in.
When it crashes it is complete removed from the task list. I tried again
to start it after a crash yesterday and it worked for a while without a
reboot. It worked for like 2 recordings then it puked again.
The linux flawour im using is the latest Linux from Scratch (2.6.18.1
kernel) and it works like it should no other problems. Sound support and
modules is compiled into the kernel
The listener.conf im using now is:

wav_path = /mp3/nya_wavs/
fname_template = listener-%h-%y%m%d-%H%M%S.wav
devname = /dev/dsp
exec = /srv/www/encode.pl
detect_level = 800
min_duration = 1
max_duration = 300
rec_silence = 5
sample_rate = 44100
channels = 1
format = wav
from_pipe = 0
prerecord_n_seconds = 3

The exec script is to big to post so il make an url to it:
http://drknas.dontexist.com/encode.pl

The error codes from listener is not so much helpful. Maybe an update on
error codes would be nice.
//
Johannes

------------------------------------------------------------------------------------
This message was sent through the Listener mailinglist (www.vanheusden.com/listener)



------------------------------------------------------------------------------------
This message was sent through the Listener mailinglist (www.vanheusden.com/listener)


Folkert van Heusden