Problem: Udev 103 became stable, forcing an upgrade. I removed the old udev, coldplug, cleaned out the udev rules, and installed the new udev and all non-kernel drivers. All drivers work fine, except the ivtv drivers. It attempts to install the drivers, but then after the board is detected, it fails to load firmware, with an error message saying the file should be a specific size, and in the appropriate location, which both size and location were verified. Is there a specific udev rule for this device? saruman ~ # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686) ================================================================= System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.12.6 Last Sync: Sun, 26 Nov 2006 06:01:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 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.60 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-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j3" 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="X a52 aac aalib acl acpi alsa amarok apache2 arts artworkextra avi berkdb binary-drivers bitmap-fonts bluetooth bootsplash cairo cdda cddb cdinitscripts cdparanoia cdr cdrom cgi clamav clamd cli cracklib crypt css csv cups curl curlwrappers dbus dlloader doc dpms dri dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal examples fam fame ffmpeg fftw firefox flac font-server fontconfig foomaticdb fortran gdbm gif gimp gimpprint gpm graphicsmagick gstreamer gtk gvim gzip hal hash hddtemp html httpd iconv icq ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse install ipod isdnlog ithreads ivtv java javascript jfs jpeg kde kernel_linux lame libg++ linguas_en lirc lirc_devices_hauppauge live lm_sensors logrotate lpr mad mikmod mjpeg mp3 mp4 mp4live mpeg mpeg2 mplayer mysql mythtv ncurses nfs nls nptl nptlonly nsplugin nvidia oav odbc offensive ogg opengl oss pam pcre pdflib perl perlsuid php player png posix postgres povray ppds pppd python qt3 quicktime readline real reflection reiser4 reiserfs rtc samba scanner scp sdl server session sftp sftplogging source spell spl ssl subversion suidcheck svga symlink sysfs sysvipc tcl tcltk tcpd tetex theora tools transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip ups usb userland_GNU v4l v4l2 video_cards_nv video_cards_nvidia video_cards_vesa videos vim vnc vorbis win32codecs wma wmf x11vnc x86 xcomposite xfs xine xinerama xml xmlreader xmlwriter xorg xprint xv xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Post the exact errors you get (relevant part of dmesg output), ivtv version and reopen then. Thanks.
Here is the message log. Note that PWC is being loaded in the middle of IVTV, which is different than normal behaviour. This is with ivtv version 8.1, but have also tried version 9 with the same results. Again, I have verified the size and location of the firmware files. Nov 25 10:30:19 saruman ivtv: ==================== START INIT IVTV ==================== Nov 25 10:30:19 saruman ivtv: version 0.8.1 (tagged release) loading Nov 25 10:30:19 saruman ivtv: Linux version: 2.6.18-gentoo-r3 SMP preempt mod_unload PENTIUM4 REGPARM 4KSTACKS gcc-4.1 Nov 25 10:30:19 saruman ivtv: In case of problems please include the debug info between Nov 25 10:30:19 saruman ivtv: the START INIT IVTV and END INIT IVTV lines, along with Nov 25 10:30:19 saruman ivtv: any module options, when mailing the ivtv-users mailinglist. Nov 25 10:30:19 saruman ivtv0: Autodetected Hauppauge card (cx23415 based) Nov 25 10:30:19 saruman pwc: Philips webcam module version 10.0.11-unofficial loaded. Nov 25 10:30:19 saruman pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840. Nov 25 10:30:19 saruman pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, Nov 25 10:30:19 saruman pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. Nov 25 10:30:19 saruman pwc: Trace options: 0x0001 Nov 25 10:30:19 saruman pwc: Logitech QuickCam 4000 Pro USB webcam detected. Nov 25 10:30:19 saruman pwc: Registered as /dev/video0. Nov 25 10:30:19 saruman usbcore: registered new driver Philips webcam Nov 25 10:30:19 saruman drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3304 Nov 25 10:30:19 saruman usbcore: registered new driver usblp Nov 25 10:30:19 saruman drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Nov 25 10:30:19 saruman ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 262144 bytes) Nov 25 10:30:19 saruman ivtv0: did you put the firmware in the hotplug firmware directory? Nov 25 10:30:19 saruman ivtv0 warning: failed loading encoder firmware Nov 25 10:30:19 saruman ivtv0 warning: Error loading firmware -3! Nov 25 10:30:19 saruman ivtv0: Error -3 initializing firmware. Nov 25 10:30:19 saruman Trying to free already-free IRQ 5 Nov 25 10:30:19 saruman ivtv0: Error -12 on initialization Nov 25 10:30:19 saruman ivtv: probe of 0000:03:0d.0 failed with error -12 Nov 25 10:30:19 saruman ivtv: ==================== END INIT IVTV ==================== Nov 25 10:30:19 saruman lirc_dev: IR Remote Control driver registered, at major 61
Most likely a dupe of this bug: http://bugs.gentoo.org/show_bug.cgi?id=147006
(In reply to comment #3) > Most likely a dupe of this bug: http://bugs.gentoo.org/show_bug.cgi?id=147006 > I reviewed that particular bug, and removed Hotplug, and had the same results. I'll verify this again after work tonight and will reply back.
(In reply to comment #4) > (In reply to comment #3) > > Most likely a dupe of this bug: http://bugs.gentoo.org/show_bug.cgi?id=147006 > > > I reviewed that particular bug, and removed Hotplug, and had the same results. > I'll verify this again after work tonight and will reply back. I removed coldplug, hotplug, and udev, cleaned out all related files, and then installed Udev-103, and the problem remains. The Firmware files are verified to be in /lib/firmware, all with the correct size. saruman firmware # pwd /lib/firmware saruman firmware # ls -al total 700 drwxr-xr-x 2 root root 280 Nov 25 12:23 . drwxr-xr-x 10 root root 4432 Nov 28 13:13 .. -rw-r--r-- 1 root root 262144 Nov 25 12:23 v4l-cx2341x-dec.fw -rw-r--r-- 1 root root 262144 Nov 25 12:23 v4l-cx2341x-enc.fw -rw-r--r-- 1 root root 155648 Nov 25 12:23 v4l-cx2341x-init.mpg -rw-r--r-- 1 root root 16382 Nov 25 12:23 v4l-cx25840.fw -rw-r--r-- 1 root root 8192 Nov 25 12:23 v4l-pvrusb2-24xxx-01.fw -rw-r--r-- 1 root root 8192 Nov 25 12:23 v4l-pvrusb2-29xxx-01.fw See the following excerpt from dmesg: Nov 28 13:24:52 saruman ivtv: ==================== START INIT IVTV ==================== Nov 28 13:24:52 saruman ivtv: version 0.8.1 (tagged release) loading Nov 28 13:24:52 saruman ivtv: Linux version: 2.6.18-gentoo-r3 SMP preempt mod_unload PENTIUM4 REGPARM 4KSTACKS gcc-4.1 Nov 28 13:24:52 saruman ivtv: In case of problems please include the debug info between Nov 28 13:24:52 saruman ivtv: the START INIT IVTV and END INIT IVTV lines, along with Nov 28 13:24:52 saruman ivtv: any module options, when mailing the ivtv-users mailinglist. Nov 28 13:24:52 saruman ivtv0: Autodetected Hauppauge card (cx23415 based) Nov 28 13:24:52 saruman ACPI: PCI Interrupt 0000:03:0d.0[A] -> GSI 21 (level, low) -> IRQ 22 Nov 28 13:24:52 saruman Bluetooth: Core ver 2.10 Nov 28 13:24:52 saruman NET: Registered protocol family 31 Nov 28 13:24:52 saruman Bluetooth: HCI device and connection manager initialized Nov 28 13:24:52 saruman Bluetooth: HCI socket layer initialized Nov 28 13:24:52 saruman Bluetooth: HCI USB driver ver 2.9 Nov 28 13:24:52 saruman usbcore: registered new driver hci_usb Nov 28 13:24:52 saruman pwc: Philips webcam module version 10.0.11-unofficial loaded. Nov 28 13:24:52 saruman pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840. Nov 28 13:24:52 saruman pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, Nov 28 13:24:52 saruman pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. Nov 28 13:24:52 saruman pwc: Trace options: 0x0001 Nov 28 13:24:52 saruman pwc: Logitech QuickCam 4000 Pro USB webcam detected. Nov 28 13:24:52 saruman pwc: Registered as /dev/video0. Nov 28 13:24:52 saruman usbcore: registered new driver Philips webcam Nov 28 13:24:52 saruman drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3304 Nov 28 13:24:52 saruman usbcore: registered new driver usblp Nov 28 13:24:52 saruman drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Nov 28 13:24:52 saruman ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 262144 bytes) Nov 28 13:24:52 saruman ivtv0: did you put the firmware in the hotplug firmware directory? Nov 28 13:24:52 saruman ivtv0 warning: failed loading encoder firmware Nov 28 13:24:52 saruman ivtv0 warning: Error loading firmware -3! Nov 28 13:24:52 saruman ivtv0: Error -3 initializing firmware. Nov 28 13:24:52 saruman Trying to free already-free IRQ 22 Nov 28 13:24:52 saruman ivtv0: Error -12 on initialization Nov 28 13:24:52 saruman ivtv: probe of 0000:03:0d.0 failed with error -12 Nov 28 13:24:52 saruman ivtv: ==================== END INIT IVTV ==================== Nov 28 13:24:52 saruman ACPI: PCI Interrupt 0000:03:0a.0[A] -> GSI 22 (level, low) -> IRQ 23
I also have this problem on x86 / kernel 2.6.18-gentoo-r2 / ivtv 0.8.1 Log output: Nov 28 21:44:05 [kernel] ivtv: ==================== START INIT IVTV =========== ========= Nov 28 21:44:05 [kernel] ivtv: version 0.8.1 (tagged release) loading Nov 28 21:44:05 [kernel] ivtv: Linux version: 2.6.18-gentoo-r2vidserv preempt m od_unload K7 gcc-4.1 Nov 28 21:44:05 [kernel] ivtv: In case of problems please include the debug inf o between Nov 28 21:44:05 [kernel] ivtv: the START INIT IVTV and END INIT IVTV lines, alo ng with Nov 28 21:44:05 [kernel] ivtv: any module options, when mailing the ivtv-users mailinglist. Nov 28 21:44:05 [kernel] ivtv0: Autodetected Hauppauge card (cx23415 based) Nov 28 21:44:16 [kernel] ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 262144 bytes) Nov 28 21:44:16 [kernel] ivtv0: did you put the firmware in the hotplug firmware directory? Nov 28 21:44:16 [kernel] ivtv0 warning: failed loading encoder firmware Nov 28 21:44:16 [kernel] ivtv0 warning: Error loading firmware -3! Nov 28 21:44:16 [kernel] ivtv0: Error -3 initializing firmware. Nov 28 21:44:16 [kernel] Trying to free already-free IRQ 20 Nov 28 21:44:16 [kernel] ivtv0: Error -12 on initialization Nov 28 21:44:16 [kernel] ivtv: probe of 0000:01:09.0 failed with error -12 Nov 28 21:44:16 [kernel] ivtv: ==================== END INIT IVTV =========== As per bug #147006 removing hotplug from the system solved the firmware load problem - firmware is now loaded to the card.
Did you also delete contents of /etc/hotplug and /etc/hotplug.d? I've removed hotplug but it doesn't seem to solve the problem for me. Is there something else I'm missing? (In reply to comment #6) > I also have this problem on x86 / kernel 2.6.18-gentoo-r2 / ivtv 0.8.1 > Log output: > Nov 28 21:44:05 [kernel] ivtv: ==================== START INIT IVTV > =========== > ========= > Nov 28 21:44:05 [kernel] ivtv: version 0.8.1 (tagged release) loading > Nov 28 21:44:05 [kernel] ivtv: Linux version: 2.6.18-gentoo-r2vidserv preempt > m > od_unload K7 gcc-4.1 > Nov 28 21:44:05 [kernel] ivtv: In case of problems please include the debug > inf > o between > Nov 28 21:44:05 [kernel] ivtv: the START INIT IVTV and END INIT IVTV lines, > alo > ng with > Nov 28 21:44:05 [kernel] ivtv: any module options, when mailing the ivtv-users > mailinglist. > Nov 28 21:44:05 [kernel] ivtv0: Autodetected Hauppauge card (cx23415 based) > Nov 28 21:44:16 [kernel] ivtv0: unable to open firmware v4l-cx2341x-enc.fw > (must > be 262144 bytes) > Nov 28 21:44:16 [kernel] ivtv0: did you put the firmware in the hotplug > firmware > directory? > Nov 28 21:44:16 [kernel] ivtv0 warning: failed loading encoder firmware > Nov 28 21:44:16 [kernel] ivtv0 warning: Error loading firmware -3! > Nov 28 21:44:16 [kernel] ivtv0: Error -3 initializing firmware. > Nov 28 21:44:16 [kernel] Trying to free already-free IRQ 20 > Nov 28 21:44:16 [kernel] ivtv0: Error -12 on initialization > Nov 28 21:44:16 [kernel] ivtv: probe of 0000:01:09.0 failed with error -12 > Nov 28 21:44:16 [kernel] ivtv: ==================== END INIT IVTV > =========== > > As per bug #147006 removing hotplug from the system solved the firmware load > problem - firmware is now loaded to the card. >
*** This bug has been marked as a duplicate of 147006 ***