Kernel Bug Tracker – Bug 9387
IVTV drivers are not SMP and Hyperthreading safe
Last modified: 2012-05-17 15:05:41 UTC
Most recent kernel where this bug did not occur:
Unknown -- have not yet seen a version that did not demonstrate this issue
Gentoo Linux 2007.0
-1 GB DDR400 RAM
-Pentium 4 2.8 GHz system with Hyperthreading
-2 PVR-500 capture cards
-Air2PC BCM3510 capture card
-pcHDTV HD-3000 capture card
-nVidia GeForce 6600 GT video card
-Kernel 2.6.24-rc2-git2 at the moment; 2.6.23-gentoo when first reported
-MythTV SVN version 0.21.20070910-2
This issue was originally reported to the Gentoo kernel maintainers, as I was originally using a Gentoo custom kernel, but they referred me to submitting this bug here after I upgraded to a vanilla 2.6.24-rc1-git15 and 2.6.24-rc2-git2 and still saw the issue.
Essentially, when SMP is enabled, the ivtv drivers can cause the system to crash with an Oops that points to the IRQ handler for the drivers. The crash is sporadic and random -- it never appears to occur at any predictable time, although having many simultaneous recordings at once may cause it to happen more frequently. The Oops logs and all vital system information, including the kernel config, and lspci output are included.
Steps to reproduce:
1. Enable SMP support in the kernel.
2. Repeatedly start & stop multiple simultaneous recordings with multiple tuners.
This should eventually result in a crash.
Created attachment 13560 [details]
Most recent kernel Oops.
Created attachment 13561 [details]
Previous kernel Oops.
Created attachment 13562 [details]
My current kernel config
Created attachment 13563 [details]
Vital System Information
Created attachment 13564 [details]
Listing in GDB of the code sections indicated by Oops
This is the output from running "list *stream_enc_dma_append+0xcc" and "list *ivtv_irq_handler+0xc13" in GDB on drivers/media/video/ivtv/ivtv-irq.o with DEBUG_INFO on.
Created attachment 13567 [details]
Vital System Information (2.6.24-rc2-git2)
Sorry; realized that the vitals I posted before were for the 2.6.23, instead of 2.6.24-rc2-git2 which is what I'm running now.
Link to original gentoo bug report:
Please retest with a current kernel and report - it should be better