On Sat, 2008-05-03 at 18:07 -0400, JP Fournier wrote:
> 
> Hi All,
> 
> I recently upgraded my OS (slackware 12.1) + mythtv (0.21 SVN).  I have 
> a pvr250 which is detected first, and a pvr 500.  As long as I only 
> access the pvr250 everything is fine.  As soon as I try to use the 500,
> (record 2 things at once, use PIP in myth) I get about 2 seconds of
> video from the pvr500 followed by a spontaneous reboot.

Was this behavior observed before the OS upgrade?


> Are there any known issues with a pvr250 + 500 in the same box? 

I do not know. 

> Any 
> ideas on how to debug this further?
> 
> Any thoughts appreciated.

A PCI bus error SERR (or maybe PERR too) can cause an NMI to be
generated.  I don't know what Linux normally does in response to an NMI,
but I would think something would get written to /var/log/messages.  Is
there anything there?

A flaky PCI chipset or strange PCI interaction can cause the system to
reboot, since the Northbridge is in charge of the memory and memory
region mappings (e.g ROM shadows) and the Southbridge is in charge of a
lot of the legacy PC IO devices.

If you can dig up the errata sheets for the VT8377 Northbridge, VT8235
Southbridge, and Hint Corp HB6 PCI-PCI bridge, you may find the
conditions under which a hang or reboot could occur.


> regards
> 
> jp
> 
> [EMAIL PROTECTED]:/proc# cat /proc/version
> Linux version 2.6.24.5-smp ([EMAIL PROTECTED]) (gcc version 4.2.3) #2 SMP Wed 
> Apr 30 13:41:38 CDT 2008
> 
> [EMAIL PROTECTED]:/var/log# dmesg | grep ivtv
> ivtv:  Start initialization, version 1.1.0
> ivtv0: Initializing card #0
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> ivtv0: Autodetected Hauppauge WinTV PVR-250
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> saa7115 0-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
> msp3400 0-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
> ivtv0: Registered device video0 for encoder MPG (4096 kB)
> ivtv0: Registered device video32 for encoder YUV (2048 kB)
> ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
> ivtv0: Registered device video24 for encoder PCM (320 kB)
> ivtv0: Initialized card #0: Hauppauge WinTV PVR-250
> ivtv1: Initializing card #1
> ivtv1: Autodetected Hauppauge card (cx23416 based)
> ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
> tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #1)
> tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #1)
> tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> ivtv1: Autodetected WinTV PVR 500 (unit #1)
> cx25840 1-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
> wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
> ivtv1: Registered device video1 for encoder MPG (4096 kB)
> ivtv1: Registered device video33 for encoder YUV (2048 kB)
> ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
> ivtv1: Registered device video25 for encoder PCM (320 kB)
> ivtv1: Registered device radio1 for encoder radio
> ivtv1: Initialized card #1: WinTV PVR 500 (unit #1)
> ivtv2: Initializing card #2
> ivtv2: Autodetected Hauppauge card (cx23416 based)
> ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
> tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #2)
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #2)
> cx25840 2-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #2)
> wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #2)
> ivtv2: Correcting tveeprom data: no radio present on second unit
> ivtv2: Autodetected WinTV PVR 500 (unit #2)
> ivtv2: Registered device video2 for encoder MPG (4096 kB)
> ivtv2: Registered device video34 for encoder YUV (2048 kB)
> ivtv2: Registered device vbi2 for encoder VBI (1024 kB)
> ivtv2: Registered device video26 for encoder PCM (320 kB)
> ivtv2: Initialized card #2: WinTV PVR 500 (unit #2)
> ivtv:  End initialization
> ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv1: Encoder revision: 0x02060039
> ivtv2: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv2: Encoder revision: 0x02060039
> 
> [EMAIL PROTECTED]:/var/log# lspci -v
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] 
> Host Bridge (rev 80)
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, 66MHz, medium devsel, latency 8
>          Memory at c0000000 (32-bit, prefetchable) [size=128M]
>          Capabilities: [80] AGP version 3.5
>          Capabilities: [c0] Power Management version 2
>          Kernel driver in use: agpgart-via
>          Kernel modules: via-agp

A latency timer of 8 seems low.  Your host bridge can only transfer
(8-2)*4 = 24 bytes at a time as a master, if running at 33 MHz.

You might try increasing it to 16 or 32 using setpci.


> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge (prog-if 00 
> [Normal decode])
>          Flags: bus master, 66MHz, medium devsel, latency 0
>          Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
>          Memory behind bridge: e0000000-e1ffffff
>          Prefetchable memory behind bridge: c8000000-cfffffff
>          Capabilities: [80] Power Management version 2
>          Kernel modules: shpchp
> 
> 00:09.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge 
> (non-transparent mode) (rev 11) (prog-if 00 [Normal decode])
>          Flags: bus master, medium devsel, latency 32
>          Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
>          Prefetchable memory behind bridge: d0000000-d7ffffff
>          Capabilities: [80] Power Management version 2
>          Capabilities: [90] CompactPCI hot-swap <?>
>          Kernel modules: shpchp
> 
> 00:0a.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video 
> and Audio Decoder (rev 05)
>          Subsystem: pcHDTV pcHDTV HD-5500
>          Flags: bus master, medium devsel, latency 32, IRQ 19
>          Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
>          Capabilities: [44] Vital Product Data <?>
>          Capabilities: [4c] Power Management version 2
>          Kernel driver in use: cx8800
>          Kernel modules: cx8800
> 
> 00:0a.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and 
> Audio Decoder [Audio Port] (rev 05)
>          Subsystem: pcHDTV pcHDTV HD-5500
>          Flags: bus master, medium devsel, latency 32, IRQ 11
>          Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
>          Capabilities: [4c] Power Management version 2
>          Kernel modules: cx88-alsa
> 
> 00:0a.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and 
> Audio Decoder [MPEG Port] (rev 05)
>          Subsystem: pcHDTV pcHDTV HD-5500
>          Flags: bus master, medium devsel, latency 32, IRQ 11
>          Memory at de000000 (32-bit, non-prefetchable) [size=16M]
>          Capabilities: [4c] Power Management version 2
>          Kernel modules: cx8802
> 
> 00:0a.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and 
> Audio Decoder [IR Port] (rev 05)
>          Subsystem: pcHDTV pcHDTV HD-5500
>          Flags: bus master, medium devsel, latency 32, IRQ 11
>          Memory at df000000 (32-bit, non-prefetchable) [size=16M]
>          Capabilities: [4c] Power Management version 2
> 
> 00:0d.0 Multimedia video controller: Internext Compression Inc iTVC16 
> (CX23416) MPEG-2 Encoder (rev 01)
>          Subsystem: Hauppauge computer works Inc. WinTV PVR 250
>          Flags: bus master, medium devsel, latency 64, IRQ 18
>          Memory at d8000000 (32-bit, prefetchable) [size=64M]
>          Capabilities: [44] Power Management version 2
>          Kernel driver in use: ivtv
>          Kernel modules: ivtv
> 
> 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
> Controller (rev 80) (prog-if 00 [UHCI])
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, medium devsel, latency 32, IRQ 17
>          I/O ports at d000 [size=32]
>          Capabilities: [80] Power Management version 2
>          Kernel driver in use: uhci_hcd
>          Kernel modules: uhci-hcd
> 
> 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
> Controller (rev 80) (prog-if 00 [UHCI])
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, medium devsel, latency 32, IRQ 17
>          I/O ports at d400 [size=32]
>          Capabilities: [80] Power Management version 2
>          Kernel driver in use: uhci_hcd
>          Kernel modules: uhci-hcd
> 
> 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
> Controller (rev 80) (prog-if 00 [UHCI])
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, medium devsel, latency 32, IRQ 17
>          I/O ports at d800 [size=32]
>          Capabilities: [80] Power Management version 2
>          Kernel driver in use: uhci_hcd
>          Kernel modules: uhci-hcd
> 
> 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 
> 20 [EHCI])
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, medium devsel, latency 32, IRQ 17
>          Memory at e2000000 (32-bit, non-prefetchable) [size=256]
>          Capabilities: [80] Power Management version 2
>          Kernel driver in use: ehci_hcd
>          Kernel modules: ehci-hcd
> 
> 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, stepping, medium devsel, latency 0
>          Capabilities: [c0] Power Management version 2
>          Kernel modules: i2c-viapro, via-ircc
> 
> 00:11.1 IDE interface: VIA Technologies, Inc. 
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 
> (prog-if 8a [Master SecP PriP])
>          Subsystem: Giga-byte Technology GA-7VAX Mainboard
>          Flags: bus master, medium devsel, latency 32, IRQ 16
>          [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
>          [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
>          [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
>          [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
>          I/O ports at dc00 [size=16]
>          Capabilities: [c0] Power Management version 2
>          Kernel driver in use: VIA_IDE
>          Kernel modules: pata_via
> 
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. 
> VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
>          Subsystem: Giga-byte Technology GA-7VAX Onboard Audio (Realtek 
> ALC650)
>          Flags: medium devsel, IRQ 21
>          I/O ports at e000 [size=256]
>          Capabilities: [c0] Power Management version 2
>          Kernel driver in use: VIA 82xx Audio
>          Kernel modules: snd-via82xx
> 
> 00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL-8139/8139C/8139C+ (rev 10)
>          Subsystem: Realtek Semiconductor Co., Ltd. RT8139
>          Flags: bus master, medium devsel, latency 32, IRQ 19
>          I/O ports at e400 [size=256]
>          Memory at e2001000 (32-bit, non-prefetchable) [size=256]
>          Capabilities: [50] Power Management version 2
>          Kernel driver in use: 8139too
>          Kernel modules: 8139too, 8139cp
> 
> 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 
> 5200] (rev a1) (prog-if 00 [VGA controller])
>          Subsystem: ASUSTeK Computer Inc. Unknown device 80db
>          Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 20
>          Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
>          Memory at c8000000 (32-bit, prefetchable) [size=128M]
>          [virtual] Expansion ROM at e1000000 [disabled] [size=128K]
>          Capabilities: [60] Power Management version 2
>          Capabilities: [44] AGP version 3.0
>          Kernel driver in use: nvidia
>          Kernel modules: nvidia, nvidiafb
> 
> 02:08.0 Multimedia video controller: Internext Compression Inc iTVC16 
> (CX23416) MPEG-2 Encoder (rev 01)
>          Subsystem: Hauppauge computer works Inc. WinTV PVR 500 (1st unit)
>          Flags: bus master, medium devsel, latency 64, IRQ 18
>          Memory at d0000000 (32-bit, prefetchable) [size=64M]
>          Capabilities: [44] Power Management version 2
>          Kernel driver in use: ivtv
>          Kernel modules: ivtv
> 
> 02:09.0 Multimedia video controller: Internext Compression Inc iTVC16 
> (CX23416) MPEG-2 Encoder (rev 01)
>          Subsystem: Hauppauge computer works Inc. WinTV PVR 500 (2nd unit)
>          Flags: bus master, medium devsel, latency 64, IRQ 19
>          Memory at d4000000 (32-bit, prefetchable) [size=64M]
>          Capabilities: [44] Power Management version 2
>          Kernel driver in use: ivtv
>          Kernel modules: ivtv
> 

I also notice that your HD-5500 card and PVR-250 card are on the main
PCI bus Segment 0, but that the PVR-500 is on bus segment 2 behind the
Hint Corp bridge.  You could try moving the PVR-250 over to bus segment
2 or the PVR-500 over to bus segment 0, to see if things are better when
they're on the same bus segment.


Regards,
Andy


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to