ABXZone Computer  Forums



Welcome to the ABXZone Computer Forums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Reply
 
LinkBack Thread Tools Display Modes
Old 06-14-2003, 08:41 PM   #1
Registered User
 
Join Date: Jun 2003
Posts: 22
P4c800 + Redhat 9.0

Anyone have any luck installing the 3com network drivers that Asus has up for this board? Im still fairly new to linux and could really use any tips or pointers if you got them to install correctly.


Thanks, nick
(Offline)   Reply With Quote
Old 06-15-2003, 01:01 PM   #2
Registered User
 
barureddy's Avatar
 
Join Date: Jun 2002
Location: Nashville
Posts: 1,414
I don't have the board but the should work. Can you describe the steps you took in trying to installing them?
(Offline)   Reply With Quote
Old 06-15-2003, 01:29 PM   #3
Registered User
 
Join Date: Jun 2003
Posts: 22
I've got it functional, the drivers being supplied by asus are only source code with a make file, being new to linux compiling the drivers was a little out of my depth.

The main problem I think was that I didn't have the proper packages installed to enable me to compile the the driver source. After installing the kernel source code and the "make" utility I was able to get make to compile 3c2000.o, then did insmod 3c200.o to test it.

I could get the driver to properly load properly doing this, however DHCP was not functioning until I used the network config utility to setup a network connection and enabled dhcp for the adaptor.


I should now be able to put this in modules.conf to get it to load upon boot up.



Only problem now is my redhat system (with nothing altered other then the network driver) suddenly locked up and I had to power off to get a reboot, looking at the bios setting the CPU temp seemed rather high. Why would the p4 2.8C get so hot while running under redhat 9?
(Offline)   Reply With Quote
Old 06-15-2003, 02:27 PM   #4
Registered User
 
barureddy's Avatar
 
Join Date: Jun 2002
Location: Nashville
Posts: 1,414
I'm puzzled by your problem.

It might be as you said you don't have all of the packages needed installed.

My recommendations for you is when you reinstall is install of the developmental packages along with some network services.
(Offline)   Reply With Quote
Old 06-16-2003, 03:31 PM   #5
wjm
Registered User
 
Join Date: Aug 2001
Location: South Florida
Posts: 95
The 3com network drivers that were supplied to him by ASUS are only available in the form of the developers source code. They (asus) do not offer this as an rpm distro. Being that he has to build said source code from scratch, gnu's make utility will be required to collect build-time data generated by autoconf or an existing makefile. After this, either gcc or cc is called upon to actually compile the binary. Building unix source code binaries is an excellent route to take if one wishes to understand the inner-workings of software development.
(Offline)   Reply With Quote
Old 07-13-2003, 08:42 AM   #6
Registered User
 
Join Date: May 2003
Location: FRANCE for the job
Posts: 33
Talking 3Com 3C940 under Redhat 9 - Easy Instructions

Hello,

I saw your post regarding the 3Com 3C940 onboard NIC of your ASUS P4C800 Deluxe board. I got the same board and I use Red Hat Linux 9 and it works fine for me.

Here are the instructions :

- You first need to get the 3C940 Linux drivers from the ASUS support site. URL : ftp://ftp.asus.com.tw/pub/ASUS/lan/3.../044_Linux.zip ;

- After downloading unzip the 044_Linux.zip, cd into Linux (the directory that has just been created) and read the instructions (readme file) ;

- After reading carefully, you can 'tar -zxvf 3c2000.tar.gz', then cd into 3c2000 (the directory that has just been created) ;

- In the 3c2000 type 'make load'. It has now created the 3c2000.o ;

- The NIC is now enabled, simply configure your ethernet device (eth0) as needed with ifconfig, configure your default gateway and don't forget to configure /etc/hosts, /etc/resolv.conf and /etc/sysconfig/network as needed ;

- The next problem you will have is that if you reboot you will need to insmod the module again. Simply add the this lines in /etc/rc.local like this :

insmod /usr/src/drivers/3Com/3c2000-2.4.20-18.9/3c2000.o
ifconfig eth0 192.17.226.1 netmask 255.255.255.0
route add default gw 192.17.226.254

- The /usr/src/drivers/3Com/3c2000-2.4.20-18.9/3c2000.o simply represents the path to the 3c2000.o file in my 3c2000. Please modify this information and the IP adresses as needed ;

- Keep the 3c2000.tar.gz, because if you upgrade your kernel you will need to 'make load' a new 3c2000.o, that's why I changed the directory name 3c2000 to 3c2000-2.4.20-18.9 to identify the different versions ;

Voilà mon ami! It should now works fine.

Be safe, read instructions carefully and I hope it helps

Optimized
(Offline)   Reply With Quote
Old 07-13-2003, 03:56 PM   #7
Registered User
 
Join Date: Jun 2003
Posts: 22
An alternative to have the driver load upon boot up is to add the following lines to /etc/modules.conf:

alias eth0 3c2000
options 3c2000 DupCap_A=Full
__________________
Intel 2.8C @ 3.2Ghz
Custom Water Coolng (read "HomeBuilt")
ASUS P4C800 1008.004
Corsair 2x512 PC3200ll
Radeon 9500 Pro

WinXP SP1, Linux Mandrake 9.1
(Offline)   Reply With Quote
Old 07-13-2003, 04:02 PM   #8
Registered User
 
Join Date: Jun 2003
Posts: 22
Btw, I believe the above will only work if the module is located in /lib/modules/"kernelversion"/kernel/net.

If you do a "make install" instead of "make load" the 3c2000.o will compile as well as be copied to the appropriate directory.


I am figuring this out as I go, if any of this is incorrect I welcome any comment..
__________________
Intel 2.8C @ 3.2Ghz
Custom Water Coolng (read "HomeBuilt")
ASUS P4C800 1008.004
Corsair 2x512 PC3200ll
Radeon 9500 Pro

WinXP SP1, Linux Mandrake 9.1
(Offline)   Reply With Quote
Old 11-10-2003, 06:18 PM   #9
Registered User
 
Join Date: Nov 2003
Posts: 3
Hi,
I got the P4P800 motherboard from ASUS (with the lan board integrated being 3c940 too), with REDHAT linux 9.0, but my problem isn't similar to yours.
I just type "make load" after unzipping the files I got from the cd (provided with the board), but it fails compiling. I get more than a hundred compiling errors (the screen buffer is full of error I mean). I guess this is due to missing file, but it could be something else...

I really need help because I need that ethernet board to work properly to connect to the internet.
Thanks!
(btw : I'm new to linux, this is the first time I install it)

edit : I just noticed that the .c and .h in the drivers try to include files like : /linux/module.h, but, that directory doesn't exist on my root (as I got RedHat !). What the **** am I going to do now ? There is a ton of include in the .c and .h ... I don't want to spend my time to correct the .c and .h , I feel it really bad.

Last edited by Dakkon : 11-10-2003 at 06:53 PM.
(Offline)   Reply With Quote
Old 11-10-2003, 10:28 PM   #10
Registered User
 
barureddy's Avatar
 
Join Date: Jun 2002
Location: Nashville
Posts: 1,414
It sounds like you need to install the kernel sources.
(Offline)   Reply With Quote
Old 11-11-2003, 02:03 PM   #11
Registered User
 
Join Date: Nov 2003
Posts: 3
the kernel sources ?? You mean ? I'm new, sorry.

In fact, the files to include are not located in /linux/ , but into /usr/include/inux (or /src/include/linux i dont remember if it's usr or src). So, the files are present, but not located where the .h and .c would like them to be. I could try to modify all the .c and .h provided by asus, and change the include line with #include <linux/module.h> by <src/include/linux/module.h>, but I really don't like doing that... There are more than 30 files to modify...
(Offline)   Reply With Quote
Old 11-11-2003, 02:37 PM   #12
Registered User
 
Join Date: May 2003
Location: FRANCE for the job
Posts: 33
You must verify that the kernel-source package is installed

type 'rpm -q kernel-source'

If kernel-source is installed you will see the package name appear.

You will need to retrieve this package and install it if not already installed. (I suggest you use redhat-config-packages to do so - Kernel Development section)

Alternatively, you might want to use redhat-config-network and choose the SysKonnect SK-98xx Gigabit driver for your card.

I don't know if it's available for Red Hat 9 but it is for Fedora Core 1 and it works great. The module name is sk98lin. Look at my dmesg :

sk98lin: Network Device Driver v6.15
(C)Copyright 1999-2003 Marvell(R).
eth0: 3Com Gigabit LOM (3C940)
PrefPort:A RlmtMode:Check Link State
eth0: network connection up using port A
speed: 10
autonegotiation: yes
duplex mode: half
flowctrl: none
scatter-gather: enabled

The speed is 10Mbps because of my cheesy router
(Offline)   Reply With Quote
Old 11-12-2003, 07:05 PM   #13
Registered User
 
Join Date: Nov 2003
Posts: 3
yeah
I did it. Thanks a lot optimized.... cétait simple en fait, mais bon, moi le kernel, je vois toujours pas ce que cest exactement
merci beaucoup
(first message from linux !)
(Offline)   Reply With Quote
Old 11-13-2003, 01:44 AM   #14
Registered User
 
Join Date: May 2003
Location: FRANCE for the job
Posts: 33
Le kernel est le noyau, le système d'exploitation en lui même

Et le kernel source sont simplement les sources de ce système
(Offline)   Reply With Quote
Old 11-22-2003, 07:04 AM   #15
Registered User
 
Join Date: Nov 2003
Posts: 10
Install

Well I tried to install Redhat 9 on my p4p800 + PIV 2.8 but when
install process is at "transfer install image" it quits and says "may be you have not enough install space". Well I tried with 3 disk 20 40 and 120 Gb. so the problem is not there.
Any hints or special procedure on installing it?
(Offline)   Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.1
vBulletin Skin developed by: vBStyles.com