Bug 9387 - IVTV drivers are not SMP and Hyperthreading safe
IVTV drivers are not SMP and Hyperthreading safe
Status: CLOSED OBSOLETE
Product: Drivers
Classification: Unclassified
Component: Video(Other)
All Linux
: P1 high
Assigned To: drivers_video-other
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-15 08:38 UTC by Guy A. Paddock
Modified: 2012-05-17 15:05 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.21 through 2.6.24-rc2-git2
Tree: Mainline
Regression: No


Attachments
Most recent kernel Oops. (47 bytes, text/plain)
2007-11-15 08:49 UTC, Guy A. Paddock
Details
Previous kernel Oops. (47 bytes, text/plain)
2007-11-15 08:49 UTC, Guy A. Paddock
Details
My current kernel config (47 bytes, text/plain)
2007-11-15 08:50 UTC, Guy A. Paddock
Details
Vital System Information (29.38 KB, text/plain)
2007-11-15 08:53 UTC, Guy A. Paddock
Details
Listing in GDB of the code sections indicated by Oops (1.02 KB, text/plain)
2007-11-15 08:55 UTC, Guy A. Paddock
Details
Vital System Information (2.6.24-rc2-git2) (29.69 KB, text/plain)
2007-11-15 12:28 UTC, Guy A. Paddock
Details

Description Guy A. Paddock 2007-11-15 08:38:57 UTC
Most recent kernel where this bug did not occur:
Unknown -- have not yet seen a version that did not demonstrate this issue

Distribution:
Gentoo Linux 2007.0

Hardware Environment:
-SiS chipset
-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

Software Environment:
-Kernel 2.6.24-rc2-git2 at the moment; 2.6.23-gentoo when first reported
-MythTV SVN version 0.21.20070910-2
-Xorg 7.2

Problem Description:
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.
Comment 1 Guy A. Paddock 2007-11-15 08:49:21 UTC
Created attachment 13560 [details]
Most recent kernel Oops.
Comment 2 Guy A. Paddock 2007-11-15 08:49:47 UTC
Created attachment 13561 [details]
Previous kernel Oops.
Comment 3 Guy A. Paddock 2007-11-15 08:50:13 UTC
Created attachment 13562 [details]
My current kernel config
Comment 4 Guy A. Paddock 2007-11-15 08:53:50 UTC
Created attachment 13563 [details]
Vital System Information
Comment 5 Guy A. Paddock 2007-11-15 08:55:12 UTC
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.
Comment 6 Guy A. Paddock 2007-11-15 12:28:57 UTC
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.
Comment 7 Duane Griffin 2007-11-16 14:45:39 UTC
Link to original gentoo bug report:
http://bugs.gentoo.org/show_bug.cgi?id=198420
Comment 8 Alan 2009-03-26 16:53:52 UTC
Please retest with a current kernel and report - it should be better

Note You need to log in before you can comment on or make changes to this bug.