Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27675 - hsfconfig fails on Gateway 2000 450XL laptop w/Centrino
Summary: hsfconfig fails on Gateway 2000 450XL laptop w/Centrino
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-31 18:05 UTC by Greg A. Bur
Modified: 2003-12-04 11:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg A. Bur 2003-08-31 18:05:06 UTC
The driver installs flawlessly however configuration fails with the following
error:  

ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why.

Upon examining /tmp/hsfconfig-buildlog.txt the build fails with:

* compiling (gcc) serial_hsf.c
In file included from serial_hsf.c:897:
serial_core.c: In function `uart_close':
serial_core.c:1073: invalid operands to binary ==
make: *** [serial_hsf.o] Error 1

Software versions are as follows:

Gentoo Linux 1.4
Kernel 2.4.22-rc2-ac3
hsflinmodem-5.03.27.03042700

Build environment as follows:

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.22-rc2-ac3 i686 Intel(R) Pentium(R) M processor 1600MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod
mmx mpeg ncurses nls pdflib png quicktime slang spell truetype xml2 xmms xv zlib
gtkhtml gdbm berkdb readline bonobo svga java guile sdl tcpd pam ssl perl python
esd imlib oggvorbis gnome gtk motif opengl cdr acpi acpi4linux alsa dga X dvd
gtk2 imap joystick music offensive openal pcmcia pnp radeon sse trusted
wxwindows xosd pda -3dnow -apm -arts -gpm -kde -qt"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium4 -pipe -funroll-loops -fomit-frame-pointer
-mfpmath=sse -mmmx -msse -msse2"
CXXFLAGS="-O3 -mcpu=pentium4 -pipe -funroll-loops -fomit-frame-pointer
-mfpmath=sse -mmmx -msse -msse2"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Searching Google provided a similar report pertaining to kernel 2.5.7 on Redhat
linux:   

http://www.linuxant.com/pipermail/hsflinux/2002q2/000068.html

Pertinent logs are available at these URLs:

http://pizon.org/emerge_hsflinmodem.txt - hsflinmodem driver installation log
http://pizon.org/hsfconfig.txt - output from hsfconfig
http://pizon.org/hsfconfig-buildlog.txt - full text of hsfconfig-buildlog.txt
http://pizon.org/config - my kernel config

As a side note I wasn't sure which component to select regarding a bug report
for a hardware driver.  Please advise which component heading is appropriate for
future reference.
Comment 1 Greg A. Bur 2003-09-04 11:50:41 UTC
Searching Google turned up the following URL:

http://groups.yahoo.com/group/linux-latitude-d800/message/97

At the end of this posting is a patch which corrects the problem.
Comment 2 Hanno Böck gentoo-dev 2003-11-27 08:34:20 UTC
I cannot reproduce your problem, although i'm using the latest 2.4.23-rc-kernel.
So it seems the changes that were made in the (deprecated) ac-series have not been portet to the main kernel.
Do you still use the same kernel? If not, can you try if it works with an updated kernel.
Comment 3 Greg A. Bur 2003-11-28 18:22:57 UTC
Yes, I am still using the kernel.  I applied the patch I found through Google only to be greeted with the following error:

Nov 28 21:13:42 anubis kernel: PCI: Setting latency timer of device 00:1f.6 to 64
Nov 28 21:13:42 anubis kernel: HSF: ERROR: SILICON Laboratories or LUCENT AC97 modem detected!
Nov 28 21:13:42 anubis kernel: HSF: ERROR: This driver only supports CONEXANT devices
Nov 28 21:13:42 anubis kernel: HSF: ERROR: No CONEXANT modem found
Nov 28 21:13:42 anubis kernel: cnxthsf_cnxt_serial_add: ComCtrlOpen failed (1)

Evidently my modem isn't an "according to Hoyle" Conexant chipset-based modem.  Funny considering the PCI ID of my modem is in the list of "compatible" chipsets mentioned at linuxant.com.  Fortunately for me this is not a mission critical piece of hardware.  I have also tried the net-dialup/slmodem driver which loads   with the following error:  

Nov 28 21:18:00 anubis kernel: This driver is not compatible with the installed modem codec.
Nov 28 21:18:00 anubis kernel: Please contact your modem provider for support.

I did some searching and found another site that mentions using this driver with this same laptop model successfully and this error was appearing in this individual's kernel log.  I believe their distro of choice was some revision of RedHat however.  At this point I have all but given up on this device for now.  I appreciate your assistance with this and if I stumble across any useful information I will be sure to pass it along.
Comment 4 Hanno Böck gentoo-dev 2003-12-04 10:55:42 UTC
So it seems your device is just unsupported by the conexant-driver.
Comment 5 Greg A. Bur 2003-12-04 11:14:53 UTC
This appears to be the case, yes.  Actually it appears this device is unsupported under Linux, period, which has made this entire bug report an exercise in futility :(