Hi All, I'm running kernel 2.5.47/2.4.20-rc2 with the latest bttv patches (0.7.100/0.9.1) and using the latest xawtv 3.78 with an AverTV Stereo card. In 2.5.47/v4l2, if xawtv works at all, after a few seconds I get tons of IRQ lockup messages and I have to reload the modules to try again. Capturing does the same for the 2.4.20-rc2/v4l1. The output from both versions/kernels is included. It is reliably unreliable. :-) Any help would be appreciated. Thanks, -Jim bttv: driver version 0.9.1 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Host bridge is Silicon Integrated Systems [SiS] 740 Host bttv: Bt8xx card found (0). bttv0: Bt878 (rev 17) at 00:0c.0, irq: 10, latency: 32, mmio: 0xec103000 bttv0: detected: AVerMedia TVCapture 98 [card=13], PCI subsystem ID is 1461:0004 bttv0: using: BT878(AVerMedia TVCapture 98) [card=13,autodetected] bttv0: Avermedia eeprom[0x4002]: tuner=2 radio:no remote control:no bttv0: using tuner=2 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found tvaudio: TV audio decoder + audio/video mux driver tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951) tuner: probing bt848 #0 i2c adapter [id=0x10005] tuner: chip found @ 0xc2 tuner: type set to 2 (Philips NTSC (FI1236 and compatibles)) bttv0: i2c attach [client=Philips NTSC (FI1236 and compati,ok] bttv0: registered device video0 bttv0: registered device vbi0 bttv0: PLL: 28636363 => 35468950 .. ok Uninitialised timer! This is just a warning. Your computer is OK function=0xde931cf0, data=0xde940600 Call Trace: [check_timer_failed+64/76] check_timer_failed+0x40/0x4c [<de931cf0>] bttv_irq_timeout+0x0/0x1dc [bttv] [<de940600>] bttvs+0x0/0x1930 [bttv] [mod_timer+59/512] mod_timer+0x3b/0x200 [<de9409c4>] bttvs+0x3c4/0x1930 [bttv] [<de940600>] bttvs+0x0/0x1930 [bttv] [<de9361a8>] bttv_set_dma+0x104/0x19c [bttv] [<de9409c4>] bttvs+0x3c4/0x1930 [bttv] [<de9409a8>] bttvs+0x3a8/0x1930 [bttv] [<de92f252>] buffer_queue+0x3e/0x44 [bttv] [<de940600>] bttvs+0x0/0x1930 [bttv] [<de929deb>] videobuf_streamon+0x87/0xc0 [video-buf] [<de940600>] bttvs+0x0/0x1930 [bttv] [<de931275>] bttv_do_ioctl+0x1019/0x126c [bttv] [<de940600>] bttvs+0x0/0x1930 [bttv] [sock_def_readable+105/112] sock_def_readable+0x69/0x70 [<de940600>] bttvs+0x0/0x1930 [bttv] [__sock_sendmsg+163/208] __sock_sendmsg+0xa3/0xd0 [sock_aio_write+156/164] sock_aio_write+0x9c/0xa4 [kfree+475/544] kfree+0x1db/0x220 [copy_from_user+47/60] copy_from_user+0x2f/0x3c [<de91c2b2>] video_usercopy+0xb2/0x11c [videodev] [do_mmap_pgoff+1115/1404] do_mmap_pgoff+0x45b/0x57c [schedule+628/744] schedule+0x274/0x2e8 [<de9314e7>] bttv_ioctl+0x1f/0x24 [bttv] [<de93025c>] bttv_do_ioctl+0x0/0x126c [bttv] [sys_ioctl+541/628] sys_ioctl+0x21d/0x274 bttv0: PLL: switching off bttv0: IRQ lockup, cleared int mask bttv0: timeout: risc=17def2dc, bits: VSYNC HSYNC OFLOW GPINT RISCI bttv0: reset, reinitialize bttv0: PLL: switching off bttv0: timeout: risc=1749703c, bits: HSYNC OFLOW bttv0: reset, reinitialize bttv0: PLL: switching off bttv0: timeout: risc=1749703c, bits: HSYNC OFLOW bttv0: reset, reinitialize bttv0: PLL: switching off bttv0: timeout: risc=1749701c, bits: HSYNC OFLOW bttv0: reset, reinitialize bttv0: PLL: switching off bttv0: timeout: risc=1749701c, bits: VSYNC HSYNC OFLOW HLOCK VPRES RISCI Linux video capture interface: v1.00 bttv: driver version 0.7.100 loaded bttv: using 4 buffers with 2080k (8320k total) for capture bttv: Host bridge is Silicon Integrated Systems [SiS] 740 Host bttv: Bt8xx card found (0). bttv0: Bt878 (rev 17) at 00:0c.0, irq: 10, latency: 32, mmio: 0xec103000 bttv0: detected: AVerMedia TVCapture 98 [card=13], PCI subsystem ID is 1461:0004 bttv0: using: BT878(AVerMedia TVCapture 98) [card=13,autodetected] i2c-core.o: adapter bt848 #0 registered as adapter 0. bttv0: Avermedia eeprom[0x4002]: tuner=2 radio:no remote control:no bttv0: using tuner=2 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found tvaudio: TV audio decoder + audio/video mux driver tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951) i2c-core.o: driver generic i2c audio driver registered. i2c-core.o: driver i2c TV tuner driver registered. tuner: probing bt848 #0 i2c adapter [id=0x10005] tuner: chip found @ 0xc2 tuner: type set to 2 (Philips NTSC (FI1236 and compatibles)) bttv0: i2c attach [client=Philips NTSC (FI1236 and compati,ok] i2c-core.o: client [Philips NTSC (FI1236 and compati] registered to adapter [bt848 #0](pos. 0). bttv0: PLL: 28636363 => 35468950 ... ok bttv0: registered device video0 bttv0: registered device vbi0 bttv0: PLL: switching off btaudio: driver version 0.7 loaded [digital+analog] btaudio: Bt878 (rev 17) at 00:0c.1, irq: 10, latency: 32, mmio: 0xec104000 btaudio: using card config "default" btaudio: registered device dsp1 [digital] btaudio: registered device dsp2 [analog] btaudio: registered device mixer1 bttv0: resetting chip btaudio: buffer overrun btaudio: buffer overrun btaudio: buffer overrun btaudio: buffer overrun Linux version 2.5.47 (jim@sigma) (gcc version 2.95.4 20011002 (Debian prerelease)) #33 Sat Nov 16 14:49:18 PST 2002 Video mode to be used for restore is f00 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001dff0000 (usable) BIOS-e820: 000000001dff0000 - 000000001dff3000 (ACPI NVS) BIOS-e820: 000000001dff3000 - 000000001e000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 479MB LOWMEM available. ACPI: have wakeup address 0xc0001000 found SMP MP-table at 000f49b0 hm, page 000f4000 reserved twice. hm, page 000f5000 reserved twice. hm, page 000f1000 reserved twice. hm, page 000f2000 reserved twice. On node 0 totalpages: 122864 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 118768 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 ACPI: RSDP (v000 AWARD ) @ 0x000f63e0 ACPI: RSDT (v001 AWARD AWRDACPI 16944.11825) @ 0x1dff3000 ACPI: FADT (v001 AWARD AWRDACPI 16944.11825) @ 0x1dff3040 ACPI: MADT (v001 AWARD AWRDACPI 16944.11825) @ 0x1dff67c0 ACPI: DSDT (v001 AWARD AWRDACPI 00000.04096) @ 0x00000000 ACPI: BIOS passes blacklist ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:6 APIC version 16 Using ACPI for processor (LAPIC) configuration information Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 I/O APIC #2 Version 17 at 0xFEC00000. Enabling APIC mode: Flat. Using 1 I/O APICs Processors: 1 Building zonelist for node : 0 Kernel command line: root=/dev/hda1 ro console=ttyS1,115200 console=tty0 Initializing CPU#0 Detected 1526.504 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3014.65 BogoMIPS Memory: 481428k/491456k available (2277k kernel code, 9280k reserved, 1640k data, 136k init, 0k highmem) Security Scaffold v1.0.0 initialized Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) -> /dev -> /dev/console -> /root CPU: Before vendor init, caps: 0383fbff c1c3fbff 00000000, vendor = 2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Machine check exception polling timer started. CPU: AMD Athlon(tm) XP 1800+ stepping 02 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1526.0640 MHz. ..... host bus clock speed is 265.0502 MHz. Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket mtrr: v2.0 (20020519) Linux Plug and Play Support v0.9 (c) Adam Belay PCI: PCI BIOS revision 2.10 entry at 0xfb360, last bus=1 Registering system device cpu0 adding 'CPU 0' to cpu class interfaces BIO: pool of 256 setup, 15Kb (60 bytes/bio) biovec pool[0]: 1 bvecs: 256 entries (12 bytes) biovec pool[1]: 4 bvecs: 256 entries (48 bytes) biovec pool[2]: 16 bvecs: 256 entries (192 bytes) biovec pool[3]: 64 bvecs: 256 entries (768 bytes) biovec pool[4]: 128 bvecs: 256 entries (1536 bytes) biovec pool[5]: 256 bvecs: 256 entries (3072 bytes) ACPI: Subsystem revision 20021101 tbxface-0099 [03] Acpi_load_tables : ACPI Tables successfully acquired Parsing Methods:.................................................................................................................................. Table [DSDT] - 448 Objects with 47 Devices 130 Methods 31 Regions ACPI Namespace successfully loaded at root c0532bfc spurious 8259A interrupt: IRQ7. evxfevnt-0074 [04] Acpi_enable : Transition to ACPI mode successful evevent-0508: *** Info: GPE Block0 defined as GPE0 to GPE15 evevent-0508: *** Info: GPE Block1 defined as GPE16 to GPE31 Executing all Device _STA and_INI methods:............................................... 47 Devices found containing: 47 _STA, 2 _INI methods Completing Region/Field/Buffer/Package initialization:........................................................................ Initialized 26/31 Regions 12/14 Fields 18/19 Buffers 16/16 Packages (448 nodes) ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: (supports S0 S1 S4 S5) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] pci_bind-0191 [04] acpi_pci_bind : Device 00:00:0b.ffff not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:0c.ffff not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:0a.ffff not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:0f.ffff not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:10.ffff not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:03.00 not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:02.07 not present in PCI namespace pci_bind-0191 [04] acpi_pci_bind : Device 00:00:02.06 not present in PCI namespace ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 *12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled) ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled) ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) block request queues: 128 requests per read queue 128 requests per write queue 8 requests per batch enter congestion at 31 exit congestion at 33 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 9 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' Registering system device pic0 Registering system device rtc0 a 0x0 b 0x0 cpufreq: Intel(R) SpeedStep(TM) for this chipset not (yet) available. slab: reap timer started for cpu 0 Starting kswapd aio_setup: sizeof(struct page) = 40 [ddefe040] eventpoll: driver installed. Journalled Block Device driver loaded Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx). udf: registering filesystem Capability LSM initialized Initializing Cryptographic API ACPI: Power Button (FF) [PWRF] ACPI: Sleep Button (CM) [FUTS] ACPI: Fan [FAN] (on) ACPI: Processor [CPU0] (supports C1) ACPI: Thermal Zone [THRM] (46 C) Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A parport0: PC-style at 0x378 [PCSPP,TRISTATE] parport0: cpp_mux: aa55f00f52ad51(87) parport0: cpp_daisy: aa5500ff(80) parport0: assign_addrs: aa5500ff(80) parport0: cpp_mux: aa55f00f52ad51(87) parport0: cpp_daisy: aa5500ff(80) parport0: assign_addrs: aa5500ff(80) pty: 256 Unix98 ptys configured i8k: not running on a Dell system i8k: vendor=, model=, version=6.00 i8k: unable to get SMM Dell signature i8k: unable to get SMM BIOS version lp0: using parport0 (polling). Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 409M agpgart: Detected SiS 740 chipset agpgart: AGP aperture is 64M @ 0xe8000000 [drm] AGP 0.99 on SiS @ 0xe8000000 64MB [drm] Initialized r128 2.2.0 20010917 on minor 0 [drm] AGP 0.99 on SiS @ 0xe8000000 64MB [drm] Initialized radeon 1.6.0 20020828 on minor 1 [drm] AGP 0.99 on SiS @ 0xe8000000 64MB [drm] Initialized i810 1.2.1 20020211 on minor 2 [drm] AGP 0.99 on SiS @ 0xe8000000 64MB [drm] Initialized i830 1.2.1 20020828 on minor 3 FDC 0 is a post-1991 82077 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 00:02.5 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SiS740 ATA 100 controller ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio hda: C/H/S=57461/16/255 from BIOS ignored hda: WDC WD1200BB-00CAA0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: DVD-ROM OEM316B, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: host protected area => 1 hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=232581/16/63, UDMA(100) hda: hda1 hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: not ready request_module[scsi_hostadapter]: not ready request_module[scsi_hostadapter]: not ready Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] [pm] Intel PCIC probe: not found. register interface 'mouse' with class 'input mice: PS/2 mouse device common for all mice input: AT Set 2 keyboard on isa0060/serio0 serio: i8042 KBD port at 0x60,0x64 irq 1 NET4: Linux TCP/IP 1.0 for NET4.0 IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. ds: no socket drivers loaded! kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 136k freed EXT3 FS 2.4-0.9.16, 02 Dec 2001 on ide0(3,1), internal journal Adding 1048568k swap on /var/swapfile. Priority:-1 extents:266 8139too Fast Ethernet driver 0.9.26 eth0: RealTek RTL8139 Fast Ethernet at 0xde8a5000, 00:30:1b:11:1c:e7, IRQ 11 eth0: Identified 8139 chip type 'RTL-8139C' eth0: Setting half-duplex based on auto-negotiated partner ability 0000. ttyS2: LSR safety check engaged! ttyS2: LSR safety check engaged!