Most recent kernel where this bug did not occur: Distribution: Gentoo Hardware Environment: AMD64 Software Environment: AMD64 Problem Description: I am using a Dvico FusionHDTV 5 Gold tuner card with the cx88 driver for v4l2. I have recently tested this driver and it is able to tune analog channels in the x86 arch but when running the AMD64 arch, it is unable to tune analog channels. The dvb cx88 driver on the other hand is able to tune digital channels in the AMD64 environment. Steps to reproduce: Open up tvtime or mplayer and attempt to tune an analog channel. Both programs are unable to tune analog channels in the AMD64 environment. dmesg: Bootdata ok (command line is root=/dev/md3 vga=0x318 video=vesafb:mtrr:3,ywrap) Linux version 2.6.17-gentoo-r3 (root@server) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Sat Jul 15 15:35:02 PDT 2006 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001ff30000 (usable) BIOS-e820: 000000001ff30000 - 000000001ff40000 (ACPI data) BIOS-e820: 000000001ff40000 - 000000001fff0000 (ACPI NVS) BIOS-e820: 000000001fff0000 - 0000000020000000 (reserved) BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved) DMI 2.3 present. ACPI: RSDP (v000 ACPIAM ) @ 0x00000000000fa850 ACPI: RSDT (v001 A M I OEMRSDT 0x06000517 MSFT 0x00000097) @ 0x000000001ff30000 ACPI: FADT (v001 A M I OEMFACP 0x06000517 MSFT 0x00000097) @ 0x000000001ff30200 ACPI: MADT (v001 A M I OEMAPIC 0x06000517 MSFT 0x00000097) @ 0x000000001ff30390 ACPI: OEMB (v001 A M I OEMBIOS 0x06000517 MSFT 0x00000097) @ 0x000000001ff40040 ACPI: DSDT (v001 SK8V_ SK8V_033 0x00000033 MSFT 0x0100000d) @ 0x0000000000000000 Scanning NUMA topology in Northbridge 24 Number of nodes 1 Node 0 MemBase 0000000000000000 Limit 000000001ff30000 NUMA: Using 63 for the hash shift. Using node hash shift of 63 Bootmem setup node 0 0000000000000000-000000001ff30000 On node 0 totalpages: 127019 DMA zone: 1984 pages, LIFO batch:0 DMA32 zone: 125035 pages, LIFO batch:31 ACPI: PM-Timer IO Port: 0x808 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 15:5 APIC version 16 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Setting APIC routing to flat Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 30000000 (gap: 20000000:dff80000) Checking aperture... CPU 0: aperture @ f2000000 size 32 MB Aperture from northbridge cpu 0 too small (32 MB) AGP bridge at 00:00:00 Aperture from AGP @ f2000000 size 32 MB (APSIZE f38) Aperture from AGP bridge too small (32 MB) Your BIOS doesn't leave a aperture memory hole Please enable the IOMMU option in the BIOS setup This costs you 64 MB of RAM Mapping aperture over 65536 KB of RAM @ 4000000 Built 1 zonelists Kernel command line: root=/dev/md3 vga=0x318 video=vesafb:mtrr:3,ywrap Initializing CPU#0 PID hash table entries: 2048 (order: 11, 16384 bytes) time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer. time.c: Detected 1802.387 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Memory: 441680k/523456k available (3996k kernel code, 81388k reserved, 1820k data, 248k init) Calibrating delay using timer specific routine.. 3608.95 BogoMIPS (lpj=7217902) Mount-cache hash table entries: 256 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 0/0(1) -> Node 0 -> Core 0 Using local APIC timer interrupts. result 12516584 Detected 12.516 MHz APIC timer. Brought up 1 CPUs testing NMI watchdog ... OK. migration_cost=0 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using configuration type 1 ACPI: Subsystem revision 20060127 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: enabled onboard AC97/MC97 devices PCI: Quirk-MSI-K8T Soundcard On PCI: Unexpected Value in PCI-Register: no Change! Boot video device is 0000:01:00.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report NET: Registered protocol family 23 agpgart: Detected AGP bridge 0 agpgart: Aperture conflicts with PCI mapping. agpgart: Aperture from AGP @ f2000000 size 32 MB agpgart: AGP aperture is 32M @ 0xf2000000 PCI-DMA: Disabling IOMMU. PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: f5300000-f74fffff PREFETCH window: e1200000-f11fffff PCI: Setting latency timer of device 0000:00:01.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 3, 32768 bytes) TCP established hash table entries: 16384 (order: 6, 262144 bytes) TCP bind hash table entries: 8192 (order: 5, 131072 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ Total HugeTLB memory allocated, 0 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NTFS driver 2.1.27 [Flags: R/O]. SGI XFS with large block/inode numbers, no debug enabled Initializing Cryptographic API io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered pci_hotplug: PCI Hot Plug PCI Core version: 0.5 fakephp: Fake PCI Hot Plug Controller Driver Real Time Clock Driver v1.12ac Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0) Linux agpgart interface v0.101 (c) Dave Jones vesafb: framebuffer at 0xe8000000, mapped to 0xffffc20000080000, using 4096k, total 4096k vesafb: mode is 1024x768x32, linelength=4096, pages=0 vesafb: scrolling: redraw vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0 Console: switching to colour frame buffer device 128x48 fb0: VESA VGA frame buffer device ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] ACPI: Sleep Button (CM) [SLPB] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A mice: PS/2 mouse device common for all mice isa bounce pool size: 16 pages Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Intel(R) PRO/1000 Network Driver - version 7.0.33-k2 Copyright (c) 1999-2005 Intel Corporation. e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI e100: Copyright(c) 1999-2005 Intel Corporation GSI 16 sharing vector 0xA9 and IRQ 16 ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 169 skge 1.5 addr 0xfde00000 irq 169 chip Yukon rev 1 skge eth0: addr 00:11:2f:4f:51:71 forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.54. tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> netconsole: not configured, aborting Linux video capture interface: v1.00 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:0f.1 GSI 17 sharing vector 0xB1 and IRQ 17 ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 177 PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1 ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... hda: TOSHIBA DVD-ROM SD-M1912, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... hda: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 libata version 1.20 loaded. sata_promise 0000:00:08.0: version 1.04 GSI 18 sharing vector 0xB9 and IRQ 18 ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 18 (level, low) -> IRQ 185 sata_promise PATA port found ata1: SATA max UDMA/133 cmd 0xFFFFC20000004200 ctl 0xFFFFC20000004238 bmdma 0x0 irq 185 Losing some ticks... checking if CPU frequency changed. ata2: SATA max UDMA/133 cmd 0xFFFFC20000004280 ctl 0xFFFFC200000042B8 bmdma 0x0 irq 185 ata3: PATA max UDMA/133 cmd 0xFFFFC20000004300 ctl 0xFFFFC20000004338 bmdma 0x0 irq 185 ata1: SATA link up 1.5 Gbps (SStatus 113) ata1: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:407f ata1: dev 0 ATA-7, max UDMA/133, 781422768 sectors: LBA48 ata1: dev 0 configured for UDMA/133 scsi0 : sata_promise ata2: SATA link down (SStatus 0) scsi1 : sata_promise ata3: disabling port scsi2 : sata_promise Vendor: ATA Model: WDC WD4000KD-00N Rev: 01.0 Type: Direct-Access ANSI SCSI revision: 05 sata_via 0000:00:0f.0: version 1.1 ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 177 sata_via 0000:00:0f.0: routed to hard irq line 10 ata4: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 177 ata5: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 177 ata4: SATA link up 1.5 Gbps (SStatus 113) ata4: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:407f ata4: dev 0 ATA-6, max UDMA/133, 72303840 sectors: LBA48 ata4(0): applying bridge limits ata4: dev 0 configured for UDMA/100 scsi3 : sata_via ata5: SATA link up 1.5 Gbps (SStatus 113) ata5: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:407f ata5: dev 0 ATA-6, max UDMA/133, 72303840 sectors: LBA48 ata5(0): applying bridge limits ata5: dev 0 configured for UDMA/100 scsi4 : sata_via Vendor: ATA Model: WDC WD360GD-00FN Rev: 35.0 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: WDC WD360GD-00FN Rev: 35.0 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back sda: sda1 sd 0:0:0:0: Attached scsi disk sda SCSI device sdb: 72303840 512-byte hdwr sectors (37020 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back SCSI device sdb: 72303840 512-byte hdwr sectors (37020 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 > sd 3:0:0:0: Attached scsi disk sdb SCSI device sdc: 72303840 512-byte hdwr sectors (37020 MB) sdc: Write Protect is off sdc: Mode Sense: 00 3a 00 00 SCSI device sdc: drive cache: write back SCSI device sdc: 72303840 512-byte hdwr sectors (37020 MB) sdc: Write Protect is off sdc: Mode Sense: 00 3a 00 00 SCSI device sdc: drive cache: write back sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 > sd 4:0:0:0: Attached scsi disk sdc Fusion MPT base driver 3.03.09 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SPI Host driver 3.03.09 GSI 19 sharing vector 0xC1 and IRQ 19 ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 193 ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[193] MMIO=[fdb00000-fdb007ff] Max Packet=[2048] IR/IT contexts=[4/8] video1394: Installed video1394 module ieee1394: raw1394: /dev/raw1394 device initialized GSI 20 sharing vector 0xC9 and IRQ 20 ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 201 ehci_hcd 0000:00:10.4: EHCI Host Controller ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.4: irq 201, io mem 0xfdf00000 ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 8 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 201 PCI: VIA IRQ fixup for 0000:00:10.0, from 11 to 9 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.0: irq 201, io base 0x0000b400 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 201 PCI: VIA IRQ fixup for 0000:00:10.1, from 11 to 9 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.1: irq 201, io base 0x0000b800 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 201 PCI: VIA IRQ fixup for 0000:00:10.2, from 10 to 9 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.2: irq 201, io base 0x0000c000 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 201 PCI: VIA IRQ fixup for 0000:00:10.3, from 10 to 9 uhci_hcd 0000:00:10.3: UHCI Host Controller uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:10.3: irq 201, io base 0x0000c400 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e01800008bb839] usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 i2c /dev entries driver md: raid1 personality registered for level 1 md: multipath personality registered for level -4 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC). ALSA device list: No soundcards found. oprofile: using NMI interrupt. TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.2) powernow-k8: 0 : fid 0xa (1800 MHz), vid 0x2 (1500 mV) powernow-k8: 1 : fid 0x2 (1000 MHz), vid 0xe (1200 mV) cpu_init done, current fid 0xa, vid 0x2 md: Autodetecting RAID arrays. md: autorun ... md: considering sdc5 ... md: adding sdc5 ... md: sdc3 has different UUID to sdc5 md: sdc2 has different UUID to sdc5 md: sdc1 has different UUID to sdc5 md: adding sdb5 ... md: sdb3 has different UUID to sdc5 md: sdb2 has different UUID to sdc5 md: sdb1 has different UUID to sdc5 md: created md3 md: bind<sdb5> md: bind<sdc5> md: running: <sdc5><sdb5> raid1: raid set md3 active with 2 out of 2 mirrors md: considering sdc3 ... md: adding sdc3 ... md: sdc2 has different UUID to sdc3 md: sdc1 has different UUID to sdc3 md: adding sdb3 ... md: sdb2 has different UUID to sdc3 md: sdb1 has different UUID to sdc3 md: created md2 md: bind<sdb3> md: bind<sdc3> md: running: <sdc3><sdb3> raid1: raid set md2 active with 2 out of 2 mirrors md: considering sdc2 ... md: adding sdc2 ... md: sdc1 has different UUID to sdc2 md: adding sdb2 ... md: sdb1 has different UUID to sdc2 md: created md1 md: bind<sdb2> md: bind<sdc2> md: running: <sdc2><sdb2> raid1: raid set md1 active with 2 out of 2 mirrors md: considering sdc1 ... md: adding sdc1 ... md: adding sdb1 ... md: created md0 md: bind<sdb1> md: bind<sdc1> md: running: <sdc1><sdb1> raid1: raid set md0 active with 2 out of 2 mirrors md: ... autorun DONE. ReiserFS: md3: found reiserfs format "3.6" with standard journal input: PS/2 Generic Mouse as /class/input/input0 input: AT Translated Set 2 keyboard as /class/input/input1 ReiserFS: md3: using ordered data mode ReiserFS: md3: journal params: device md3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: md3: checking transaction log (md3) ReiserFS: md3: Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly. Freeing unused kernel memory: 248k freed Adding 979832k swap on /dev/md1. Priority:-1 extents:1 across:979832k cx2388x v4l2 driver version 0.0.5 loaded ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 18 (level, low) -> IRQ 185 CORE cx88[0]: subsystem: 18ac:d500, board: DViCO FusionHDTV 5 Gold [card=31,autodetected] TV tuner 64 at 0x1fe, Radio tuner -1 at 0x1fe cx88[0]/0: found at 0000:00:0d.0, rev: 5, irq: 185, latency: 64, mmio: 0xfa000000 cx88[0]/0: registered device video0 [v4l2] cx88[0]/0: registered device vbi0 cx2388x blackbird driver version 0.0.5 loaded cx2388x dvb driver version 0.0.5 loaded ACPI: PCI Interrupt 0000:00:0d.2[A] -> GSI 18 (level, low) -> IRQ 185 cx88[0]/2: found at 0000:00:0d.2, rev: 5, irq: 185, latency: 64, mmio: 0xfc000000 cx88[0]/2: cx2388x based dvb card DVB: registering new adapter (cx88[0]). DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)... ReiserFS: md2: found reiserfs format "3.6" with standard journal ReiserFS: md2: using ordered data mode ReiserFS: md2: journal params: device md2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: md2: checking transaction log (md2) ReiserFS: md2: Using r5 hash to sort names XFS mounting filesystem sda1 Ending clean XFS mount for filesystem: sda1 GSI 21 sharing vector 0xD1 and IRQ 21 ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 209 PCI: Setting latency timer of device 0000:00:11.5 to 64 codec_read: codec 0 is not valid [0xfe0000] codec_read: codec 0 is not valid [0xfe0000] codec_read: codec 0 is not valid [0xfe0000] codec_read: codec 0 is not valid [0xfe0000] skge eth0: enabling interface ADDRCONF(NETDEV_UP): eth0: link is not ready process `named' is using obsolete setsockopt SO_BSDCOMPAT skge eth0: Link is up at 1000 Mbps, full duplex, flow control tx and rx ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready eth0: no IPv6 routers present cx88[0]/2: queue is empty - first active cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2 cx88[0]/2: setting the interrupt mask cx88[0]/2: [ffff81000120d000/0] cx8802_buf_queue - first active cx88[0]/2: cx8802_restart_queue cx88[0]/2: cx8802_restart_queue: queue is empty lspci: 00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] 00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) 00:08.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02) 00:0a.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12) 00:0d.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) 00:0d.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05) 00:0d.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05) 00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80) 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South] 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) 00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 VGA compatible controller: nVidia Corporation NV10DDR [GeForce 256 DDR] (rev 10) emerge --info: Gentoo Base System version 1.6.15 Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r3 x86_64) ================================================================= System uname: 2.6.17-gentoo-r3 x86_64 AMD Opteron(tm) Processor 144 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 calendar clamav cli crypt cups curl dio directfb dlloader dri dts dvb dvd dvdread eds emboss emu-linux-x86 encode exif fbcon ffmpeg flac foomaticdb fortran gd gif gmp gnome gpm gstreamer gtk gtk2 iconv ieee1394 imagemagick imlib innodb ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lcms lzo lzw lzw-tiff mad matroska mcal mhash mime mjpeg mng mp3 mp4 mpeg msession mysql ncurses network nls nptl nsplugin nvidia ogg openal opengl osc oss pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl seamonkey session sockets spell spl ssl svg tcpd theora threads tidy tiff transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wddx wxwindows x264 xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Please, try strace -o mplayer.strace mplayer [...] [while it's playing, tune analog channels] [exit] and post output of grep ioctl mplayer.strace
Created attachment 8822 [details] grep ioctl from the strace file
Created attachment 8823 [details] ioctl from tvtime
Just to clarify, this was done on amd64 or i386 box?
please add options tuner debug=9 and collect dmesg while tunning again.
Yes this is done on an AMD64 box: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 5 model name : AMD Opteron(tm) Processor 144 stepping : 10 cpu MHz : 1800.000 cache size : 1024 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow bogomips : 3608.94 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp
Created attachment 8828 [details] Dmesg output with debug on There doesn't seem to be a debug option for cx8800 but I did find a vbi_debug and video_debug option. I removed it with this: modprobe -rv cx8800 and reinserted it with this: modprobe -v cx8800 vbi_debug=9 video_debug=9. I opened up mplayer with this: mplayer -tv driver=v4l2:chanlist=us-cable:channel=56:amode=1 tv:// Then I attempted to change channels in mplayer which then recorded the output to dmesg.
I am now using kernel 2.6.19.1 and I still cannot tune analog NTSC channels on the AMD64 arch with the cx88 driver. Is there a fix in the works for this problem?
user did not have the "tuner" module loaded. the "tuner" module is required for analog television reception. This is not a driver bug, file a bug with gentoo -- most likely udev is the problem. (upgrade udev and test again before filing the bug ;-) ) User has already expressed in irc that his device is now working: http://linuxtv.org/irc/v4l/index.php?date=2007-02-09 (scroll down to 2:02)
Yes I was able to finally get this to work. I wasn't aware that I had to load a tuner module as well. I suppose it must have done that automatically on x86 at some point. Anyway, I've posted instructions for this card here: http://linuxtv.org/v4lwiki/index.php/DViCO_FusionHDTV_5_Gold
it is not a difference of x86 vs. AMD64 -- The problem is in your system software -- it should load the appropriate modules, which it is not doing. I recommend that you upgrade udev and test again. If it still doesnt work automatically, then file a bug with gentoo. I repeat -- this is a bug with your distro -- not a kernel bug. Thanks.
ok, i was slightly wrong... the problem was because the kernel module autoloader was disabled. Now that the user has enabled it in his kernel, all is well :-)