Disable ACPI on BIOS...
There is no option to do that in this BIOS.
What daemon would you like me to disable?and daemon...
Code: Select all
bagservice:~# uname -a
Linux bagservice.com.ar 2.6.32-trunk-amd64 #1 SMP Thu Dec 17 06:29:18 UTC 2009 x86_64 GNU/Linux
I answer my own question here: by reading through the source of zmwatch.pl I found that the "official" way to start the missing zmc would beskier wrote:How do I start a missing zmc (capture daemon) from the command line?
I tried
/usr/local/bin/zmc -d /dev/video3
but it just returned silently and the process wasn't there in ps (plus, it would have been owned by me rather than by www-data).
There must be a wrapper script somewhere that invokes this properly. What is it?
Unfortunately this is not the case for me.CoYoTe wrote:I have the same issue here, with an ECS borad and a AMD processor.
I notice that, if you restart zoneminder, all things goes ok.
At the moment I am missing channels 0 and 3. I issued your command and they are still missing. At this stage I'm clutching at straws and trying anything, but it would be good to understand WHY things don't work...Looks like daemons and hard lost sync on startup (its weird, some cams start with a green screen or with a line of vid on top), but the problem is solved with a "zmpkg.pl restart".
Well, thanks a lot for your message and suggestions.I try all kind of modificacionts, switching PCI slots, etc. But the problem persist.
i update te server, and looks like some kernel issue, cause now it works perfectly..
so, i suggest... try to update kernel.Code: Select all
bagservice:~# uname -a Linux bagservice.com.ar 2.6.32-trunk-amd64 #1 SMP Thu Dec 17 06:29:18 UTC 2009 x86_64 GNU/Linux
Code: Select all
sudo /etc/init.d/zm restart
Code: Select all
sudo su www-data
zmpkg.pl restart
Code: Select all
$ cat /proc/interrupts
CPU0 CPU1
0: 26 0 IO-APIC-edge timer
1: 8 0 IO-APIC-edge i8042
8: 0 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 132 0 IO-APIC-edge i8042
16: 0 0 IO-APIC-fasteoi uhci_hcd:usb3
17: 0 0 IO-APIC-fasteoi pata_marvell
18: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7
19: 0 0 IO-APIC-fasteoi uhci_hcd:usb6
20: 40915 0 IO-APIC-fasteoi bttv3, bttv7
21: 82803 0 IO-APIC-fasteoi uhci_hcd:usb4, bttv0, bttv4
22: 68641 0 IO-APIC-fasteoi bttv1, bttv5
23: 57129 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5, bttv2, bttv6
29: 44172 0 PCI-MSI-edge ahci
30: 3121 0 PCI-MSI-edge eth0
31: 1 0 PCI-MSI-edge i915
NMI: 0 0 Non-maskable interrupts
LOC: 40890 60270 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 343 334 Rescheduling interrupts
CAL: 26 67 Function call interrupts
TLB: 1443 294 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 2 2 Machine check polls
ERR: 0
MIS: 0
Code: Select all
$ dmesg | fgrep IRQ | fgrep bttv
[ 5.626719] bttv 0000:07:08.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 5.641455] IRQ 21/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 7.691374] bttv 0000:07:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 7.691409] IRQ 22/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
[ 9.741352] bttv 0000:07:0a.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[ 9.741394] IRQ 23/bttv2: IRQF_DISABLED is not guaranteed on shared IRQs
[ 11.791385] bttv 0000:07:0b.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 11.791423] IRQ 20/bttv3: IRQF_DISABLED is not guaranteed on shared IRQs
[ 13.841406] bttv 0000:07:0c.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 13.841449] IRQ 21/bttv4: IRQF_DISABLED is not guaranteed on shared IRQs
[ 15.891347] bttv 0000:07:0d.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 15.891390] IRQ 22/bttv5: IRQF_DISABLED is not guaranteed on shared IRQs
[ 17.941342] bttv 0000:07:0e.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[ 17.941500] IRQ 23/bttv6: IRQF_DISABLED is not guaranteed on shared IRQs
[ 19.991339] bttv 0000:07:0f.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 19.991383] IRQ 20/bttv7: IRQF_DISABLED is not guaranteed on shared IRQs
Code: Select all
$ dmesg | fgrep video
[ 0.531194] pci 0000:00:02.0: Boot video device
[ 5.443929] Linux video capture interface: v2.00
[ 86.090082] bttv0: registered device video0
[ 166.530083] bttv1: registered device video1
[ 246.970097] bttv2: registered device video2
[ 327.410089] bttv3: registered device video3
[ 407.850083] bttv4: registered device video4
[ 488.290095] bttv5: registered device video5
[ 568.730104] bttv6: registered device video6
[ 649.170087] bttv7: registered device video7
Code: Select all
Jan 18 08:07:02 zoom kernel: bttv0: SCERR @ 37430000,bits: HSYNC FBUS SCERR*
Jan 18 08:07:03 zoom last message repeated 8 times
Jan 18 08:07:03 zoom kernel: bttv0: timeout: drop=0 irq=4994691/38207616, risc=37430000, bits: HSYNC FBUS
Jan 18 08:07:03 zoom zmc_dvideo0[2750]: ERR [Sync failure for frame 7 buffer 1: Input/output error]
Jan 18 08:07:03 zoom zmc_dvideo0[2750]: ERR [Failed to capture image from monitor 4 (0/1)]
Jan 18 08:07:03 zoom zmdc[2692]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jan 18 08:07:03 zoom zmdc[2692]: INF [Starting pending process, zmc -d /dev/video0]
Jan 18 08:07:03 zoom zmdc[2692]: INF ['zmc -d /dev/video0' starting at 10/01/18 08:07:03, pid = 20268]
Jan 18 08:07:03 zoom zmdc[20268]: INF ['zmc -d /dev/video0' started at 10/01/18 08:07:03]
Jan 18 08:07:03 zoom zmc_dvideo0[20268]: INF [Debug Level = 0, Debug Log = <none>]
Jan 18 08:07:04 zoom zmc_dvideo0[20268]: INF [Starting Capture]
Jan 18 08:07:04 zoom kernel: bttv0: reset, reinitialize
Jan 18 08:07:04 zoom kernel: bttv0: PLL can sleep, using XTAL (28636363).
Jan 18 08:07:04 zoom kernel: bttv0: SCERR @ 37430000,bits: VSYNC HSYNC FBUS SCERR*
Jan 18 08:07:04 zoom last message repeated 3 times
Code: Select all
#!/bin/bash
CHECK=`dmesg | tail -7 | grep "bttv[0123456789]: timeout: drop="`
test ! -z "$CHECK" && {
service zm stop
modprobe -r bttv
sleep 3
modprobe bttv
service zm start
echo "$CHECK" | mail -s "Camera Went Red" YOUREMAIL@domain.com
}