2002-07-05 12:43:11

by Brett Simpson

[permalink] [raw]
Subject: Bttv errors with onboard video.

I have a problem where the bttv module will not work in combination with onboard ATI video. The onboard ATI video card works fine but I get nothing from the encoding card. If I use a Cirrus logic PCI video card the bttv module works fine with xawtv. I see these error in my logs. Any ideas?

Jul 3 17:41:33 localhost kernel: bttv0: PLL: 28636363 => 35468950 ... ok
Jul 3 17:41:33 localhost kernel: bttv0: irq: SCERR risc_count=2e765820
Jul 3 17:41:33 localhost kernel: bttv0: irq: SCERR risc_count=2e765808
Jul 3 17:41:33 localhost kernel: bttv0: irq: SCERR risc_count=2e765810
Jul 3 17:41:33 localhost kernel: bttv0: irq: SCERR risc_count=2e765810
Jul 3 17:41:33 localhost kernel: bttv0: irq: SCERR risc_count=2e765808
Jul 3 17:41:33 localhost kernel: bttv0: aiee: error loops
Jul 3 17:41:36 localhost kernel: bttv0: PLL: switching off
Jul 3 17:41:39 localhost kernel: bttv0: resetting chip


2002-07-06 15:45:30

by Meelis Roos

[permalink] [raw]
Subject: Re: Bttv errors with onboard video.

BS> I have a problem where the bttv module will not work in combination with onboard ATI video. The onboard ATI video card works fine but I get nothing from the encoding card. If I use a Cirrus logic PCI video card the bttv module works fine with xawtv. I see these error in my logs. Any ideas?

I use Matrox G400 with bt878 tv card (Chronos Video Shuttle II). bttv0: irq:
SCERR risc_count=1764e020 errors happen about once a week. It looks like they
happen during console switches (fbtv running on tty1 and then switching to tty7
or tty8 where X's run). I have seen this aiee message together with resetting
chip once too but the logs have been rotated for now. But it looked very
similar. No stability problems along with this message.

Once these bttv irq messages were followed by a strange behaviour. I was moving
USB mouse while switching from fbtv to X and then strange symptoms began. First
I found that I can't use the keyboard any more, it does not function. Switching
consoles and trying things I found that most interrupts had stopped working.
USB mouse worked. Likely the timer too. PS2 keyboard, PCI ethernet and onboard
PCI ide didn't get any interrupts. eth0 gave transmit timeout errors, hda had
DMA timeouts etc. IDE still worked somewhat (polling or something like that),
at least I found these errors from klogd written on the disk after boot. Clean
boot was not possible since disk reading did not work.

VIA 686a, AMD Duron, 2.4.18,
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 20)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 11)
00:0c.1 Multimedia controller: Brooktree Corporation Bt878 (rev 11)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 05)

--
Meelis Roos ([email protected])

2002-07-08 14:04:08

by Brett Simpson

[permalink] [raw]
Subject: Re: Bttv errors with onboard video.

> VIA 686a, AMD Duron, 2.4.18,
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
> 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
> 00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
> 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
> 00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
> 00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)

I read a post relating to something similar with the VIA chipset. I suppose the "bttv0: irq:
SCERR risc_count=1764e020" errors isn't the problem for why mine isn't working but just another normal error. Any idea on how to put the bttv module into a debug mode?

Brett

2002-07-08 15:22:29

by Gerd Knorr

[permalink] [raw]
Subject: Re: Bttv errors with onboard video.

> I read a post relating to something similar with the VIA chipset. I
> suppose the "bttv0: irq: SCERR risc_count=1764e020" errors isn't the
> problem for why mine isn't working but just another normal error. Any
> idea on how to put the bttv module into a debug mode?

bogomips kraxel ~# modinfo bttv | grep debug
parm: bttv_debug int, description "debug messages, default is 0 (no)"
parm: irq_debug int, description "irq handler debug messages, default is 0 (no)"

That likely doesn't help you througth. SCERR is a syncronisation error
of the DMA engine. Most likely the bt878 chip has problems to do
PCI-PCI transfers to the onboard video chipset for some reason.

Gerd

--
You can't please everybody. And usually if you _try_ to please
everybody, the end result is one big mess.
-- Linus Torvalds, 2002-04-20