Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37277 - lm-sensors 2.8.1 (bttv module) makes an oops using modprobe
Summary: lm-sensors 2.8.1 (bttv module) makes an oops using modprobe
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: (DEPRECATED)
Depends on:
Reported: 2004-01-05 02:38 UTC by Stephane Loeuillet
Modified: 2004-04-09 03:17 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Loeuillet 2004-01-05 02:38:10 UTC
kernel : vanilla 2.4.23
older working bttv : lm-sensors-2.7.0-r1
newer breaking bttv : lm-sensors-2.8.1

removing bttv from /etc/modules.autoload.d/kernel-2.4 was not enought as hotplug pci did find it and tried to load it

so, i removed bttv.o after booting to another kernel and boot went fine.

if someone can tell me how to reproduce this to have a usable stack-trace/oops, you're welcome.

Reproducible: Always
Steps to Reproduce:
Comment 1 Stephane Loeuillet 2004-01-05 02:40:12 UTC
btw, i see no change about bttv/bt878 in recents lm-sensors changelog :

i'll give a try to 2.8.2 today (or even CVS) to see if it was fixed.
Comment 2 Stephane Loeuillet 2004-01-05 03:16:29 UTC
argh, you should have wait before bumping i2c/lm-sensors 2.8.x !!!!

it is not API compatible with I2C modules in kernel 2.4.23 and lower

this would only be fixed in 2.4.24 which is not yet out :

patch for lower kernels here : (explains problem and solution)

i2c-2.8.0 and later are not API compatible to earlier i2c
releases due to struct changes; therefore you must NOT ENABLE
any other i2c drivers (e.g. bttv) in the kernel.
Do NOT use lm-sensors 2.8.2 or i2c-2.8.2 directly out of this package
if you require bttv or related modules.

Users whose systems require additional i2c-related
kernel modules (bttv, i2c-matrox, rivatv, zoran...)
will require additional patches for the Linux 2.4.21 and later kernels.
These patches fix compatibility differences between i2c-2.8.1 and
the Linux 2.4 kernels.
A complete installation guide is available at
(and mirrored at  ),
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-01-05 13:51:21 UTC
I unmasked lm-sensors-2.8.1 and i2c-2.8.1 because there was support in gentoo-sources for I2C 2.8.1 and that support has been in there for a while - the idea is to get matching support between gentoo-sources and lm-sensors. Please see bug #36243. Also, there's a warning in the I2C ebuilds for this, which should get pulled in by the lm-sensors dependency.
Comment 4 Anders Hellgren gentoo-dev 2004-03-22 10:28:45 UTC
What is the status on this regarding the 2.4.25 gentoo-sources? bttv + lm-sensors worked fine in 2.4.22-r7 but is a no go in 2.4.25-gentoo.
Comment 5 Anders Hellgren gentoo-dev 2004-03-22 23:53:17 UTC
Considering bug 45450, shouldn't this be marked invalid also? 
Comment 6 Jason Cox (RETIRED) gentoo-dev 2004-04-08 21:40:11 UTC
I do believe this should be marked invalid as well. Does it work when you emerge lm_sensors? Does it work on a 2,6 kernel?
Comment 7 Stephane Loeuillet 2004-04-09 03:06:35 UTC
i2c & lm_sensors 2.8.x can't be used in 2.6 kernels as they are already inside it
the ebuild does a check on kernel version

i fully migrated to 2.6 so this is no more an issue for me

feel free to close this one
Comment 8 Jason Cox (RETIRED) gentoo-dev 2004-04-09 03:17:25 UTC
Closing bug. Upgrade in kernel fixed it.
Comment 9 Jason Cox (RETIRED) gentoo-dev 2004-04-09 03:17:36 UTC