ZM 1.242 on SuSe 11.1 doesn't start

Forum for questions and support relating to the 1.24.x releases only.
Locked
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

ZM 1.242 on SuSe 11.1 doesn't start

Post by Rainer »

I installed the rpm package without ffmpeg on SuSe 11.1 64-Bit
When I try to start zm I got the message
zmwatch[2716].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
After adding to /etc/sysctl.conf
kernel.shmall = 134217728
kernel.shmmax = 134217728
this message doesn't appear anymore.
Never the less when I try to start zm it fails with the following message:
Feb 17 08:41:08 240 zmpkg[5537]: INF [Command: start]
Feb 17 08:41:08 240 sudo: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/bin/true
Feb 17 08:41:08 240 sudo: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl check

Anybody an idea?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

In the setting look for debug tab and turn more of it on.
Feb 17 08:41:08 240 zmpkg[5537]: INF [Command: start]
Feb 17 08:41:08 240 sudo: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/bin/true
Feb 17 08:41:08 240 sudo: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/zmdc.pl check
Only tell us that it failed to start not what the problems might be.
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

New installation

Post by Rainer »

I uninstalled ZM and reinstalled it from scratch but this time with the rpm package with ffmpeg.

I still receive a failed when I start zm.
I executed chmod 777 /dev/video*

I could find in the apache/error_log the following entry
[error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'

Here /var/log/messages
Feb 17 23:39:25 CSS-240 zmpkg[21384]: INF [Command: status]
Feb 17 23:39:25 CSS-240 sudo: root : TTY=pts/2 ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/bin/true
Feb 17 23:39:25 CSS-240 sudo: root : TTY=pts/2 ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl check
Feb 17 23:39:33 CSS-240 zmpkg[21399]: INF [Command: start]
Feb 17 23:39:33 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/bin/true
Feb 17 23:39:33 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl check
Feb 17 23:39:33 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmfix
Feb 17 23:39:33 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl startup
Feb 17 23:39:33 CSS-240 zmdc[21413]: INF [Server starting at 10/02/17 23:39:33]
Feb 17 23:39:36 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmc -m 1
Feb 17 23:39:36 CSS-240 zmdc[21413]: INF ['zmc -m 1' starting at 10/02/17 23:39:36, pid = 21436]
Feb 17 23:39:36 CSS-240 zmdc[21436]: INF ['zmc -m 1' started at 10/02/17 23:39:36]
Feb 17 23:39:36 CSS-240 zmc_m1[21436]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:36 CSS-240 zmc_m1[21436]: FAT [Bogus monitor type 'Ffmpeg' for monitor 1]
Feb 17 23:39:36 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmc -m 2
Feb 17 23:39:36 CSS-240 zmdc[21413]: INF ['zmc -m 1' crashed, signal 6]
Feb 17 23:39:36 CSS-240 zmdc[21413]: INF [Starting pending process, zmc -m 1]
Feb 17 23:39:36 CSS-240 zmdc[21439]: INF ['zmc -m 1' started at 10/02/17 23:39:36]
Feb 17 23:39:36 CSS-240 zmc_m1[21439]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:36 CSS-240 zmdc[21413]: INF ['zmc -m 1' starting at 10/02/17 23:39:36, pid = 21439]
Feb 17 23:39:36 CSS-240 zmc_m1[21439]: FAT [Bogus monitor type 'Ffmpeg' for monitor 1]
Feb 17 23:39:36 CSS-240 zmdc[21413]: INF ['zmc -m 1' crashed, signal 6]
Feb 17 23:39:36 CSS-240 zmdc[21413]: INF ['zmc -m 2' starting at 10/02/17 23:39:36, pid = 21442]
Feb 17 23:39:36 CSS-240 zmdc[21442]: INF ['zmc -m 2' started at 10/02/17 23:39:36]
Feb 17 23:39:36 CSS-240 zmc_m2[21442]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:36 CSS-240 zmc_m2[21442]: FAT [Bogus monitor type 'Ffmpeg' for monitor 2]
Feb 17 23:39:36 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmc -d /dev/video2
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmc -m 2' crashed, signal 6]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF [Starting pending process, zmc -m 2]
Feb 17 23:39:37 CSS-240 zmdc[21445]: INF ['zmc -m 2' started at 10/02/17 23:39:37]
Feb 17 23:39:37 CSS-240 zmc_m2[21445]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmc -m 2' starting at 10/02/17 23:39:37, pid = 21445]
Feb 17 23:39:37 CSS-240 zmc_m2[21445]: FAT [Bogus monitor type 'Ffmpeg' for monitor 2]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmc -m 2' crashed, signal 6]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmc -d /dev/video2' starting at 10/02/17 23:39:37, pid = 21448]
Feb 17 23:39:37 CSS-240 zmdc[21448]: INF ['zmc -d /dev/video2' started at 10/02/17 23:39:37]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:37 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmfilter.pl
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: INF [Starting Capture]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: FAT [Failed to set video format: Invalid argument]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Signal address is 0x202, no eip]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /lib64/libpthread.so.0 [0x7f54c1a13a90]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x7f54c09e4645]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /lib64/libc.so.6(abort+0x183) [0x7f54c09e5c33]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /usr/local/bin/zmc [0x40dfa7]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /usr/local/bin/zmc [0x41e685]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /usr/local/bin/zmc [0x41e8e1]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /usr/local/bin/zmc [0x4057b5]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f54c09d0586]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: ERR [Backtrace: /usr/local/bin/zmc [0x4053e9]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: INF [Backtrace complete, please execute the following command for more information]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21448]: INF [addr2line -e /usr/local/bin/zmc 0x7f54c1a13a90 0x7f54c09e4645 0x7f54c09e5c33 0x40dfa7 0x41e685 0x41e8e1 0x4057b5 0x7f54c09d0586 0x4053e9]
Feb 17 23:39:37 CSS-240 zmdc[21413]: ERR ['zmc -d /dev/video2' exited abnormally, exit status 6]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF [Starting pending process, zmc -d /dev/video2]
Feb 17 23:39:37 CSS-240 zmdc[21452]: INF ['zmc -d /dev/video2' started at 10/02/17 23:39:37]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmc -d /dev/video2' starting at 10/02/17 23:39:37, pid = 21452]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:37 CSS-240 zmdc[21454]: INF ['zmfilter.pl' started at 10/02/17 23:39:37]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: INF [Starting Capture]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: FAT [Failed to set video format: Invalid argument]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmfilter.pl' starting at 10/02/17 23:39:37, pid = 21454]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Signal address is 0x206, no eip]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /lib64/libpthread.so.0 [0x7f5549606a90]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x7f55485d7645]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /lib64/libc.so.6(abort+0x183) [0x7f55485d8c33]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /usr/local/bin/zmc [0x40dfa7]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /usr/local/bin/zmc [0x41e685]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /usr/local/bin/zmc [0x41e8e1]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /usr/local/bin/zmc [0x4057b5]]
Feb 17 23:39:37 CSS-240 zmfilter[21454]: INF [Scanning for events]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f55485c3586]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: ERR [Backtrace: /usr/local/bin/zmc [0x4053e9]]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: INF [Backtrace complete, please execute the following command for more information]
Feb 17 23:39:37 CSS-240 zmc_dvideo2[21452]: INF [addr2line -e /usr/local/bin/zmc 0x7f5549606a90 0x7f55485d7645 0x7f55485d8c33 0x40dfa7 0x41e685 0x41e8e1 0x4057b5 0x7f55485c3586 0x4053e9]
Feb 17 23:39:37 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmaudit.pl -c
Feb 17 23:39:37 CSS-240 zmdc[21413]: ERR ['zmc -d /dev/video2' exited abnormally, exit status 6]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmaudit.pl -c' starting at 10/02/17 23:39:37, pid = 21459]
Feb 17 23:39:37 CSS-240 zmdc[21459]: INF ['zmaudit.pl -c' started at 10/02/17 23:39:37]
Feb 17 23:39:37 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmwatch.pl
Feb 17 23:39:37 CSS-240 zmdc[21463]: INF ['zmwatch.pl' started at 10/02/17 23:39:37]
Feb 17 23:39:37 CSS-240 zmdc[21413]: INF ['zmwatch.pl' starting at 10/02/17 23:39:37, pid = 21463]
Feb 17 23:39:37 CSS-240 sudo: root : TTY=unknown ; PWD=/var/www/html ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl start zmupdate.pl -c
Feb 17 23:39:37 CSS-240 zmwatch[21463]: INF [Watchdog starting]
Feb 17 23:39:37 CSS-240 zmwatch[21463]: INF [Watchdog pausing for 30 seconds]
Feb 17 23:39:38 CSS-240 zmdc[21413]: INF ['zmupdate.pl -c' starting at 10/02/17 23:39:38, pid = 21468]
Feb 17 23:39:38 CSS-240 zmdc[21468]: INF ['zmupdate.pl -c' started at 10/02/17 23:39:38]
Feb 17 23:39:41 CSS-240 zmdc[21413]: INF [Starting pending process, zmc -m 1]
Feb 17 23:39:41 CSS-240 zmdc[21413]: INF ['zmc -m 1' starting at 10/02/17 23:39:41, pid = 21471]
Feb 17 23:39:41 CSS-240 zmdc[21471]: INF ['zmc -m 1' started at 10/02/17 23:39:41]
Feb 17 23:39:41 CSS-240 zmc_m1[21471]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:41 CSS-240 zmc_m1[21471]: FAT [Bogus monitor type 'Ffmpeg' for monitor 1]
Feb 17 23:39:41 CSS-240 zmdc[21413]: INF ['zmc -m 1' crashed, signal 6]
Feb 17 23:39:42 CSS-240 zmdc[21413]: INF [Starting pending process, zmc -m 2]
Feb 17 23:39:42 CSS-240 zmdc[21413]: INF ['zmc -m 2' starting at 10/02/17 23:39:42, pid = 21473]
Feb 17 23:39:42 CSS-240 zmdc[21413]: INF [Starting pending process, zmc -d /dev/video2]
Feb 17 23:39:42 CSS-240 zmdc[21473]: INF ['zmc -m 2' started at 10/02/17 23:39:42]
Feb 17 23:39:42 CSS-240 zmdc[21474]: INF ['zmc -d /dev/video2' started at 10/02/17 23:39:42]
Feb 17 23:39:42 CSS-240 zmdc[21413]: INF ['zmc -d /dev/video2' starting at 10/02/17 23:39:42, pid = 21474]
Feb 17 23:39:42 CSS-240 zmc_m2[21473]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:42 CSS-240 zmc_dvideo2[21474]: INF [Debug Level = 0, Debug Log = <none>]
Feb 17 23:39:42 CSS-240 zmc_m2[21473]: FAT [Bogus monitor type 'Ffmpeg' for monitor 2]

By the way how to change the debug level for zm ?

Thanks for any help
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

After changing Kernel paramters ZM starts but black

Post by Rainer »

I changed the shared memory settings and some other settings and now ZM starts without error.

Never the less I only get a black screen or a flickering screen.

I tried different monitor settings but none brings a proper picture.
I have 2 different kind of cameras connected but same result.

I tried to use xawtv for testing but no chance to compile on SuSe 64 Bit. One error after the other.

Anybody an idea where to tune the settings to get it finally up?

I'm using Firefox to access.

Thanks in advance.
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

ZM starts now

Post by Rainer »

after adjusting the shared memory in /etc/sysctl to

kernel.shmall = 268435456
kernel.shmmax = 268435456

and modifying the /etc/modprobe.conf
by adding

options saa7134 card=33,33,33,33,33,33,33,33

zm starts without error and I get a streaming video on the 1st camera.
The other 7 cameras are either only flickering, black screen or even nothing.

Because there is no response from anybody it seems I have to go the hard way myself to figure out how this is working.
th
Posts: 23
Joined: Wed Dec 30, 2009 4:05 am
Location: Iowa

Re: ZM starts now

Post by th »

Rainer wrote: zm starts without error and I get a streaming video on the 1st camera.
The other 7 cameras are either only flickering, black screen or even nothing.

Because there is no response from anybody it seems I have to go the hard way myself to figure out how this is working.
There are a lot of things that can cause black screens.

Can you tail your /var/log/messages and capture the errors as your click on the live feed for the black-display cameras?

For extra debug, go into the ZM web interface, click on Options (upper right), select the Debug tab, then select additional debug to on and a higher level to see more debug info.
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

Post by Rainer »

When ZM is started I get this message for all cameras except camera 0:
Feb 23 21:49:10 CSS-240 zmc_dvideo4[5290]: ERR [Backtrace: /usr/local/bin/zmc [0x41e642]]
Feb 23 21:49:10 CSS-240 zmdc[4824]: ERR ['zmc -d /dev/video7' exited abnormally, exit status 6]
Feb 23 21:49:10 CSS-240 zmc_dvideo4[5290]: ERR [Backtrace: /usr/local/bin/zmc [0x41e8e1]]
Feb 23 21:49:10 CSS-240 zmc_dvideo4[5290]: ERR [Backtrace: /usr/local/bin/zmc [0x4057b5]]
Feb 23 21:49:10 CSS-240 zmc_dvideo4[5290]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fdcbd007586]]
Feb 23 21:49:10 CSS-240 zmc_dvideo4[5290]: ERR [Backtrace: /usr/local/bin/zmc [0x4053e9]]
Feb 23 21:49:10 CSS-240 zmc_dvideo4[5290]: INF [Backtrace complete, please execute the following command for more information]
Feb 23 21:47:10 CSS-240 zmc_dvideo4[5176]: INF [addr2line -e /usr/local/bin/zmc 0x7f8dbebb2a90 0x7f8dbdb83645 0x7f8dbdb84c33 0x40dfa7 0x41e642 0x41e8e1 0x4057b5 0x7f8dbdb6f586 0x4053e9]

By executing the command addr2line I get this
??:0
??:0
??:0
??:0
/home/schimpf/zone/ZoneMinder-1.24.2/src/zm_local_camera.cpp:469
/home/schimpf/zone/ZoneMinder-1.24.2/src/zm_local_camera.cpp:1439
/home/schimpf/zone/ZoneMinder-1.24.2/src/zmc.cpp:199
??:0
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116

When I check the lines 469, 1439 and 116 in the modules I am a bit lost

In/var/log messages I aslo have this information after ZM is running:
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: INF [Debug Level = 0, Debug Log = <none>]
Feb 23 21:57:10 CSS-240 zmc_dvideo7[5654]: INF [Debug Level = 0, Debug Log = <none>]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.05653]
Feb 23 21:57:10 CSS-240 zmc_dvideo7[5654]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.05654]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: INF [Starting Capture]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: FAT [Failed to set camera source 4: Invalid argument]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Signal address is 0x202, no eip]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /lib64/libpthread.so.0 [0x7f0bd9955a90]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x7f0bd8926645]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /lib64/libc.so.6(abort+0x183) [0x7f0bd8927c33]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /usr/local/bin/zmc [0x40dfa7]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /usr/local/bin/zmc [0x41e642]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /usr/local/bin/zmc [0x41e8e1]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /usr/local/bin/zmc [0x4057b5]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f0bd8912586]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: ERR [Backtrace: /usr/local/bin/zmc [0x4053e9]]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: INF [Backtrace complete, please execute the following command for more information]
Feb 23 21:57:10 CSS-240 zmc_dvideo4[5653]: INF [addr2line -e /usr/local/bin/zmc 0x7f0bd9955a90 0x7f0bd8926645 0x7f0bd8927c33 0x40dfa7 0x41e642 0x41e8e1 0x4057b5 0x7f0bd8912586 0x4053e9]

Camera0 has a perfect picture
Camera1 is only flickering

By clicking on camera1 I get this in /var/log/messages
Feb 23 21:52:48 CSS-240 zms[5079]: INF [Got signal 15 (Terminated), exiting]
Feb 23 21:52:55 CSS-240 zms[5445]: INF [Debug Level = 0, Debug Log = <none>]
Feb 23 21:52:55 CSS-240 zms[5445]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.05445]

Here the content from /tmp/zm_debug.log.05445
02/23/10 21:55:45.036349 zms[-1].DB3-zm_stream.cpp/58 [FPS:24.18, MXFPS:5.00, BFPS:24.18, EFPS:24.18, FM:1]
02/23/10 21:55:45.036387 zms[-1].DB3-zm_stream.cpp/65 [aEFPS:3.02, aFM:8]
02/23/10 21:55:45.036404 zms[-1].DB2-zm_monitor.cpp/3537 [Storing frame 4]
02/23/10 21:55:45.082550 zms[-1].DB2-zm_monitor.cpp/3537 [Storing frame 5]
02/23/10 21:55:45.128609 zms[-1].DB2-zm_monitor.cpp/3537 [Storing frame 6]
02/23/10 21:55:45.153965 zms[-1].DB2-zm_monitor.cpp/3537 [Storing frame 7]
02/23/10 21:55:45.199941 zms[-1].DB3-zm_stream.cpp/115 [Scaling by 100, zooming by 100 = magnifying by 100(100)]
02/23/10 21:55:45.199966 zms[-1].DB3-zm_stream.cpp/119 [Last scaling by 100, zooming by 100 = magnifying by 100(100)]
02/23/10 21:55:45.199981 zms[-1].DB3-zm_stream.cpp/122 [Base image width = 352, height = 288]
This message is ongoing


Some additional information's that might be helpful:
When I execute dmesg I get the following:
saa7134 0000:06:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
saa7130[0]: found at 0000:06:08.0, rev: 1, irq: 18, latency: 32, mmio: 0xfa100000
saa7130[0]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[0]: board init: gpio is 10000
saa7130[0]: Huh, no eeprom present (err=-5)?
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
saa7130[0]: registered device radio0
vendor=8086 device=244e
saa7134 0000:06:09.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
saa7130[1]: found at 0000:06:09.0, rev: 1, irq: 16, latency: 32, mmio: 0xfa101000
saa7130[1]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[1]: board init: gpio is 10000
saa7130[1]: Huh, no eeprom present (err=-5)?
saa7130[1]: registered device video1 [v4l2]
saa7130[1]: registered device vbi1
saa7130[1]: registered device radio1
vendor=8086 device=244e
saa7134 0000:06:0a.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
saa7130[2]: found at 0000:06:0a.0, rev: 1, irq: 20, latency: 32, mmio: 0xfa102000
saa7130[2]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[2]: board init: gpio is 10000
saa7130[2]: Huh, no eeprom present (err=-5)?
saa7130[2]: registered device video2 [v4l2]
saa7130[2]: registered device vbi2
saa7130[2]: registered device radio2
vendor=8086 device=244e
saa7134 0000:06:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
saa7130[3]: found at 0000:06:0b.0, rev: 1, irq: 19, latency: 32, mmio: 0xfa103000
saa7130[3]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[3]: board init: gpio is 10000
saa7130[3]: Huh, no eeprom present (err=-5)?
saa7130[3]: registered device video3 [v4l2]
saa7130[3]: registered device vbi3
saa7130[3]: registered device radio3
vendor=8086 device=244e
saa7134 0000:06:0c.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
saa7130[4]: found at 0000:06:0c.0, rev: 1, irq: 18, latency: 32, mmio: 0xfa104000
saa7130[4]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[4]: board init: gpio is 1fc00
saa7130[4]: Huh, no eeprom present (err=-5)?
saa7130[4]: registered device video4 [v4l2]
saa7130[4]: registered device vbi4
saa7130[4]: registered device radio4
vendor=8086 device=244e
saa7134 0000:06:0d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
saa7130[5]: found at 0000:06:0d.0, rev: 1, irq: 16, latency: 32, mmio: 0xfa105000
saa7130[5]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[5]: board init: gpio is 10000
saa7130[5]: Huh, no eeprom present (err=-5)?
saa7130[5]: registered device video5 [v4l2]
saa7130[5]: registered device vbi5
saa7130[5]: registered device radio5
vendor=8086 device=244e
saa7134 0000:06:0e.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
saa7130[6]: found at 0000:06:0e.0, rev: 1, irq: 20, latency: 32, mmio: 0xfa106000
saa7130[6]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[6]: board init: gpio is 10000
saa7130[6]: Huh, no eeprom present (err=-5)?
saa7130[6]: registered device video6 [v4l2]
saa7130[6]: registered device vbi6
saa7130[6]: registered device radio6
vendor=8086 device=244e
saa7134 0000:06:0f.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
saa7130[7]: found at 0000:06:0f.0, rev: 1, irq: 19, latency: 32, mmio: 0xfa107000
saa7130[7]: subsystem: 1131:0000, board: Proteus Pro [philips reference design] [card=1,insmod option]
saa7130[7]: board init: gpio is 10000
saa7130[7]: Huh, no eeprom present (err=-5)?
saa7130[7]: registered device video7 [v4l2]
saa7130[7]: registered device vbi7
saa7130[7]: registered device radio7

The card I use has the brand and model
Hawell HW-LX808E DVR Card a card with Philips SAA7134HL chipset

It looks to me that the card is not properly identified and setup under SuSe11.1.

I have a bootable image on a CD from Fedora where I can't do any configuration but there the card is running with a propriety software.

Thank you
Last edited by Rainer on Tue Feb 23, 2010 3:03 pm, edited 1 time in total.
th
Posts: 23
Joined: Wed Dec 30, 2009 4:05 am
Location: Iowa

Post by th »

Rainer wrote:The card I use has the brand and model
Hawell HW-LX808E DVR Card a card with Philips SAA7134HL chipset

Thank you
Could it be that you have overlapping IRQs assigned within the set of 8 cameras on the card?

I phrase that in the form of a question since I don't know.

I believe I've read in other threads that the backtrace and crash are often caused by the camera itself or the parameters that you are trying to access the image with. Have you tried taking the working camera on vbi0 and placed it on a port such as vbi6?
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

Post by Rainer »

I have not assigned any IRQ they had been setup automatically.
Where to check and change?

It looks to me it is more an issue on the card setup in /etc/modpobe.conf.
When I play around with the card numbers the result is always different. Best result I get with card=94 + 97 but only for camera 0.

I have tried some other cards like 1,2 etc but here even camera0 doesn't have a picture.
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Post by Paranoid »

Rainer wrote: I have a bootable image on a CD from Fedora where I can't do any configuration but there the card is running with a propriety software.
Is there any way to run a shell when the Fedora CD is running?
If so you could try looking to see what the card numbers is set to in that.
Locked