Page 1 of 1

Shared Memory Issue X86_64 - PLS HELP

Posted: Sat Feb 09, 2008 1:26 am
by wildpossum
I am unable to get ZM working correctly == it bombs out always complaining about unallocated/unlinked shared memory issues.

I am running:
Fedora FC8 + all yum updates.
ZM = 1.23.1 built from Source.
Kernel 2.6.23.14-107.fc8 #1 SMP Mon Jan 14 22:07:11 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

My shared memory allocation is:
[root@ringtail ZoneMinder-1.23.1]# sysctl -A |grep shm
kernel.shmmax = 33554432
kernel.shmall = 134217728
kernel.shmmni = 4096
vm.hugetlb_shm_group = 0

The only open socket is:
[root@ringtail ZoneMinder-1.23.1]# ls -l /tmp/*sock
srwxr-xr-x 1 apache apache 0 2008-02-09 12:03 /tmp/zmdc.sock

I ONLY start/stop ZM from the web page, and my Web User:Group is configured as apache.

My config commands were:
./configure --with-libarch=lib64 --with-extralibs=-lmp3lame --with-mysql=/usr --with-ffmpeg=/usr/local --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache --enable-crashtrace=yes --enable-debug=yes ZM_DB_HOST=ringtail.wildpossum.com ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=XXXX

Make, Make install where built and Mysql DB setup - correctly.
I have set DEBUG = 3 for _zmc and ZM-Logs say:

==> /Events/ZM-Logs/zmaudit.log <==

==> /Events/ZM-Logs/zmdc.log <02> /Events/ZM-Logs/zm-debug.log <==

==> /Events/ZM-Logs/zmfilter.log <02> /Events/ZM-Logs/zmpkg.log <02> /Events/ZM-Logs/zmupdate.log <02> /Events/ZM-Logs/zmwatch.log <==
02/09/08 12:03:13.334309 zmwatch[7985].INF [Watchdog starting]
02/09/08 12:03:13.335795 zmwatch[7985].INF [Watchdog pausing for 30 seconds]
02/09/08 12:03:43.339382 zmwatch[7985].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/08 12:03:43.340441 zmwatch[7985].INF [Restarting capture daemon for Front-Camera, shared memory not valid]



top - 12:32:00 up 1:11, 4 users, load average: 2.00, 2.02, 1.68
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 897608k total, 544448k used, 353160k free, 17172k buffers
Swap: 3140656k total, 0k used, 3140656k free, 277500k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2300 apache 20 0 272m 11m 3160 S 0.0 1.4 0:00.32 /usr/sbin/httpd
2301 apache 20 0 272m 11m 3196 S 0.0 1.4 0:00.37 /usr/sbin/httpd
2302 apache 20 0 272m 12m 3264 S 0.0 1.4 0:00.38 /usr/sbin/httpd
2303 apache 20 0 272m 11m 3196 S 0.0 1.4 0:00.26 /usr/sbin/httpd
2304 apache 20 0 272m 11m 3156 S 0.0 1.4 0:00.32 /usr/sbin/httpd
2305 apache 20 0 272m 11m 2960 S 0.0 1.3 0:00.32 /usr/sbin/httpd
2306 apache 20 0 272m 11m 3224 S 0.0 1.4 0:00.49 /usr/sbin/httpd
2307 apache 20 0 272m 11m 3084 S 0.0 1.4 0:00.27 /usr/sbin/httpd
7915 apache 20 0 84724 9960 1416 S 0.0 1.1 0:00.07 /usr/bin/perl -wT /usr/local/bin/zmdc.pl startup
7956 apache 20 0 220m 3564 2764 D 0.0 0.4 0:00.02 /usr/local/bin/zmc -d /dev/video0
7960 apache 20 0 220m 3564 2760 D 0.0 0.4 0:00.02 /usr/local/bin/zmc -d /dev/video1
7970 apache 20 0 90548 16m 2996 S 0.0 1.9 0:00.42 /usr/bin/perl -wT /usr/local/bin/zmfilter.pl
7974 apache 20 0 85616 12m 2940 S 0.0 1.4 0:00.23 /usr/bin/perl -wT /usr/local/bin/zmaudit.pl -c
7985 apache 20 0 84472 10m 2996 S 0.0 1.3 0:00.13 /usr/bin/perl -wT /usr/local/bin/zmwatch.pl
7990 apache 20 0 96456 18m 3108 S 0.0 2.1 0:00.27 /usr/bin/perl -w /usr/local/bin/zmupdate.pl -c
8184 apache 20 0 84724 11m 2872 S 0.0 1.3 0:00.23 /usr/bin/perl -wT /usr/local/bin/zmdc.pl restart zmc
8383 apache 20 0 84724 11m 2872 S 0.0 1.3 0:00.24 /usr/bin/perl -wT /usr/local/bin/zmdc.pl check zma -m
8394 apache 20 0 269m 8740 2092 S 0.0 1.0 0:00.00 /usr/sbin/httpd
8395 apache 20 0 269m 7460 916 S 0.0 0.8 0:00.00 /usr/sbin/httpd
8396 apache 20 0 269m 8740 2092 S 0.0 1.0 0:00.00 /usr/sbin/httpd
8397 apache 20 0 269m 7456 912 S 0.0 0.8 0:00.00 /usr/sbin/httpd
8398 apache 20 0 269m 7456 912 S 0.0 0.8 0:00.00 /usr/sbin/httpd
8399 apache 20 0 269m 7456 912 S 0.0 0.8 0:00.00 /usr/sbin/httpd
8408 apache 20 0 269m 7456 912 S 0.0 0.8 0:00.00 /usr/sbin/httpd

You will notice from TOP that the zmdc.PL process is always generating more of itself [ONLY AFTER seeing problems with shared memory access], (probably because it is in SLEEP state and can't get out of it) and hence no one (including root) is able to shutdown ZM, only option left is to reboot the machine which isn't the best method. Any solution to this too?


Can anyone suggest further what may be the problem(s)?

I have compiled a list of things to check for, (including writing my very own source test for shared memory creation, allocation/deallocation which works OK) all from the last years postings and I can't see what else to try. :( :(

Posted: Sat Feb 09, 2008 1:56 am
by wildpossum
In case you may think the ZM DB is corrupted, I had dropped, re-created and re-installed the ZM DB. If you maybe suspect the monitor device def. wherein is the DB/Monitor printout:


Hope this may assist further.
Thanks.

Posted: Sat Feb 09, 2008 5:00 am
by cordel
What is your capture device?
Have you bumped up debug?
zmwatch is only one of the many involved logfiles, what do the others say?
This looks to me to be zmc bombing out because the capture device is not correctly configured but will not know with out the correct logs.

Posted: Sat Feb 09, 2008 5:58 am
by wildpossum
/Events/ZM-Logs/zmaudit.log
{empty}

/Events/ZM-Logs/zmdc.log
{empty}

/Events/ZM-Logs/zm-debug.log
{empty}

/Events/ZM-Logs/zmfilter.log
{empty}

/Events/ZM-Logs/zmpkg.log
{empty}

/Events/ZM-Logs/zmupdate.log
{empty}

/Events/ZM-Logs/zmwatch.log
02/09/08 12:03:13.334309 zmwatch[7985].INF [Watchdog starting]
02/09/08 12:03:13.335795 zmwatch[7985].INF [Watchdog pausing for 30 seconds]
02/09/08 12:03:43.339382 zmwatch[7985].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/08 12:03:43.340441 zmwatch[7985].INF [Restarting capture daemon for Front-Camera, shared memory not valid]

These are the logs, as first mentioned.
I had set /Web/ZM/Config/Debug to 3, with debugging ON, and above is all I get.


My Video device(s) are simple B&W 320x240 camera(s).
Here is my /etc/modprobe.conf

alias char-major-81 videodev
#
# This is for the LMLBT4M or LMLBT44 card from Linux Media Labs.com
#

options bttv card=118,118,118,118 pll=1,1,1,1
alias char-major-81-0 bttv
alias char-major-81-1 bttv
alias char-major-81-2 bttv
alias char-major-81-3 bttv

Here is part of my dmesg:

bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
firewire_core: created new fw device fw0 (0 config rom retries, S800)
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bttv0: Bt878 (rev 17) at 0000:03:00.0, irq: 19, latency: 32, mmio: 0xee000000
bttv0: using: LMLBT4 [card=118,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00820000 [init]
LMLBT4x init
bttv0: tuner absent
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCJ] -> GSI 20 (level, high) -> IRQ 20
PCI: Setting latency timer of device 0000:00:06.0 to 64
. ok
bttv: Bt8xx card found (1).
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:03:01.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bttv1: Bt878 (rev 17) at 0000:03:01.0, irq: 16, latency: 32, mmio: 0xee002000
bttv1: using: LMLBT4 [card=118,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00820ffd [init]
LMLBT4x init
bttv1: tuner absent
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
ACPI: PCI Interrupt 0000:03:02.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bttv2: Bt878 (rev 17) at 0000:03:02.0, irq: 17, latency: 32, mmio: 0xee004000
bttv2: using: LMLBT4 [card=118,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00820ffe [init]
LMLBT4x init
bttv2: tuner absent
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
ACPI: PCI Interrupt 0000:03:03.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bttv3: Bt878 (rev 17) at 0000:03:03.0, irq: 18, latency: 32, mmio: 0xee006000
bttv3: using: LMLBT4 [card=118,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00820fff [init]
LMLBT4x init
bttv3: tuner absent
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (4).
ACPI: PCI Interrupt 0000:04:00.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bttv4: Bt878 (rev 17) at 0000:04:00.0, irq: 16, latency: 32, mmio: 0xef000000
bttv4: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv4: gpio: en=00000000, out=00000000 in=00820000 [init]
bttv4: tuner type unset
bttv4: i2c: checking for MSP34xx @ 0x80... not found
bttv4: i2c: checking for TDA9875 @ 0xb0... not found
bttv4: i2c: checking for TDA7432 @ 0x8a... not found
bttv4: registered device video4
bttv4: registered device vbi4
bttv: Bt8xx card found (5).
ACPI: PCI Interrupt 0000:04:01.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bttv5: Bt878 (rev 17) at 0000:04:01.0, irq: 17, latency: 32, mmio: 0xef002000
bttv5: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv5: gpio: en=00000000, out=00000000 in=00820ffd [init]
bttv5: tuner type unset
bttv5: i2c: checking for MSP34xx @ 0x80... not found
bttv5: i2c: checking for TDA9875 @ 0xb0... not found
bttv5: i2c: checking for TDA7432 @ 0x8a... not found
bttv5: registered device video5
bttv5: registered device vbi5
bttv: Bt8xx card found (6).
ACPI: PCI Interrupt 0000:04:02.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bttv6: Bt878 (rev 17) at 0000:04:02.0, irq: 18, latency: 32, mmio: 0xef004000
bttv6: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv6: gpio: en=00000000, out=00000000 in=00820ffe [init]
bttv6: tuner type unset
bttv6: i2c: checking for MSP34xx @ 0x80... not found
bttv6: i2c: checking for TDA9875 @ 0xb0... not found
bttv6: i2c: checking for TDA7432 @ 0x8a... not found
bttv6: registered device video6
bttv6: registered device vbi6
bttv: Bt8xx card found (7).
ACPI: PCI Interrupt 0000:04:03.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bttv7: Bt878 (rev 17) at 0000:04:03.0, irq: 19, latency: 32, mmio: 0xef006000
bttv7: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv7: gpio: en=00000000, out=00000000 in=00820fff [init]
bttv7: tuner type unset
bttv7: i2c: checking for MSP34xx @ 0x80... not found
bttv7: i2c: checking for TDA9875 @ 0xb0... not found
bttv7: i2c: checking for TDA7432 @ 0x8a... not found
bttv7: registered device video7
bttv7: registered device vbi7
bt878: AUDIO driver version 0.0.0 loaded
intel8x0_measure_ac97_clock: measured 50652 usecs
intel8x0: clocking to 46906
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:00.1[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:00.1 disabled
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:00.1 disabled
bt878: probe of 0000:03:00.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:01.1[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:01.1 disabled
bt878: probe of 0000:03:01.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:02.1[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:02.1 disabled
bt878: probe of 0000:03:02.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:03.1[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:03.1 disabled
bt878: probe of 0000:03:03.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:00.1[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:00.1 disabled
bt878: probe of 0000:04:00.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:01.1[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:01.1 disabled
bt878: probe of 0000:04:01.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:02.1[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:02.1 disabled
bt878: probe of 0000:04:02.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:03.1[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:03.1 disabled
bt878: probe of 0000:04:03.1 failed with error -22
usbcore: registered new interface driver snd-usb-audio
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [APC5] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.28.0 20060524 on minor 0
device-mapper: multipath: version 1.0.5 loaded
EXT3 FS on sda2, internal journal

Posted: Sat Feb 09, 2008 6:17 am
by wildpossum
Just to ensure that nt having the lat four bttv ports configured, I have configured all bttv ports [0..7] now.

Now my DMESG is:
Linux video capture interface: v2.00
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
firewire_core: created new fw device fw0 (0 config rom retries, S800)
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bttv0: Bt878 (rev 17) at 0000:03:00.0, irq: 19, latency: 32, mmio: 0xee000000
bttv0: using: LMLBT4 [card=118,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00820000 [init]
LMLBT4x init
bttv0: tuner absent
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCJ] -> GSI 20 (level, high) -> IRQ 20
PCI: Setting latency timer of device 0000:00:06.0 to 64
. ok
bttv: Bt8xx card found (1).
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:03:01.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bttv1: Bt878 (rev 17) at 0000:03:01.0, irq: 16, latency: 32, mmio: 0xee002000
bttv1: using: LMLBT4 [card=118,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00820ffd [init]
LMLBT4x init
bttv1: tuner absent
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
ACPI: PCI Interrupt 0000:03:02.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bttv2: Bt878 (rev 17) at 0000:03:02.0, irq: 17, latency: 32, mmio: 0xee004000
bttv2: using: LMLBT4 [card=118,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00820ffe [init]
LMLBT4x init
bttv2: tuner absent
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
ACPI: PCI Interrupt 0000:03:03.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bttv3: Bt878 (rev 17) at 0000:03:03.0, irq: 18, latency: 32, mmio: 0xee006000
bttv3: using: LMLBT4 [card=118,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00820fff [init]
LMLBT4x init
bttv3: tuner absent
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (4).
ACPI: PCI Interrupt 0000:04:00.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bttv4: Bt878 (rev 17) at 0000:04:00.0, irq: 16, latency: 32, mmio: 0xef000000
bttv4: using: LMLBT4 [card=118,insmod option]
bttv4: gpio: en=00000000, out=00000000 in=00820000 [init]
LMLBT4x init
bttv4: tuner absent
bttv4: registered device video4
bttv4: registered device vbi4
bttv4: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (5).
ACPI: PCI Interrupt 0000:04:01.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bttv5: Bt878 (rev 17) at 0000:04:01.0, irq: 17, latency: 32, mmio: 0xef002000
bttv5: using: LMLBT4 [card=118,insmod option]
bttv5: gpio: en=00000000, out=00000000 in=00820ffd [init]
LMLBT4x init
bttv5: tuner absent
bttv5: registered device video5
bttv5: registered device vbi5
bttv5: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (6).
ACPI: PCI Interrupt 0000:04:02.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bttv6: Bt878 (rev 17) at 0000:04:02.0, irq: 18, latency: 32, mmio: 0xef004000
bttv6: using: LMLBT4 [card=118,insmod option]
bttv6: gpio: en=00000000, out=00000000 in=00820ffe [init]
LMLBT4x init
bttv6: tuner absent
bttv6: registered device video6
bttv6: registered device vbi6
bttv6: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (7).
ACPI: PCI Interrupt 0000:04:03.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bttv7: Bt878 (rev 17) at 0000:04:03.0, irq: 19, latency: 32, mmio: 0xef006000
bttv7: using: LMLBT4 [card=118,insmod option]
bttv7: gpio: en=00000000, out=00000000 in=00820fff [init]
LMLBT4x init
bttv7: tuner absent
bttv7: registered device video7
bttv7: registered device vbi7
bttv7: PLL: 28636363 => 35468950 .. ok
bt878: AUDIO driver version 0.0.0 loaded
intel8x0_measure_ac97_clock: measured 50028 usecs
intel8x0: clocking to 46779
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:00.1[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:00.1 disabled
bt878: probe of 0000:03:00.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:01.1[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:01.1 disabled
bt878: probe of 0000:03:01.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:02.1[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:02.1 disabled
bt878: probe of 0000:03:02.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:03:03.1[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:03:03.1 disabled
bt878: probe of 0000:03:03.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:00.1[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:00.1 disabled
bt878: probe of 0000:04:00.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:01.1[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:01.1 disabled
bt878: probe of 0000:04:01.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:02.1[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:02.1 disabled
bt878: probe of 0000:04:02.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:04:03.1[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 19
bt878_probe: card id=[0xffffffff], Unknown card.
Exiting..
ACPI: PCI interrupt for device 0000:04:03.1 disabled
bt878: probe of 0000:04:03.1 failed with error -22
usbcore: registered new interface driver snd-usb-audio
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [APC5] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.28.0 20060524 on minor 0


Hope this makes me config a little clearer.

Posted: Sat Feb 09, 2008 7:50 am
by cordel
Okay, Thats interesting. You sould not have empty log files for zmdc or zmpkg.
Permissions issue maybe :!:
What about the messages log :?:
What about debug logs :?:

Posted: Sat Feb 09, 2008 10:08 am
by wildpossum
1> As pointed out already, the ZM Logs do work, but there contents was only what I have already posted. That was all that was in them.

2> There is nothing of ZM interest in the /var/log/message file.

3> Contents of the ZM Debug file is zero.

Are you sure [ could you please verify ] that Debug directives saved via the web->ZM->Config->Debug Menu actually work??? They are stored in the MySQL table OK, but the debug levels don't change the log contents.

Anyhow, the ZM system is now RUNNING.

What is Different? -- NOTHING other than that I have started ZM at the localhost machine (upstairs), rather than from a remote firefox browser (Mac under XOS) here downstairs.

Boy this is very very strange indeed! - Maybe it is a Firefox issue ??
Mac XOS Firefox release is:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Thanks for your assistance. I really hope my problems don't return. :roll:

Posted: Sun Feb 10, 2008 7:04 pm
by zoneminder
If you change debug levels you have to restart the relevant processes so that they pick up the changes in case that wasn't obvious.

Posted: Sun Feb 10, 2008 10:51 pm
by wildpossum
OK. That is what I missed. Thamks.