Bug 895460 - Missing drivers (af9013) in kernel 3.7.2
Summary: Missing drivers (af9013) in kernel 3.7.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 902622 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 09:25 UTC by Jan ONDREJ
Modified: 2013-07-04 22:59 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-18 20:43:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Diff compiled modules from build logs. (93.17 KB, patch)
2013-01-15 09:25 UTC, Jan ONDREJ
no flags Details | Diff

Description Jan ONDREJ 2013-01-15 09:25:58 UTC
Created attachment 678680 [details]
Diff compiled modules from build logs.

Description of problem:
After update to kernel 3.7.2, my DVB-T USB stick is not functional due to missing driver. There is no af9013.ko module in kernel or kernel-modules-extra packages.

Version-Release number of selected component (if applicable):
kernel-3.7.2-201.fc18.x86_64
kernel-modules-extra-3.7.2-201.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1. yum update
2. modinfo af9013
  
Actual results:
ERROR: Module af9013 not found.

Additional info:
After downgrade to 3.6.10 kernel my problem was solved.
According to koji logs, this driver was not configured to build (missing CONFIG_DVB_AF9013=m).

http://kojipkgs.fedoraproject.org//packages/kernel/3.6.10/5.fc18/data/logs/i686/build.log
http://kojipkgs.fedoraproject.org//packages/kernel/3.7.2/201.fc18/data/logs/i686/build.log

Comment 1 Josh Boyer 2013-01-15 14:23:36 UTC
Mauro, I'm fairly sure this is a result of CONFIG_MEDIA_SUBDRV_AUTOSELECT defaulting to =y in the 3.7 kernels.  With that set, we can't individually enable this module.  Should it be added to the AUTOSELECT list?

Comment 2 Mauro Carvalho Chehab 2013-01-15 15:36:20 UTC
(In reply to comment #1)
> Mauro, I'm fairly sure this is a result of CONFIG_MEDIA_SUBDRV_AUTOSELECT
> defaulting to =y in the 3.7 kernels.  With that set, we can't individually
> enable this module.  Should it be added to the AUTOSELECT list?

Yes. This device is a frontend:

$ git grep CONFIG_DVB_AF9013 drivers/media/
drivers/media/dvb-frontends/Makefile:obj-$(CONFIG_DVB_AF9013) += af9013.o
drivers/media/dvb-frontends/af9013.h:#if defined(CONFIG_DVB_AF9013) || \
drivers/media/dvb-frontends/af9013.h:     (defined(CONFIG_DVB_AF9013_MODULE) && defined(MODULE))
drivers/media/dvb-frontends/af9013.h:#endif /* CONFIG_DVB_AF9013 */

$ git grep af9013.h drivers/media/
drivers/media/dvb-frontends/af9013_priv.h:#include "af9013.h"
drivers/media/usb/dvb-usb-v2/af9015.h:#include "af9013.h"

The only driver that uses it is af9015. Its Kconfig should be autoselecting it.
At least on the current upstream, this seems to be correct:

config DVB_USB_AF9015
        tristate "Afatech AF9015 DVB-T USB2.0 support"
        depends on DVB_USB_V2
        select DVB_AF9013

Comment 3 Josh Boyer 2013-01-15 15:59:36 UTC
OK.  We don't have DVB_USB_V2 set, so that doesn't show up.  That would be the issue I guess.

Comment 4 Josh Boyer 2013-01-15 16:01:32 UTC
Fixed in Fedora git.

Comment 5 Fedora Update System 2013-01-16 18:38:40 UTC
kernel-3.7.2-204.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.7.2-204.fc18

Comment 6 Fedora Update System 2013-01-18 20:43:34 UTC
kernel-3.7.2-204.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Josh Boyer 2013-01-22 14:10:31 UTC
*** Bug 902622 has been marked as a duplicate of this bug. ***


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