去 网站下载一个合适的版本
Marvell.zip
Installation script for sk98lin driver.
Version 8.31.2.3 (Jan-18-2006)
[root@testboar Marvell_Lan]# ls
install.sh README sk98lin.4 sk98lin.tar.bz2
[root@testboar Marvell_Lan]# ./install.sh
Installation script for sk98lin driver.
Version 8.31.2.3 (Jan-18-2006)
(C)Copyright 2003-2005 Marvell(R).
====================================================
Add to your trouble-report the logfile install.log
which is located in the DriverInstall directory.
====================================================
1) installation
2) generate patch
3) exit
Choose your favorite installation method: 1
Please read this carfully!
This script will automatically compile and load the sk98lin
driver on your host system. Before performing both compilation
and loading, it is necessary to shutdown any device using the
sk98lin kernel module and to unload the old sk98lin kernel
module. This script will do this automatically per default.
Please plug a card into your machine. Without a card we aren't
able to check the full driver functionality.
Do you want proceed? (y/N) y
Create tmp dir (/tmp/Sk98IlcHiWWJoLWEdgpMhmgTk) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.4.21-4.EL) [ OK ]
Check kernel symbol file (/proc/ksyms) [ OK ]
Check kernel type (SP) [ OK ]
Check architecture (found) [ OK ]
Set architecture (i386) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (none) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (3.2.3) (Kernel:3.2.3 == gcc:3.2.3) [ OK ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux-2.4.21-4.EL) [ OK ]
Unpack the sources (done) [ OK ]
Check sources for .config file (none) [ OK ]
Execute: make mrproper (done) [ OK ]
Config files found (/usr/src/linux-2.4.21-4.EL/configs/) [ OK ]
Copying file from config directory (done) [ OK ]
Execute: make config (done) [ OK ]
Copy and check .config file (done) [ OK ]
Check the mem address space (highmem) [ OK ]
Change IOMMU (disabled) [ OK ]
Create new .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Execute: make dep (done) [ OK ]
Check kernel header version (Kernel:2.4.21-4.EL != Header:2.4.21-4.ELcustom) [ OK ]
Save old version.h (saved) [ OK ]
Check and create new version.h (created) [ OK ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the driver (done) [ OK ]
Copy driver man page into /usr/share/man/man4/ (done) [ OK ]
Check the driver (done) [ OK ]
Create kernel modules driver directory (done) [ OK ]
Delete old driver (done) [ OK ]
Copying driver (done) [ OK ]
Make dependency (done) [ OK ]
Delete temp directories (done) [ OK ]
All done. Driver installed and loaded.
To load the module manually, proceed as follows:
Enter "modprobe sk98lin"
Have fun...
[root@testboar Marvell_Lan]# ls
install.log install.sh README sk98lin.4 sk98lin.tar.bz2
[root@testboar Marvell_Lan]# dmesg
eth0: VIA VT6105 Rhine-III at 0xa000, 00:40:05:42:f9:0c, IRQ 11.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
ip_tables: (C) 2000-2002 Netfilter core team
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
divert: not allocating divert_blk for non-ethernet device ppp0
divert: no divert_blk to free, ppp0 not ethernet
divert: not allocating divert_blk for non-ethernet device ppp0
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: console ready
divert: no divert_blk to free, ppp0 not ethernet
ip_tables: (C) 2000-2002 Netfilter core team
PCI: Found IRQ 10 for device 01:09.0
divert: allocating divert_blk for eth1
sk98lin: Network Device Driver v8.31.2.3
(C)Copyright 1999-2006 Marvell(R).
PCI: Found IRQ 10 for device 01:09.0
eth1: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
PrefPort:A RlmtMode:Check Link State
新网卡就加载上了。
[root@testboar Marvell_Lan]# ifconfig eth1 up 就可以设置IP了。
阅读(2270) | 评论(0) | 转发(0) |