Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52096 - hcfpcimodem: hcfpciconfig fails to setup modem, due to missing modversion.h
Summary: hcfpcimodem: hcfpciconfig fails to setup modem, due to missing modversion.h
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 08:01 UTC by Dead Schorsch
Modified: 2006-02-15 03:46 UTC (History)
2 users (show)

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


Attachments
hcfpcimodem-1.01.04082400.patch (hcfpcimodem-1.01.04082400.patch,781 bytes, patch)
2004-10-02 09:24 UTC, Alin Năstac (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dead Schorsch 2004-05-26 08:01:47 UTC
After installing net-dialup/hcfpcimodem, setting up the modem by running hcfpciconfig is required. There are a number of errors in it, most severe is the missing modversions.h file.

Reproducible: Always
Steps to Reproduce:
1. emerge hcfpcimodem
2. hcfpciconfig
3.

Actual Results:  
Linux HCF controllerless modem drivers, version 0.99lnxtbeta03042700
 
WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.
 
Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!
 
If you require assistance or need more information, go to:
              http://www.linuxant.com/drivers
 
When reporting a problem for the first time, please send
us the file generated by "hcfpciconfig --dumpdiag".
grep: /proc/ksyms: No such file or directory
/usr/sbin/hcfpciconfig: line 1298: [: too many arguments
 
Should we attempt to automatically configure your hardware? [yes]

No supported modem device found.
Is the modem presently installed in your system? [yes]

1) Intel Corp. 82801DB AC'97 Modem Controller (rev 1).
2) None of the above
 
Which PCI device is your HCF modem? (1-2) 1
 
Please enter your modem's PCI Vendor ID []: 141f
 
Please enter your modem's PCI Device ID []: 5422
 
1) /etc/hcfpci/inf/hcfv90_lan_linux.inf
2) /etc/hcfpci/inf/hcfv90_linux.inf
3) /etc/hcfpci/inf/hcfv92_linux.inf
4) /etc/hcfpci/inf/hcfv92_riptide_linux.inf
5) None of the above
 
Which INF file would you like to use with your HCF modem? (1-5) 2
 
Selected PCI VendorID=141f DeviceID=5422
and INF file /etc/hcfpci/inf/hcfv90_linux.inf
 
Supported countries:
 
ARGENTINA, AUSTRALIA, AUSTRIA, BELGIUM,
BRAZIL, BULGARIA, CANADA, CHILE, CHINA,
CROATIA, CZECH_REPUBLIC, DENMARK, FINLAND, FRANCE,
GERMANY, GREECE, HONG-KONG, HUNGARY, ICELAND,
INDIA, INDONESIA, IRELAND, ISRAEL, ITALY,
JAPAN, KOREA, LUXEMBOURG, MALAYSIA, MEXICO,
NETHERLANDS, NEW_ZEALAND, NORWAY, PHILIPPINES, POLAND,
PORTUGAL, RUSSIA, SINGAPORE, SLOVAKIA, SLOVENIA,
SOUTH_AFRICA, SPAIN, SWEDEN, SWITZERLAND, TAIWAN,
THAILAND, TURKEY, UK, UNITED_ARAB_EMIRATES, USA
 
Please enter your country name [GERMANY]:
 
Configuring modem for country: "GERMANY"
You can change this setting later with the command "hcfpciconfig --country"
 
This package does not contain pre-built modules suitable for your system:
  Distribution: unknown-unknown
  Kernel arch: i686
  Kernel version: linux-2.6.6
 
Trying to automatically re-compile the 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.6/build]
 
WARNING: missing file /lib/modules/2.6.6/build/include/linux/modversions.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
 
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
 
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
 
Verify that the proper options for your system are selected,
and that CONFIG_SMP ("Symmetric multi-processing support" under
"Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.
 
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hcfpciconfig".

When I copy modversions.h from /usr/src/linux/include/config to /lib/modules
.... , the last step fails with more output in /tmp:


tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
rm -f *.o *.a
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from /lib/modules/2.6.6/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.6/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.6/build/include/linux/interrupt.h:11,
                 from ../modules/osspec/include/oscompat.h:25,
                 from mod_osspec.c:10:
/lib/modules/2.6.6/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or
directory
In file included from /lib/modules/2.6.6/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.6/build/include/linux/interrupt.h:11,
                 from ../modules/osspec/include/oscompat.h:25,
                 from mod_osspec.c:10:
/lib/modules/2.6.6/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared
here (not in a function)
In file included from /lib/modules/2.6.6/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.6/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.6/build/include/linux/interrupt.h:11,
                 from ../modules/osspec/include/oscompat.h:25,
                 from mod_osspec.c:10:
/lib/modules/2.6.6/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS'
undeclared here (not in a function)
/lib/modules/2.6.6/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared
here (not in a function)In file included from mod_osspec.c:11:
../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.6.6/build/include/linux/compiler.h:20,
                 from /lib/modules/2.6.6/build/include/linux/capability.h:17,
                 from /lib/modules/2.6.6/build/include/linux/sched.h:7,
                 from ../modules/osspec/include/oscompat.h:22,
                 from mod_osspec.c:10:
/lib/modules/2.6.6/build/include/linux/compiler-gcc3.h:9:1: warning: this is the
location of the previous definition
make: *** [mod_osspec.o] Error 1

Expected Results:  
Something more nice.

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.15 ready
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3nux/mo
ACCEPT_KEYWORDS="x86 ~x86"oader.h     mount.h
AUTOCLEAN="yes"    moduleparam.h
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"    hsperfdata_christoph_dahlen
COMPILER="gcc3"nux # ls /tmp/hcfpciconfig-buildlog.txt
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux aim alsa antlr apache2 apm avi berkdb bluetooth bonobo
cddb cdr chroot crypt cups devfs26 doc dvd encode esd ethereal evo fam
foomaticdb gdbm gif gimp gimpprint glade gnome gpm gstreamer gtk gtk2 gtkhtml
ieee1394 imagemagick imlib irda java jpeg ldap libg++ libwww mad mbox mikmod mmx
motif mozilla mpeg mpeg4 msn ncurses nls odbc oggvorbis opengl pam pcmcia pda
pdflib perl png postgres ppds python quicktime readline samba scanner sdl slang
sox spell sse ssl svga tcltk tcpd truetype usb vanilla x86 xml2 xmms xv zlib"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-10-02 09:24:42 UTC
Created attachment 40923 [details, diff]
hcfpcimodem-1.01.04082400.patch

New ebuild for full version of hcfpcimodem (hcfpcimodem-1.01.04082400.ebuild).
The beta version is no longer available on www.linuxant.com.

Patch is against hcfpcimodem-0.99.03042700.ebuild
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2004-11-07 02:57:25 UTC
version bumped
Comment 3 Dead Schorsch 2006-02-15 03:46:26 UTC
I cannot verify, as the machine went out of service.