Hi, I did need to reboot my mythtv box a few days ago, and noticed some scheduled recordins were not recorded by mythtv. I digged into dmesg and found this: ivtv0: unable to open firmware v4l-cx2341x-enc.fw ivtv0: did you put the firmware in the hotplug firmware directory? ivtv0 warning: failed loading encoder firmware ivtv0 warning: Error loading firmware -3! ivtv0: Error -3 initializing firmware. ivtv0: Error -12 on initialization U few searches on the net showed me some steps to follow (like adding ACTION=="add", SUBSYSTEM=="firmware", RUN+="/sbin/firmware_helper" to the udev rules, but none of them fixed my problem. I remebered updating udev a while ago (and I did not reboot since then), so this might be the problem. The version which I have on my system now is udev-079-r1. But I already downgraded to 070-r1 and 068-r1 but none of them fixed the problem. Ivtv version: 0.4.2, kernel 2.6.12-gentoo-r10 venice rules.d # ls -la /lib/firmware/ total 700 drwxr-xr-x 2 root root 4096 Jan 18 16:26 . drwxr-xr-x 10 root root 4096 Jan 18 16:26 .. -rw-r--r-- 1 root root 262144 Jan 29 15:02 v4l-cx2341x-dec.fw -rw-r--r-- 1 root root 262144 Jan 29 15:02 v4l-cx2341x-enc.fw -rw-r--r-- 1 root root 155648 Jan 29 15:02 v4l-cx2341x-init.mpg -rw-r--r-- 1 root root 14264 Jan 29 15:02 v4l-cx25840.fw venice rules.d # strings /sbin/firmware_helper ... /lib/firmware ... What else can I try / do or what more info do you need to track this one down. venice rules.d # emerge info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa apache2 apm audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cddb crypt cups curl dga divx4linux dts dvd dvdr eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif glut gmp gstreamer gtk gtk2 guile h323 howl idn imagemagick imlib ipv6 ithreads joystick jpeg lcms ldap libg++ libwww mad matroska mhash mikmod mjpeg mmx mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl php png python quicktime readline resperl samba sdl slang sndfile snmp speex spell ssl svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev ukcid unicode utf8 v4l vcd vmdbmysql vorbis wmf x86 xine xinerama xml2 xmms xosd xv xvid zapras zaptel zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Upgrade to a newer kernel. There should have been some checks to prevent you from installing a bunch of those packages on such an old kernel. Maybe you have one configured in /usr/src/linux but are still running on old one.
*** Bug 120843 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Upgrade to a newer kernel. There should have been some checks to prevent you > from installing a bunch of those packages on such an old kernel. Maybe you have > one configured in /usr/src/linux but are still running on old one. > I don't see why I should upgrade a newer kernel. 2.6.12 works fine for me, and everything above this one doesn't work. I am using a Marvell SATA chipset, which does only work with 2.6.12 at this moment (kernel 2.6.15 has native support, but PIO mode only which is very slow). Is this an udev issue? I would love to downgrade to an older version which is working, but I can't find any on my gentoo system.
Ok, I tried upgrading my kernel to 2.6.15-gentoo-r1 (without raid, just for testing) and I receive the very same error message: ivtv0: unable to open firmware v4l-cx2341x-enc.fw ivtv0: did you put the firmware in the hotplug firmware directory? ivtv0 warning: failed loading encoder firmware ivtv0 warning: Error loading firmware -3! ivtv0: Error -3 initializing firmware. ivtv0: Error -12 on initialization ivtv: probe of 0000:00:0c.0 failed with error -12 What else can I try?
I reverted back to ivtv-0.4.0-r3 which works fine on both kernels.
I found that my /proc/sys/kernel/hotplug was empty. Putting /sbin/udevsend or /sbin/hotplug in there seemed to fix it for me.
Hi, I seems that ivtv-0.4.2 is depends on the hotplug package, so just do an: emerge sys-apps/hotplug and you are running ;) At least that's what got me running again.
(In reply to comment #6) > I found that my /proc/sys/kernel/hotplug was empty. Putting /sbin/udevsend or > /sbin/hotplug in there seemed to fix it for me. > Mine was already set to /sbin/udevsend. I emerged hotplug, and changed it to /sbin/hotplug, and things seemed to work now. I haven't restarted yet, but I will do so as soon as I possibly can.
So then this is fixed? Reopen if it's still an issue.