Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151357 - ivtv ebuild should check for CONFIG_KMOD
Summary: ivtv ebuild should check for CONFIG_KMOD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-14 09:29 UTC by Christian Güdel
Modified: 2006-10-17 09:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed ebuild for 0.8.0 (ivtv-0.8.0.ebuild,1.73 KB, text/plain)
2006-10-14 09:32 UTC, Christian Güdel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Güdel 2006-10-14 09:29:57 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1b2) Gecko/20060601 Epiphany/2.16 BonEcho/2.0b2 (Ubuntu-edgy)
Build Identifier: 

The ivtv ebuild checks for various kernel configuration options, but not for
CONFIG_KMOD which is required as stated at
http://ivtvdriver.org/index.php/Howto#Kernel_configuration_specifics

Reproducible: Always

Steps to Reproduce:
1. Disable CONFIG_KMOD, build kernel, reboot
2. modprobe ivtv will give you failed to load module tuner i.e

Actual Results:  
ivtv not working correctly

Expected Results:  
Checked for CONFIG_KMOD

Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3,
2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
Last Sync: Mon, 09 Oct 2006 07:30:06 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 elibc_glibc input_devices_evdev input_devices_keyboard
input_devices_mouse kernel_linux nptl nptlonly userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Güdel 2006-10-14 09:32:00 UTC
Created attachment 99661 [details]
Fixed ebuild for 0.8.0
Comment 2 Dan A. Dickey 2006-10-16 09:49:53 UTC
Dup of #149039?
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-10-17 08:40:21 UTC
You are actually incorrect. It does not require KMOD at all. KMOD is a method by which other kernel modules can request features from the kernel. The current running kernel might not have that feature available so it queries for a module that provides that feature and then it loads that module. You can very simply load the proper and appropirate modules for your kernel without needing this enabled. In fact many users who have problems with this feature (i.e. the wrong module or wrong feature is loaded) disable KMOD and load items themselves.

However, this feature is enabled by default in kernel configs and the help selection says it's strongly advised you leave it enabled. Clearly this is a clear cut example of someone not understanding options and flicking on and off switches that they are clueless about. And then not understanding what they did wrong.
Comment 4 Christian Güdel 2006-10-17 09:59:57 UTC
Well, this may be true, it runs without the KMOD option if you load all the required modules by hand. On the other side the ivtv developers recommend to enable the option... but I'm ok with your decision.