Fedora Linux Support Community & Resources Center
  #1  
Old 4th February 2007, 01:44 PM
DeathWishR Offline
Registered User
 
Join Date: Feb 2006
Posts: 34
IC Plus Gigabit (Abit board)

Not sure if this should go in hardware or networking (or in stupid 2 sec answer to a 10 min question) but I don't remember having this much trouble fixing back in FC4 (my last distro). I am running FC6, btw.

My ethernet card isn't in FC's default loadout. It's an IC Plus family gigabit ethernet... and I had trouble in the past until I found the driver at this site. For some reason the driver won't compile even though I remember compiling it back when. Make continually gives me errors regardless of what I try (sudo included). Just to be clear, first is the card information followed by the output from make. Any help would be greatly appreciated. Hard to do much without the net.

Code:
==============output of lspci -vx===================

00:0e.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP1000 Family Gigabit Ethernet (rev 41)
        Subsystem: ABIT Computer Corp. Unknown device 1416
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
        I/O ports at ea00 [size=256]
        Memory at dfffe000 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 40000000 [disabled] [size=64K]
        Capabilities: [50] Power Management version 2
00: f0 13 23 10 07 00 30 02 41 00 00 02 08 20 00 00
10: 01 ea 00 00 00 e0 ff df 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 7b 14 16 14
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 50 0a

================attempt to compile==================

[medeirosryan@localhost ipg]$ ls
IP1000A Linux driver v2.09f.zip  ipg_macros.h   ipg_tune.h     Makefile
ipg_constants.h                  ipg_main.c     make2.2mod.sh  PhyParam.h
ipg.h                            ipg_structs.h  make2.2.sh     readme.txt
[medeirosryan@localhost ipg]$ make
make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/medeirosryan/ipg modules 
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
  CC [M]  /home/medeirosryan/ipg/ipg_main.o
In file included from /home/medeirosryan/ipg/ipg_main.c:159:
/home/medeirosryan/ipg/ipg.h:101:26: error: linux/config.h: No such file or directory
In file included from /home/medeirosryan/ipg/ipg_main.c:159:
/home/medeirosryan/ipg/ipg.h:130: error: ‘UTS_RELEASE’ undeclared here (not in a function)
make[2]: *** [/home/medeirosryan/ipg/ipg_main.o] Error 1
make[1]: *** [_module_/home/medeirosryan/ipg] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
make: *** [all] Error 2

===================================================
__________________
AMD 64 2.0GHz
4x512MB 400MHz
2x120GB SATA Raid
RADEON HD 2900 XT
X-Fi Fatal1ty <--WANT linux driver!
Reply With Quote
  #2  
Old 4th February 2007, 05:28 PM
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Many older vendor drivers depend upon the presence of a particular header file (config.h) that is no longer part of the kernel source tree as of about 2.6.18, IIRC.

Try this as root:
Code:
touch /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/include/linux/config.h
This creates an empty config.h file, which should be enough to satisfy your driver source code.

You *may* have to hack /home/medeirosryan/ipg/ipg.h and add "#include <linux/utsrelease.h>", but for now let's see if adding an empty config.h solves your problem.
Reply With Quote
  #3  
Old 5th February 2007, 05:28 AM
DeathWishR Offline
Registered User
 
Join Date: Feb 2006
Posts: 34
Thank you so much. You were dead on! Simply adding an empty config.h file didn't work, unfortunately. I had to go ahead and add linux/utsrelease.h to the include list. Then worked like a charm. Modprobe still hates me for some unknown reason so I added it with insmod and then added the "alias eth0 ipg" line to /etc/modprobe.conf YAY! Ethernet is up and running.

I know that was more info than u needed, but being thorough if anyone else finds the thread ;]
__________________
AMD 64 2.0GHz
4x512MB 400MHz
2x120GB SATA Raid
RADEON HD 2900 XT
X-Fi Fatal1ty <--WANT linux driver!
Reply With Quote
Reply

Tags
abit, board, gigabit

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
On board Display of Foxconn P4M800P7MA-RS2 mother board hosammy Hardware & Laptops 1 9th March 2007 07:38 PM
Abit AB9 Pro FC6 compatibility bjrosen Hardware & Laptops 3 11th January 2007 11:07 AM
No go on ABIT SG-80 DC chas_martel Installation, Upgrades and Live Media 0 24th November 2006 06:03 PM
Abit AL8 on fileserver jaripetteri Hardware & Laptops 0 23rd August 2005 11:17 PM


Current GMT-time: 18:54 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat