Two Pico 2000 cards installed; only one present

Forum for questions and support relating to the 1.24.x releases only.
Locked
thaifas
Posts: 26
Joined: Sun May 30, 2010 1:15 pm
Location: Spain

Two Pico 2000 cards installed; only one present

Post by thaifas »

Hi!

I'm trying to make a cams server with my old Athlon XP 2000+ (512 mb of RAM and 60 gb of total disk space) following the next topic http://www.zoneminder.com/wiki/index.ph ... ver_32-bit

For the first time, I connected one Pico 2000 card and two cameras with a clean install of linux, and, after some minor troubles, everything went fine.

Now, I pretend to improve it to its definitive situation (seven cameras connected to two Pico 2000 cards, and connected (the computer) to the net via Wifi), but there is one thing I don´t know how to solve:
Just booted the computer, it shows the next warning message

Code: Select all

ACPI I/O resource 0000:00:02.1 [0xc00-0xc1f] conflicts qith ACPI region SMRG [0xc00-0xc1f] 
.

After the system is plently running (despite this message, it continues working fine), if I type

Code: Select all

lspci -v
I get:

Code: Select all

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 10)
        Subsystem: ASRock Incorporation Device 0746
        Flags: bus master, medium devsel, latency 0
        Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [c0] AGP version 2.0
        Kernel driver in use: agpgart-sis
        Kernel modules: sis-agp

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
        Flags: bus master, fast devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=32
        Memory behind bridge: cdd00000-cfefffff
        Prefetchable memory behind bridge: bda00000-cdbfffff
        Kernel modules: shpchp

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
        Flags: bus master, medium devsel, latency 0

00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
        Flags: medium devsel
        I/O ports at 0c00 [size=32]
        Kernel modules: i2c-sis96x

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master])
        Subsystem: ASRock Incorporation Device 5513
        Flags: bus master, medium devsel, latency 128
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled[size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        I/O ports at ff00 [size=16]
        Kernel driver in use: pata_sis

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
        Subsystem: ASRock Incorporation Device 7012
        Flags: bus master, medium devsel, latency 32, IRQ 18
        I/O ports at dc00 [size=256]
        I/O ports at d800 [size=128]
        Capabilities: [48] Power Management version 2
        Kernel driver in use: Intel ICH
        Kernel modules: snd-intel8x0

00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10)
        Subsystem: ASRock Incorporation Device 7001
        Flags: bus master, medium devsel, latency 32, IRQ 20
        Memory at cfffd000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd

00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10)
        Subsystem: ASRock Incorporation Device 7001
        Flags: bus master, medium devsel, latency 32, IRQ 21
        Memory at cfffe000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd

00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20)
        Subsystem: ASRock Incorporation Device 7001
        Flags: bus master, medium devsel, latency 32, IRQ 23
        Memory at cffff000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: ehci_hcd

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
        Subsystem: ASRock Incorporation Device 8201
        Flags: bus master, medium devsel, latency 32, IRQ 19
        I/O ports at d400 [size=256]
        Memory at cfffc000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 20000000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 2
        Kernel driver in use: sis900
        Kernel modules: sis900

00:0a.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
        Subsystem: Accton Technology Corporation Device 4412
        Flags: bus master, medium devsel, latency 168, IRQ 18
        Memory at cffe0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ath5k
        Kernel modules: ath5k

00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Flags: bus master, medium devsel, latency 32, IRQ 16
        Memory at cdcfe000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data <?>
        Capabilities: [4c] Power Management version 2
        Kernel driver in use: bttv
        Kernel modules: bttv

00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at cdcff000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data <?>
        Capabilities: [4c] Power Management version 2

00:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at 20020000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data <?>
        Capabilities: [4c] Power Management version 2

00:0d.1 Multimedia controller: Brooktree Corporation Device 0838 (rev 11)
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at 20021000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data <?>
        Capabilities: [4c] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
        Subsystem: Micro-Star International Co., Ltd. Device 8523
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
        Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at cfef0000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0
        Kernel modules: nvidiafb, rivafb
And, by the same way, if I do

Code: Select all

lspci -v | grep Multimedia
I get:

Code: Select all

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0d.1 Multimedia controller: Brooktree Corporation Device 0838 (rev 11)
I think this means all the cards are correctly recognised by the system,(00:0a.0 = wireless card; 00:0c.0 & 00:0c.1 = first Pico card; 00:0d.0 & 00:0d.1 = 2nd. Pico card), but now, if I type again

Code: Select all

find /dev -name video*
I get:

Code: Select all

/dev/video0
/dev/.udev/db/video4linux:video0
/dev/.udev/db/video4linux:vbi0
In spite of this (wich would be what must appear):

Code: Select all

/dev/video1
/dev/video0
/dev/.udev/db/video4linux:video1
/dev/.udev/db/video4linux:vbi1
/dev/.udev/db/video4linux:vbi0
/dev/.udev/db/video4linux:video0
Could anybody point me a way to follow?
thaifas
Posts: 26
Joined: Sun May 30, 2010 1:15 pm
Location: Spain

May be...

Post by thaifas »

I think I've found a possible reason:
Looking at the first list of connected devices, there are some of them wich share some IRQ values.
I'm trying to find the way to assign only one device to each IRQ.

Code: Select all

IRQ 11:
	00:0c.1 – Multimedia controller: Brooktree Bt878 audio capture
	00:0d.1 – Multimedia controller: Brooktree Bt878 audio capture
	01:00.0 – VGA compatible controller: nVidia NV11 [GeForce2 MX 400]

IRQ 16:
	00:0c.0 – Multimedia Video Controller: Brootree Bt878 video capture

IRQ 17:
	00:0d.0 – Multimedia Video Controller: Brooktree Bt878 video capture

IRQ 18:
	00:02.7 – Multimedia audio controller: SiS AC'97
	00:0a.0 – Ethernet controller: Atheros AR5001X+ W.N.A.

IRQ 19:
	00:04.0 – Ethernet Controller: SiS900 PCI Fast Ethernet

IRQ 20:
	00:03.0 – USB controller: SiS USB 1.1

IRQ 21:
	00:03.1 – USB controller: SiS USB 1.1

IRQ 23:
	00:03.2 – USB controller: SiS USB 2.0
thaifas
Posts: 26
Joined: Sun May 30, 2010 1:15 pm
Location: Spain

Re: May be...

Post by thaifas »

thaifas wrote:I think I've found a possible reason:
Looking at the first list of connected devices, there are some of them wich share some IRQ values.
I'm trying to find the way to assign only one device to each IRQ.

Code: Select all

IRQ 11:
	00:0c.1 – Multimedia controller: Brooktree Bt878 audio capture
	00:0d.1 – Multimedia controller: Brooktree Bt878 audio capture
	01:00.0 – VGA compatible controller: nVidia NV11 [GeForce2 MX 400]

IRQ 16:
	00:0c.0 – Multimedia Video Controller: Brootree Bt878 video capture

IRQ 17:
	00:0d.0 – Multimedia Video Controller: Brooktree Bt878 video capture

IRQ 18:
	00:02.7 – Multimedia audio controller: SiS AC'97
	00:0a.0 – Ethernet controller: Atheros AR5001X+ W.N.A.

IRQ 19:
	00:04.0 – Ethernet Controller: SiS900 PCI Fast Ethernet

IRQ 20:
	00:03.0 – USB controller: SiS USB 1.1

IRQ 21:
	00:03.1 – USB controller: SiS USB 1.1

IRQ 23:
	00:03.2 – USB controller: SiS USB 2.0
Doing

Code: Select all

cat /proc/interrupts
I get:

Code: Select all

           CPU0
  0:         46   IO-APIC-edge      timer
  1:          8   IO-APIC-edge      i8042
  6:          3   IO-APIC-edge      floppy
  7:          0   IO-APIC-edge      parport0
  8:          0   IO-APIC-edge      rtc0
  9:          0   IO-APIC-fasteoi   acpi
 12:        149   IO-APIC-edge      i8042
 14:      16372   IO-APIC-edge      pata_sis
 15:        136   IO-APIC-edge      pata_sis
 16:          2   IO-APIC-fasteoi   bttv0
 17:          2   IO-APIC-fasteoi   bttv1
 18:     792885   IO-APIC-fasteoi   ath, SiS SI7012
 20:          0   IO-APIC-fasteoi   ohci_hcd:usb2
 21:          0   IO-APIC-fasteoi   ohci_hcd:usb3
 23:          0   IO-APIC-fasteoi   ehci_hcd:usb1
NMI:          0   Non-maskable interrupts
LOC:     979721   Local timer interrupts
SPU:          0   Spurious interrupts
CNT:          0   Performance counter interrupts
PND:          0   Performance pending work
RES:          0   Rescheduling interrupts
CAL:          0   Function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
MCE:          0   Machine check exceptions
MCP:        268   Machine check polls
ERR:          0
MIS:          0
Locked