Camera devices not loading/starting
Posted: Wed Apr 22, 2009 3:35 am
I'm migrating from a formerly working 1.22.3 config to 1.24.1 on CentOS 5.2. I was having issues with system stability when also running with my PVR -350 (with mythtv). I finally narrowed that down to somewhere in ZM and/or the capture card.
While debugging I did a lot of system changes, most significantly turning off ZM and enabling ACPI, and changing the file system to XFS. Now the system is stable, and I want to get ZM working, and upgrade from my old 1.22.3 to 1.24.1
ZM is configured and I can get to the web page. however, when I add the cards they don't "start", and I get errors in /var/log/messages (see below).
the devices are listed in dev/video[x]. I can see the interrupts in use in /proc/interrupts, and the card (a LMBT44) initializes in dmesg. Here's one of the four bttv devices:
bttv0: Bt878 (rev 17) at 0000:02:00.0, irq: 217, latency: 32, mmio: 0xf7fff000
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=008ff000 [init]
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video1
bttv0: registered device vbi1
(it at least used to work when autodetecting, setting the card to 118 per the lmbt instructions doesn't change anything)
When I run (for example)
xawtv -device /dev/video2
I get a mess on the screen, but it's definitely something (if I disconnect he camera I get a blue screen, if I reconnect the camera I'm back to something that looks like lines of static). If I connect the camera to video in on the TV I get (proper) video.
Any suggestions on where to troubleshoot?
Rick
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video2: No such file or directory]
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video3: No such file or directory]
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video1: No such file or directory]
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video4: No such file or directory]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: FAT [Failed to stat video device /dev/video2: No such file or directory]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Signal address is 0x206, no eip]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2b3a1cd084c0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:08 glutton zmdc[28847]: ERR ['zmc -d /dev/video2' exited abnormally, exit status 6]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: FAT [Failed to stat video device /dev/video2: No such file or directory]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Signal address is 0x202, no eip]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2b3d571634c0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:08 glutton zmdc[28847]: ERR ['zmc -d /dev/video2' exited abnormally, exit status 6]
Apr 21 20:23:08 glutton zma_m1[28872]: WAR [Waiting for capture daemon]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: FAT [Failed to stat video device /dev/video3: No such file or directory]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Signal address is 0x206, no eip]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2af91b2e24c0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:09 glutton zmdc[28847]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 6]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: FAT [Failed to stat video device /dev/video3: No such file or directory]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Signal address is 0x206, no eip]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2b833098c4c0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:09 glutton zmdc[28847]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 6]
Apr 21 20:23:09 glutton zma_m2[28877]: WAR [Waiting for capture daemon]
Apr 21 20:23:09 glutton zma_m1[28872]: WAR [Waiting for capture daemon]
Apr 21 20:23:10 glutton zmc_dvideo1[28879]: FAT [Failed to stat video device /dev/video1: No such file or directory]
While debugging I did a lot of system changes, most significantly turning off ZM and enabling ACPI, and changing the file system to XFS. Now the system is stable, and I want to get ZM working, and upgrade from my old 1.22.3 to 1.24.1
ZM is configured and I can get to the web page. however, when I add the cards they don't "start", and I get errors in /var/log/messages (see below).
the devices are listed in dev/video[x]. I can see the interrupts in use in /proc/interrupts, and the card (a LMBT44) initializes in dmesg. Here's one of the four bttv devices:
bttv0: Bt878 (rev 17) at 0000:02:00.0, irq: 217, latency: 32, mmio: 0xf7fff000
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=008ff000 [init]
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video1
bttv0: registered device vbi1
(it at least used to work when autodetecting, setting the card to 118 per the lmbt instructions doesn't change anything)
When I run (for example)
xawtv -device /dev/video2
I get a mess on the screen, but it's definitely something (if I disconnect he camera I get a blue screen, if I reconnect the camera I'm back to something that looks like lines of static). If I connect the camera to video in on the TV I get (proper) video.
Any suggestions on where to troubleshoot?
Rick
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video2: No such file or directory]
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video3: No such file or directory]
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video1: No such file or directory]
Apr 21 20:23:04 glutton zmfix[28845]: ERR [Can't stat /dev/video4: No such file or directory]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: FAT [Failed to stat video device /dev/video2: No such file or directory]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Signal address is 0x206, no eip]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2b3a1cd084c0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:08 glutton zmc_dvideo2[28869]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:08 glutton zmdc[28847]: ERR ['zmc -d /dev/video2' exited abnormally, exit status 6]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: FAT [Failed to stat video device /dev/video2: No such file or directory]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Signal address is 0x202, no eip]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2b3d571634c0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:08 glutton zmc_dvideo2[28871]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:08 glutton zmdc[28847]: ERR ['zmc -d /dev/video2' exited abnormally, exit status 6]
Apr 21 20:23:08 glutton zma_m1[28872]: WAR [Waiting for capture daemon]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: FAT [Failed to stat video device /dev/video3: No such file or directory]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Signal address is 0x206, no eip]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2af91b2e24c0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:09 glutton zmc_dvideo3[28874]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:09 glutton zmdc[28847]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 6]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: FAT [Failed to stat video device /dev/video3: No such file or directory]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Signal address is 0x206, no eip]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libpthread.so.0 [0x2b833098c4c0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x324a830215]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libc.so.6(abort+0x110) [0x324a831cc0]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x40d78e]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x41bb5c]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x41c77d]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc [0x404fd5]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x324a81d974]]
Apr 21 20:23:09 glutton zmc_dvideo3[28876]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x1f9) [0x404b79]]
Apr 21 20:23:09 glutton zmdc[28847]: ERR ['zmc -d /dev/video3' exited abnormally, exit status 6]
Apr 21 20:23:09 glutton zma_m2[28877]: WAR [Waiting for capture daemon]
Apr 21 20:23:09 glutton zma_m1[28872]: WAR [Waiting for capture daemon]
Apr 21 20:23:10 glutton zmc_dvideo1[28879]: FAT [Failed to stat video device /dev/video1: No such file or directory]