Problem: One Camera Works, Other Doesn't (Blue screen);

Support and queries relating to all previous versions of ZoneMinder
Post Reply
Secutor
Posts: 13
Joined: Wed Sep 12, 2007 9:01 pm
Location: Silicon Valley

Problem: One Camera Works, Other Doesn't (Blue screen);

Post by Secutor » Sat Feb 23, 2008 2:35 am

Summary: On a fresh install of ZM, from the ZM Live CD version 1.22.2.1,
one camera works but the second of two shows only a blue screen.
The same hardware environment works when using Bluecherry's Live CD in either Live CD mode or installed.


Details:
Software system is ZM Live CD version 1.22.2.1.iso installed to disk; includes Mandriva.
Hardware: PC: MB is ASUS A7A266, Athlon 1.2GHz, 512MB, 60GB CD-RW, LAN, USB, VGA See [1] for detail.

Symptoms.
After opening the ZM console screen and clicking to select a camera, the Desk camera work fine
and can been seen but the Driveway camera shows only blue. It also records an
event every ten minutes very punctually.

I have restarted ZM after making changes to settings but the problem persists.
Any suggestions please?

I have updated the system immediately upon installation; this went without problems.

I'll describe the two cameras and their settings below.


Settings:
Camera One (Desk) (that works) Camera Two (Driveway) (that doesn't work, blue screen)

Brightness 32768 32768
Contrast 32768 32768
Hue 32768 32768
Color 32768 32768

Function Mocord Mocord


source /dev/video0 (0) /dev/video0 (1)

Source Type local local
Enabled Yes Yes
Maximum FPS 5 6
Reference Image Blend 7 % 7 %

Device Path /dev/video0 /dev/video0
Device Channel 0 1
Device Format NTSC NTSC
Capture Palette RGB24 RGB24
Capture Width (pixels) 320 320
Capture Height (pixels) 240 240
Orientation Normal Normal


Camera Type Topica TP-H6360WBC-DN Topica TP-H777VIC-MIR

Capture Card: One PV-153

Evidence.

Note the ERR in the next log file.
[/var/log/zm]# tail -f -n 30 zmdc.log
02/22/2008 18:04:06.073170 zmdc[15587].INF ['zmaudit.pl -c' crashed, signal 14]
02/22/2008 18:04:06.073904 zmdc[15587].INF ['zmwatch.pl ' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.076082 zmdc[15587].INF ['zmwatch.pl ' crashed, signal 14]
02/22/2008 18:04:06.077079 zmdc[15587].INF ['zmc -d /dev/video0' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.184591 zmdc[15587].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/22/2008 18:04:06.185335 zmdc[15587].INF ['zma -m 7' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.189924 zmdc[15587].INF ['zma -m 7' exited normally]
02/22/2008 18:04:06.190726 zmdc[15587].INF ['zmupdate.pl -c' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.193485 zmdc[15587].INF ['zmupdate.pl -c' crashed, signal 14]
02/22/2008 18:04:06.194241 zmdc[15587].INF ['zma -m 6' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.198584 zmdc[15587].INF ['zma -m 6' exited normally]
02/22/2008 18:04:06.199534 zmdc[15587].INF ['zmfilter.pl ' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.202136 zmdc[15587].INF ['zmfilter.pl ' crashed, signal 14]
02/22/2008 18:04:16.418026 zmdc[15587].INF [Server shutdown at 08/02/22 18:04:16]
02/22/2008 18:04:18.835969 zmdc[4675].INF [Server starting at 08/02/22 18:04:18]
02/22/2008 18:04:22.700288 zmdc[4716].INF ['zmc -d /dev/video0' started at 08/02/22 18:04:22]
02/22/2008 18:04:22.707920 zmdc[4675].INF ['zmc -d /dev/video0' starting at 08/02/22 18:04:22, pid = 4716]
02/22/2008 18:04:23.293593 zmdc[4722].INF ['zma -m 6' started at 08/02/22 18:04:23]
02/22/2008 18:04:23.300524 zmdc[4675].INF ['zma -m 6' starting at 08/02/22 18:04:23, pid = 4722]
02/22/2008 18:04:23.779361 zmdc[4675].INF ['zmc -d /dev/video0' already running at 08/02/22 18:04:22, pid = 4716]
02/22/2008 18:04:24.349858 zmdc[4732].INF ['zma -m 7' started at 08/02/22 18:04:24]
02/22/2008 18:04:24.351408 zmdc[4675].INF ['zma -m 7' starting at 08/02/22 18:04:24, pid = 4732]
02/22/2008 18:04:25.054146 zmdc[4738].INF ['zmfilter.pl' started at 08/02/22 18:04:25]
02/22/2008 18:04:25.056567 zmdc[4675].INF ['zmfilter.pl' starting at 08/02/22 18:04:25, pid = 4738]
02/22/2008 18:04:26.335181 zmdc[4752].INF ['zmaudit.pl -c' started at 08/02/22 18:04:26]
02/22/2008 18:04:26.337654 zmdc[4675].INF ['zmaudit.pl -c' starting at 08/02/22 18:04:26, pid = 4752]
02/22/2008 18:04:27.400471 zmdc[4675].INF ['zmwatch.pl' starting at 08/02/22 18:04:27, pid = 4761]
02/22/2008 18:04:27.402366 zmdc[4761].INF ['zmwatch.pl' started at 08/02/22 18:04:27]
02/22/2008 18:04:28.011999 zmdc[4765].INF ['zmupdate.pl -c' started at 08/02/22 18:04:28]
02/22/2008 18:04:28.013775 zmdc[4675].INF ['zmupdate.pl -c' starting at 08/02/22 18:04:28, pid = 4765]



Here's some of the zmwatch log...
It appears that process 6661 can't get shared memory. How much of a problem is that and
how can it be cured?


[/var/log/zm]# tail zmwatch.log
02/22/2008 07:37:56.166791 zmwatch[6661].ERR [Can't get shared memory id '7a6d2005', 5: No such file or directory]
02/22/2008 07:37:56.167462 zmwatch[6661].INF [Restarting capture daemon for New, sha red memory not valid]PC ASUS Athlon 1.2GHz, 512MB, 60GB+120GB, CD-RW, LAN, USB, VGA
02/22/2008 07:37:57.273210 zmwatch[6661].INF ['zmc -d /dev/video0' stopping at 08/02 /22 07:37:57]
02/22/2008 07:40:57.554131 zmwatch[6661].ERR [Can't get shared memory id '7a6d2007', 7: No such file or directory]
02/22/2008 07:40:57.554794 zmwatch[6661].INF [Restarting capture daemon for Drive, s hared memory not valid]
02/22/2008 07:40:59.326018 zmwatch[6661].INF ['zmc -d /dev/video0' stopping at 08/02 /22 07:40:58]
02/22/2008 07:42:47.862273 zmwatch[8937].INF [Watchdog starting]
02/22/2008 07:42:47.867168 zmwatch[8937].INF [Watchdog pausing for 30 seconds]
02/22/2008 08:02:41.981560 zmwatch[15628].INF [Watchdog starting]
02/22/2008 08:02:41.982596 zmwatch[15628].INF [Watchdog pausing for 30 seconds]
[/var/log/zm]# cat /proc/sys/kernel/shmall
...these messages look suspicious!

There's an error in this log...
[/var/log/zm]# tail -f -n 30 zmdc.log
02/22/2008 18:04:06.073170 zmdc[15587].INF ['zmaudit.pl -c' crashed, signal 14]
02/22/2008 18:04:06.073904 zmdc[15587].INF ['zmwatch.pl ' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.076082 zmdc[15587].INF ['zmwatch.pl ' crashed, signal 14]
02/22/2008 18:04:06.077079 zmdc[15587].INF ['zmc -d /dev/video0' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.184591 zmdc[15587].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/22/2008 18:04:06.185335 zmdc[15587].INF ['zma -m 7' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.189924 zmdc[15587].INF ['zma -m 7' exited normally]
02/22/2008 18:04:06.190726 zmdc[15587].INF ['zmupdate.pl -c' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.193485 zmdc[15587].INF ['zmupdate.pl -c' crashed, signal 14]
02/22/2008 18:04:06.194241 zmdc[15587].INF ['zma -m 6' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.198584 zmdc[15587].INF ['zma -m 6' exited normally]
02/22/2008 18:04:06.199534 zmdc[15587].INF ['zmfilter.pl ' stopping at 08/02/22 18:04:06]
02/22/2008 18:04:06.202136 zmdc[15587].INF ['zmfilter.pl ' crashed, signal 14]
02/22/2008 18:04:16.418026 zmdc[15587].INF [Server shutdown at 08/02/22 18:04:16]
02/22/2008 18:04:18.835969 zmdc[4675].INF [Server starting at 08/02/22 18:04:18]
02/22/2008 18:04:22.700288 zmdc[4716].INF ['zmc -d /dev/video0' started at 08/02/22 18:04:22]
02/22/2008 18:04:22.707920 zmdc[4675].INF ['zmc -d /dev/video0' starting at 08/02/22 18:04:22, pid = 4716]
02/22/2008 18:04:23.293593 zmdc[4722].INF ['zma -m 6' started at 08/02/22 18:04:23]
02/22/2008 18:04:23.300524 zmdc[4675].INF ['zma -m 6' starting at 08/02/22 18:04:23, pid = 4722]
02/22/2008 18:04:23.779361 zmdc[4675].INF ['zmc -d /dev/video0' already running at 08/02/22 18:04:22, pid = 4716]
02/22/2008 18:04:24.349858 zmdc[4732].INF ['zma -m 7' started at 08/02/22 18:04:24]
02/22/2008 18:04:24.351408 zmdc[4675].INF ['zma -m 7' starting at 08/02/22 18:04:24, pid = 4732]
02/22/2008 18:04:25.054146 zmdc[4738].INF ['zmfilter.pl' started at 08/02/22 18:04:25]
02/22/2008 18:04:25.056567 zmdc[4675].INF ['zmfilter.pl' starting at 08/02/22 18:04:25, pid = 4738]
02/22/2008 18:04:26.335181 zmdc[4752].INF ['zmaudit.pl -c' started at 08/02/22 18:04:26]
02/22/2008 18:04:26.337654 zmdc[4675].INF ['zmaudit.pl -c' starting at 08/02/22 18:04:26, pid = 4752]
02/22/2008 18:04:27.400471 zmdc[4675].INF ['zmwatch.pl' starting at 08/02/22 18:04:27, pid = 4761]
02/22/2008 18:04:27.402366 zmdc[4761].INF ['zmwatch.pl' started at 08/02/22 18:04:27]
02/22/2008 18:04:28.011999 zmdc[4765].INF ['zmupdate.pl -c' started at 08/02/22 18:04:28]
02/22/2008 18:04:28.013775 zmdc[4675].INF ['zmupdate.pl -c' starting at 08/02/22 18:04:28, pid = 4765]




[/var/log/zm]# tail -f -n 30 zmupdate.log

02/21/08 13:01:27.436762 zmupdate[6493].INF [Checking for updates]
02/21/08 13:01:29.884113 zmupdate[6493].INF [Got version: '1.23.1']
02/22/2008 13:02:42.701885 zmupdate[15632].INF [Checking for updates]
02/22/2008 13:02:43.424374 zmupdate[15632].INF [Got version: '1.23.1']
...and I installed 1.22.2.1? Maybe this was automatically updated to 1.23?


syslog looks innocuous...
[/var/log]# tail -f -n 30 syslog
Feb 22 18:04:46 zm zma_m6[4722]: INF [Desk: 108 - Gone into alert state]
Feb 22 18:04:48 zm zma_m6[4722]: INF [Desk: 118 - Left alarm state (91) - 102(37) images]
Feb 22 18:06:02 zm zma_m6[4722]: INF [Desk: 453 - Gone into alarm state]
Feb 22 18:06:03 zm zma_m6[4722]: INF [Desk: 455 - Gone into alert state]
Feb 22 18:06:04 zm zma_m6[4722]: INF [Desk: 460 - Gone back into alarm state]
Feb 22 18:06:04 zm zma_m6[4722]: INF [Desk: 462 - Gone into alert state]
Feb 22 18:06:05 zm zma_m6[4722]: INF [Desk: 465 - Gone back into alarm state]
Feb 22 18:06:05 zm zma_m6[4722]: INF [Desk: 467 - Gone into alert state]
Feb 22 18:06:05 zm zma_m6[4722]: INF [Desk: 468 - Gone back into alarm state]
Feb 22 18:06:06 zm zma_m6[4722]: INF [Desk: 471 - Gone into alert state]
Feb 22 18:06:08 zm zma_m6[4722]: INF [Desk: 481 - Left alarm state (91) - 465(46) images]
Feb 22 18:08:02 zm zmc_dvideo0[4716]: INF [Desk: 1000 - Capturing at 4.55 fps]
Feb 22 18:08:02 zm zmc_dvideo0[4716]: INF [Drive: 1000 - Capturing at 4.55 fps]
Feb 22 18:08:02 zm zma_m6[4722]: INF [Desk: 1000 - Processing at 4.57 fps]
Feb 22 18:08:03 zm zma_m7[4732]: INF [Drive: 1000 - Processing at 4.57 fps]
Feb 22 18:08:24 zm zma_m6[4722]: INF [Desk: 1101 - Gone into alarm state]
Feb 22 18:08:24 zm zma_m6[4722]: INF [Desk: 1102 - Gone into alert state]
Feb 22 18:08:25 zm zma_m6[4722]: INF [Desk: 1104 - Gone back into alarm state]
Feb 22 18:08:25 zm zma_m6[4722]: INF [Desk: 1106 - Gone into alert state]
Feb 22 18:08:27 zm zma_m6[4722]: INF [Desk: 1113 - Gone back into alarm state]
Feb 22 18:08:28 zm zma_m6[4722]: INF [Desk: 1120 - Gone into alert state]
Feb 22 18:08:29 zm zma_m6[4722]: INF [Desk: 1123 - Gone back into alarm state]
Feb 22 18:08:30 zm zma_m6[4722]: INF [Desk: 1126 - Gone into alert state]
Feb 22 18:08:32 zm zma_m6[4722]: INF [Desk: 1136 - Left alarm state (91) - 1120(59) images]
Feb 22 18:10:00 zm zma_m7[4732]: INF [Ended event]
Feb 22 18:10:00 zm zma_m7[4732]: INF [Drive: 1534 - Starting new event 93]
Feb 22 18:10:00 zm zma_m6[4722]: INF [Ended event]
Feb 22 18:10:00 zm zma_m6[4722]: INF [Desk: 1537 - Starting new event 94]
Feb 22 18:10:31 zm zmfilter[4738]: INF [Executing '/usr/lib/zm/bin/zmeventdump 6/91']
Feb 22 18:10:31 zm zmfilter[4738]: INF [Executing '/usr/lib/zm/bin/zmeventdump 7/92']
Feb 22 18:11:41 zm zmc_dvideo0[4716]: INF [Desk: 2000 - Capturing at 4.57 fps]
Feb 22 18:11:41 zm zmc_dvideo0[4716]: INF [Drive: 2000 - Capturing at 4.57 fps]
Feb 22 18:11:42 zm zma_m6[4722]: INF [Desk: 2000 - Processing at 4.55 fps]
Feb 22 18:11:42 zm zma_m7[4732]: INF [Drive: 2000 - Processing at 4.57 fps]
Feb 22 18:11:47 zm zma_m6[4722]: INF [Desk: 2025 - Gone into alarm state]
Feb 22 18:11:48 zm zma_m6[4722]: INF [Desk: 2030 - Gone into alert state]
Feb 22 18:11:50 zm zma_m6[4722]: INF [Desk: 2039 - Gone back into alarm state]
Feb 22 18:11:51 zm zma_m6[4722]: INF [Desk: 2040 - Gone into alert state]
Feb 22 18:11:53 zm zma_m6[4722]: INF [Desk: 2050 - Left alarm state (94) - 523(6) images]


Here's some of the messages log...
[/var/log]# tail -f -n 30 messages
Feb 22 18:04:28 zm zma_m6[4722]: INF [Desk: 026 - Starting new event 91]
Feb 22 18:04:29 zm Update agent starting at 08/02/22 18:04:29
Feb 22 18:04:29 zm zma_m7[4732]: INF [Drive: 026 - Starting new event 92]
Feb 22 18:04:30 zm zmfilter[4738]: INF [Executing '/usr/lib/zm/bin/zmeventdump 6/89']
Feb 22 18:04:31 zm zmfilter[4738]: INF [Executing '/usr/lib/zm/bin/zmeventdump 7/90']
Feb 22 18:04:32 zm zma_m6[4722]: INF [Desk: 044 - Gone into alarm state]
Feb 22 18:04:33 zm zma_m6[4722]: INF [Desk: 048 - Gone into alert state]
Feb 22 18:04:33 zm zma_m6[4722]: INF [Desk: 049 - Gone back into alarm state]
Feb 22 18:04:34 zm zma_m6[4722]: INF [Desk: 050 - Gone into alert state]
Feb 22 18:04:34 zm zma_m6[4722]: INF [Desk: 052 - Gone back into alarm state]
Feb 22 18:04:37 zm zma_m6[4722]: INF [Desk: 066 - Gone into alert state]
Feb 22 18:04:39 zm zma_m6[4722]: INF [Desk: 076 - Left alarm state (91) - 60(19)
Feb 22 18:04:41 zm zma_m6[4722]: INF [Desk: 084 - Gone into alarm state]
Feb 22 18:04:42 zm zma_m6[4722]: INF [Desk: 087 - Gone into alert state]
Feb 22 18:04:43 zm zma_m6[4722]: INF [Desk: 091 - Gone back into alarm state]
Feb 22 18:04:43 zm zma_m6[4722]: INF [Desk: 093 - Gone into alert state]
Feb 22 18:04:43 zm zma_m6[4722]: INF [Desk: 094 - Gone back into alarm state]
Feb 22 18:04:45 zm zma_m6[4722]: INF [Desk: 103 - Gone into alert state]
Feb 22 18:04:45 zm zma_m6[4722]: INF [Desk: 104 - Gone back into alarm state]
...but it doesn't appear to be much of a problem.





=====================
Reference Material
[1] Hardware...
PC: MB is ASUS A7A266, Athlon 1.2GHz, 512MB, 60GB CD-RW, LAN, USB, VGA

- ATX tower with power supply

- Mother board: ASUS A7A266
This socket A motherboard, supporting 100/133MHz FSB processors, is based on ALiMAGiK 1 chipset. It provides 5 PCI, 1 CNR, AGP 4x, C-Media CMI8738, and 5 dimm slots (3 for PC133/100 SDRAM, 2 for PC2100/1600 DDR SDRAM). It has a dual channel bus IDE interface that will support UDMA33/66/100.

CPU: Athlon 1.2GHz

Mem: DDR 512MB

Disk Drives:
Main Disk Drive: 60GB
Secondary Disk Drive: Another WesternDigital 120GB that can be used as a secondary disk drive or can be used on another computer.

CD-RW Yamaha x40
DVD-ROM Player Creative Labs

USB: 4 connectors on the back

Audio: On board

Network: LAN card

Video: VGA Card

Technical Specifications

*

Socket A for AMD Athlon / Duron 550MHz ~ 1GHz+ CPU
*

ALi M1647 266MHz FSB chipset with ALi 1535D+ South Bridge
*

266/200MHz Front Side Bus
*

2 x DDR DIMM Sockets (Max. 2GB PC2100/PC1600 DDR SDRAM)
*

3 x SDRAM DIMM Sockets (Max. 3GB PC133 SDRAM)
*

1 x AGP Pro slot, 4 x PCI 2.2 slots, 1 x PCI 2.2/AMR Shared
*

2 x UltraDMA/100 IDE ports
*

C-Media CMI-8738 PCI Audio Controller with 4/6-Channel Integrated sound (optional)
*

3Com 3C920 100/10Mbps LAN Controller (optional)
*

4 x USB 1.1, 1 x Parallel, 2 x Serial, 2 x PS/2, 4/5 x Audio I/O (Optional), 1 x Game/MIDI (Optional)
*

SIR (Integrated Serial Infrared)
*

2Mb Award BIOS, PnP, ACPI, SMBIOS 2.3, Trend ChipAway Virus (TCAV), Green, Boot Block, BIOS
*

WfM 2.0, DMI 2.0, WOL, WOR, Chassis Intrusion, SMBus
*

Power Loss Recovery, ASUS® JumperFreeTM, CPU Throttle, SFS (Stepless Frequency Selection)
*

ATX Form Factor: 9.6" x 12.0" (24.5cm x 30.5cm)
* Ready for Asus iPanel
* Ethernet Card, PCI, 32 bit Netgear, Model FA311, 10/100Mbps. MW installed in January, 2008.
* Modem: removed by MW in January, 2008. Spared. May be a real modem not a Winmodem.

----------------------
Notes from phpsysinfo.index.php
Hardware Information
Processors 1
Model AMD Athlon(tm) Processor
Chip MHz 1208.86 MHz
Cache Size 256 KB
System Bogomips 2419.59
PCI Devices 0000:00:04.0 IDE interface: ALi Corporation M5229 IDE
0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738
// Removed this modem...
0000:00:0b.0 Communication controller: Conexant HCF 56k Data/Fax/Voice Modem
//
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
0000:02:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
0000:02:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
0000:02:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
0000:02:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
0000:02:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
0000:02:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
0000:02:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
0000:02:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
IDE Devices hda: IC35L060AVER07-0 (Capacity: 57.27 GB)
hdc: YAMAHA CRW2100E
hdd: CREATIVEDVD-ROM DVD2240E 09/27/97
USB Devices Linux 2.6.15-29-386 ehci_hcd EHCI Host Controller 0000:00:0a.3
Linux 2.6.15-29-386 ohci_hcd OHCI Host Controller 0000:00:0a.0
Linux 2.6.15-29-386 ohci_hcd OHCI Host Controller 0000:00:06.0
Linux 2.6.15-29-386 ohci_hcd OHCI Host Controller 0000:00:02.0
ADMtek USB To LAN Converter 0001
System Vital
Canonical Hostname vidsec
Listening IP 127.0.0.1
Kernel Version 2.6.15-29-386
Distro Name Debian testing/unstable
Uptime 31 minutes
Current Users 2
Load Averages 0.66 0.34 0.17
Memory Usage
Type Percent Capacity Free Used Size
Physical Memory 78% 113.23 MB 390.60 MB 503.83 MB
Disk Swap 0% 1.44 GB 0.00 KB 1.44 GB
:) :)

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Sat Feb 23, 2008 4:22 am

Alot of great detailed info here, almost more than we need :D

Here's the more than we need part, all the detail on the mainboard the most we really needed to know is the model, and the chipset pretty much gives us what we need.

Here's the almost part, We need the following:
dmesg |grep bttv
cat /proc/interrupts

I'm thinking either the card is not detected properly by the kernel or you might have an IRQ conflict. I'm thinking more along the lines that the card is not detected correctly.

Thanks for the effort in the detail, that's awesome.

Cheers,
Corey

Secutor
Posts: 13
Joined: Wed Sep 12, 2007 9:01 pm
Location: Silicon Valley

More: interrupts and dmesg...

Post by Secutor » Sat Feb 23, 2008 5:39 pm

Thanks for considering my problem Cordel, and others.
Here's a bit more information in case that will help. It looks to me as though the card is recognized but I'm not sure how to interpret the interrupts, in particular.

Here's some of dmesg just after a start up.


[~]# dmesg |grep bttv
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Host bridge needs ETBF enabled.
bttv: pci latency fixup [10]
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:02:08.0, irq: 11, latency: 32, mmio: 0xf5000000
bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv0: using: ProVideo PV150 [card=98,autodetected]
bttv0: enabling ETBF (430FX/VP3 compatibilty)
bttv0: setting pci timer to 10
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
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 video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:02:09.0, irq: 10, latency: 32, mmio: 0xf4000000
bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv1: using: ProVideo PV150 [card=98,autodetected]
bttv1: enabling ETBF (430FX/VP3 compatibilty)
bttv1: setting pci timer to 10
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=-1
bttv1: i2c: checking for TDA9875 @ 0xb0... not found
bttv1: i2c: checking for TDA7432 @ 0x8a... not found
bttv1: i2c: checking for TDA9887 @ 0x86... not found
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
bttv2: Bt878 (rev 17) at 0000:02:0a.0, irq: 5, latency: 32, mmio: 0xf3000000
bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv2: using: ProVideo PV150 [card=98,autodetected]
bttv2: enabling ETBF (430FX/VP3 compatibilty)
bttv2: setting pci timer to 10
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=-1
bttv2: i2c: checking for TDA9875 @ 0xb0... not found
bttv2: i2c: checking for TDA7432 @ 0x8a... not found
bttv2: i2c: checking for TDA9887 @ 0x86... not found
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
bttv3: Bt878 (rev 17) at 0000:02:0b.0, irq: 9, latency: 32, mm[~]



And the interrupts...
[~]# cat /proc/interrupts
CPU0
0: 376527 XT-PIC timer
1: 10 XT-PIC i8042
2: 0 XT-PIC cascade
5: 3 XT-PIC ehci_hcd:usb1, bttv2
9: 3 XT-PIC ohci_hcd:usb2, ohci_hcd:usb3, ohci_hcd:usb4, bttv3, CMI8738
10: 691 XT-PIC bttv1, eth0
11: 28585 XT-PIC bttv0
12: 104 XT-PIC i8042
14: 6362 XT-PIC ide0
15: 6059 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0
[~]#

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Re: More: interrupts and dmesg...

Post by cordel » Sat Feb 23, 2008 7:30 pm

Secutor wrote:And the interrupts...
[~]# cat /proc/interrupts
CPU0
0: 376527 XT-PIC timer
1: 10 XT-PIC i8042
2: 0 XT-PIC cascade
5: 3 XT-PIC ehci_hcd:usb1, bttv2
9: 3 XT-PIC ohci_hcd:usb2, ohci_hcd:usb3, ohci_hcd:usb4, bttv3, CMI8738 ->#IRQ 9 is being shared by USB port, A Device on the port, likely a mouse, another usb port, and your fourth bttv chip
10: 691 XT-PIC bttv1, eth0 -> IRQ10 used by Ethernet device and bttv by the second chip.
11: 28585 XT-PIC bttv0
12: 104 XT-PIC i8042
14: 6362 XT-PIC ide0
15: 6059 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0
[~]#
It looks like the kernel your card is being correctly detected but you may want to search the forum with google on that model, I recall seeing various setting being used but I don't remember the outcome of each. I would think most likely 98 is correct.

So it looks to me that you need to try putting the capture card in another PCI slot and see if you can get rid of this sharing. Alternatively you can go into bios and maybe reserve IRQs for the card.

User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp » Sun Feb 24, 2008 8:05 pm

I would start in the BIOS by turning off everything you are not using. (Serial ports, floppy drive, PATA ports...) Then reset ESCD, and boot. If it still fails, move the card.

Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests