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

Bug 168007

Summary: cx25840 kernel module contains a bug which makes it fail to load firmware
Product: Gentoo Linux Reporter: Doug Goldstein (RETIRED) <cardoe>
Component: New packagesAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: beandog, dan.dickey, kernel
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 167780    
Attachments: cx25840.diff

Description Doug Goldstein (RETIRED) gentoo-dev 2007-02-22 15:37:41 UTC
The 2.6.20 kernel included a bug in the cx25840 module that prevents it from being able to load it's firmware. Attached is a patch I received from the IVTV driver author, who is part of the v4l2 group.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-02-22 15:38:24 UTC
Created attachment 110982 [details, diff]
cx25840.diff
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-02-24 18:07:18 UTC
This isn't merged upstream and also isn't merged in the v4l subsystem tree.

Please provide the name/email of the patch author, and a description of the problem you saw before this patch, so that I can submit it upstream.

Also, in future, it helps me if the patches you post can be applied with -p1 from the root of the kernel sources directory. Thanks.
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2007-02-24 19:08:09 UTC
(In reply to comment #2)
> This isn't merged upstream and also isn't merged in the v4l subsystem tree.
> 
> Please provide the name/email of the patch author, and a description of the
> problem you saw before this patch, so that I can submit it upstream.
> 
> Also, in future, it helps me if the patches you post can be applied with -p1
> from the root of the kernel sources directory. Thanks.
> 

Upstream author is Hans Verkuil, hverkuil@xs4all.nl.  The details are in the README of ivtv-0.10.0 release.

"NOTE: This driver will work with kernels 2.6.18, 2.6.19 and 2.6.20. For the
latter kernel you will need to apply the cx25840.diff patch that is in the
'misc' directory (only if your card has the cx2584x chip, it is not needed
otherwise). The 2.6.20 kernel caused a cx2584x bug to surface that prevents
loading of the cx2584x firmware."
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-03-06 19:00:22 UTC
thanks, this got merged upstream
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-03-07 15:12:37 UTC
Fixed in gentoo-sources-2.6.20-r1