loading bttv with modprobe causes an Segmentation Fault (with insmod an oops). code: BAD EIP VALUE insmod.old[2597] exited with preemt_count=1 Reproducible: Always Steps to Reproduce: 1.<modprobe bttv> or 2.<insmod bttv> Actual Results: <modprobe bttv> gives me an "Segmentation Fault". As I loaded bttv with insmod, I got some additional information: code: Bad EIP Value
which kernel ? please provide #emerge info
sorry for forgetting to add the kernel version. i was so tired yesterday :). the problem occurs when I'm using gentoo-kernel 2.4.25 bash-2.05b# emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo) ================================================================= System uname: 2.4.25-gentoo i686 Intel(R) Pentium(R) III CPU family 1266MHz Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -fprefetch-loop-arrays -fforce-addr -fforce-mem" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -fprefetch-loop-arrays -fforce-addr -fforce-mem" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aavm acpi alsa avi cdr crypt cups curl dga directfb distcc dvd emacs encode ethereal evms2 evo fbcon foomaticdb gb gd gdbm ggi gif gtk gtk2 gtkhtml icc icc-pgo imlib java jpeg kde kerberos leim libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls nocardbus oggvorbis opengl pam pdflib png python qt quicktime readline samba sdl socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv zlib"
Can you please see if you can confirm this with vanilla-sources-2.4.25? Also, does the kernel spit out any stack traces or a backtrace?
Yesterday I have compiled the gentoo kernel again, step by step because there are some things I do automatically and I don't remember them after. So there is one point I forgot to say. Everytime after I made a kernel, I install i2c-2.8.1, because the lm-sensors need this package. If I use the i2c from the kernel, the bttv module will work fine. Otherwise, if I use the newer i2c-2.8.1, the bttv module will not work. Tonight I will test this with the vanilla-sources.
Colsing. Found a solution. Use the i2c components in the kernel.