Page 1 of 1

Can't get shared memory id '7a6d2002'

Posted: Thu Jun 15, 2006 11:42 pm
by bartekj
Dear Users,

I have recenly installed ZM 1.22.2 and facing a problem.
I can see my streaming through ZM, but when I change setting to the capture camera stops working and I need to reboot machine or just rmmod bttv and modprobe again.
this is what i see in log files:

Could somebody tell me how I could solve this?

Code: Select all

06/15/06 19:04:35.268637 zmwatch[9939].INF [Watchdog pausing for 30 seconds]
06/15/06 19:05:05.283863 zmwatch[9939].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/15/06 19:05:05.284925 zmwatch[9939].INF [Restarting capture daemon for TvCard, shared memory not valid]
06/15/06 19:05:06.286949 zmwatch[9939].INF ['zmc -d /dev/video' starting at 06/06/15 19:05:06, pid = 9963] at /usr/local/bin/
zmwatch.pl line 118
06/15/06 19:05:16.310356 zmwatch[9939].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/15/06 19:05:16.311238 zmwatch[9939].INF [Restarting capture daemon for TvCard, shared memory not valid]
06/15/06 19:05:17.326632 zmwatch[9939].INF ['zmc -d /dev/video' starting at 06/06/15 19:05:17, pid = 9968] at /usr/local/bin/
zmwatch.pl line 118
06/15/06 19:05:27.340373 zmwatch[9939].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/15/06 19:05:27.341254 zmwatch[9939].INF [Restarting capture daemon for TvCard, shared memory not valid]
06/15/06 19:05:29.266829 zmwatch[9939].INF ['zmc -d /dev/video' starting at 06/06/15 19:05:29, pid = 9974] at /usr/local/bin/
zmwatch.pl line 118
06/15/06 19:05:39.280369 zmwatch[9939].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/15/06 19:05:39.281254 zmwatch[9939].INF [Restarting capture daemon for TvCard, shared memory not valid]
06/15/06 19:05:41.209079 zmwatch[9939].INF ['zmc -d /dev/video' starting at 06/06/15 19:05:41, pid = 9979] at /usr/local/bin/
zmwatch.pl line 118
06/15/06 19:05:51.220482 zmwatch[9939].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/15/06 19:05:51.221359 zmwatch[9939].INF [Restarting capture daemon for TvCard, shared memory not valid]
06/15/06 19:05:53.277168 zmwatch[9939].INF ['zmc -d /dev/video' started at 06/06/15 19:05:53] at /usr/local/bin/zmwatch.pl li
ne 118
06/15/06 19:06:03.290363 zmwatch[9939].ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory]
06/15/06 19:06:03.291241 zmwatch[9939].INF [Restarting capture daemon for TvCard, shared memory not valid]
06/15/06 19:06:05.198925 zmwatch[9939].INF ['zmc -d /dev/video' starting at 06/06/15 19:06:05, pid = 9989] at /usr/local/bin/
zmwatch.pl line 118

Re: Can't get shared memory id '7a6d2002'

Posted: Thu Jun 15, 2006 11:55 pm
by cordel
bartekj wrote: but when I change setting to the capture camera stops working and I need to reboot machine or just rmmod bttv and modprobe again.
Any time you change settings for any camera, you must restart zm so that all the components are updated with the new settings.
Can you elaborate on this a bit more just in case I misunderstood?

Regards,
Corey

Posted: Fri Jun 16, 2006 3:18 am
by bartekj
Hi,

restart of ZM does not help at all.
I need to restart PC or unload bttv module and load it again.
It happens when I make any changes in configuration option of capture device in ZM.

I really do not know what the problem might be.

Bartek

Posted: Fri Jun 16, 2006 8:51 am
by jameswilson
maybe not related i have this too using a saa based card. I think its due to the kernel as i cant get tit to work on reboot i have to modprobe it after boot. but 2.6.16 kernel fixed this

Posted: Fri Jun 16, 2006 4:36 pm
by bartekj
Hi

I have following card
PCI SDVR-404A
http://www.allegro.pl/item101109619_101109619.html

It is loading on boot, only it takes 5 minutes long.
Then I start ZM, works perfectly... Then I change setting to capture device like resolution (high width) after saving new changes I do not see anymore video. Restarting ZM simply does not help. Need to reboot PC.

Does anybody has the same problem?
Bartosz

PS I will try upgarding to newer kernel and see if this is going to help.

Posted: Fri Jun 16, 2006 4:43 pm
by jameswilson
what card number are you using in your modprobe or bttv options? What kernel you on now

Posted: Fri Jun 16, 2006 11:54 pm
by cordel
Sounds like the card is not being set correctly. Please run the following commands.
dmesg |grep bttv

This next command will return allot so please find the capture card info and cut and paste that snip here as well.
lspci -vv

You can also find more helpful info in the FAQ/WIKI that I just posted last night.

Regards,
Corey

Posted: Sat Jun 17, 2006 5:27 pm
by joky
Hi,

i'd say your kernel doesn't have SHM-support enabled,

an other issue would be if the size of shm is too small,..
http://www.zoneminder.com/wiki/index.ph ... gs_mean.3F

best regards, erwin