Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131682 - hcfpciconfig won't build module
Summary: hcfpciconfig won't build module
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-29 07:18 UTC by Christopher Covington
Modified: 2006-04-29 11:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hcfpciconfig-buildlog.txt (hcfpciconfig-buildlog.txt,5.82 KB, text/plain)
2006-04-29 07:19 UTC, Christopher Covington
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Covington 2006-04-29 07:18:23 UTC
After sucessfully emerging net-dialup/hcfpcimodem, I tried to run hcfpciconfig. I got the following:

# hcfpciconfig
Conexant HCF controllerless PCI modem driver, version 1.10full

If you need license keys, assistance or more information, please go to:
        http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hcfpciconfig --dumpdiag".

No pre-built modules for: unknown-unknown linux-2.6.16-beyond2 i686

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.16-beyond2/build]

Building modules for kernel 2.6.16-beyond2, using source directory
/lib/modules/2.6.16-beyond2/build. Please wait...

ERROR: Module build failed!
Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why.

I know that my kernel sources aren't officially supported but this bug seems to be independent of them. I'm attatching hcfpciconfig-buildlog.txt.

# emerge --info
Portage 2.1_pre9-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-beyond2 i686)
=================================================================
System uname: 2.6.16-beyond2 i686 Celeron (Coppermine)
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     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-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 aac aalib alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdparanoia cli crypt cups directfb dri dvd dvdread eds emboss encode esd fbcon flac foomaticdb fortran gcj gdbm gif gpm gstreamer gtk2 imlib ipv6 isdnlog javascript jpeg libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oss pam pcmcia pcre pdflib perl png pppd python quicktime readline reflection ruby samba sdl session speex spell spl sse ssl svga symlink syslog tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis wmf xml xmms xorg zlib elibc_glibc kernel_linux linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Christopher Covington 2006-04-29 07:19:01 UTC
Created attachment 85767 [details]
hcfpciconfig-buildlog.txt
Comment 2 Christopher Covington 2006-04-29 09:41:05 UTC
A user on the Linuxant support mailing list had the same problem with the HSF drivers <http://www.linuxant.com/pipermail/hcflinux/2006q1/001296.html>. The diagnoses was an incompatibility with suspend2 (which I have in my kernel). I tried running 'hcfpciconfig --patch' as recommended, but received the following:

# hcfpciconfig --patch
Conexant HCF controllerless PCI modem driver, version 1.10full

If you need license keys, assistance or more information, please go to:
        http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hcfpciconfig --dumpdiag".

/usr/sbin/hcfpciconfig: line 656: cd: /var/tmp/portage/hcfpcimodem-1.10-r2/work/hcfpcimodem-1.10full/scripts: No such file or directory

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

I also noticed that /etc/hcfpcimodem/package has a /var/tmp/portage path:

# cat /etc/hcfpcimodem/package
TAR /var/tmp/portage/hcfpcimodem-1.10-r2/work/hcfpcimodem-1.10full

I've got no idea what the package file is used for but perhaps it is in need of a quick sed.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

I actually took a look at the ebuild and saw the lines:
 if [ "${KV_EXTRA}" = "-suspend2"]; then
  epatch "${FILESDIR}/${P}-suspend2.patch"
 fi

I think I'm going locally hack this ebuild and give it a suspend2 USE flag or something. Whatever I end up doing, I suppose my problem here arose from my unsupported kernel sources. Sorry for bothering y'all.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-04-29 10:33:16 UTC
do you installed your kernel from portage tree? 'cause if you did, I could patch hcfpci just as I did in suspend2 sources case.
Comment 4 Christopher Covington 2006-04-29 11:35:26 UTC
I'm using beyond-sources (a combination of the -nitro and -ck patchsets) which aren't in portage. I ended up making a suspend2 USE flag that got checked for in the place of that ${KV_EXTRA} if statement. While the patch got me passed that first error, I ran into the exact same second error as Alex Lancaster on the linuxant mailing list. I emailed the linuxant mailing list about the problem here:
http://www.linuxant.com/pipermail/hcflinux/2006q2/001309.html

Although it looks like this second error is a problem with any kernel with the suspend2 patches, I'll leave this bug as invalid until I get a solution from upstream or have the energy to test everything with a suspend2-sources kernel on my slow laptop.