Portage 2.1_pre6-r7 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8 -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=k8 -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LINGUAS="en it" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac alsa arts avi berkdb bitmap-fonts cdr crypt cups dbus dhcpip doc dri dvdr editor eds emboss encode ffmpeg foomaticdb fortran gif gphoto2 gpm gstreamer gtk2 hal imagemagick imlib jack java joystick jpeg kde libdvdread lzw lzw-tiff mad mikmod mp3 mpeg msn ncurses nls nocd nptl nptlonly nvidia opengl pam pdflib perl pic png ppds ppoa python qt quicktime readline sdl spell ssl symlink tcpd tiff truetype-fonts type1-fonts usb v4l visualization vorbis xcomposite xine xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en linguas_it userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY The eagle-usb package, which needs to be recompiled at every kernel update, fails to compile with a 2.6.16 kernel. I get this error: Writing file dsp_code_isdn.bin make[1]: Leaving directory `/var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/firmware' make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo' CC [M] /var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/eu_main.o make[1]: Leaving directory `/var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/user' CC [M] /var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/eu_utils.o /var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/eu_main.c:176: error: unknown field `owner' specified in initializer /var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/eu_main.c:176: warning: initialization from incompatible pointer type make[2]: *** [/var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver/eu_main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/eagle-usb-2.3.3/work/eagle-usb-2.3.3/driver] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo' make: *** [eagle-usb.ko] Error 2 !!! ERROR: net-dialup/eagle-usb-2.3.3 failed. Call stack: ebuild.sh, line 1557: Called dyn_compile ebuild.sh, line 966: Called src_compile eagle-usb-2.3.3.ebuild, line 36: Called linux-mod_src_compile !!! Unable to make KERNELSRC='/usr/src/linux'
The eagle driver is included in the 2.6.16 kernel source. You should use the in-kernel one rather than the portage version.
eagle-usb maintainers: you should create a new package for the firmware and userspace utilities for this modem (if there are any), then you should make eagle-usb bail out in pkg_setup if the kernel is 2.6.16 or newer.
http://groups.google.pl/group/linux.debian.bugs.dist/browse_thread/thread/9424fd4654b23ef6/fff8baa745ef9367?lnk=st&q=eagle-usb+%222.6.16%22&rnum=1#fff8baa745ef9367
I've modified both current versions of the eagle-usb package to bail out in pkg_setup if kernel version is >=2.6.16. As for firmware ebuild, I will be glad to add an ebuild for that, but I cannot do it alone since I don't know what to install nor do I have the necessary hardware to test it. If anyone knows what to install, please open a bug regarding this matter.
According to the help text, the firmware is required for the device to work, I think you may have broken eagle for 2.6.16 users with that change. I imagine the files installed to /lib/firmware/ should be sufficient, someone here can hopefully confirm that.
The help text says: Say Y here if you have an ADSL USB modem based on the ADI 930 or eagle chipset. In order to use your modem you will need to install firmwares and CMV (Command Management Variables); see <https://gna.org/projects/ueagleatm/> for details. The eagle-usb package installs: --- /lib/ --- /lib/modules/ --- /lib/modules/2.6.15/ >>> /lib/modules/2.6.15/net/ >>> /lib/modules/2.6.15/net/eagle-usb.ko --- /usr/ --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man8/ >>> /usr/share/man/man8/eaglestat.8.gz >>> /usr/share/man/man8/fctStartAdsl.8.gz >>> /usr/share/man/man8/eagleconfig_front.bash.8.gz >>> /usr/share/man/man8/eagletestconnec.8.gz >>> /usr/share/man/man8/eaglediag.8.gz >>> /usr/share/man/man8/startadsl.8.gz >>> /usr/share/man/man8/eagleconfig.8.gz >>> /usr/share/man/man8/stopadsl.8.gz >>> /usr/share/man/man8/eaglectrl.8.gz >>> /usr/share/man/man8/pppoa.8.gz >>> /usr/share/man/man8/fctStopAdsl.8.gz --- /usr/share/doc/ >>> /usr/share/doc/eagle-usb-2.3.3/ >>> /usr/share/doc/eagle-usb-2.3.3/ChangeLog.gz >>> /usr/share/doc/eagle-usb-2.3.3/README.gz >>> /usr/share/eagle-usb/ >>> /usr/share/eagle-usb/dsp/ >>> /usr/share/eagle-usb/dsp/dsp_code_pots.bin >>> /usr/share/eagle-usb/dsp/dsp_code_isdn.bin >>> /usr/share/eagle-usb/lang/ >>> /usr/share/eagle-usb/lang/pl >>> /usr/share/eagle-usb/lang/cz >>> /usr/share/eagle-usb/lang/de >>> /usr/share/eagle-usb/lang/br >>> /usr/share/eagle-usb/lang/it >>> /usr/share/eagle-usb/lang/fr >>> /usr/share/eagle-usb/lang/en >>> /usr/share/eagle-usb/lang/f2 >>> /usr/share/eagle-usb/lang/es >>> /usr/share/eagle-usb/lang/gr >>> /usr/share/eagle-usb/lang/mk --- /usr/sbin/ >>> /usr/sbin/pppoa >>> /usr/sbin/eaglediag >>> /usr/sbin/startadsl >>> /usr/sbin/fctStartAdsl >>> /usr/sbin/eagletestconnec >>> /usr/sbin/fctStopAdsl >>> /usr/sbin/eaglectrl >>> /usr/sbin/eagleconfig >>> /usr/sbin/eagleconfig_front.bash >>> /usr/sbin/eaglestat >>> /usr/sbin/stopadsl --- /etc/ --- /etc/ppp/ --- /etc/ppp/peers/ >>> /etc/ppp/peers/dsl.peer --- /etc/conf.d/ >>> /etc/conf.d/eagle-usb --- /etc/init.d/ >>> /etc/init.d/eagle-usb --- /etc/hotplug/ --- /etc/hotplug/usb/ >>> /etc/hotplug/usb/eagle-usb >>> /etc/eagle-usb/ >>> /etc/eagle-usb/CMVepES.txt >>> /etc/eagle-usb/CMVepWO.txt >>> /etc/eagle-usb/setvars >>> /etc/eagle-usb/ppp_options.template >>> /etc/eagle-usb/eagle-usb_must_be_configured >>> /etc/eagle-usb/CMVepFR04.txt >>> /etc/eagle-usb/CMVeiWO.txt >>> /etc/eagle-usb/eagle-usb.conf.template >>> /etc/eagle-usb/CMVepFR.txt >>> /etc/eagle-usb/CMVepIT.txt >>> /etc/eagle-usb/CMVepFR10.txt >>> /etc/eagle-usb/CMVei.txt >>> /etc/eagle-usb/CMVep.txt >>> /etc/eagle-usb/CMVepES03.txt The CMV files are being installed to /etc/eagle-usb, and it looks like that ebuild doesn't provide the firmware at all (maybe it is included inside the driver in that version). I'm not sure where you can get the external firmware from. Someone should look into that, and which parts of the above file list are needed when using the in-kernel driver.
I guess the files installed in /usr/share/eagle-usb/dsp are firmware files. However, the kernel driver code shows that it loads firmware files that match the names of those available in http://eagle-usb.org/ueagle-atm/non-free/ueagle-data-1.1.tar.gz. They are read from /lib/firmware/ueagle-atm directory (well, the /lib/firmware/ part isn't there, but this is the standard path). If someone is interested in this firmware, it will eventually open a bug that will explain what files are needed to make it work.