[Bug 227524] New: NTSC TV cards dont work
https://bugzilla.novell.com/show_bug.cgi?id=227524 Summary: NTSC TV cards dont work Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: paul@aragog.com QAContact: qa@suse.de Fresh install of openSUSE 10.2 x86_64 on an ASUS P5W DH DELUXE/WIFI-AP with Intel Core 2 Extreme x6800 and 4GB DDR2-800 RAM. Using either pcHDTV-3000 or Hauppauge WinTV card doesn't work, and dmesg shows a crash in the corresponding v4l2 driver whenever I try to run tvtime or kdetv, after which the TV application hangs. dmesg excerpt for the Hauppauge WinTV card follows: bootsplash: status on console 0 changed to on Machine check events logged Unable to handle kernel paging request at ffff80ff05677140 RIP: [<ffffffff80314a5c>] sync_single+0x20/0x7b PGD 0 Oops: 0000 [1] SMP last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_governor CPU 0 Modules linked in: ipt_MASQUERADE xt_pkttype ipt_TCPMSS af_packet nfsd exportfs lockd nfs_acl sunrpc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave speedstep_centrino freq_table button battery ac ip6t_REJECT xt_tcpudp ipt_REJECT xt_state iptable_mangle iptable_nat ip_nat iptable_filter ip6table_mangle ip_conntrack nfnetlink ip_tables ip6table_filter ip6_tables x_tables ipv6 usbhid xfs loop dm_mod bt878 tuner tvaudio msp3400 pata_jmicron nvidia bttv video_buf firmware_class ir_common compat_ioctl32 i2c_algo_bit btcx_risc tveeprom ohci1394 videodev v4l1_compat v4l2_common ieee1394 ide_cd cdrom uhci_hcd sky2 ehci_hcd snd_hda_intel snd_hda_codec snd_pcm snd_timer snd soundcore generic i2c_i801 i2c_core usbcore snd_page_alloc floppy ext3 mbcache jbd linear raid456 xor raid0 edd raid1 fan siimage sg pdc202xx_old ata_piix ahci libata piix thermal processor sd_mod scsi_mod ide_disk ide_core Pid: 5233, comm: kdetv Tainted: P M U 2.6.18.2-34-default #1 RIP: 0010:[<ffffffff80314a5c>] [<ffffffff80314a5c>] sync_single+0x20/0x7b RSP: 0018:ffff8101107d3af0 EFLAGS: 00010246 RAX: ffffffffe0001a28 RBX: ffff810128322c00 RCX: 0000000000000002 RDX: ffff81000566a000 RSI: 000000000235e000 RDI: ffff81013ad2a870 RBP: 000000000235e000 R08: 0000000000000000 R09: 0000000000001000 R10: 000000000235e000 R11: ffffffff80315843 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000010 R15: ffff81013ad2a870 FS: 0000000040802940(0063) GS:ffffffff805b7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffff80ff05677140 CR3: 000000011622f000 CR4: 00000000000006e0 Process kdetv (pid: 5233, threadinfo ffff8101107d2000, task ffff81011dab00c0) Stack: ffffffff803158d3 0000000000000296 ffff81013968a030 ffff8101212aa1d0 ffff81013ad2a800 ffff8101107d3e28 ffffffff88384220 ffff8101212aa000 ffffffff883503af ffff81013968a000 ffff8101212aa1d0 0000000000000000 Call Trace: [<ffffffff803158d3>] swiotlb_sync_sg_for_cpu+0x90/0xa8 [<ffffffff883503af>] :video_buf:videobuf_dma_sync+0x6b/0x72 [<ffffffff88352195>] :video_buf:videobuf_dqbuf+0x13b/0x1b6 [<ffffffff88361290>] :bttv:bttv_do_ioctl+0x1126/0x1966 [<ffffffff802b12c7>] zone_statistics+0x3e/0x6d [<ffffffff8020a101>] get_page_from_freelist+0x340/0x3b2 [<ffffffff8020761f>] find_get_page+0x21/0x47 [<ffffffff80211335>] filemap_nopage+0x188/0x322 [<ffffffff88302b25>] :videodev:video_usercopy+0x1a1/0x265 [<ffffffff8836016a>] :bttv:bttv_do_ioctl+0x0/0x1966 [<ffffffff8025d53c>] mutex_lock+0xd/0x1d [<ffffffff8023e4d2>] do_ioctl+0x55/0x6b [<ffffffff8022e1f7>] vfs_ioctl+0x248/0x261 [<ffffffff80248377>] sys_ioctl+0x59/0x78 [<ffffffff8025800e>] system_call+0x7e/0x83 Code: 48 8b 04 c2 74 07 41 ff c8 75 45 eb 21 83 f9 02 74 04 85 c9 RIP [<ffffffff80314a5c>] sync_single+0x20/0x7b RSP <ffff8101107d3af0> CR2: ffff80ff05677140 <1>Unable to handle kernel paging request at ffff80ff05678860 RIP: [<ffffffff80314a5c>] sync_single+0x20/0x7b PGD 0 Oops: 0000 [2] SMP last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_governor CPU 0 Modules linked in: ipt_MASQUERADE xt_pkttype ipt_TCPMSS af_packet nfsd exportfs lockd nfs_acl sunrpc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave speedstep_centrino freq_table button battery ac ip6t_REJECT xt_tcpudp ipt_REJECT xt_state iptable_mangle iptable_nat ip_nat iptable_filter ip6table_mangle ip_conntrack nfnetlink ip_tables ip6table_filter ip6_tables x_tables ipv6 usbhid xfs loop dm_mod bt878 tuner tvaudio msp3400 pata_jmicron nvidia bttv video_buf firmware_class ir_common compat_ioctl32 i2c_algo_bit btcx_risc tveeprom ohci1394 videodev v4l1_compat v4l2_common ieee1394 ide_cd cdrom uhci_hcd sky2 ehci_hcd snd_hda_intel snd_hda_codec snd_pcm snd_timer snd soundcore generic i2c_i801 i2c_core usbcore snd_page_alloc floppy ext3 mbcache jbd linear raid456 xor raid0 edd raid1 fan siimage sg pdc202xx_old ata_piix ahci libata piix thermal processor sd_mod scsi_mod ide_disk ide_core Pid: 5236, comm: kdetv Tainted: P M U 2.6.18.2-34-default #1 RIP: 0010:[<ffffffff80314a5c>] [<ffffffff80314a5c>] sync_single+0x20/0x7b RSP: 0018:ffff810110341b20 EFLAGS: 00010246 RAX: ffffffffe0001d0c RBX: ffff810110338000 RCX: 0000000000000002 RDX: ffff81000566a000 RSI: 00000000024d0000 RDI: ffff81013ad2a870 RBP: 00000000024d0000 R08: 0000000000000000 R09: 0000000000001000 R10: 00000000024d0000 R11: ffffffff80315843 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000208 R15: ffff81013ad2a870 FS: 0000000041003940(0063) GS:ffffffff805b7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffff80ff05678860 CR3: 000000011622f000 CR4: 00000000000006e0 Process kdetv (pid: 5236, threadinfo ffff810110340000, task ffff810138940040) Stack: ffffffff803158d3 0000000000000296 ffff8101346da830 ffff81011c0d8018 ffff81013ad2a800 0000000000000000 ffffffff88384220 ffff81011c0d8000 ffffffff883503af ffff81011c0d8018 ffff8101346da800 ffff8101104f92c0 Call Trace: [<ffffffff803158d3>] swiotlb_sync_sg_for_cpu+0x90/0xa8 [<ffffffff883503af>] :video_buf:videobuf_dma_sync+0x6b/0x72 [<ffffffff88360b48>] :bttv:bttv_do_ioctl+0x9de/0x1966 [<ffffffff8030f8ae>] __next_cpu+0x19/0x28 [<ffffffff8027e7c4>] find_busiest_group+0x20d/0x61a [<ffffffff8025c8e8>] thread_return+0x0/0xef [<ffffffff8025d275>] schedule_timeout+0x1e/0xad [<ffffffff80294cbe>] get_futex_key+0x47/0x10c [<ffffffff80294e45>] unqueue_me+0x97/0x9d [<ffffffff8023c361>] do_futex+0x203/0xbd8 [<ffffffff88302b25>] :videodev:video_usercopy+0x1a1/0x265 [<ffffffff8836016a>] :bttv:bttv_do_ioctl+0x0/0x1966 [<ffffffff8027f340>] default_wake_function+0x0/0xe [<ffffffff8023e4d2>] do_ioctl+0x55/0x6b [<ffffffff8022e1f7>] vfs_ioctl+0x248/0x261 [<ffffffff80295dbe>] sys_futex+0x103/0x121 [<ffffffff80248377>] sys_ioctl+0x59/0x78 [<ffffffff8025800e>] system_call+0x7e/0x83 Code: 48 8b 04 c2 74 07 41 ff c8 75 45 eb 21 83 f9 02 74 04 85 c9 RIP [<ffffffff80314a5c>] sync_single+0x20/0x7b RSP <ffff810110341b20> CR2: ffff80ff05678860 <6>st: Version 20050830, fixed bufsize 32768, s/g segs 256 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 lp: driver loaded but no devices found end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |paul@aragog.com ------- Comment #1 from gregkh@novell.com 2006-12-14 13:09 MST ------- Does the same problem occur if you do not have the closed source nvidia modules installed? If so, please post them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 paul@aragog.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|paul@aragog.com | ------- Comment #2 from paul@aragog.com 2006-12-14 21:32 MST ------- I uninstalled the nvidia driver, rebooted, ran tvtime and got the same crash: bttv0: PLL can sleep, using XTAL (28636363). Unable to handle kernel paging request at ffff80ff05670a30 RIP: [<ffffffff80314a5c>] sync_single+0x20/0x7b PGD 0 Oops: 0000 [1] SMP last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_governor CPU 0 Modules linked in: ipt_MASQUERADE xt_pkttype ipt_TCPMSS af_packet nfsd exportfs lockd nfs_acl sunrpc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave speedstep_centrino freq_table button battery ac ip6t_REJECT xt_tcpudp ipt_REJECT xt_state iptable_mangle iptable_nat ip_nat iptable_filter ip6table_mangle ip_conntrack nfnetlink ip_tables ip6table_filter ip6_tables x_tables ipv6 usbhid xfs loop dm_mod bt878 tuner tvaudio msp3400 pata_jmicron bttv video_buf firmware_class ir_common compat_ioctl32 i2c_algo_bit btcx_risc tveeprom videodev v4l1_compat v4l2_common ehci_hcd snd_hda_intel snd_hda_codec uhci_hcd usbcore ohci1394 ieee1394 i2c_i801 i2c_core ide_cd cdrom snd_pcm snd_timer snd generic soundcore sky2 snd_page_alloc floppy ext3 mbcache jbd linear raid456 xor raid0 edd raid1 fan siimage pdc202xx_old sg ata_piix ahci libata piix thermal processor sd_mod scsi_mod ide_disk ide_core Pid: 5400, comm: tvtime Tainted: G M U 2.6.18.2-34-default #1 RIP: 0010:[<ffffffff80314a5c>] [<ffffffff80314a5c>] sync_single+0x20/0x7b RSP: 0018:ffff81011b8a5af0 EFLAGS: 00010246 RAX: ffffffffe0000d46 RBX: ffff81011fd0e000 RCX: 0000000000000002 RDX: ffff81000566a000 RSI: 0000000001ced000 RDI: ffff81013ad2a870 RBP: 0000000001ced000 R08: 0000000000000000 R09: 0000000000001000 R10: 0000000001ced000 R11: ffffffff80315843 R12: 0000000000000002 R13: 0000000000000000 R14: 00000000000000a9 R15: ffff81013ad2a870 FS: 00002b1f4a12aae0(0000) GS:ffffffff805b7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffff80ff05670a30 CR3: 000000011a67f000 CR4: 00000000000006e0 Process tvtime (pid: 5400, threadinfo ffff81011b8a4000, task ffff81013a73b040) Stack: ffffffff803158d3 0000000000000296 ffff810134d48230 ffff810134297418 ffff81013ad2a800 ffff81011b8a5e28 ffffffff8837f220 ffff810134297400 ffffffff8834b3af ffff810134d48200 ffff810134297418 0000000000000000 Call Trace: [<ffffffff803158d3>] swiotlb_sync_sg_for_cpu+0x90/0xa8 [<ffffffff8834b3af>] :video_buf:videobuf_dma_sync+0x6b/0x72 [<ffffffff8834d195>] :video_buf:videobuf_dqbuf+0x13b/0x1b6 [<ffffffff8835c290>] :bttv:bttv_do_ioctl+0x1126/0x1966 [<ffffffff8021c5bf>] __pollwait+0x0/0xe0 [<ffffffff8027f340>] default_wake_function+0x0/0xe [<ffffffff80246969>] unix_stream_recvmsg+0x418/0x54b [<ffffffff80210aed>] sock_def_readable+0x34/0x5f [<ffffffff802464a0>] unix_stream_sendmsg+0x25d/0x30e [<ffffffff8024227d>] do_sock_read+0xc0/0xcb [<ffffffff8038fbfc>] sock_aio_read+0x4f/0x5e [<ffffffff8830bb25>] :videodev:video_usercopy+0x1a1/0x265 [<ffffffff8835b16a>] :bttv:bttv_do_ioctl+0x0/0x1966 [<ffffffff8023e4d2>] do_ioctl+0x55/0x6b [<ffffffff8022e1f7>] vfs_ioctl+0x248/0x261 [<ffffffff80248377>] sys_ioctl+0x59/0x78 [<ffffffff8025800e>] system_call+0x7e/0x83 Code: 48 8b 04 c2 74 07 41 ff c8 75 45 eb 21 83 f9 02 74 04 85 c9 RIP [<ffffffff80314a5c>] sync_single+0x20/0x7b RSP <ffff81011b8a5af0> CR2: ffff80ff05670a30 <6>Machine check events logged I've got another PC with openSUSE 10.2 x86_64 where the cx8800 driver works fine. The hardware is different though -- it's a single-core Celeron D 356 on ASRock 775Dual-VSTA motherboard with 2GB DDR2-553 RAM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |kraxel@novell.com |maintainers@forge.provo.nove| |ll.com | Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 ------- Comment #3 from kraxel@novell.com 2006-12-21 03:37 MST ------- Try booting with mem=2g, it likely works then. Probably some of the 4G gets mapped above 4G, 32bit PCI cards can't reach that memory directly. Also attach the full boot log please. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 ------- Comment #4 from paul@aragog.com 2006-12-21 11:54 MST ------- (In reply to comment #3)
Try booting with mem=2g, it likely works then.
Probably some of the 4G gets mapped above 4G, 32bit PCI cards can't reach that memory directly.
Yes, that worked. Strange though -- I had the same machine running SuSE 9.3 i386 and the TV cards worked fine even with 4GB RAM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 ------- Comment #5 from paul@aragog.com 2006-12-21 11:55 MST ------- Created an attachment (id=110737) --> (https://bugzilla.novell.com/attachment.cgi?id=110737&action=view) boot log file (with mem=2g kernel parameter) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 kraxel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |paul@aragog.com ------- Comment #6 from kraxel@novell.com 2007-01-08 03:35 MST ------- Can I get the boot messages without mem=2g too please? Oh, and boot messages for a i386 kernel (also without mem=2g) would be great too if you can do that without too much hassle (rescue system maybe?). Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 paul@aragog.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|paul@aragog.com | ------- Comment #7 from paul@aragog.com 2007-01-08 19:59 MST ------- Created an attachment (id=111932) --> (https://bugzilla.novell.com/attachment.cgi?id=111932&action=view) boot log - 4GB RAM, x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 ------- Comment #8 from paul@aragog.com 2007-01-08 20:27 MST ------- Created an attachment (id=111934) --> (https://bugzilla.novell.com/attachment.cgi?id=111934&action=view) i686 openSUSE 10.2 Rescue mode bootlog I checked using top to see how much RAM the kernel saw after a 32 bit boot into the suse rescue mode, and it was 3GB. I am not sure whether that's significant or not. I couldn't get enough useful information out of dmesg (it was truncated), so I am attaching the /var/log/boot.msg instead. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 kraxel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #9 from kraxel@novell.com 2007-01-09 04:33 MST ------- Yep, the machine has 3GB mapped below the 4G border and 1GB above. Thus the machine should still work fine with "mem=3g" for the time being. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 kraxel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |paul@aragog.com ------- Comment #10 from kraxel@novell.com 2007-01-09 05:44 MST ------- Testkernel at http://www.suse.de/~kraxel/bug227524/ That one should work ok even without mem= limitation, please try. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 ------- Comment #11 from kraxel@novell.com 2007-01-09 05:46 MST ------- Created an attachment (id=111987) --> (https://bugzilla.novell.com/attachment.cgi?id=111987&action=view) bugfix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 paul@aragog.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|paul@aragog.com | ------- Comment #12 from paul@aragog.com 2007-01-09 23:40 MST ------- (In reply to comment #10)
Testkernel at http://www.suse.de/~kraxel/bug227524/ That one should work ok even without mem= limitation, please try.
It worked -- tvtime worked without crashing the kernel. Just curious -- do I also need the corresponding kernel source tree in order to reinstall the nvidia driver? I need accelerated 3D for my work (image processing). Will this patch be included in the kernel updates for openSUSE 10.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227524 kraxel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #13 from kraxel@novell.com 2007-01-10 02:06 MST ------- The change is small enougth that it shouldn't break nvidia. I've committed the patch now, the next 10.2 kernel update will have it included. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com