LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 03-02-2006, 12:23 PM   #1
ShayA
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Rep: Reputation: 0
Compilation Problem - ASUS LAN Driver


I installed Fedora FC4 x86_64.
Hardware:
ASUS P5V800
Intell 3.Ghz 64 bit.
1 40GB IDE drive,
1 80GB SATA drive.

At the point Fedora is not recognizing the SATA drive. I know this is a known issue and I should install the right driver.

However, my problem right now is with the on board LAN adapter.
In order to use it I need to compile the LAN driver.
I download the kernel source code. I only found kernel-2.6.11-1.1369_FC4.src.rpm while my kernel is FC4smp so I don't know if its ok.
I had a problem in the compilation process that asked for the Module.symvers file.
I read the following article www-raoul.shacknet.nu/2005/12/14/the-complete-fedora-kernel-headers/ and used the Module.symvers as can be found in the kernel-devel ( on the installation DVD).

I did not succeed to compile it. Below you can see the errors.

Quote:
make -C /usr/src/linux-2.6.11 SUBDIRS=/root/temp/4.39 modules
make[1]: Entering directory `/usr/src/linux-2.6.11'
CC [M] /root/temp/4.39/rhine_main.o
/root/temp/4.39/rhine_main.c: In function ‘rhine_remove1’:
/root/temp/4.39/rhine_main.c:304: warning: ignoring return value of ‘pci_enable_wake’, declared with attribute warn_unused_result
/root/temp/4.39/rhine_main.c:305: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
/root/temp/4.39/rhine_main.c: In function ‘rhine_ethtool_ioctl’:
/root/temp/4.39/rhine_main.c:2751: error: ‘struct pci_dev’ has no member named ‘slot_name’
/root/temp/4.39/rhine_main.c: In function ‘rhine_suspend’:
/root/temp/4.39/rhine_main.c:2924: error: too many arguments to function ‘pci_save_state’
/root/temp/4.39/rhine_main.c:2933: warning: ignoring return value of ‘pci_enable_wake’, declared with attribute warn_unused_result
/root/temp/4.39/rhine_main.c:2934: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
/root/temp/4.39/rhine_main.c:2939: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
/root/temp/4.39/rhine_main.c: In function ‘rhine_resume’:
/root/temp/4.39/rhine_main.c:2958: error: too many arguments to function ‘pci_restore_state’
/root/temp/4.39/rhine_main.c:2956: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
/root/temp/4.39/rhine_main.c:2957: warning: ignoring return value of ‘pci_enable_wake’, declared with attribute warn_unused_result
make[2]: *** [/root/temp/4.39/rhine_main.o] Error 1
make[1]: *** [_module_/root/temp/4.39] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11'
make: *** [default] Error 2


Is it possible that I need to use kernel-2.6.11-1.1369_FC4smp.src.rpm . I did not find such.
Is it ok to use the Module.symvers from the kernel-devel , I did not find any other source for it.



I will really appreciate your help on this.
Thank you.
 
Old 03-02-2006, 08:50 PM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
You usually don't need the full kernel source in order to build a kernel module; you need only the kernel-devel package, or in your case, the kernel-smp-devel package.

Also, why not fully update your system first with "yum update", then you'll have the current kernel-smp-devel available for use.

What is the output of "dmesg | grep eth"?
 
Old 03-03-2006, 12:36 AM   #3
ShayA
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
how can I run a full update if I don't have an internet connection ?
The Ethernet card was not defined at this point.
 
Old 03-03-2006, 02:18 AM   #4
ShayA
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello again...

I installed Fedora Core 5 Test3.
Its look like this release can handle both the on board LAN and the sound card.
The only problem is the the mouse is "jumping", meaning when you use it it doesn't move smoothly.

I am running a full update with yum hopefully that bug was solved.
The official release will be published on March 15 then I will stick with Core 5.

As for the SATA support I did not checked it yet. Yum in still running

Thank you guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SigmaTel USB-IRDA STIR4210 driver compilation problem on 2.6 qwix Linux - Hardware 0 03-15-2005 01:58 PM
Asus P5GDC-V lan driver takatam Linux - Hardware 0 10-27-2004 05:22 AM
Asus a7n266-vm/lan/aa: Problem with onboard lan jmourik Linux - Hardware 9 08-13-2003 12:13 AM
Installing Lan Driver for ASUS P4C800-e? nycundaground Linux - Networking 0 08-09-2003 12:31 AM
Asus A7N8X - Lan problem Kdiver58 Linux - Hardware 16 07-11-2003 09:52 AM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration