LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   centos5.1 won't recognise eth1 nic card (https://www.linuxquestions.org/questions/linux-newbie-8/centos5-1-won%27t-recognise-eth1-nic-card-727893/)

shussain44 05-22-2009 07:27 PM

centos5.1 won't recognise eth1 nic card
 
hello , i have installed centos5.1, it won't recognise eth1 network device. when i install centos5.3, it does recognise the device which i use private network. same thing happen when i use older version of oracle enter prise linux. i use giga bythe pci network card from intellinet. i also tried another nic card from us robotis with same result. in the intellenet help file it says following which i don't under stand the task. any one has any idea. i am trying to install oracle rac in two node thanks in advance

1. This driver supports RealTek RTL8169s/8110s Gigabit Ethernet driver for Linux kernel 2.4.x.
2. Installation steps:
(1)Compiling r8169.c using 'Makefile'.
"make"
<NOTE>Please remember to ASSIGN "NEW_INCLUDE_PATH" in Makefile according to linux kernel.
(2)Move r8169.o to the directory "/lib/modules/<kernel>/kernel/drivers/net".

"cp r8169.o /lib/modules/<kernel>/kernel/drivers/net"

where <kernel> represents the kernel version, say 2.4.18-3 in Red Hat 7.3

jamescondron 05-23-2009 11:50 AM

Sure, did you download a tarball of the driver? Untar it, edit Makefile, find the line starting with
NEW_INCLUDE_PATH
and change it's value to whatever the output of uname -r is (Well, almost- mine is 2.6.26-2-686 so I'd change to 2.6.26-2).
Then just use make to build it. Of course, you'll need the build-essential package.

After this, find the file "r8169.o" and move it to where it says.

Easy.

chrism01 05-23-2009 07:44 PM

If Centos 5.3 works, use that; its free and will always be more up to date.

shussain44 05-24-2009 09:33 AM

centos5.1 won't recognise eth1 nic card
 
Quote:

Originally Posted by chrism01 (Post 3550632)
If Centos 5.3 works, use that; its free and will always be more up to date.

Thanks for the help. I am building 2 node RAC cluster following jeff hunter's blog which use centos 5.1. I tried using 5.3 but getting following error while mounting second node.

[root@linux2 /]# mount -t ocfs2 -o datavolume,nointr -L "oracrsfiles" /u02
mount.ocfs2: Transport endpoint is not connected while mounting /dev/sdb1 on /u02.

(8519,1):o2net_connect_expired:1585 ERROR: no connection established with node 0 after 30.0 seconds, giving up and returning errors.
(8914,1):dlm_request_join:901 ERROR: status = -107
(8914,1):dlm_try_to_join_domain:1049 ERROR: status = -107
(8914,1):dlm_join_domain:1321 ERROR: status = -107
(8914,1):dlm_register_domain:1514 ERROR: status = -107
(8914,1):ocfs2_dlm_init:2024 ERROR: status = -107
(8914,1):ocfs2_mount_volume:1133 ERROR: status = -107
-----------------
[root@linux1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
27.0.0.1 localhost.localdomain localhost
public Network -(eth0)
192.168.2.100 linux1


Currently i am trying with CENTOS4 . if it failed then i will try to run the make command and use 5.1.

i have following file in the instalation cd.
Makefile, R8169.

priviously i copied these 2 file in the /tmp folder and then try to run the make command. I am new bie in linux. Please let me know whether i need to copy somewhere else and then try to run the command.

shussain44 05-24-2009 09:35 AM

centos5.1 won't recognise eth1 nic card
 
Quote:

Originally Posted by jamescondron (Post 3550378)
Sure, did you download a tarball of the driver? Untar it, edit Makefile, find the line starting with
NEW_INCLUDE_PATH
and change it's value to whatever the output of uname -r is (Well, almost- mine is 2.6.26-2-686 so I'd change to 2.6.26-2).
Then just use make to build it. Of course, you'll need the build-essential package.

After this, find the file "r8169.o" and move it to where it says.

Easy.

what is tarball of the driver?

shussain44 05-24-2009 05:01 PM

"centos5.1 won't recognise eth1 nic car
 
Hi James,
my kernel version is [root@linux1 src]# uname -r
2.6.18-53.el5

there are three file in comes with the installation cd but they are for linux 2.4X

Makefile R8169.C README.TXT

following is my current makefile
---
# Makefile for a basic kernel module

CC=gcc
MODCFLAGS := -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX
NEW_INCLUDE_PATH=-I /usr/src/linux-2.6.18-53/include/

r8169.o: r8169.c /usr/include/linux/version.h
$(CC) $(MODCFLAGS) $(NEW_INCLUDE_PATH) -c r8169.c

clean:
rm *.o -f
-----------------------------------
i copied all the file to /tmp/ETH1
i type make i got following error
make: *** no rule to make target 'r8169.c' needed by 'r8169.0'. stop

Also there are only two directory no linux
[root@linux1 ETH1]# cd /usr/src
[root@linux1 src]# ls
kernels redhat


What am i doing wrong. thanks in advance


All times are GMT -5. The time now is 05:35 AM.