xlib_shm crash (segfault) [Solved]

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
50cc
Posts: 82
Joined: Sun Mar 23, 2008 12:01 pm
Location: The Netherlands

xlib_shm crash (segfault) [Solved]

Post by 50cc »

We are using the xlib_shm script on our Zoneminder installation. It works great, but after some days sometimes xlib_shm crashes and the LCD shows the GDM login instead of the cameras.

I found this in /var/log/messages:

Code: Select all


Jan 13 07:17:51 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402527 - Creating new event 227759]
Jan 13 07:17:52 jupiter zma_m23[28583]: INF [Steeg: 1562766 - Left alarm state (227758) - 22(2) images]
Jan 13 07:17:52 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402528 - Gone into alert state]
Jan 13 07:17:53 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402538 - Left alarm state (227759) - 21(1) images]
Jan 13 07:17:54 jupiter zma_m23[28583]: INF [Steeg: 1562783 - Gone into alarm state]
Jan 13 07:17:54 jupiter zma_m23[28583]: INF [Steeg: 1562783 - Creating new event 227760]
Jan 13 07:17:55 jupiter zma_m23[28583]: INF [Steeg: 1562784 - Gone into alert state]
Jan 13 07:17:56 jupiter zma_m23[28583]: INF [Steeg: 1562794 - Left alarm state (227760) - 21(1) images]
Jan 13 07:17:57 jupiter zma_m23[28583]: INF [Steeg: 1562800 - Gone into alarm state]
Jan 13 07:17:57 jupiter zma_m23[28583]: INF [Steeg: 1562800 - Creating new event 227761]
Jan 13 07:17:57 jupiter zma_m23[28583]: INF [Steeg: 1562801 - Gone into alert state]
Jan 13 07:17:58 jupiter zma_m23[28583]: INF [Steeg: 1562803 - Gone back into alarm state]
Jan 13 07:17:58 jupiter zma_m23[28583]: INF [Steeg: 1562804 - Gone into alert state]
Jan 13 07:17:58 jupiter zma_m23[28583]: INF [Steeg: 1562805 - Gone back into alarm state]
Jan 13 07:17:58 jupiter zma_m23[28583]: INF [Steeg: 1562806 - Gone into alert state]
Jan 13 07:18:00 jupiter kernel: [1180851.028285] bttv3: timeout: drop=0 irq=73210598/181467607, risc=1fbde03c, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter kernel: [1180851.028301] bttv1: timeout: drop=0 irq=84959089/181467691, risc=1549e0d4, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter kernel: [1180851.028310] bttv4: timeout: drop=0 irq=73167554/73167554, risc=1fbdf01c, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter kernel: [1180851.028320] bttv0: timeout: drop=0 irq=70820497/203289594, risc=1fb3f01c, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter zmdc[9471]: INF [Starting pending process, zmc -d /dev/video4]
Jan 13 07:18:00 jupiter zmdc[627]: INF ['zmc -d /dev/video4' started at 09/01/13 07:18:00]
Jan 13 07:18:00 jupiter zmdc[9471]: INF ['zmc -d /dev/video4' starting at 09/01/13 07:18:00, pid = 627]
Jan 13 07:18:00 jupiter zmc_dvideo4[627]: INF [Debug Level = 0, Debug Log = <none>]
Jan 13 07:18:00 jupiter kernel: [1180851.102342] bttv3: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.102632] bttv3: PLL: 28636363 => 35468950 .<6>bttv1: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.106849] bttv1: PLL can sleep, using XTAL (28636363).
Jan 13 07:18:00 jupiter kernel: [1180851.114921]  ok
Jan 13 07:18:00 jupiter kernel: [1180851.148541] bttv4: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.148853] bttv4: PLL: 28636363 => 35468950 .<6>bttv0: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.152520] bttv0: PLL: 28636363 => 35468950 . ok
Jan 13 07:18:00 jupiter zmdc[9471]: INF [Starting pending process, zmc -d /dev/video1]
Jan 13 07:18:00 jupiter zmdc[629]: INF ['zmc -d /dev/video1' started at 09/01/13 07:18:00]
Jan 13 07:18:00 jupiter zmc_dvideo1[629]: INF [Debug Level = 0, Debug Log = <none>]
Jan 13 07:18:00 jupiter zmdc[9471]: INF ['zmc -d /dev/video1' starting at 09/01/13 07:18:00, pid = 629]
Jan 13 07:18:00 jupiter zmdc[9471]: INF [Starting pending process, zmc -d /dev/video3]
Jan 13 07:18:00 jupiter zmdc[630]: INF ['zmc -d /dev/video3' started at 09/01/13 07:18:00]
Jan 13 07:18:00 jupiter zmdc[9471]: INF ['zmc -d /dev/video3' starting at 09/01/13 07:18:00, pid = 630]
Jan 13 07:18:00 jupiter kernel: [1180851.169770] .........failed
Jan 13 07:18:00 jupiter zmc_dvideo3[630]: INF [Debug Level = 0, Debug Log = <none>]
Jan 13 07:18:00 jupiter kernel: [1180851.351975] xlib_shm[15519]: segfault at b7986000 eip 0804b267 esp bffd3900 error 4
Jan 13 07:18:00 jupiter zmc_dvideo1[629]: INF [Starting Capture]
Jan 13 07:18:01 jupiter zmc_dvideo4[627]: INF [Starting Capture]
Jan 13 07:18:01 jupiter zmc_dvideo3[630]: INF [Starting Capture]
Jan 13 07:18:01 jupiter zmdc[9471]: INF [Starting pending process, zmc -d /dev/video0]
Jan 13 07:18:01 jupiter zmdc[634]: INF ['zmc -d /dev/video0' started at 09/01/13 07:18:01]
Jan 13 07:18:01 jupiter zmc_dvideo0[634]: INF [Debug Level = 0, Debug Log = <none>]
Jan 13 07:18:01 jupiter zmdc[9471]: INF ['zmc -d /dev/video0' starting at 09/01/13 07:18:01, pid = 634]
Jan 13 07:18:01 jupiter zmc_dvideo0[634]: INF [Starting Capture]
Jan 13 07:18:01 jupiter zma_m23[28583]: INF [Steeg: 1562815 - Gone back into alarm state]
Jan 13 07:18:01 jupiter zma_m23[28583]: INF [Steeg: 1562816 - Gone into alert state]
Jan 13 07:18:02 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402587 - Gone into alarm state]
Jan 13 07:18:02 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402587 - Creating new event 227762]
Jan 13 07:18:02 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402588 - Gone into alert state]
Jan 13 07:18:03 jupiter zma_m23[28583]: INF [Steeg: 1562826 - Left alarm state (227761) - 36(4) images]
Jan 13 07:18:03 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402598 - Left alarm state (227762) - 21(1) images]
Jan 13 07:18:08 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402625 - Gone into alarm state]
Jan 13 07:18:08 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402625 - Creating new event 227763]
Jan 13 07:18:08 jupiter zma_m11[8309]: INF [ParkeerPlaats1: 2402626 - Gone into alert state]

Would anyone know what this could be?
Last edited by 50cc on Fri Jan 23, 2009 3:55 pm, edited 2 times in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: xlib_shm crash (segfault)

Post by cordel »

50cc wrote: I found this in /var/log/messages:

Code: Select all


Jan 13 07:18:00 jupiter kernel: [1180851.028285] bttv3: timeout: drop=0 irq=73210598/181467607, risc=1fbde03c, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter kernel: [1180851.028301] bttv1: timeout: drop=0 irq=84959089/181467691, risc=1549e0d4, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter kernel: [1180851.028310] bttv4: timeout: drop=0 irq=73167554/73167554, risc=1fbdf01c, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter kernel: [1180851.028320] bttv0: timeout: drop=0 irq=70820497/203289594, risc=1fb3f01c, bits: HSYNC OFLOW
Jan 13 07:18:00 jupiter zmdc[9471]: INF [Starting pending process, zmc -d /dev/video4]
Jan 13 07:18:00 jupiter zmdc[627]: INF ['zmc -d /dev/video4' started at 09/01/13 07:18:00]
Jan 13 07:18:00 jupiter zmdc[9471]: INF ['zmc -d /dev/video4' starting at 09/01/13 07:18:00, pid = 627]
Jan 13 07:18:00 jupiter zmc_dvideo4[627]: INF [Debug Level = 0, Debug Log = <none>]
Jan 13 07:18:00 jupiter kernel: [1180851.102342] bttv3: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.102632] bttv3: PLL: 28636363 => 35468950 .<6>bttv1: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.106849] bttv1: PLL can sleep, using XTAL (28636363).
Jan 13 07:18:00 jupiter kernel: [1180851.114921]  ok
Jan 13 07:18:00 jupiter kernel: [1180851.148541] bttv4: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.148853] bttv4: PLL: 28636363 => 35468950 .<6>bttv0: reset, reinitialize
Jan 13 07:18:00 jupiter kernel: [1180851.152520] bttv0: PLL: 28636363 => 35468950 . ok
Jan 13 07:18:00 jupiter zmdc[9471]: INF [Starting pending process, zmc -d /dev/video1]
Jan 13 07:18:00 jupiter zmdc[629]: INF ['zmc -d /dev/video1' started at 09/01/13 07:18:00]
Would anyone know what this could be?
It's not xlib_shm. You have a problem with your hardware or the driver.
See the first lines of your log in my quote, are all being reported by the kernel.
What do you get from:
dmesg |grep bttv
cat /proc/interrupts
50cc
Posts: 82
Joined: Sun Mar 23, 2008 12:01 pm
Location: The Netherlands

Post by 50cc »

This is what I get:

dmesg | grep bttv

Code: Select all

[   28.916202] bttv: driver version 0.9.17 loaded
[   28.916207] bttv: using 8 buffers with 2080k (520 pages) each for capture
[   28.916276] bttv: Bt8xx card found (0).
[   28.916305] bttv0: Bt848 (rev 18) at 0000:02:0c.0, irq: 17, latency: 32, mmio: 0xfa300000
[   28.916444] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[   28.916474] bttv0: gpio: en=00000000, out=00000000 in=0084ff00 [init]
[   28.917031] bttv0: tuner absent
[   28.917065] bttv0: registered device video0
[   28.917092] bttv0: registered device vbi0
[   28.917112] bttv0: PLL: 28636363 => 35468950 .. ok
[   28.947068] bttv: Bt8xx card found (1).
[   28.947095] bttv1: Bt848 (rev 18) at 0000:02:0e.0, irq: 16, latency: 32, mmio: 0xfa301000
[   28.947111] bttv1: using: Adlink RTV24 [card=134,insmod option]
[   28.947139] bttv1: gpio: en=00000000, out=00000000 in=00007fff [init]
[   28.947141] bttv1: Adlink RTV-24 initialisation in progress ...
[   28.971008] bttv1: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 270)
[   29.002948] bttv1: Adlink RTV-24 initialisation complete.
[   35.391584] bttv1: tuner type=0
[   35.391906] bttv1: registered device video1
[   35.392168] bttv1: registered device vbi1
[   35.392190] bttv1: PLL: 28636363 => 35468950 .. ok
[   35.423649] bttv: Bt8xx card found (2).
[   35.423692] bttv2: Bt878 (rev 17) at 0000:03:04.0, irq: 20, latency: 32, mmio: 0xfa200000
[   35.423708] bttv2: using: Adlink RTV24 [card=134,insmod option]
[   35.423735] bttv2: gpio: en=00000000, out=00000000 in=00e003cf [init]
[   35.423737] bttv2: Adlink RTV-24 initialisation in progress ...
[   35.447479] bttv2: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1048846)
[   35.479422] bttv2: Adlink RTV-24 initialisation complete.
[   35.480017] bttv2: tuner type=0
[   35.480301] bttv2: registered device video2
[   35.480574] bttv2: registered device vbi2
[   35.480597] bttv2: PLL: 28636363 => 35468950 .. ok
[   35.511386] bttv: Bt8xx card found (3).
[   35.511428] bttv3: Bt878 (rev 17) at 0000:03:05.0, irq: 16, latency: 32, mmio: 0xfa202000
[   35.511445] bttv3: using: Adlink RTV24 [card=134,insmod option]
[   35.511471] bttv3: gpio: en=00000000, out=00000000 in=00fc01ce [init]
[   35.511474] bttv3: Adlink RTV-24 initialisation in progress ...
[   35.535324] bttv3: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1835278)
[   35.567280] bttv3: Adlink RTV-24 initialisation(2) ERROR_CPLD_Check_Failed (read 1835278)
[   41.955917] bttv3: tuner type=0
[   41.956281] bttv3: registered device video3
[   41.956680] bttv3: registered device vbi3
[   41.956703] bttv3: PLL: 28636363 => 35468950 .. ok
[   41.987875] bttv: Bt8xx card found (4).
[   41.987917] bttv4: Bt878 (rev 17) at 0000:03:06.0, irq: 18, latency: 32, mmio: 0xfa204000
[   41.987934] bttv4: using: Adlink RTV24 [card=134,insmod option]
[   41.987961] bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
[   41.987963] bttv4: Adlink RTV-24 initialisation in progress ...
[   42.011817] bttv4: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1835278)
[   42.043754] bttv4: Adlink RTV-24 initialisation(2) ERROR_CPLD_Check_Failed (read 1835278)
[   48.432406] bttv4: tuner type=0
[   48.432762] bttv4: registered device video4
[   48.433069] bttv4: registered device vbi4
[   48.433092] bttv4: PLL: 28636363 => 35468950 .. ok
[   48.464364] bttv: Bt8xx card found (5).
[   48.464407] bttv5: Bt878 (rev 17) at 0000:03:07.0, irq: 17, latency: 32, mmio: 0xfa206000
[   48.464423] bttv5: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[   48.464451] bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
[   54.852993] bttv5: tuner absent
[   54.853366] bttv5: registered device video5
[   54.853687] bttv5: registered device vbi5
[   54.853711] bttv5: PLL: 28636363 => 35468950 .. ok
[   78.467310] bttv1: PLL can sleep, using XTAL (28636363).
[1180851.028285] bttv3: timeout: drop=0 irq=73210598/181467607, risc=1fbde03c, bits: HSYNC OFLOW
[1180851.028301] bttv1: timeout: drop=0 irq=84959089/181467691, risc=1549e0d4, bits: HSYNC OFLOW
[1180851.028310] bttv4: timeout: drop=0 irq=73167554/73167554, risc=1fbdf01c, bits: HSYNC OFLOW
[1180851.028320] bttv0: timeout: drop=0 irq=70820497/203289594, risc=1fb3f01c, bits: HSYNC OFLOW
[1180851.102342] bttv3: reset, reinitialize
[1180851.102632] bttv3: PLL: 28636363 => 35468950 .<6>bttv1: reset, reinitialize
[1180851.106849] bttv1: PLL can sleep, using XTAL (28636363).
[1180851.148541] bttv4: reset, reinitialize
[1180851.148853] bttv4: PLL: 28636363 => 35468950 .<6>bttv0: reset, reinitialize
[1180851.152520] bttv0: PLL: 28636363 => 35468950 . ok
cat /proc/interrupts

Code: Select all

           CPU0       
  0:       4302   IO-APIC-edge      timer
  1:       4994   IO-APIC-edge      i8042
  8:          7   IO-APIC-edge      rtc
  9:          0   IO-APIC-fasteoi   acpi
 12:      11542   IO-APIC-edge      i8042
 14:          0   IO-APIC-edge      libata
 15:          0   IO-APIC-edge      libata
 16:  190829793   IO-APIC-fasteoi   uhci_hcd:usb3, libata, bttv1, bttv3
 17:  213698758   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb4, bttv0, bttv5, i915@pci:0000:00:02.0
 18:   73889384   IO-APIC-fasteoi   uhci_hcd:usb2, bttv4
 19:    2556737   IO-APIC-fasteoi   ehci_hcd:usb5
 20:  146636470   IO-APIC-fasteoi   eth0, bttv2
NMI:          0   Non-maskable interrupts
LOC:  575604625   Local timer interrupts
RES:          0   Rescheduling interrupts
CAL:          0   function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0
MIS:          0
Thanks!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

What cards do you have?
Links to product pictures might be good ;)
50cc
Posts: 82
Joined: Sun Mar 23, 2008 12:01 pm
Location: The Netherlands

Post by 50cc »

Two really (really) old BT848 cards, from something like 1997 I think they where originally from an old make called Flyvideo.

And a Ad-Link 4 chip BT878 card:
http://www.adlinktech.com/PD/web/PD_detail.php?pid=247

Contents of /etc/modprobe.d/options:

Code: Select all

alias char-major-81 bttv

options bttv card=77,134,134,134,134,77
options bttv tuner=0,0,0,0,0,0
options bttv autoload=0,0,0,0,0,0
options bttv radio=0,0,0,0,0,0
I'm starting to think somethings wrong here... I should have four BT878 cards and two BT848 dmesg says otherwise.
Kind of weird, maybe it's a good idea to replace the two old BT848 cards with a Ad-Link RTV24.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Not so strange really as you have insmoded a bt878 driver.

Might give a shot at one of the Hauppauge 848 drivers,
Card=2

Or Lifeview FlyVideo II
card=8

19 -> Lifeview FlyVideo II EZ
12 -> ADS Technologies Channel Surfer TV (bt848)
3 -> STB, Gateway P/N 6000699 (bt848)
57 -> GrandTec 'Grand Video Capture' (Bt848)
83 -> Osprey 100/150 (848)
84 -> Osprey 101 (848)

Lucky is the 848 list is short.
50cc
Posts: 82
Joined: Sun Mar 23, 2008 12:01 pm
Location: The Netherlands

Post by 50cc »

It seems to be working better now, apparently there is some sort of order in which cards are identified and loaded. Presumably by the location in the PCI bus. I now have this:

cat /etc/modprobe.d/options

Code: Select all

alias char-major-81 bttv

options bttv card=2,2,134,134,134,134
options bttv tuner=-1,-1,-1,-1,-1,-1
options bttv autoload=0,0,0,0,0,0
options bttv radio=0,0,0,0,0,0
dmesg:

Code: Select all

[   27.593392] Linux video capture interface: v2.00
[   28.028525] bttv: driver version 0.9.17 loaded
[   28.028530] bttv: using 8 buffers with 2080k (520 pages) each for capture
[   28.028589] bttv: Bt8xx card found (0).
[   28.028604] ACPI: PCI Interrupt 0000:02:0c.0[A] -> GSI 16 (level, low) -> IRQ 17
[   28.028616] bttv0: Bt848 (rev 18) at 0000:02:0c.0, irq: 17, latency: 32, mmio: 0xfa300000
[   28.028753] bttv0: using: Hauppauge (bt848) [card=2,insmod option]
[   28.028782] bttv0: gpio: en=00000000, out=00000000 in=0084ff00 [init]
[   28.031266] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[   28.032309] tveeprom 0-0050: Huh, no eeprom present (err=-121)?
[   28.032312] tveeprom 0-0050: Encountered bad packet header [00]. Corrupt or not a Hauppauge eeprom.
[   28.032315] bttv0: Hauppauge eeprom indicates model#0
[   28.032317] bttv0: tuner type=0
[   28.032355] bttv0: registered device video0
[   28.032379] bttv0: registered device vbi0
[   28.032415] bttv: Bt8xx card found (1).
[   28.032427] ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 18 (level, low) -> IRQ 16
[   28.032439] bttv1: Bt848 (rev 18) at 0000:02:0e.0, irq: 16, latency: 32, mmio: 0xfa301000
[   28.032489] bttv1: using: Hauppauge (bt848) [card=2,insmod option]
[   28.032515] bttv1: gpio: en=00000000, out=00000000 in=00007fff [init]
[   28.034998] bttv1: Hauppauge/Voodoo msp34xx: reset line init [5]
[   28.522456] r8169: eth0: link up
[   30.086699] NET: Registered protocol family 17
[   40.818818] tveeprom 1-0050: Huh, no eeprom present (err=-121)?
[   40.818823] tveeprom 1-0050: Encountered bad packet header [00]. Corrupt or not a Hauppauge eeprom.
[   40.818826] bttv1: Hauppauge eeprom indicates model#0
[   40.818829] bttv1: tuner type=0
[   40.819157] bttv1: registered device video1
[   40.819429] bttv1: registered device vbi1
[   40.819479] bttv: Bt8xx card found (2).
[   40.819507] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 17 (level, low) -> IRQ 20
[   40.819520] bttv2: Bt878 (rev 17) at 0000:03:04.0, irq: 20, latency: 32, mmio: 0xfa200000
[   40.819536] bttv2: using: Adlink RTV24 [card=134,insmod option]
[   40.819563] bttv2: gpio: en=00000000, out=00000000 in=00e003cf [init]
[   40.819566] bttv2: Adlink RTV-24 initialisation in progress ...
[   40.842777] bttv2: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1048846)
[   40.874707] bttv2: Adlink RTV-24 initialisation complete.
[   40.875312] bttv2: tuner type unset
[   40.875618] bttv2: registered device video2
[   40.875894] bttv2: registered device vbi2
[   40.875918] bttv2: PLL: 28636363 => 35468950 .. ok
[   40.906677] bttv: Bt8xx card found (3).
[   40.906705] ACPI: PCI Interrupt 0000:03:05.0[A] -> GSI 18 (level, low) -> IRQ 16
[   40.906719] bttv3: Bt878 (rev 17) at 0000:03:05.0, irq: 16, latency: 32, mmio: 0xfa202000
[   40.906735] bttv3: using: Adlink RTV24 [card=134,insmod option]
[   40.906762] bttv3: gpio: en=00000000, out=00000000 in=00fc01ce [init]
[   40.906765] bttv3: Adlink RTV-24 initialisation in progress ...
[   40.930611] bttv3: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1835278)
[   40.962554] bttv3: Adlink RTV-24 initialisation(2) ERROR_CPLD_Check_Failed (read 1835278)
[   47.350948] bttv3: tuner type unset
[   47.351295] bttv3: registered device video3
[   47.351588] bttv3: registered device vbi3
[   47.351612] bttv3: PLL: 28636363 => 35468950 .. ok
[   47.382901] bttv: Bt8xx card found (4).
[   47.382929] ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 19 (level, low) -> IRQ 18
[   47.382944] bttv4: Bt878 (rev 17) at 0000:03:06.0, irq: 18, latency: 32, mmio: 0xfa204000
[   47.382960] bttv4: using: Adlink RTV24 [card=134,insmod option]
[   47.382987] bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
[   47.382989] bttv4: Adlink RTV-24 initialisation in progress ...
[   47.406847] bttv4: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1835278)
[   47.438777] bttv4: Adlink RTV-24 initialisation(2) ERROR_CPLD_Check_Failed (read 1835278)
[   53.827178] bttv4: tuner type unset
[   53.827535] bttv4: registered device video4
[   53.827846] bttv4: registered device vbi4
[   53.827869] bttv4: PLL: 28636363 => 35468950 .. ok
[   53.859130] bttv: Bt8xx card found (5).
[   53.859158] ACPI: PCI Interrupt 0000:03:07.0[A] -> GSI 16 (level, low) -> IRQ 17
[   53.859173] bttv5: Bt878 (rev 17) at 0000:03:07.0, irq: 17, latency: 32, mmio: 0xfa206000
[   53.859189] bttv5: using: Adlink RTV24 [card=134,insmod option]
[   53.859216] bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
[   53.859219] bttv5: Adlink RTV-24 initialisation in progress ...
[   53.883069] bttv5: Adlink RTV-24 initialisation(1) ERROR_CPLD_Check_Failed (read 1835278)
[   53.915009] bttv5: Adlink RTV-24 initialisation(2) ERROR_CPLD_Check_Failed (read 1835278)
[   60.303410] bttv5: tuner type unset
[   60.303787] bttv5: registered device video5
[   60.304114] bttv5: registered device vbi5
[   60.304138] bttv5: PLL: 28636363 => 35468950 .. ok
[   60.365036] bt878: AUDIO driver version 0.0.0 loaded
[   60.365088] bt878: Bt878 AUDIO function found (0).
[   60.365116] ACPI: PCI Interrupt 0000:03:04.1[A] -> GSI 17 (level, low) -> IRQ 20
[   60.365123] bt878_probe: card id=[0x0], Unknown card.
[   60.365124] Exiting..
[   60.365130] ACPI: PCI interrupt for device 0000:03:04.1 disabled
[   60.365137] bt878: probe of 0000:03:04.1 failed with error -22
[   60.365144] bt878: Bt878 AUDIO function found (0).
[   60.365161] ACPI: PCI Interrupt 0000:03:05.1[A] -> GSI 18 (level, low) -> IRQ 16
[   60.365167] bt878_probe: card id=[0x0], Unknown card.
[   60.365168] Exiting..
[   60.365173] ACPI: PCI interrupt for device 0000:03:05.1 disabled
[   60.365177] bt878: probe of 0000:03:05.1 failed with error -22
[   60.365183] bt878: Bt878 AUDIO function found (0).
[   60.365199] ACPI: PCI Interrupt 0000:03:06.1[A] -> GSI 19 (level, low) -> IRQ 18
[   60.365206] bt878_probe: card id=[0x0], Unknown card.
[   60.365207] Exiting..
[   60.365212] ACPI: PCI interrupt for device 0000:03:06.1 disabled
[   60.365216] bt878: probe of 0000:03:06.1 failed with error -22
[   60.365222] bt878: Bt878 AUDIO function found (0).
[   60.365238] ACPI: PCI Interrupt 0000:03:07.1[A] -> GSI 16 (level, low) -> IRQ 17
[   60.365244] bt878_probe: card id=[0x0], Unknown card.
[   60.365245] Exiting..
[   60.365250] ACPI: PCI interrupt for device 0000:03:07.1 disabled
[   60.365254] bt878: probe of 0000:03:07.1 failed with error -22
Before I changed this, one of the old BT848 cards whas initialized as a BT878 and the last BT878 chip of the RTV24 card as a BT848 that was wrong.

I was also using the '77' option in the /etc/modprobe.d/option file, which was for a BT878 default and was a bad match for the old BT848 card. So as Cordel suggested this is now changed to option '2' which matches the BT848 much better.

Thanks!
Post Reply