LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   not able to install silan sc92031 pci ethernet adaptor on rhel 4 2.6.9-5.EL (https://www.linuxquestions.org/questions/linux-networking-3/not-able-to-install-silan-sc92031-pci-ethernet-adaptor-on-rhel-4-2-6-9-5-el-651208/)

vibhorgupta 06-24-2008 02:00 AM

not able to install silan sc92031 pci ethernet adaptor on rhel 4 2.6.9-5.EL
 
i need loads of help as i am very new to linux, in installing silan sc92031 PCI Ethernet Adapter driver on rhel 4 2.6.9-5.EL which i have been trying to do myself for last 3 days.
I recently install this rhel 4 and after that i am not able to access internet, though earlier for the same machine i was using XP and win 98 and was able to access internet, but with rhel 4 m not able to do so.

i have the soft copy of the driver file that came with the NIC card.
it has following files:
°²×°ÊÖ²á.txt
readme.txt
Makefile
sc92031.c

[root@localhost sc92031]# uname -r
2.6.9-5.EL
[root@localhost sc92031]# uname -a
Linux localhost 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Lin ux

[root@localhost sc92031]# lsmod
Module Size Used by
nls_utf8 2113 1
parport_pc 24705 1
lp 12077 0
parport 37129 2 parport_pc,lp
autofs4 23237 0
i2c_dev 11329 0
i2c_core 22081 1 i2c_dev
sunrpc 157093 1
ipt_REJECT 6593 1
ipt_state 1857 3
ip_conntrack 40949 1 ipt_state
iptable_filter 2753 1
ip_tables 16833 3 ipt_REJECT,ipt_state,iptable_filter
md5 4033 1
ipv6 232705 8
joydev 10241 0
uhci_hcd 31065 0
hw_random 5845 0
snd_ens1371 24936 2
snd_rawmidi 26597 1 snd_ens1371
snd_seq_device 8137 1 snd_rawmidi
snd_pcm_oss 49017 0
snd_mixer_oss 17985 2 snd_pcm_oss
snd_pcm 96841 2 snd_ens1371,snd_pcm_oss
snd_timer 29893 1 snd_pcm
snd_page_alloc 9673 1 snd_pcm
snd_ac97_codec 63889 1 snd_ens1371
snd 54949 10 snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm_oss ,snd_mixer_oss,snd_pcm,snd_t
[root@localhost sc92031]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1969 errors:0 dropped:0 overruns:0 frame:0
TX packets:1969 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1854758 (1.7 MiB) TX bytes:1854758 (1.7 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost sc92031]#imer,snd_ac97_codec
soundcore 9889 2 snd
8139too 25921 0
mii 4673 1 8139too
floppy 58481 0
dm_snapshot 17029 0
dm_zero 2369 0
dm_mirror 22957 2
ext3 116809 2
jbd 71257 1 ext3
dm_mod 54741 6 dm_snapshot,dm_zero,dm_mirror
[root@localhost sc92031]#
[root@localhost sc92031]# lspci
00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corp. 82815 CGC [Chipset Graphics Controller] (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 01)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 01)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 01)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 01)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 01)
01:07.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
01:0c.0 Ethernet controller: Unknown device 1904:8139 (rev 01)
[root@localhost sc92031]#
[root@localhost sc92031]# dmesg|grep 8139too
8139too: Unknown parameter `irq'
8139too Fast Ethernet driver 0.9.27
[root@localhost sc92031]# modprobe 8139too
[root@localhost sc92031]#
[root@localhost sc92031]# /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1961 errors:0 dropped:0 overruns:0 frame:0
TX packets:1961 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1854110 (1.7 MiB) TX bytes:1854110 (1.7 MiB)


[root@localhost sc92031]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1969 errors:0 dropped:0 overruns:0 frame:0
TX packets:1969 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1854758 (1.7 MiB) TX bytes:1854758 (1.7 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost sc92031]#
TX packets:1969 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1854758 (1.7 MiB) TX bytes:1854758 (1.7 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost sc92031]#
[root@localhost sc92031]# make

*****************************
sc92031.o built for 2.6.9-5.EL
SMP Disabled
*****************************

In file included from /lib/modules/2.6.9-5.EL/build/include/asm/processor.h:18,
from /lib/modules/2.6.9-5.EL/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.9-5.EL/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.9-5.EL/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.9-5.EL/build/include/linux/capability.h:45,
from /lib/modules/2.6.9-5.EL/build/include/linux/sched.h:7,
from /lib/modules/2.6.9-5.EL/build/include/linux/module.h:10,
from sc92031.c:19:
/lib/modules/2.6.9-5.EL/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.9-5.EL/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.9-5.EL/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:20,
from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-5.EL/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.9-5.EL/build/include/asm/highmem.h:24,
from /lib/modules/2.6.9-5.EL/build/include/linux/highmem.h:14,
from /lib/modules/2.6.9-5.EL/build/include/linux/skbuff.h:27,
from /lib/modules/2.6.9-5.EL/build/include/linux/if_ether.h:106,
from /lib/modules/2.6.9-5.EL/build/include/linux/netdevice.h:29,
from sc92031.c:26:
/lib/modules/2.6.9-5.EL/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-5.EL/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.9-5.EL/build/include/asm/highmem.h:24,
from /lib/modules/2.6.9-5.EL/build/include/linux/highmem.h:14,
from /lib/modules/2.6.9-5.EL/build/include/linux/skbuff.h:27,
from /lib/modules/2.6.9-5.EL/build/include/linux/if_ether.h:106,
from /lib/modules/2.6.9-5.EL/build/include/linux/netdevice.h:29,
from sc92031.c:26:
/lib/modules/2.6.9-5.EL/build/include/linux/irq.h: At top level:
/lib/modules/2.6.9-5.EL/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-5.EL/build/include/linux/irq.h:72,
from /lib/modules/2.6.9-5.EL/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-5.EL/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-5.EL/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.9-5.EL/build/include/asm/highmem.h:24,
from /lib/modules/2.6.9-5.EL/build/include/linux/highmem.h:14,
from /lib/modules/2.6.9-5.EL/build/include/linux/skbuff.h:27,
from /lib/modules/2.6.9-5.EL/build/include/linux/if_ether.h:106,
from /lib/modules/2.6.9-5.EL/build/include/linux/netdevice.h:29,
from sc92031.c:26:
/lib/modules/2.6.9-5.EL/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
sc92031.c:106:40: missing binary operator before token "("
sc92031.c:356: warning: `MODULE_PARM_' is deprecated (declared at /lib/modules/2.6.9-5.EL/build/include/linux/module.h:552)
sc92031.c:357: warning: `MODULE_PARM_' is deprecated (declared at /lib/modules/2.6.9-5.EL/build/include/linux/module.h:552)
sc92031.c: In function `silan_open':
sc92031.c:945: warning: passing arg 2 of `request_irq' from incompatible pointer type
sc92031.c: In function `netdev_ethtool_ioctl':
sc92031.c:1848: error: `np' undeclared (first use in this function)
sc92031.c:1848: error: (Each undeclared identifier is reported only once
sc92031.c:1848: error: for each function it appears in.)
sc92031.c:1900:40: missing binary operator before token "("
make: *** [sc92031.o] Error 1


guys pls help me with this issue.
I have also tried doing it from application > system tools > internet configuration wizard
where i selected the RTL8139, SMC EZ card with eth0
then it gives me an error of "8139too device eth0 doesnot seem to be present, delay intialization".

Tell me how to go abt this.

shiv5rhce 09-25-2008 09:20 AM

how ?
 
please tell me,
how to install silan sc92031 pci ethernet adaptor on rhel 5

shiv5rhce 09-25-2008 09:25 AM

I am having Redhat enterprise linux 5(RHEL5).i am having trouble installing NIC(silan sc92031 PCI Fast Ethernet Adapter),but it is working on win xp sp2(i have dual operating system).While installing RHEL5 i didnt get the option to select eth0.i got a driver cd for silan sc92031 PCI Fast Ethernet Adapter.I am new to linux please help me in fixing this issue.can you provide me step by step solution for this issue.Thankyou

oppofwar 02-17-2009 01:10 PM

Solution For rhel sc92031 problem
 
Yup ndiswrapper doesnt work for it ,best alternative i found out is to install kernel 2.6.24 (vanilla) which recognizes the nic sc92031 easily and your network will work just fine

Kernel rpm location :
http://wiki.openvz.org/Download/kern....6.24-ovz008.1

Use:
rpm -ivh *.rpm
to install and reboot and enjoy

inayath 07-02-2009 07:42 AM

plz provide me the drivers installing silan sc92031 pci ethernet adaptor on rhel 4 2.6.9-22.EL
i heard about this site very much which provide good solutions .......
so plz sort my problem as early as possible.....thnku


All times are GMT -5. The time now is 03:09 AM.