Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483534

Summary: =sys-kernel/gentoo-sources-3.10.7 - cx23885: tvheadend-3.2 finds no hardware
Product: Gentoo Linux Reporter: georg
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.kernel.org/show_bug.cgi?id=61131
Whiteboard: watch-linux-bugzilla
Package list:
Runtime testing required: ---
Attachments: emerge --info
bisect information for bug

Description georg 2013-09-03 21:41:30 UTC
Created attachment 357798 [details]
emerge --info

I use gentoo as a receiver. I used =sys-kernel/gentoo-sources-3.8.13 with xbmc-12.2 and =media-tv/tvheadend-3.2 all works fine. 

Today i upgraded to =sys-kernel/gentoo-sources-3.10.7 and tvheadend cant find the hardware (cx23885). It seems to load the firmware. =media-tv/w_scan-20130331 can scan tv sender and is ok, but tvheadend dont do it. 

All i can say is, if i boot the old 3.8.13 kernel, the card works.
Comment 1 georg 2013-09-04 03:44:30 UTC
I'm trying to bisect linux-stable.git and determine the commit id, which introduced the bug.

This can take some time.
Comment 2 georg 2013-09-04 20:00:50 UTC
Created attachment 357852 [details]
bisect information for bug
Comment 3 georg 2013-09-04 20:02:57 UTC
The offended commit is contained in v3.10.7 but not in v3.8.13. 

c1965eae65f0db2eee574f72aab4e8b34ecf8f9c is the first bad commit
commit c1965eae65f0db2eee574f72aab4e8b34ecf8f9c
Author: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
Date:   Sun Dec 23 19:25:09 2012 -0300

Bye
Georg
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-04 20:28:27 UTC
Seems to talk about using an external (out of kernel?) tuner driver in the commit log message; hmm, you could try to contact the author for more information.
Comment 5 georg 2013-09-04 21:02:32 UTC
No its in linux-stable.git
Comment 6 georg 2013-09-04 21:04:10 UTC
git remote -vv
origin	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (fetch)
origin	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (push)
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-04 21:51:35 UTC
Yes, that I know; please read my previous comment again and read the commit log message at http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=c1965eae65f0db2eee574f72aab4e8b34ecf8f9c
Comment 8 georg 2013-09-05 04:32:52 UTC
Hi Tom,
i wrote Konstantin an email and pointed him to that bug report. 
If i dont get an answer i'll mail to the linux-tv ML.

Bye
Georg
Comment 9 georg 2013-09-05 17:18:04 UTC
I digged a little in the code an saw that the ts2020 is now a own module. This module gets loaded with 3.10.7. 

[   11.096303] ts2020_attach: Find tuner TS2020!

Here is the lspci -vvv output for the card

01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 02)
	Subsystem: Device d470:9022
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fe400000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <2us, L1 <4us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [80] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [90] Vital Product Data
		Product Name: "
		End
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		AERCap:	First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [200 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed+ WRR32+ WRR64+ WRR128-
		Ctrl:	ArbSelect=WRR64
		Status:	InProgress-
		Port Arbitration Table [240] <?>
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Kernel driver in use: cx23885
	Kernel modules: cx23885
Comment 10 georg 2013-09-08 11:33:03 UTC
Got no answer from Konstantin, so i wrote to the ML. Lets see what happens ;)
Comment 11 georg 2013-09-11 09:15:26 UTC
Got no answer from the ML, so i filled an bugreport on kernel.org

https://bugzilla.kernel.org/show_bug.cgi?id=61131