Any brave soul tried to install on Fedora 7 yet ?

Support and queries relating to all previous versions of ZoneMinder
timf
Posts: 132
Joined: Mon Mar 21, 2005 4:07 pm
Location: Lytham St.Annes Lancs.

Any brave soul tried to install on Fedora 7 yet ?

Post by timf »

Just installed Fedora 7 and now attempting to install ZM - looks like there's a problem with ffmpeg, no surprise :-(
Bombs out during the make.
I've tried yum install and building ffmpeg from source but no joy.

Any ideas ?

Otherwise ZM on my FC6 box runs great

Tim
JimNoble
Posts: 58
Joined: Thu Jul 29, 2004 12:12 am

Post by JimNoble »

I'm trying to get it running, but no success so far (see my recently updated post...).

Are you building ffmpeg with "--enable-shared"?

Jim
JimNoble
Posts: 58
Joined: Thu Jul 29, 2004 12:12 am

Post by JimNoble »

Update - just got zoneminder running ok on Fedora 7.

Had to compile ffmpeg from the source rpm using "--enable-shared" but without "--enable-swscaler" (which the binary rpms have in by default), install it, then build zm 1.22.3 from the source.

After updating the mysql database, it now works fine (so far)...

Jim
claudinei bossi
Posts: 1
Joined: Tue Jun 26, 2007 2:52 am
Location: Brasil
Contact:

FC7 means big headache during install zoneminder

Post by claudinei bossi »

Hello , I also installed the FC7 and I am suffering to install the zoneminder...
Which the best way of installing this? compiling or installing the alternative packets that exist in http: // atrpms.net/
BoSSi
foyleman
Posts: 2
Joined: Sat Mar 17, 2007 1:29 pm

Post by foyleman »

I'm not doing so well with installation on this or any other OS. Got Fedora 7 up with ffmpeg and zm. zm loads and runs but I can't get my video going. I can't install xawtv to test my cameras but I did fooled with modprobe.conf and lost it) see one of 4 cameras with kdwtv.

I Thought maybe I would test it out with mandriva livecd from the downloads. No good... doesn't work with my raid drives so I can't install anything. However that has xawtv and it tells me my 4 video cameras are there.

ports 65,66,67,68
devices video0,1,2,3
BT878 video (ProVideo PV150) - all four

Any suggestions? wait for an update to fedora? try an os that works well with raid and serves webpages (something I would like to have for personal work)?
Hatchet
Posts: 15
Joined: Tue Jun 26, 2007 2:10 pm

Post by Hatchet »

I've been trying to get it working in F7 x86_64. I don't have any problems configuring or making the install. No Errors! I just can't get the camera's to work in ZM. Both give black screens, one with a slight line at the top of the BTTV camera. I keep getting shared memory errors in some of the log files. I added the shared memory lines to sysctl.conf file but that didn't change a thing. I've also tried different camera resolutions and settings. I haven't found anything so far that helps.

I have reinstalled the OS multiple times and the same thing happens with the cameras. I'm not sure what to do next. BTW, the cameras work in TVtime so they are not the problem. aLso after I run TVtime one fo the cameras will work until I reboot. Strange!

Maybe we will get somebody to make some install instructions for Fedora 7 soon and I can find out what I am dong wrong. I am using Leadtek Winfast 2000 xp and Kworld Bt878 security capture cards if anybody wants to know. I don't really want to go back to FC6 but I may have to. :x

I need my security! :wink:
Last edited by Hatchet on Thu Jul 12, 2007 9:31 pm, edited 1 time in total.
Vegas
Posts: 3
Joined: Sun May 20, 2007 10:23 pm

Post by Vegas »

Yep, had the same black screen problem with F7.

Found that if I started TvTime and switched the cameras from NTSC to PAL and then back to NTSC they would start working in zm, but on reboot I had to do it all over again.

Spent many hours trying to get this to happen automatically at boot time. Finally gave up and went back to FC5.
Hatchet
Posts: 15
Joined: Tue Jun 26, 2007 2:10 pm

Post by Hatchet »

I noticed that too Vegas, the first time I got one of the cards working. I only got a picture after I switched to PAL then back to NTSC. Now when I start TvTime I don't have to do that. Might be some of the updates I have applied? Maybe this isn't a Zoneminder problem and is a Fedora 7 bug. I don't know and am not skilled enough to figure it out.

Maybe I should go back to FC6. But I think the reason I went to Fedora 7 is because I had a few other issues with FC6 not related to Zoneminder. Now to see if I erased the FC6 CD-RW or not! :roll:

Oh I see you wnt back to FC5, maybe I should consider that too.
User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada

Black Vids Until TVTIME

Post by tgutwin »

I am have a similar issue but with with an updated kernel (2.6.21.5) on FC6.
This Black screen issue only popped up after the kernel upgrade.

I was running the FC6 Kernel - 2.6.19-1.2911.fc6 until I needed to debug a different memory issue. I built my new kernel from kernel.org source and my bttv vids went black.

my system info:
  • FC6 with a custom kernel build 2.6.21.5 build for my AMD X2
    3GB (originally 1GB) RAM
    over 700GB disks with JFS filesystem and a logical volume manager
    ZM 1.22.3
    3 Bosch cameras via a ProVideo PV150 - 4 Bt878 port capture card
    Camera settings - 384x240 with FPS=8, alarm FPS=20, buffer =40 frames & 10,20,20 warm pre and post
    Hauppage PVR-350 (mpeg2 vid in/out capture card)
My dmesg is below to show module reloads...

After a bunch of module trials I happened onto the
1) Reload modules
2) Load the video devices in tvtime first (video shows correctly),
3) then start ZM. [/list]
Here is the script that shows what I do

Code: Select all

#!/bin/bash -v
/etc/init.d/zm stop
/etc/init.d/mythbackend stop
/sbin/rmmod ivtv
/sbin/rmmod i2c
/sbin/rmmod tuner
/sbin/rmmod bt878;/sbin/rmmod bttv
/sbin/rmmod uvcvideo
/sbin/rmmod videodev
/sbin/modprobe i2c
/sbin/modprobe tuner
/sbin/modprobe videodev
/sbin/modprobe uvcvideo
/sbin/modprobe ivtv
/sbin/modprobe bttv card=0x62,0x62,0x62,0x62 tuner=4,4,4,4
/sbin/modprobe bt878
# reload the bttv vids 1st with tvtime (why this works???  I don't know
tvtime -d /dev/video1 &
sleep 2
tvtime-command QUIT
sleep 2
tvtime -d /dev/video3 &
sleep 2
tvtime-command QUIT
sleep 2
tvtime -d /dev/video4 &
sleep 2
tvtime-command QUIT
sleep 2
/etc/init.d/mythbackend start
/etc/init.d/zm start
I went back to double check my kernel build params and everything seemed okay, but the bttv, ivtv, anf general v4l (original not v4l2) seems to be undergoing some changes due to the v4l being deprecated. I think this is a kernel module issue.[/list]

Update - Found the real issue... See http://www.zoneminder.com/forums/viewtopic.php?t=10108 that describes why a V4L2 app has to init the devices 1st before a V4L1 app. That is why the above script fixes it.

My dmesg after a reload ....

Code: Select all

bttv3: unloading
bttv2: unloading
bttv1: unloading
bttv0: unloading
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:06:08.0, irq: 18, latency: 32, mmio: 0xcc000000
bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv0: using: ProVideo PV150 [card=98,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=4
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
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:06:09.0, irq: 19, latency: 32, mmio: 0xcc002000
bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv1: using: ProVideo PV150 [card=98,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=4
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 video2
bttv1: registered device vbi2
bttv1: PLL: 28636363 => 35468950 . ok
bttv: Bt8xx card found (2).
bttv2: Bt878 (rev 17) at 0000:06:0a.0, irq: 16, latency: 32, mmio: 0xcc004000
bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv2: using: ProVideo PV150 [card=98,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=4
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 video3
bttv2: registered device vbi3
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
bttv3: Bt878 (rev 17) at 0000:06:0b.0, irq: 17, latency: 32, mmio: 0xcc006000
bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
bttv3: using: ProVideo PV150 [card=98,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: using tuner=4
bttv3: i2c: checking for TDA9875 @ 0xb0... not found
bttv3: i2c: checking for TDA7432 @ 0x8a... not found
bttv3: i2c: checking for TDA9887 @ 0x86... not found
bttv3: registered device video4
bttv3: registered device vbi4
bttv3: PLL: 28636363 => 35468950 .. ok
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
bt878_probe: card id=[0x1460aa00], Unknown card.
bt878: probe of 0000:06:08.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
bt878_probe: card id=[0x1461aa01], Unknown card.
bt878: probe of 0000:06:09.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
bt878_probe: card id=[0x1462aa02], Unknown card.
bt878: probe of 0000:06:0a.1 failed with error -22
bt878: Bt878 AUDIO function found (0).
bt878_probe: card id=[0x1463aa03], Unknown card.
bt878: probe of 0000:06:0b.1 failed with error -22
bttv0: PLL can sleep, using XTAL (28636363).
bttv2: PLL can sleep, using XTAL (28636363).
bttv3: PLL can sleep, using XTAL (28636363).
Notice the bt878 errors ???
They don't seem to cause any /var/log/message errors. Everything looks normal after the module reload, tvtime restart.
Last edited by tgutwin on Tue Aug 28, 2007 7:26 pm, edited 2 times in total.
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
Hatchet
Posts: 15
Joined: Tue Jun 26, 2007 2:10 pm

Post by Hatchet »

Well in that case if I go back to FC6 and do a yum update. I will be back in the same boat I'm in with Fedora 7. It's looks like we are all having the same problems but with different equipment. I am using an Athlon 64 with 2 gb ram on my system, but those memory problems keep showing in my logs. I'm not sure whether the shared memory is on the hard drive or the ram, I think the HDD. I have plenty of space on my HDD also.

I snipped this from my message log:

Code: Select all

zmwatch[4568]: ERR [Can't get shared memory id '7a6d2002', 2: No such file or directory] 
zmwatch[4568]: INF [Restarting capture daemon for Cars, shared memory not valid]
I tried changing the memory address but that didn't help or hurt. Also after using TvTime I could only get one of my capture cards working at a time in Zoneminder, not both.
User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada

Shared Memory issues

Post by tgutwin »

A couple of suggestions,
search the forums for "shared memory permissions".

Check the wiki - FAQ

Also take a look at http://www.zoneminder.com/forums/viewtopic.php?t=9692
for some tips on getting your memory settings correct. There seems to be a difference from what is on the Wiki-FAQ.
After you update your /etc/sysctl.conf remember to reload the settings with
sysctl -p
AND
restart both ZM and httpd to make sure everything has grabbed the new settings.

Tom
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
Hatchet
Posts: 15
Joined: Tue Jun 26, 2007 2:10 pm

Re: Shared Memory issues

Post by Hatchet »

tgutwin wrote:A couple of suggestions,
search the forums for "shared memory permissions".

Check the wiki - FAQ

Also take a look at http://www.zoneminder.com/forums/viewtopic.php?t=9692
for some tips on getting your memory settings correct. There seems to be a difference from what is on the Wiki-FAQ.
After you update your /etc/sysctl.conf remember to reload the settings with
sysctl -p
AND
restart both ZM and httpd to make sure everything has grabbed the new settings.

Tom
First off I always search for others with my problems before I bother posting. I've tried every suggestion I could find and I knew about the faq's on shared memory -- Wiki and the forums. Nothing I found helped! I rarely post questions unless it is my last resort.

I have to say that the link you gave was new to me though. So I decided even though it didn't help me this time, I would save it for the next time I update the OS and may need it. I knew when I posted the shared memory errors somebody would say I should have searched.

Anyway I am still getting shared memory errors in my zm log files but nothing in my message log now. The video screens remain black as before and I am getting tired of it all now! Maybe I'll try MythTV or go back to FC5? I've been using Zoneminder successfully since they started the Fedora distro -- until now. :?
User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada

Zoneminder is in Fedora 7 extras!

Post by tgutwin »

I just saw this ....

Zoneminder is in Fedora 7 extras! Installable with yum.

See this post http://www.zoneminder.com/forums/viewtopic.php?t=9674

How easy is that
:D

tom
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
Hatchet
Posts: 15
Joined: Tue Jun 26, 2007 2:10 pm

Post by Hatchet »

Heck, I might even be able to handle that! :) I might reinstall Fedora and start from scratch. I think I'll 'make clean' the ZM install I have now and try the yum package before I do an OS reinstall though. Thanks for the link! Hope it works...

Update July 11th:
I had to reinstall Fedora 7 because I screwed up the old Zoneminder uninstall. Everything seems to work with the Yum Zoneminder package except it isn't patched with the monitor presets. Even though it all installed like it should and the web console works. Although I am back to the original problem of Black Screens. I still think it is an Fedora bug.

Does anybody know where the settings for the bttv cards are? It isn't in oxrg.conf or modprobe.conf. Any ideas? I am getting an error in one of my logs like 'monitor type not set'. Something like that! I'm pretty sure it isn't anything in Zoneminder, but I could be wrong.
User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada

BTTV Card Settings

Post by tgutwin »

Hatchet wrote:Does anybody know where the settings for the bttv cards are?
The settings to get the card config'd and running is in the /etc/modprobe.conf
the dmesg should show if it is a module config error.
Hatchet wrote:I am getting an error in one of my logs like 'monitor type not set'.
That sounds like a ZM error. You set up the ZM monitors by clicking on the monitor in the main ZM page. (you probably already know this)

Once you get your F7 and ZM going you might want to post a new topic question to get to the bottom of this bttv issue. You will get more/better views and help than just me.

tom
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
Locked