Hi Phil.
Further to my recent messages, I've totally zapped Linux, reinstalled everything including ZM 1.18.1 but still no joy. ZM appears to start OK, the capture daemon seems to stay up but the only message (in /var/log/messages - nothing anywhere else) is
zma-m1[4270]: WAR [Waiting for capture daemon]
I've rechecked all the permissions - they are identical to those on the old machine, on which ZM (0.9.15) ran OK. On this machine xawtv can see all four channels on the BT878 card OK but from within the ZM consule, selecting the Settings option shows -1 for all the settings. From the shell, running zmu -m1 -q -Uadmin -Padmin reports the settings (brightness etc) correctly.
Running top on this machine shows that all the ZM stuff is sitting virtually asleep - on the old machine top shows the ZM processes running as expected - zmc running for as long as the time since it was started etc.
Any ideas - before I go totally mad.
Cheers,
Norman
Waiting for capture daemon
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Waiting for capture daemon
Hi Norman,
The only thing I can think of is that the capture daemons are stuck on something and never return from a function call. You might be able to isolate this using gdb. If you shutdown zm completely and then run 'gdb zmc' and then at the prompt type 'run -d 0' (or whatever your device is) it should start. After a minute or two if you hit ctrl-c and then type 'bt' to get a backtrace. That might have something useful in it.
Phil,
The only thing I can think of is that the capture daemons are stuck on something and never return from a function call. You might be able to isolate this using gdb. If you shutdown zm completely and then run 'gdb zmc' and then at the prompt type 'run -d 0' (or whatever your device is) it should start. After a minute or two if you hit ctrl-c and then type 'bt' to get a backtrace. That might have something useful in it.
Phil,
Re: Waiting for capture daemon
Hi Phi,
Thanks for the very prompt response! I'll give gdb a try tomorrow evening (I'm out tonight) and see if anythig shows up.
Cheers,
Norman
Thanks for the very prompt response! I'll give gdb a try tomorrow evening (I'm out tonight) and see if anythig shows up.
Cheers,
Norman
Re: Waiting for capture daemon
Hi Phil,
Here is the output from gdb on zmc - as you can see, not a lot! I started gdb after a reboot, fired up zmc and let it run for several minutes (>5) - any ideas?
Starting program: /usr/local/bin/zmc -d 0
Program received signal SIGINT, Interrupt.
0x40242984 in ioctl () from /lib/libc.so.6
(gdb) bt
#0 0x40242984 in ioctl () from /lib/libc.so.6
#1 0x00000009 in ?? ()
#2 0x0804a995 in Monitor::PostCapture() (this=0xc894ec0) at zm_monitor.h:220
#3 0x0804a75c in main (argc=0, argv=0xc8d2b98) at zmc.cpp:244
#4 0x4017d8ae in __lib_start_main () from /lib/libc.so.6
(gdb)
Cheers,
Norman
Here is the output from gdb on zmc - as you can see, not a lot! I started gdb after a reboot, fired up zmc and let it run for several minutes (>5) - any ideas?
Starting program: /usr/local/bin/zmc -d 0
Program received signal SIGINT, Interrupt.
0x40242984 in ioctl () from /lib/libc.so.6
(gdb) bt
#0 0x40242984 in ioctl () from /lib/libc.so.6
#1 0x00000009 in ?? ()
#2 0x0804a995 in Monitor::PostCapture() (this=0xc894ec0) at zm_monitor.h:220
#3 0x0804a75c in main (argc=0, argv=0xc8d2b98) at zmc.cpp:244
#4 0x4017d8ae in __lib_start_main () from /lib/libc.so.6
(gdb)
Cheers,
Norman
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Waiting for capture daemon
That is a curiously truncated backtrace. Do you know what drivers you are using? If you do an 'lsmod' what does it come up with? Also have you tried using xawtv and doing an 'image capture' with that? Does that work?
Phil,
Phil,