Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117354 - hcfpcimodem-1.08 ; hcfpciconfig fails due to gcc3.4
Summary: hcfpcimodem-1.08 ; hcfpciconfig fails due to gcc3.4
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-01-01 08:01 UTC by MickKi
Modified: 2006-01-02 10:53 UTC (History)
0 users

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 MickKi 2006-01-01 08:01:06 UTC
Hi,

Running hcfpciconfig fails to install modules:
==========================
Building modules for kernel 2.6.14-gentoo-r2, using source directory
/lib/modules/2.6.14-gentoo-r2/build. Please wait...
done.
error: "kernel.modprobe" is an unknown key

ERROR: hcfpci driver not active
==========================

hcfpci --dumpdiag shows this:
==========================
+ hcfpcistop

+ modprobe -v /dev/ttySHCF
install /sbin/modprobe hcfpcihw
insmod /lib/modules/2.6.14-gentoo-r2/extra/hcfpciosspec.ko diagmajor=242
WARNING: Error inserting hcfpciosspec (/lib/modules/2.6.14-gentoo-r2/extra/hcfpciosspec.ko): Invalid module format
insmod /lib/modules/2.6.14-gentoo-r2/extra/hcfpciengine.ko
WARNING: Error inserting hcfpciengine (/lib/modules/2.6.14-gentoo-r2/extra/hcfpciengine.ko): Invalid module format
insmod /lib/modules/2.6.14-gentoo-r2/extra/hcfpciserial.ko serialmajor=240
WARNING: Error inserting hcfpciserial (/lib/modules/2.6.14-gentoo-r2/extra/hcfpciserial.ko): Invalid module format
insmod /lib/modules/2.6.14-gentoo-r2/extra/hcfpcihw.ko
FATAL: Error inserting hcfpcihw (/lib/modules/2.6.14-gentoo-r2/extra/hcfpcihw.ko): Invalid module format
FATAL: Error running install command for /dev/ttySHCF

+ lsmod         
Module                  Size  Used by
sch_cbq                15200  0
sch_ingress             3396  0
sch_gred                6176  0
sch_teql                4992  0
sch_tbf                 4800  0
sch_sfq                 4736  0  
sch_red                 3744  0
nfnetlink_queue        10240  0
nfnetlink               4824  1 nfnetlink_queue
blowfish                7936  0
sha512                  9760  0 
crc32c                  1504  0
libcrc32c               2272  1 crc32c
video                  14020  0 
dummy                   2052  0 
ipt_NFQUEUE             1472  0 
ipt_hashlimit           7400  0 
iptable_raw             1568  0 
ipt_NOTRACK             1664  0 

+ date
Sun Jan  1 15:51:13 GMT 2006

+ /usr/sbin/hcfpciconfig --info
Conexant HCF controllerless PCI modem driver, version 1.08full

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".

ERROR: hcfpci driver not active

[snip...]
+ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

[snip...]
+ dmesg 
 1.90 $ 6 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[snip]
hcfpciosspec: version magic '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.4' should be '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.3'
hcfpciengine: version magic '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.4' should be '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.3'
hcfpciserial: version magic '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.4' should be '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.3'
hcfpcihw: version magic '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.4' should be '2.6.14-gentoo-r2 preempt PENTIUMIII gcc-3.3'
==========================

If you need more info, please ask.
-- 
Regards,
Mick
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-01-02 03:17:59 UTC
As you can see, you are trying to compile a module using gcc-3.4 while the kernel was build with gcc-3.3

Rebuild your kernel and you'll be just fine.
Comment 2 MickKi 2006-01-02 10:53:48 UTC
Oops! My mistake - I got confused with a second box of mine which had its kernel rebuilt a week ago.

My apologies.
-- 
Regards,
Mick