After upgrading from sys-kernel/gentoo-sources-2.6.29-r5 to sys-kernel/gentoo-sources-2.6.30-r4, net-dialup/hsfmodem-7.80.02.03 is no longer able to build the modem driver modules. Perhaps hsfmodem-7.80.02.04 (which is not yet available as an ebuild) will resolve this problem. Linuxant, the upstream developers, claim in their change-log at <http://www.linuxant.com/drivers/hsf/changes.php> that this version "Improved compatibility with newer kernels and distributions." Reproducible: Always Steps to Reproduce: 1. Emerge, build and boot to sys-kernel/gentoo-sources-2.6.30-r4 2. Emerge net-dialup/hsfmodem-7.80.02.03 if it has not already been emerged 3. Run hsfconfig or /etc/init.d/hsf as root to try to build the kernel modules Actual Results: The build log (/etc/hsfmodem/log/buildlog-20090814102534.txt): driver version 7.80.02.03full Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... *** (cd /lib/modules/2.6.30-gentoo-r4-2009Aug13/build && make "CNXT_KERNELSRC=/lib/modules/2.6.30-gentoo-r4-2009Aug13/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean) make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4' /usr/lib/hsfmodem/modules/Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... *** make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' (cd /lib/modules/2.6.30-gentoo-r4-2009Aug13/build && make "CNXT_KERNELSRC=/lib/modules/2.6.30-gentoo-r4-2009Aug13/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC -DFOUND_TLV -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK -DFOUND_NO_CTL_ELEM_RW" clean) make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4' make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfosspec.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfserial.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfengine.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfpcibasic2.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfpcibasic3.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfmc97ich.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfmc97via.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfmc97ali.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfmc97ati.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfmc97sis.mod /lib/modules/2.6.30-gentoo-r4-2009Aug13/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers Module.symvers GPL/hda/Module.symvers modules.order GPL/hda/modules.order Module.markers GPL/hda/Module.markers (cd /lib/modules/2.6.30-gentoo-r4-2009Aug13/build && make "CNXT_KERNELSRC=/lib/modules/2.6.30-gentoo-r4-2009Aug13/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules) make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4' /usr/lib/hsfmodem/modules/Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... *** CC [M] /usr/lib/hsfmodem/modules/mod_engine.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97ali.o In file included from /usr/lib/hsfmodem/modules/mod_mc97ali.c:32: /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe': /usr/lib/hsfmodem/modules/cnxthwpci_common.c:38: error: 'struct device' has no member named 'bus_id' /usr/lib/hsfmodem/modules/cnxthwpci_common.c:57: error: 'struct device' has no member named 'bus_id' /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_init': /usr/lib/hsfmodem/modules/cnxthwpci_common.c:247: error: 'struct device' has no member named 'bus_id' make[2]: *** [/usr/lib/hsfmodem/modules/mod_mc97ali.o] Error 1 make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' make: *** [all] Error 2 Expected Results: The kernel modules should have been successfully built. I can also post the (long) results of "hsfconfig --dumpdiag" if it will help solve this problem. My emerge --info: Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4-2009Aug13 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r4-2009Aug13-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-glibc2.0 Timestamp of tree: Fri, 14 Aug 2009 13:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth bzip2 cairo caps cdparanoia cjk cli cracklib crypt cups dbus dell directfb divx dri dts dvb dvd eap-tls emacs encode exif fbcon ffmpeg flac fortran ftp gd gdbm gif gmedia gnutls gpm gstreamer gtk hal hardened iconv ipv6 isdnlog java javascript jpeg jpeg2k laptop libcaca logrotate lzo mad mailwrapper matroska mbrola mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl png ppds pppd prediction preview-latex python qt3support qt4 quicktime readline realmedia reflection samba scanner sdl session socks5 sound spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vlm vorbis wifi win32codecs wmf wmp wxwindows x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I've bumped hsfmodem version to 7.80.02.04.
Thanks Alin! net-dialup/hsfmodem-7.80.02.04 successfully built the driver for sys-kernel/gentoo-sources-2.6.30-r4.