Kernel Panics

Support and queries relating to all previous versions of ZoneMinder
Locked
JonThompson
Posts: 22
Joined: Wed Feb 09, 2005 4:25 pm

Kernel Panics

Post by JonThompson »

I'm having Kernel panics when I try and view some MPEG video files. Here are some snippets from zmdc.log...



'zma -m 14' starting at 05/04/03 17:13:33, pid = 3324
'zma -m 14' started at 05/04/03 17:13:33
'zmfilter.pl' started at 05/04/03 17:13:33
'zmfilter.pl' starting at 05/04/03 17:13:33, pid = 3329
'zmaudit.pl -d 900 -y' started at 05/04/03 17:13:33
'zmaudit.pl -d 900 -y' starting at 05/04/03 17:13:33, pid = 3334
'zmwatch.pl' starting at 05/04/03 17:13:33, pid = 3340
'zmwatch.pl' started at 05/04/03 17:13:33
Starting pending process, zmf -m 15
'zmf -m 15' started at 05/04/03 17:13:37
'zmf -m 15' starting at 05/04/03 17:13:37, pid = 3965
Starting pending process, zma -m 15
'zma -m 15' started at 05/04/03 17:13:37
'zma -m 15' starting at 05/04/03 17:13:37, pid = 3966
Starting pending process, zmf -m 14
'zmf -m 14' started at 05/04/03 17:13:38
'zmf -m 14' starting at 05/04/03 17:13:38, pid = 3975
'zmc -d 4' stopping at 05/04/03 17:14:03
'zmc -d 4' died at 05/04/03 17:14:03
'zmc -d 4' starting at 05/04/03 17:14:04, pid = 3990
'zmc -d 4' started at 05/04/03 17:14:04
'zma -m 15' stopping at 05/04/03 17:14:04
'zma -m 15' died at 05/04/03 17:14:04
'zmf -m 15' stopping at 05/04/03 17:14:04
'zmf -m 15' died at 05/04/03 17:14:04
'zmf -m 15' started at 05/04/03 17:14:04
'zmf -m 15' starting at 05/04/03 17:14:04, pid = 4002
'zma -m 15' starting at 05/04/03 17:14:04, pid = 4007
'zma -m 15' started at 05/04/03 17:14:04
Server starting at 05/04/03 17:22:01
'zmc -d 4' started at 05/04/03 17:22:04
'zmc -d 4' starting at 05/04/03 17:22:04, pid = 3025
'zmf -m 15' started at 05/04/03 17:22:04
'zmf -m 15' starting at 05/04/03 17:22:04, pid = 3036


I also have this scattered about in the log, but it seemed to go away once I set the camera to a maximum of 30fps...

Use of uninitialized value in hash element at /usr/local/bin/zmdc.pl line 346, <CLIENT> line 1.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Do you mean real kernel panics? I can't see anything odd in the logs. I would expect that if you are getting real panics (with all the attendant dumping of registers etc), it would most likely be in your video driver, in ffmpeg in the video generation (especially if you have a more recent CVS version) or if you are viewing them on the same machine then perhaps in your players. The driver is the most likely candidate as it's very difficult to generate panics from userspace programs.

Phil
JonThompson
Posts: 22
Joined: Wed Feb 09, 2005 4:25 pm

Post by JonThompson »

I have had the computer restart when playing back mpeg with two seperate files. Once was when I used Firefox on the server itself, the other time was when I was using a remote computer. Both times I was playing back a clip and the machine restarted.
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

Do you mean a complete re-boot, or a re-start of the Xwindows system?

Do you have any last-gasp messages in /var/log/* or elsewhere?

I've seen Xwindows crash-and-restart caused by problems with the DRI module. Last time I had a machine that kept crashing and needing a reboot the problem turned out to be hardware - the memory had developed some sticky bits... :/
Rick Hewett
JonThompson
Posts: 22
Joined: Wed Feb 09, 2005 4:25 pm

Post by JonThompson »

These are full reboots.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hmm, it's not something like ffmpeg (or something else) being build for a particular Intel processor and you having an Athlon or something like that?

Phil
Geo99M6Z
Posts: 10
Joined: Fri May 13, 2005 12:33 pm

Post by Geo99M6Z »

I am also getting these kernel panics.
It only happens when I am in MORECORD mode.

It is very odd.

Plus I am getting these errors as well.

Code: Select all

May 14 00:06:11 hefe-weizen zma_m2[4652]: INF [HouseCams: 026 - Starting new event 45]
May 14 00:06:17 hefe-weizen su(pam_unix)[4667]: session opened for user nobody by grw(uid=0)
May 14 00:06:17 hefe-weizen su[4667]: Warning!  Could not relabel /dev/pts/0 with user_u:object_r:devpts_t, not relabeling.Operation not permitted
May 14 00:06:21 hefe-weizen su(pam_unix)[4667]: session closed for user nobody
May 14 00:06:36 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:06:54 hefe-weizen zmc_d0[4644]: INF [HouseCams: 1000 - Capturing at 21.28 fps]
May 14 00:07:02 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:07:10 hefe-weizen zma_m2[4652]: INF [HouseCams: 1000 - Processing at 16.67 fps]
May 14 00:07:17 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:07:41 hefe-weizen zmc_d0[4644]: INF [HouseCams: 2000 - Capturing at 21.28 fps]
May 14 00:07:42 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:08:02 hefe-weizen last message repeated 3 times
May 14 00:08:05 hefe-weizen zma_m2[4652]: INF [HouseCams: 2000 - Processing at 18.18 fps]
May 14 00:08:07 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:08:28 hefe-weizen zmc_d0[4644]: INF [HouseCams: 3000 - Capturing at 21.28 fps]
May 14 00:08:37 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:08:57 hefe-weizen last message repeated 4 times
May 14 00:09:00 hefe-weizen zma_m2[4652]: INF [HouseCams: 3000 - Processing at 18.18 fps]
May 14 00:09:02 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:09:14 hefe-weizen zmc_d0[4644]: INF [HouseCams: 4000 - Capturing at 21.74 fps]
May 14 00:09:22 hefe-weizen kernel: bttv0: OCERR @ 1da73000,bits: HSYNC OFLOW OCERR*
May 14 00:09:22 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:09:37 hefe-weizen kernel: bttv0: OCERR @ 1da7301c,bits: HSYNC OFLOW OCERR*
May 14 00:09:57 hefe-weizen zma_m2[4652]: INF [HouseCams: 4000 - Processing at 17.54 fps]
May 14 00:10:01 hefe-weizen zmc_d0[4644]: INF [HouseCams: 5000 - Capturing at 21.28 fps]
May 14 00:10:01 hefe-weizen zmc_d0[4644]: WAR [Buffer overrun at index 5 ]
May 14 00:10:02 hefe-weizen zma_m2[4652]: INF [Ended event]
May 14 00:10:02 hefe-weizen zma_m2[4652]: INF [HouseCams: 4051 - Starting new event 46]
May 14 00:10:06 hefe-weizen zmc_d0[4644]: WAR [Buffer overrun at index 26 ]

Code: Select all

I am using zm-1.21
Fedora Core 3 :: 2.6.11-1.14_FC3
900 MhZ Celeron

00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Subsystem: Hauppauge computer works Inc. WinTV Series
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at efdfe000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
        Subsystem: Hauppauge computer works Inc. WinTV Series
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at efdff000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I notice your card are very similar. I wonder if you are getting any conflicts between them, have you tried it with just the cameras on one card? Or even temporarily removing (and or moving) one of the cards?

Phil
Geo99M6Z
Posts: 10
Joined: Fri May 13, 2005 12:33 pm

Post by Geo99M6Z »

I've never realized that.

It is all one card. It appears that the video and the audio channels have been enabled on the card.

I'm not quite sure how to prevent the audio driver from installing. Let me do some searching on the net.
Geo99M6Z
Posts: 10
Joined: Fri May 13, 2005 12:33 pm

Post by Geo99M6Z »

I seemed to have fixed the errors or just preventing them.

By simply changing the frame capture rate to 15 instead of 21 the kernel panics have stopped.

What is odd, previous releases I was capturing @ over 30 fps and never saw this error.

however, I am happy with 15 fps.
Locked