Getting ZoneMinder into debian and ubuntu

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

The next thing to do is go through the system log and check what the various programs (zma, zmc, etc) are doing. Hopefully there's going to be a useful error message in there.
which system are we talking about here... zoneminder or linux and where are these logs? According to the zoneminder options->Paths tab ZM_PATH_LOGS are in /tmp. I can not find a directory called /tmp on my system (ubuntu server, Dapper)
currently running zm v1.22.3

Performed a locate zma and a locate zmc. and there doesn't appear to be any logs. If I change the ZM_PATH_LOGS to a legitimate directory (/var/tmp) and restart zm, I get "Starting ZoneMinder: Can't open log file '/srv/tmp/zmdc.log': Permission denied at /usr/share/perl5/ZoneMinder/Debug.pm line 279.success"

Do I need to change the owner of the /var/tmp dir to something other than root? maybe www_data?

I have also followed the advice on this thread... http://www.zoneminder.com/forums/viewtopic.php?t=8621
I have followed the http://www.zoneminder.com/fileadmin/dow ... EADME.html as closely as I could.
installed ZM using http://www.zoneminder.com/wiki/index.ph ... 6_-_Dapper and http://www.zoneminder.com/wiki/index.php/Ubuntu_7.04
I've spent many hours trying to get this working, browsing through the ZM forum and of course googleing everything else.

As per http://www.zoneminder.com/fileadmin/dow ... EADME.html I have validated my cameras (1: Kagean KE-CP2548, 2: jiange SM-832.A, both colour CCD PAL format) using xawtv displayed via X11 through SSH to a windows PC. All I seem to be able to view and capture is black and white images. Plugging the cams into the TV they definitely show a colour picture.
Using xawtv If I select PAL the image is all ghosty, but the PAL-Nc seems ok besides the fact it's only showing black and white (any idea why only black and white?). When I try Record Movie option on xawtv, click on start/stop recording, my X11 console prints "oss: open /dev/dsp: No such file or directory" (without the ""'s) and the record a movie dialog prints "error [init]" (without the ""'s). in ZM I also do not see any camera image... I just see a broken image of the camera in the Web GUI.

Any help on this will be very much appreciated.
Kim.

jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you have a card error, or more probably a card config error.
Your zm logs are in tmp but you will only use these if you turn the debug up. Your linux system logs will depend on your distro, for example on madrake they are in /var/logs. You need to look at you rmessgaes log which is a system log not a zm log

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

I couldn't find a rmessgaes log.
Found the sys logs in /var/log/
I turned the debug up in ZM's WebGUI under Options, Debug tab. Set ZM_EXTRA_DEBUG to on, ZM_EXTRA_DEBUG_LEVEL to 9

This is a section of /var/log/messages file

Aug 26 14:02:24 artemis zmdc[11918]: INF ['zmwatch.pl' starting at 07/08/26 14:0
2:24, pid = 11959]
Aug 26 14:02:24 artemis zmdc[11959]: INF ['zmwatch.pl' started at 07/08/26 14:02
:24]
Aug 26 14:02:24 artemis zmwatch[11959]: INF [Watchdog starting]
Aug 26 14:02:24 artemis zmwatch[11959]: INF [Watchdog pausing for 30 seconds]
Aug 26 14:05:51 artemis zmc_dvideo0[11941]: INF [Composite1: 1000 - Capturing at
4.76 fps]
Aug 26 14:05:52 artemis zma_m8[11945]: INF [Composite1: 1000 - Processing at 4.7
6 fps]
Aug 26 14:09:21 artemis zmc_dvideo0[11941]: INF [Composite1: 2000 - Capturing at
4.76 fps]
Aug 26 14:09:22 artemis zma_m8[11945]: INF [Composite1: 2000 - Processing at 4.7
6 fps]
Aug 26 14:12:51 artemis zmc_dvideo0[11941]: INF [Composite1: 3000 - Capturing at
4.76 fps]
Aug 26 14:12:52 artemis zma_m8[11945]: INF [Composite1: 3000 - Processing at 4.7
6 fps]
Aug 26 14:16:21 artemis zmc_dvideo0[11941]: INF [Composite1: 4000 - Capturing at
4.76 fps]
Aug 26 14:16:22 artemis zma_m8[11945]: INF [Composite1: 4000 - Processing at 4.7
6 fps]
Aug 26 14:16:45 artemis zmfix[11992]: INF [New Debug Level = 9, New Debug Log =
/tmp/zm_debug.log.11992]
Aug 26 14:16:46 artemis zmdc[11918]: INF ['zmc -d /dev/video0' stopping at 07/08
/26 14:16:46]
Aug 26 14:16:46 artemis zmc_dvideo0[11941]: INF [Got signal (Terminated), exitin
g]
Aug 26 14:16:46 artemis zmdc[11918]: INF ['zmc -d /dev/video0' exited normally]
Aug 26 14:16:46 artemis zmdc[11918]: INF ['zmc -d /dev/video0' starting at 07/08
/26 14:16:46, pid = 12002]
Aug 26 14:16:46 artemis zmdc[12002]: INF ['zmc -d /dev/video0' started at 07/08/
26 14:16:46]
Aug 26 14:16:46 artemis zmc_dvideo0[12002]: INF [Debug Level = 0, Debug Log = <n
one>]
Aug 26 14:16:46 artemis zmc_dvideo0[12002]: INF [New Debug Level = 9, New Debug
Log = /tmp/zm_debug.log.12002]
Aug 26 14:16:46 artemis zmc_dvideo0[12002]: INF [Starting Capture]
Aug 26 14:16:47 artemis zmdc[11918]: WAR [Can't find process with command of 'zm
track.pl -m 9']
Aug 26 14:16:47 artemis zmdc[11918]: WAR [Can't find process with command of 'zm
a -m 9']
Aug 26 14:19:05 artemis zmu[11869]: INF [New Debug Level = 9, New Debug Log = /t
mp/zm_debug.log.11869]
Aug 26 14:19:05 artemis zmu[11869]: INF [Authenticated user 'admin']
Aug 26 14:19:52 artemis zma_m8[11945]: INF [Composite1: 5000 - Processing at 4.7
6 fps]
Aug 26 14:20:16 artemis zmc_dvideo0[12002]: INF [Composite1: 1000 - Capturing at
4.76 fps]
Aug 26 14:23:22 artemis zma_m8[11945]: INF [Composite1: 6000 - Processing at 4.7
6 fps]
Aug 26 14:23:46 artemis zmc_dvideo0[12002]: INF [Composite1: 2000 - Capturing at
4.76 fps]
Aug 26 14:26:52 artemis zma_m8[11945]: INF [Composite1: 7000 - Processing at 4.7
6 fps]
Aug 26 14:27:16 artemis zmc_dvideo0[12002]: INF [Composite1: 3000 - Capturing at
4.76 fps]
Aug 26 14:30:22 artemis zma_m8[11945]: INF [Composite1: 8000 - Processing at 4.7
6 fps]
Aug 27 14:30:46 artemis zmc_dvideo0[12002]: INF [Composite1: 4000 - Capturing at
4.76 fps]


This is a section of /var/log/messages.0 file

Aug 26 14:02:24 artemis zmdc[11918]: INF ['zmwatch.pl' starting at 07/08/26 14:0
2:24, pid = 11959]
Aug 26 14:02:24 artemis zmdc[11959]: INF ['zmwatch.pl' started at 07/08/26 14:02
:24]
Aug 26 14:02:24 artemis zmwatch[11959]: INF [Watchdog starting]
Aug 26 14:02:24 artemis zmwatch[11959]: INF [Watchdog pausing for 30 seconds]
Aug 26 14:05:51 artemis zmc_dvideo0[11941]: INF [Composite1: 1000 - Capturing at
4.76 fps]
Aug 26 14:05:52 artemis zma_m8[11945]: INF [Composite1: 1000 - Processing at 4.7
6 fps]
Aug 26 14:09:21 artemis zmc_dvideo0[11941]: INF [Composite1: 2000 - Capturing at
4.76 fps]
Aug 26 14:09:22 artemis zma_m8[11945]: INF [Composite1: 2000 - Processing at 4.7
6 fps]
Aug 26 14:12:51 artemis zmc_dvideo0[11941]: INF [Composite1: 3000 - Capturing at
4.76 fps]
Aug 26 14:12:52 artemis zma_m8[11945]: INF [Composite1: 3000 - Processing at 4.7
6 fps]
Aug 26 14:16:21 artemis zmc_dvideo0[11941]: INF [Composite1: 4000 - Capturing at
4.76 fps]
Aug 26 14:16:22 artemis zma_m8[11945]: INF [Composite1: 4000 - Processing at 4.7
6 fps]
Aug 26 14:16:45 artemis zmfix[11992]: INF [New Debug Level = 9, New Debug Log =
/tmp/zm_debug.log.11992]
Aug 26 14:16:46 artemis zmdc[11918]: INF ['zmc -d /dev/video0' stopping at 07/08
/26 14:16:46]
Aug 26 14:16:46 artemis zmc_dvideo0[11941]: INF [Got signal (Terminated), exitin
g]
Aug 26 14:16:46 artemis zmdc[11918]: INF ['zmc -d /dev/video0' exited normally]
Aug 26 14:16:46 artemis zmdc[11918]: INF ['zmc -d /dev/video0' starting at 07/08
/26 14:16:46, pid = 12002]
Aug 26 14:16:46 artemis zmdc[12002]: INF ['zmc -d /dev/video0' started at 07/08/
26 14:16:46]
Aug 26 14:16:46 artemis zmc_dvideo0[12002]: INF [Debug Level = 0, Debug Log = <n
one>]
Aug 26 14:16:46 artemis zmc_dvideo0[12002]: INF [New Debug Level = 9, New Debug
Log = /tmp/zm_debug.log.12002]
Aug 26 14:16:46 artemis zmc_dvideo0[12002]: INF [Starting Capture]
Aug 26 14:16:47 artemis zmdc[11918]: WAR [Can't find process with command of 'zm
track.pl -m 9']
Aug 26 14:16:47 artemis zmdc[11918]: WAR [Can't find process with command of 'zm
a -m 9']
Aug 26 14:19:05 artemis zmu[11869]: INF [New Debug Level = 9, New Debug Log = /t
mp/zm_debug.log.11869]
Aug 26 14:19:05 artemis zmu[11869]: INF [Authenticated user 'admin']
Aug 26 14:19:52 artemis zma_m8[11945]: INF [Composite1: 5000 - Processing at 4.7
6 fps]
Aug 26 14:20:16 artemis zmc_dvideo0[12002]: INF [Composite1: 1000 - Capturing at
4.76 fps]
Aug 26 14:23:22 artemis zma_m8[11945]: INF [Composite1: 6000 - Processing at 4.7
6 fps]
Aug 26 14:23:46 artemis zmc_dvideo0[12002]: INF [Composite1: 2000 - Capturing at
4.76 fps]
Aug 26 14:26:52 artemis zma_m8[11945]: INF [Composite1: 7000 - Processing at 4.7
6 fps]
Aug 26 14:27:16 artemis zmc_dvideo0[12002]: INF [Composite1: 3000 - Capturing at
4.76 fps]
Aug 26 14:30:22 artemis zma_m8[11945]: INF [Composite1: 8000 - Processing at 4.7
6 fps]
Aug 27 14:30:46 artemis zmc_dvideo0[12002]: INF [Composite1: 4000 - Capturing at
4.76 fps]


There are several /tmp/zm_debug.log##### files, that when I try to read, there seems to be nothing in there although the file size reflects that there is. Not sure whether these are relevant at the moment anyway.

Didn't appear to be any errors in /tmp/zmaudit.log

This is an extract from zmdc.log

08/26/07 13:56:29.884834 zmdc[11821].INF [Server starting at 07/08/26 13:56:29]
08/26/07 13:56:33.262507 zmdc[11821].INF ['zmc -d /dev/video0' starting at 07/08/26 13:56:33, pid = 11844]
08/26/07 13:56:33.691560 zmdc[11821].INF ['zma -m 8' starting at 07/08/26 13:56:33, pid = 11848]
08/26/07 13:56:34.121126 zmdc[11821].INF ['zmfilter.pl' starting at 07/08/26 13:56:34, pid = 11852]
08/26/07 13:56:35.071608 zmdc[11821].INF ['zmaudit.pl -c' starting at 07/08/26 13:56:35, pid = 11857]
08/26/07 13:56:35.791557 zmdc[11821].INF ['zmwatch.pl' starting at 07/08/26 13:56:35, pid = 11862]
08/26/07 14:02:07.265498 zmdc[11821].INF ['zmaudit.pl -c' stopping at 07/08/26 14:02:07]
08/26/07 14:02:07.268178 zmdc[11821].INF ['zmaudit.pl -c' crashed, signal 14]
08/26/07 14:02:07.269005 zmdc[11821].INF ['zmc -d /dev/video0' stopping at 07/08/26 14:02:07]
08/26/07 14:02:07.371849 zmdc[11821].INF ['zmc -d /dev/video0' exited normally]
08/26/07 14:02:07.372763 zmdc[11821].INF ['zmfilter.pl ' stopping at 07/08/26 14:02:07]
08/26/07 14:02:07.376492 zmdc[11821].INF ['zmfilter.pl ' crashed, signal 14]
08/26/07 14:02:07.377537 zmdc[11821].INF ['zma -m 8' stopping at 07/08/26 14:02:07]
08/26/07 14:02:07.381241 zmdc[11821].INF ['zma -m 8' exited normally]
08/26/07 14:02:07.382196 zmdc[11821].INF ['zmwatch.pl ' stopping at 07/08/26 14:02:07]
08/26/07 14:02:07.384861 zmdc[11821].INF ['zmwatch.pl ' crashed, signal 14]
08/26/07 14:02:17.530346 zmdc[11821].INF [Server shutdown at 07/08/26 14:02:17]
08/26/07 14:02:18.294528 zmdc[11918].INF [Server starting at 07/08/26 14:02:18]
08/26/07 14:02:21.672476 zmdc[11918].INF ['zmc -d /dev/video0' starting at 07/08/26 14:02:21, pid = 11941]
08/26/07 14:02:22.251564 zmdc[11918].INF ['zma -m 8' starting at 07/08/26 14:02:22, pid = 11945]
08/26/07 14:02:22.841530 zmdc[11918].INF ['zmfilter.pl' starting at 07/08/26 14:02:22, pid = 11949]
08/26/07 14:02:23.791322 zmdc[11918].INF ['zmaudit.pl -c' starting at 07/08/26 14:02:23, pid = 11954]
08/26/07 14:02:24.511142 zmdc[11918].INF ['zmwatch.pl' starting at 07/08/26 14:02:24, pid = 11959]
08/26/07 14:16:46.101423 zmdc[11918].INF ['zmc -d /dev/video0' stopping at 07/08/26 14:16:46]
08/26/07 14:16:46.163537 zmdc[11918].INF ['zmc -d /dev/video0' exited normally]
08/26/07 14:16:46.521085 zmdc[11918].INF ['zmc -d /dev/video0' starting at 07/08/26 14:16:46, pid = 12002]
08/26/07 14:16:47.155707 zmdc[11918].WAR [Can't find process with command of 'zmtrack.pl -m 9']
08/26/07 14:16:47.536145 zmdc[11918].WAR [Can't find process with command of 'zma -m 9']

The other logs looked ok.

I also tryed adding another monitor, but when I hit save in the WebGUI it didn't appear to be added.
When I looked in the zm.Monitors table all the monitors I added where there. Any idea why they are not shoing up now?
Before I start fudging the card config... (when I can find it, may not exist yet) do the above logs tell me something obviously wrong in my setup?


This is the output of zmu -d /dev/video0 -q -v

Video Capabilities
Name: BT878 video ( *** UNKNOWN/GENER
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 4
Audio Channels: 1
Maximum Width: 924
Maximum Height: 576
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 1 - Linear greyscale
Colour Depth: 8
Brightness: 0
Hue: 0
Colour :0
Contrast: 0
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 3
Channel has a tuner
Channel has audio
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL


this is the relevant dmesg.


[42949385.610000] bttv: driver version 0.9.16 loaded
[42949385.610000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[42949385.610000] bttv: Bt8xx card found (0).
[42949385.620000] **** SET: Misaligned resource pointer: dfb2c702 Type 07 Len 0
[42949385.620000] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12
[42949385.620000] PCI: setting IRQ 12 as level-triggered
[42949385.620000] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 12 (
level, low) -> IRQ 12
[42949385.620000] bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 12, latency: 32, m
mio: 0xd5801000
[42949385.620000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[42949385.620000] bttv0: gpio: en=00000000, out=00000000 in=00f36fff [init]
[42949387.620000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 11 (
level, low) -> IRQ 11
[42949389.930000] NET: Registered protocol family 10
[42949389.930000] lo: Disabled Privacy Extensions
[42949389.930000] IPv6 over IPv4 tunneling driver
[42949400.780000] eth0: no IPv6 routers present
[42949417.620000] tveeprom 0-0050: Huh, no eeprom present (err=-121)?
[42949417.620000] bttv0: using tuner=-1
[42949417.620000] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[42949433.620000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[42949449.620000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[42949465.620000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[42949481.620000] bttv0: registered device video0
[42949481.620000] bttv0: registered device vbi0
[42949481.700000] bt878: AUDIO driver version 0.0.0 loaded
[42949481.700000] bt878: Bt878 AUDIO function found (0).
[42949481.700000] ACPI: PCI Interrupt 0000:00:0a.1[A] -> Link [LNKC] -> GSI 12 (
level, low) -> IRQ 12
[42949481.700000] bt878(0): Bt878 (rev 17) at 00:0a.1, irq: 12, latency: 32, mem
ory: 0xd5802000


This is the relevant lsmod.


Module Size Used by

bt878 11880 0
bttv 172752 2 bt878
video_buf 23684 1 bttv
i2c_algo_bit 10760 1 bttv
v4l2_common 7040 1 bttv
btcx_risc 6280 1 bttv
tveeprom 16144 1 bttv
videodev 10752 2 bttv


This is a listing of my relevant device files in /dev

7074 lrwxrwxrwx 1 root root 6 2007-08-25 15:31 video -> video0
7073 crw-rw-rw- 1 root video 81, 0 2007-08-25 15:31 video0

In looking at my kernel source documentation (devices.txt) The module number 81 = video4linux, sub device number 0 = /dev/video0

Is this enough infomation do diagnose?

Thanks allot... Kim.
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

DeathByPenguins wrote: [42949385.620000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[
That line indicates a problem (there may be others in there, but I know this one, seeing I hit it in July :-) )

Take a look at this thread: http://www.zoneminder.com/forums/viewtopic.php?t=9884
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

I couldn't find the modprobe.conf file
performed a

Code: Select all

modprobe -v bttv card=77 tuner=4
Nothing seemed to change in the dmesg.

at the prompt tryed

Code: Select all

insmod bttv card=77 tuner=4
insmod printed

Code: Select all

insmod: can't read 'bttv': No such file or directory
How should I go about inserting card=77 tuner=4 into modprobe?
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

Then I tryed

Code: Select all

modprobe bttv card=77 tuner=4
Then I created a /etc/modprobe.conf and placed this line in it "options bttv card=77 tuner=4" without the quotes.

then on startup
*Loading hardware drivers... [fail]
the /etc/modprobe.conf contents must be incorrect?
The dmesg is now [42949385.020000] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option
]
xawtv now shows a colour image and can capture stills as it did before, but not movies.
The monitors I added to the ZM WebGUI are still not showing up anymore.
Any ideas of why? Maybe somehow the WebGUI has lost database access?

My card is a Conexant Fusion 878A which doesn't appear to be in the CARDLIST.bttv although the 878A is a bttv chipset.

Thanks for the pointers.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

DeathByPenguins wrote:My card is a Conexant Fusion 878A which doesn't appear to be in the CARDLIST.bttv although the 878A is a bttv chipset.
No, your chip is a Conexant Fusion 878A. The rest of the card is the issue. If you can not identify the card, could you post a link to a picture?
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

DeathByPenguins wrote:Then I tryed

Code: Select all

modprobe bttv card=77 tuner=4
Then I created a /etc/modprobe.conf and placed this line in it "options bttv card=77 tuner=4" without the quotes.

then on startup
*Loading hardware drivers... [fail]
the /etc/modprobe.conf contents must be incorrect?
The dmesg is now [42949385.020000] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option
]
OK, I think I know what the problem is.

First, on Ubuntu, /etc/modprobe.conf has become /etc/modprobe.d/options (though clearly it still recognises the former). I don't think you can have multiple options on one line. The fact it picks up the card name would back up that it's processing the first one.
Here is the relevant section from my /etc/modprobe.d/options:

Code: Select all

# Generic bt878 card settings
options bttv card=77
options bttv tuner=4
Which doesn't give the error. Try splitting into two lines.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

I have it in one line on Ubuntu with 2 8 chip cards in place. ie card=102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102 tuner=4 and so on. Again, it depends on the card used.
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

Yeah, sorry, my card is a no name with a Conexant Fusion 878A. This is a link to the card I'm using... http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... otohosting

Tryed entering the 2 options on separate lines into the /etc/modprobe.conf like this...

Code: Select all

options bttv card=77
options bttv tuner=4 
Didn't notice any difference. except the entire start up process seemed slower, over 5 minutes to boot.

During the boot sequence, takes a minute and a half to try load hardware drivers "Loading hardware drivers... [fail]"

Tryed entering the 2 options on separate lines into the /etc/modprobe.d/options file like I did in /etc/modprobe.conf after I deleted the /etc/modprobe.conf.
No noticeable difference. Other than xawtv keeps flashing between the 2 cameras I have running and xawtv prints...
"config: invalid value for input: Television valid choices for "input": "Composite0", "Composite1", "Composite2", "Composite3""
I notice when I reboot server, on the shutdown a message is displayed something along the lines of
"stopping ZoneMinder"
"Can't stop ZoneMinder, ZoneMinder is already stopped"
It was running when the server was running. Not sure if this is important.

I've spent somewhere in the vicinity of 100 hours on this install. Maybe I've screwed something else up?
The problem I have is that there is no clear cut install doc. That just works.
At lease I couldn't find one. Is there one besides the ones I've already mentioned?
I really don't want to go down the windows path, especially for a server and ZM looks like it would be a great package if I could get it configured.

This is the new dmesg...

[42949384.070000] Linux video capture interface: v1.00
[42949384.150000] bttv: driver version 0.9.16 loaded
[42949384.150000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[42949384.150000] bttv: Bt8xx card found (0).
[42949384.150000] **** SET: Misaligned resource pointer: dfbcde02 Type 07 Len 0
[42949384.150000] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12
[42949384.150000] PCI: setting IRQ 12 as level-triggered
[42949384.150000] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ 12
[42949384.150000] bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 12, latency: 32, mmio: 0xd5801000
[42949384.150000] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[42949384.150000] bttv0: gpio: en=00000000, out=00000000 in=00f36fff [init]
[42949386.460000] Linux agpgart interface v0.101 (c) Dave Jones
[42949386.910000] input: PC Speaker as /class/input/input1
[42949386.940000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[42949387.050000] agpgart: Detected VIA Apollo Pro 133 chipset
[42949387.050000] agpgart: AGP aperture is 8M @ 0xd5000000
[42949400.150000] bttv0: using tuner=4
[42949400.150000] bttv0: i2c: checking for TDA9875 @ 0xb0... **** SET: Misaligned resource pointer: dfbcd102 Type 07 Len 0
[42949400.150000] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[42949400.150000] PCI: setting IRQ 11 as level-triggered
[42949400.150000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[42949400.150000] 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
[42949400.150000] 0000:00:09.0: 3Com PCI 3c905C Tornado at e0976000. Vers LK1.1.19
[42949416.150000] not found
[42949416.150000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[42949432.150000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[42949565.330000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[42949570.450000] lp: driver loaded but no devices found
[42949572.060000] Adding 1044216k swap on /dev/hda3. Priority:-1 extents:1 across:1044216k
[42949573.500000] NET: Registered protocol family 10
[42949573.500000] lo: Disabled Privacy Extensions
[42949573.500000] IPv6 over IPv4 tunneling driver
[42949575.290000] EXT3 FS on hda1, internal journal
[42949577.490000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[42949577.490000] md: bitmap version 4.39
[42949583.700000] eth0: no IPv6 routers present
[42949595.250000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
[42949661.440000] cdrom: open failed.
[42949677.490000] kjournald starting. Commit interval 5 seconds
[42949677.990000] EXT3 FS on hda2, internal journal
[42949677.990000] EXT3-fs: mounted filesystem with ordered data mode.
[42949768.170000] bttv0: registered device video0
[42949768.170000] bttv0: registered device vbi0
[42949768.170000] bttv0: PLL: 28636363 => 35468950 .. ok
[42949768.220000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[42949768.320000] bt878: AUDIO driver version 0.0.0 loaded
[42949768.320000] bt878: Bt878 AUDIO function found (0).
[42949768.320000] ACPI: PCI Interrupt 0000:00:0a.1[A] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ 12
[42949768.320000] bt878(0): Bt878 (rev 17) at 00:0a.1, irq: 12, latency: 32, memory: 0xd5802000
[42950347.030000] bttv0: PLL can sleep, using XTAL (28636363).
[42950347.140000] bttv0: PLL: 28636363 => 35468950 .. ok :?
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

I have this card in a working system. It is on Edgy, but should work on Feisty. /etc/modprobe.d/options is not touched. ZM is set up with /dev/video0 (0) to /dev/video0 (3) and I did suid zmfix.
/etc/sysctl.conf add (It is a low memory box)

Code: Select all

kernel.shmall = 134217728
kernel.shmmax = 134217728
lspci

Code: Select all

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 645xx (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
00:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 330 [Xabre] PCI/AGP VGA Display Adapter (rev 01)
dmesg

Code: Select all

[17179569.184000] Linux version 2.6.17-12-generic (root@terranova) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Mon Jul 16 19:37:58 UTC 2007 (Ubuntu 2.6.17-12.39-generic)
[17179569.184000] BIOS-provided physical RAM map:
[17179569.184000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[17179569.184000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[17179569.184000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[17179569.184000]  BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
[17179569.184000]  BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)
[17179569.184000]  BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)
[17179569.184000]  BIOS-e820: 00000000fec00000 - 00000000fed00000 (reserved)
[17179569.184000]  BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
[17179569.184000]  BIOS-e820: 00000000ffee0000 - 00000000fff0ffff (reserved)
[17179569.184000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[17179569.184000] 127MB HIGHMEM available.
[17179569.184000] 896MB LOWMEM available.
[17179569.184000] found SMP MP-table at 000fb850
[17179569.184000] On node 0 totalpages: 262128
[17179569.184000]   DMA zone: 4096 pages, LIFO batch:0
[17179569.184000]   Normal zone: 225280 pages, LIFO batch:31
[17179569.184000]   HighMem zone: 32752 pages, LIFO batch:7
[17179569.184000] DMI 2.3 present.
[17179569.184000] ACPI: RSDP (v000 AMI                                   ) @ 0x000fa0c0
[17179569.184000] ACPI: RSDT (v001 AMIINT SiS645XX 0x00000010 MSFT 0x0100000b) @ 0x3fff0000
[17179569.184000] ACPI: FADT (v001 AMIINT SiS645XX 0x00000011 MSFT 0x0100000b) @ 0x3fff0030
[17179569.184000] ACPI: MADT (v001 AMIINT SiS645XX 0x00001000 MSFT 0x0100000b) @ 0x3fff00c0
[17179569.184000] ACPI: DSDT (v001    SiS      648 0x00001000 MSFT 0x0100000d) @ 0x00000000
[17179569.184000] ACPI: PM-Timer IO Port: 0x808
[17179569.184000] ACPI: Local APIC address 0xfee00000
[17179569.184000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[17179569.184000] Processor #0 15:1 APIC version 20
[17179569.184000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
[17179569.184000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[17179569.184000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[17179569.184000] ACPI: IRQ0 used by override.
[17179569.184000] ACPI: IRQ2 used by override.
[17179569.184000] ACPI: IRQ9 used by override.
[17179569.184000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[17179569.184000] Using ACPI (MADT) for SMP configuration information
[17179569.184000] Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
[17179569.184000] Built 1 zonelists
[17179569.184000] Kernel command line: root=/dev/hda1 ro quiet splash
[17179569.184000] mapped APIC to ffffd000 (fee00000)
[17179569.184000] mapped IOAPIC to ffffc000 (fec00000)
[17179569.184000] Enabling fast FPU save and restore... done.
[17179569.184000] Enabling unmasked SIMD FPU exception support... done.
[17179569.184000] Initializing CPU#0
[17179569.184000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[17179569.184000] Detected 1700.218 MHz processor.
[17179569.184000] Using pmtmr for high-res timesource
[17179569.184000] Console: colour VGA+ 80x25
[17179572.164000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[17179572.164000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[17179572.212000] Memory: 1029628k/1048512k available (1911k kernel code, 18104k reserved, 1073k data, 308k init, 131008k highmem)
[17179572.212000] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[17179572.292000] Calibrating delay using timer specific routine.. 3404.34 BogoMIPS (lpj=6808682)
[17179572.292000] Security Framework v1.0.0 initialized
[17179572.292000] SELinux:  Disabled at boot.
[17179572.292000] Mount-cache hash table entries: 512
[17179572.292000] CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
[17179572.292000] CPU: After vendor identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
[17179572.292000] CPU: Trace cache: 12K uops, L1 D cache: 8K
[17179572.292000] CPU: L2 cache: 128K
[17179572.292000] CPU: Hyper-Threading is disabled
[17179572.292000] CPU: After all inits, caps: 3febfbff 00000000 00000000 00000080 00000000 00000000 00000000
[17179572.292000] Checking 'hlt' instruction... OK.
[17179572.308000] SMP alternatives: switching to UP code
[17179572.308000] Freeing SMP alternatives: 16k freed
[17179572.308000] checking if image is initramfs... it is
[17179573.072000] Freeing initrd memory: 5326k freed
[17179573.072000] ACPI: Core revision 20060707
[17179573.076000] ACPI: Looking for DSDT ... not found!
[17179573.160000] CPU0: Intel(R) Celeron(R) CPU 1.70GHz stepping 03
[17179573.160000] Total of 1 processors activated (3404.34 BogoMIPS).
[17179573.160000] ENABLING IO-APIC IRQs
[17179573.160000] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[17179573.304000] Brought up 1 CPUs
[17179573.304000] migration_cost=0
[17179573.304000] NET: Registered protocol family 16
[17179573.304000] EISA bus registered
[17179573.304000] ACPI: bus type pci registered
[17179573.304000] PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=2
[17179573.304000] PCI: Using configuration type 1
[17179573.304000] Setting up standard PCI resources
[17179573.320000] ACPI: Interpreter enabled
[17179573.320000] ACPI: Using IOAPIC for interrupt routing
[17179573.324000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[17179573.324000] PCI: Probing PCI hardware (bus 00)
[17179573.328000] Uncovering SIS963 that hid as a SIS503 (compatible=1)
[17179573.328000] Enabling SiS 96x SMBus.
[17179573.328000] PCI: Ignoring BAR0-3 of IDE controller 0000:00:02.5
[17179573.328000] Boot video device is 0000:01:00.0
[17179573.328000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[17179573.336000] ACPI: Power Resource [URP1] (off)
[17179573.336000] ACPI: Power Resource [URP2] (off)
[17179573.336000] ACPI: Power Resource [FDDP] (off)
[17179573.336000] ACPI: Power Resource [LPTP] (off)
[17179573.340000] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 *10 11 12 14 15)
[17179573.340000] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[17179573.340000] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 12 14 15)
[17179573.340000] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *10 11 12 14 15)
[17179573.340000] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 *10 11 12 14 15)
[17179573.340000] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 *10 11 12 14 15)
[17179573.344000] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 7 10 11 12 14 15)
[17179573.344000] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 *11 12 14 15)
[17179573.344000] Linux Plug and Play Support v0.97 (c) Adam Belay
[17179573.344000] pnp: PnP ACPI init
[17179573.348000] pnp: PnP ACPI: found 9 devices
[17179573.348000] PnPBIOS: Disabled by ACPI PNP
[17179573.348000] PCI: Using ACPI for IRQ routing
[17179573.348000] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[17179573.372000] PCI: Ignore bogus resource 6 [0:0] of 0000:01:00.0
[17179573.372000] PCI: Bridge: 0000:00:01.0
[17179573.372000]   IO window: b000-bfff
[17179573.372000]   MEM window: dfd00000-dfefffff
[17179573.372000]   PREFETCH window: cfa00000-dfbfffff
[17179573.372000] NET: Registered protocol family 2
[17179573.412000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[17179573.412000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[17179573.412000] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[17179573.412000] TCP: Hash tables configured (established 131072 bind 65536)
[17179573.412000] TCP reno registered
[17179573.416000] audit: initializing netlink socket (disabled)
[17179573.416000] audit(1188419321.416:1): initialized
[17179573.416000] highmem bounce pool size: 64 pages
[17179573.416000] VFS: Disk quotas dquot_6.5.1
[17179573.416000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[17179573.416000] Initializing Cryptographic API
[17179573.416000] io scheduler noop registered
[17179573.416000] io scheduler anticipatory registered
[17179573.416000] io scheduler deadline registered
[17179573.416000] io scheduler cfq registered (default)
[17179573.416000] isapnp: Scanning for PnP cards...
[17179573.772000] isapnp: No Plug & Play device found
[17179573.884000] Real Time Clock Driver v1.12ac
[17179573.884000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[17179573.884000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179573.884000] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179573.888000] mice: PS/2 mouse device common for all mice
[17179573.888000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[17179573.888000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179573.888000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[17179573.888000] PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[17179573.888000] serio: i8042 AUX port at 0x60,0x64 irq 12
[17179573.888000] serio: i8042 KBD port at 0x60,0x64 irq 1
[17179573.888000] EISA: Probing bus 0 at eisa.0
[17179573.888000] EISA: Detected 0 cards.
[17179573.892000] TCP bic registered
[17179573.892000] NET: Registered protocol family 1
[17179573.892000] NET: Registered protocol family 8
[17179573.892000] NET: Registered protocol family 20
[17179573.892000] Using IPI No-Shortcut mode
[17179573.892000] ACPI: (supports S0 S1 S4 S5)
[17179573.892000] Freeing unused kernel memory: 308k freed
[17179573.912000] input: AT Translated Set 2 keyboard as /class/input/input0
[17179575.100000] Capability LSM initialized
[17179575.180000] ACPI Exception (acpi_processor-0693): AE_NOT_FOUND, Processor Device is not present [20060707]
[17179575.180000] ACPI: Getting cpuindex for acpiid 0x2
[17179576.240000] SIS5513: IDE controller at PCI slot 0000:00:02.5
[17179576.244000] SIS5513: chipset revision 0
[17179576.244000] SIS5513: not 100% native mode: will probe irqs later
[17179576.244000] SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
[17179576.244000]     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
[17179576.244000]     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
[17179576.244000] Probing IDE interface ide0...
[17179576.540000] hda: WDC WD2500JB-00REA0, ATA DISK drive
[17179577.216000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[17179577.216000] Probing IDE interface ide1...
[17179577.960000] hdc: HL-DT-ST GCE-8483B, ATAPI CD/DVD-ROM drive
[17179578.636000] ide1 at 0x170-0x177,0x376 on irq 15
[17179578.648000] hda: max request size: 512KiB
[17179578.664000] hda: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(33)
[17179578.664000] hda: cache flushes supported
[17179578.668000]  hda: hda1 hda2 < hda5 >
[17179578.712000] hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
[17179578.712000] Uniform CD-ROM driver Revision: 3.20
[17179579.056000] usbcore: registered new driver usbfs
[17179579.056000] usbcore: registered new driver hub
[17179579.060000] ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 169
[17179579.060000] ehci_hcd 0000:00:03.3: EHCI Host Controller
[17179579.060000] ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
[17179579.060000] PCI: cache line size of 128 is not supported by device 0000:00:03.3
[17179579.060000] ehci_hcd 0000:00:03.3: irq 169, io mem 0xdfffb000
[17179579.060000] ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[17179579.060000] usb usb1: configuration #1 chosen from 1 choice
[17179579.060000] hub 1-0:1.0: USB hub found
[17179579.060000] hub 1-0:1.0: 6 ports detected
[17179579.068000] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[17179579.168000] ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 177
[17179579.168000] ohci_hcd 0000:00:03.0: OHCI Host Controller
[17179579.168000] ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
[17179579.168000] ohci_hcd 0000:00:03.0: irq 177, io mem 0xdfff8000
[17179579.228000] usb usb2: configuration #1 chosen from 1 choice
[17179579.228000] hub 2-0:1.0: USB hub found
[17179579.228000] hub 2-0:1.0: 2 ports detected
[17179579.336000] ACPI: PCI Interrupt 0000:00:03.1[B] -> GSI 21 (level, low) -> IRQ 185
[17179579.336000] ohci_hcd 0000:00:03.1: OHCI Host Controller
[17179579.336000] ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
[17179579.336000] ohci_hcd 0000:00:03.1: irq 185, io mem 0xdfff9000
[17179579.396000] usb usb3: configuration #1 chosen from 1 choice
[17179579.396000] hub 3-0:1.0: USB hub found
[17179579.396000] hub 3-0:1.0: 2 ports detected
[17179579.504000] ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 193
[17179579.504000] ohci_hcd 0000:00:03.2: OHCI Host Controller
[17179579.504000] ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 4
[17179579.504000] ohci_hcd 0000:00:03.2: irq 193, io mem 0xdfffa000
[17179579.564000] usb usb4: configuration #1 chosen from 1 choice
[17179579.564000] hub 4-0:1.0: USB hub found
[17179579.564000] hub 4-0:1.0: 2 ports detected
[17179579.816000] Attempting manual resume
[17179579.852000] kjournald starting.  Commit interval 5 seconds
[17179579.852000] EXT3-fs: mounted filesystem with ordered data mode.
[17179589.860000] sis900.c: v1.08.09 Sep. 19 2005
[17179589.860000] ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 201
[17179589.864000] 0000:00:04.0: VIA 6103 PHY transceiver found at address 1.
[17179589.876000] 0000:00:04.0: Using transceiver found at address 1 as default
[17179589.876000] eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 201, 00:0a:e6:c1:31:5c.
[17179589.900000] Linux video capture interface: v1.00
[17179590.024000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[17179590.028000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[17179590.040000] sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x0c00
[17179590.240000] parport: PnPBIOS parport detected.
[17179590.240000] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[17179590.272000] ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 209
[17179590.336000] Linux agpgart interface v0.101 (c) Dave Jones
[17179590.592000] intel8x0_measure_ac97_clock: measured 58810 usecs
[17179590.592000] intel8x0: clocking to 48000
[17179590.596000] agpgart: Detected SiS 648 chipset
[17179590.604000] agpgart: AGP aperture is 64M @ 0xe0000000
[17179590.632000] input: PC Speaker as /class/input/input1
[17179591.040000] bttv: driver version 0.9.16 loaded
[17179591.040000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[17179591.040000] bttv: Bt8xx card found (0).
[17179591.040000] ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 16 (level, low) -> IRQ 217
[17179591.040000] bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 217, latency: 64, mmio: 0xdfcfe000
[17179591.040000] bttv0: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
[17179591.040000] bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
[17179592.828000] input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
[17179593.620000] ts: Compaq touchscreen protocol output
[17179593.668000] NET: Registered protocol family 17
[17179595.604000] eth0: Media Link On 100mbps full-duplex 
[17179597.324000] NET: Registered protocol family 10
[17179597.324000] lo: Disabled Privacy Extensions
[17179597.324000] IPv6 over IPv4 tunneling driver
[17179603.936000] tveeprom 1-0050: Huh, no eeprom present (err=-121)?
[17179603.936000] bttv0: using tuner=-1
[17179603.936000] bttv0: i2c: checking for MSP34xx @ 0x80... <7>eth0: no IPv6 routers present
[17179610.336000] not found
[17179610.336000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[17179616.736000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[17179623.136000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[17179629.536000] bttv0: registered device video0
[17179629.536000] bttv0: registered device vbi0
[17179629.560000] bt878: AUDIO driver version 0.0.0 loaded
[17179629.560000] bt878: Bt878 AUDIO function found (0).
[17179629.560000] ACPI: PCI Interrupt 0000:00:08.1[A] -> GSI 16 (level, low) -> IRQ 217
[17179629.560000] bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
[17179629.560000] bt878(0): Bt878 (rev 17) at 00:08.1, irq: 217, latency: 64, memory: 0xdfcff000
[17179629.812000] lp0: using parport0 (interrupt-driven).
[17179629.880000] Adding 3028212k swap on /dev/disk/by-uuid/d86ae780-f3ca-465d-a6e1-128b98adfc04.  Priority:-1 extents:1 across:3028212k
[17179629.960000] EXT3 FS on hda1, internal journal
[17179632.112000] ACPI: Power Button (FF) [PWRF]
[17179632.112000] ACPI: Power Button (CM) [PWRB]
[17179632.112000] ACPI: Sleep Button (CM) [SLPB]
[17179632.292000] ibm_acpi: ec object not found
[17179632.336000] pcc_acpi: loading...
[17179641.900000] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[17179641.900000] apm: overridden by ACPI.
[17179669.256000] Bluetooth: Core ver 2.8
[17179669.260000] NET: Registered protocol family 31
[17179669.260000] Bluetooth: HCI device and connection manager initialized
[17179669.260000] Bluetooth: HCI socket layer initialized
[17179669.628000] Bluetooth: L2CAP ver 2.8
[17179669.628000] Bluetooth: L2CAP socket layer initialized
[17179669.712000] Bluetooth: RFCOMM socket layer initialized
[17179669.712000] Bluetooth: RFCOMM TTY layer initialized
[17179669.712000] Bluetooth: RFCOMM ver 1.7
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Your mod probe setting is being used as shown in your dmesg "insmod option card=77".
You might want to try a different kernel, I have seen a few problems in some of the latest kernels in the last few months.
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

As I posted previously
my system (ubuntu server, Dapper)
Lee Sharps system appears to be setup the same as mine. ie I have reverted back to origonal /etc/modprobe.d/options ZM was setup with /dev/video0
I can't see the 0,1,2,3 anymore as the WebGUI is not displaying any monitors although they are in the database. I ran the zmfix patch a couple of weeks ago.

I'm not sure what the
/etc/sysctl.conf add (It is a low memory box)
is for.
I'm not sure what the
kernel.shmall = 134217728 kernel.shmmax = 134217728
is for.

My box has 512 Mb of RAM, I don't think that is a low memory box is it?

According to Peter Howard. The line
[42949385.620000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
indicates a problem
, but yet Lee Sharps works fine with the similar line?
[17179591.040000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]

Cordel said
Your mod probe setting is being used as shown in your dmesg "insmod option card=77".
You might want to try a different kernel, I have seen a few problems in some of the latest kernels in the last few months.
My kernel is not one of the latest.

2.6.15-26-server as used by Dapper Drake 6.06 LTS

Lee Sharps kernel is 2.6.17-12-generic and he has zm working fine by the sound of it. Is my kernel to old?

Thanks for the ideas.
I'm going to try a few different versions and what I've gained from all of your insights. Hopefully I'll be able to get zm up and running.
Else "I'll be back"

:wink:
tommy
Posts: 45
Joined: Sun Aug 17, 2003 2:58 am

Post by tommy »

As regards the 5 minute boot up: I had the same problem with this card. This is what fixed it for me.

http://tvtime.sourceforge.net/problems.html

excerpt:
3. bttv takes a long time to load

On some cards without a tuner, bttv can take a long time to load (a few minutes). If you see this problem, try using this option in your modules.conf file for loading the i2c-algo-bit module:

options i2c-algo-bit bit_test=1

Hope it helps.
DeathByPenguins
Posts: 13
Joined: Wed Aug 22, 2007 4:52 am
Location: NZ
Contact:

Post by DeathByPenguins »

Reinstall 6.06 Dapper Drake with capture card already in place.

Code: Select all

wget ftp://www.northern-ridge.com.au/zoneminder/ubuntu/dapper/zoneminder_1.22.3-8_i386.deb

Code: Select all

dpkg -i zoneminder_1.22.3-6_i386.deb
will not install the package as per http://www.zoneminder.com/wiki/index.php/Ubuntu_7.04
due to missing prereqs.

added the universe repo to /etc/apt/sources.list and tryed an

Code: Select all

apt-get -f install zoneminder
and was told to try

Code: Select all

apt-get -f install
with no packages
So did that and 40MB was installed and some packages were unable to be aquired.
Performed an

Code: Select all

apt-get dist-upgrade
that was also unsuccessfull so tryed apt-get dist-upgrade -f and 80MB was installed
It then looked as if zoneminder was installed as it said zoneminder started.
So I did

Code: Select all

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
to setup the link.

Code: Select all

sudo /etc/init.d/apache2 reload
. Now I have a Web interface.
Added my monitors. Still no pictures.
Checked the zmfix permissions and changed as needed

Code: Select all

chmod 4755 /usr/bin/zmfix
Restarted server and now have b&w images in my web monitors.

Added
# Generic bt878 card settings
options bttv card=77
options bttv tuner=4

into /etc/modprobe.d/options

I now get colour images in zm but I stil get the *Loading hardware drivers... [fail] on startup and it takes ages.
I then removed the options bttv tuner=4
added options i2c-algo-bit bit_test=1 to my /etc/modprobe.d/options thanks to Tommy.
Now I have color and I get *Loading hardware drivers... [ok]
but... when I check monitors, only the first monitor is working. Device channel 0. Monitor on device channel 1 shows a blue screen.
Post Reply