I'm using a Haupauge PVR-150 board in a Ubuntu 8.04 PC. Recently the board
stoped working (mythtv logs ivtv driver timeout everytime I try to use the
PVR-150), with what seems to me a crash related with the ivtv driver (see
below). The ivtv version is 1.1.0, as it can be seen with dmesg. At the end
of the system boot we can see the crash in the following report (dmesg
result), and this started happening everytime I boot the PC (after working
well for several months):

[   26.707822] ivtv:  Start initialization, version 1.1.0
[   26.997193] ivtv0: Initializing card #0
[   26.997198] ivtv0: Autodetected Hauppauge card (cx23416 based)
[   27.000386] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   27.151564] ivtv0: Autodetected Hauppauge WinTV PVR-150
[   27.151566] ivtv0: Reopen i2c bus for IR-blaster support
[   27.410663] tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
[   27.438715] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   27.704071] cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[   27.723352] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   27.731484] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[   27.731498] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[   27.731512] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[   27.731526] ivtv0: Registered device video24 for encoder PCM (320 kB)
[   27.731528] ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
[   27.731561] ivtv:  End initialization

...

[   52.417575] irq 20: nobody cared (try booting with the "irqpoll" option)
[   52.417586] Pid: 0, comm: swapper Not tainted 2.6.24-19-generic #1
[   52.417607]  [<c01691b4>] __report_bad_irq+0x24/0x80
[   52.417619]  [<c016948b>] note_interrupt+0x27b/0x2c0
[   52.417629]  [<c01686b0>] handle_IRQ_event+0x30/0x60
[   52.417636]  [<c0169e46>] handle_fasteoi_irq+0x86/0xe0
[   52.417643]  [<c0106f1b>] do_IRQ+0x3b/0x70
[   52.417648]  [<c0106f20>] do_IRQ+0x40/0x70
[   52.417655]  [<c0105413>] common_interrupt+0x23/0x30
[   52.417659]  [<c0102f40>] default_idle+0x0/0x60
[   52.417669]  [<c011ec62>] native_safe_halt+0x2/0x10
[   52.417676]  [<c0102f7c>] default_idle+0x3c/0x60
[   52.417679]  [<c0102695>] cpu_idle+0x45/0xd0
[   52.417697]  =======================
[   52.417698] handlers:
[   52.417700] [<f8bc5740>] (ivtv_irq_handler+0x0/0x1000 [ivtv])
[   52.417713] [<f9754430>] (via_driver_irq_handler+0x0/0x1c0 [via])
[   52.417720] Disabling IRQ #20
[   54.575419] lirc_dev: IR Remote Control driver registered, at major 61
[   54.961647] bttv: driver version 0.9.17 loaded
[   54.961659] bttv: using 8 buffers with 2080k (520 pages) each for capture
[   55.288305] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded

As it was suggested in the mythtv users group, I have defined irqpoll in
Grub, and this solved the ivtv driver crash (and TV started working again),
but I also noticed that later I started having a driver crash that seems
related to the ATA interface (never happened before starting using irqpoll).
So I suppose the best way is to remove the irqpoll option, but I need to
solve the ivtv crash.
What do you think it is causing the problem? Can it be because IRQ20 is
shared by Haupauge PVR150 and the onboard graphic card (Via S3 Unichrome)? I
saw somewhere that the PVR-150 doesn't behave well sharing the IRQ with
other boards. This is the result from the lspci -v where I can see that the
IRQ20 is used by PVR-150 and S3 Unichrome:

00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
        Subsystem: VIA Technologies, Inc. K8M800 Host Bridge
        Flags: bus master, 66MHz, medium devsel, latency 8
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [80] AGP version 3.0
        Capabilities: [50] Power Management version 2
        Capabilities: [60] HyperTransport: Slave or Primary Interface
        Capabilities: [58] HyperTransport: Interrupt Discovery and
Configuration

00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
        Flags: bus master, medium devsel, latency 0

00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
        Flags: bus master, medium devsel, latency 0

00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
        Flags: bus master, medium devsel, latency 0

00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
        Flags: bus master, medium devsel, latency 0

00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
        Flags: bus master, medium devsel, latency 0

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890
South] (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: f8000000-f9ffffff
        Prefetchable memory behind bridge: f0000000-f3ffffff
        Capabilities: [80] Power Management version 2

00:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 150
        Flags: bus master, medium devsel, latency 64, IRQ 20
        Memory at f4000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

00:09.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB
chip / Technisat SkyStar2 DVB card (rev 01)
        Subsystem: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip /
Technisat SkyStar2 DVB card
        Flags: bus master, slow devsel, latency 32, IRQ 19
        Memory at fa000000 (32-bit, non-prefetchable) [size=64K]
        I/O ports at e200 [size=32]

00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID
Controller (rev 80) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 16
        I/O ports at e800 [size=8]
        I/O ports at e900 [size=4]
        I/O ports at ea00 [size=8]
        I/O ports at e000 [size=4]
        I/O ports at e100 [size=16]
        I/O ports at d000 [size=256]
        Capabilities: [c0] Power Management version 2

00:0f.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: Micro-Star International Co., Ltd. Unknown device 7312
        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 e300 [size=16]
        Capabilities: [c0] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at e400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at e500 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at e600 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at e700 [size=32]
        Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20
[EHCI])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 17
        Memory at fa010000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
[KT600/K8T800/K8T890 South]
        Subsystem: VIA Technologies, Inc. DFI KT600-AL / Soltek SL-B9D-FGR
Motherboard
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
        Subsystem: Micro-Star International Co., Ltd. Unknown device b013
        Flags: medium devsel, IRQ 21
        I/O ports at d400 [size=256]
        Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev
78)
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, medium devsel, latency 32, IRQ 18
        I/O ports at dc00 [size=256]
        Memory at fa011000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
        Flags: fast devsel
        Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
        Flags: fast devsel
        Capabilities: [f0] #0f [0010]

01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro
VGA Adapter (rev 01) (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 7312
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 20
        Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at f9000000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [70] AGP version 3.0


What do you suggest to solve this problem? Changing the PVR-150 PCI slot?
Any other option?

Thanks in advance

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

Reply via email to