说明:
MARVELL Yukon 88E8056为windows上驱动名
一、驱动下载
到华硕官网搜索主板型号"P5BV-C",这款主板的网卡芯片正是MARVELL Yukon 88E8056,然后找到for linux的驱动,驱动名:Marvell_LAN_CAP_Linux_105013
二:驱动安装
下载驱动后,通过u盘复制驱动至/root目录
挂载U盘
mount /dev/sdb /mnt
复制驱动
#cp iMarvell_LAN_CAP_Linux_105013.zip /root
进入/root目录,解压缩该驱动
cd /root
tar xvf Marvell_LAN_CAP_Linux_105013.zip
解压缩完成后,进入DriverInstall目录
cd DriverInstall
添加安装脚本执行权限,否则将提示无权限执行
chmod +x install.sh
添加系统内核的软链接
#ln -s /usr/src/kernels/2.6.18-92.el5-x86_64 /usr/src/linux
使用安装脚本
,/install.sh
使用过程中要求选择选项
首先 选择 1
1) installation
然后出现一段提示,问我们是否要将驱动挂载到内核模块,这里我们选择是,输入y
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后,提示我们按任意键,按完后我们选择第一项do nothing 然后编译驱动到内核
Do nothing:
- The sk98lin will be installed
NOTE: It may happen that the alternative driver will be loaded on
the next boot process. In this case the Marvell driver _WON'T_ be
loaded.
Deactivate driver:
- The alternative driver will be renamed to _skge.ko or _sky2.ko
- All references in the /etc/modprobe.conf file will be changed to
the sk98lin driver
- The alternative driver will be unloaded
- The sk98lin driver will be installed
Remove driver (recommended):
- The alternative driver will be removed from your system
- All references in the /etc/modprobe.conf file will be changed to
the sk98lin driver
- The alternative driver will be unloaded
- The sk98lin driver will be installed
1) Do nothing
2) Deactivate diver
3) Remove driver
Action: 1
Create tmp dir (/tmp/Sk98IahVXCRNKoSahhFHhHUPI) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.6.18-92.el5) [ OK ]
Check kernel symbol file (/proc/kallsyms) [ OK ]
Check kernel type (SMP) [ OK ]
Check number of CPUs (2) [ OK ]
Check architecture (found) [ OK ]
Set architecture (x86_64) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (kernel) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (4.1.2) (Kernel:4.1.2 == gcc:4.1.2) [ OK ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux) [ OK ]
Check modpost availability (available) [ OK ]
Unpack the sources (done) [ OK ]
Check firmware availability (not available) [ OK ]
Check sources for .config file (/usr/src/linux/.config) [ OK ]
Copy and check .config file (done) [ OK ]
Check the mem address space (lowmem) [ OK ]
Change IOMMU (enabled) [ OK ]
Create new .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Check kernel header version (not recognized) [ warn ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (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...
编译完毕后,我们输入 modprobe sk98lin,加载信增加的内核模块
modprobe sk98lin,
查看模块加载
[root@localhost ~]# lsmod |grep sk98lin.
sk98lin 222780 1
这时驱动安装完毕
MARVELL Yukon 88E8056为windows上驱动名
一、驱动下载
到华硕官网搜索主板型号"P5BV-C",这款主板的网卡芯片正是MARVELL Yukon 88E8056,然后找到for linux的驱动,驱动名:Marvell_LAN_CAP_Linux_105013
二:驱动安装
下载驱动后,通过u盘复制驱动至/root目录
挂载U盘
mount /dev/sdb /mnt
复制驱动
#cp iMarvell_LAN_CAP_Linux_105013.zip /root
进入/root目录,解压缩该驱动
cd /root
tar xvf Marvell_LAN_CAP_Linux_105013.zip
解压缩完成后,进入DriverInstall目录
cd DriverInstall
添加安装脚本执行权限,否则将提示无权限执行
chmod +x install.sh
添加系统内核的软链接
#ln -s /usr/src/kernels/2.6.18-92.el5-x86_64 /usr/src/linux
使用安装脚本
,/install.sh
使用过程中要求选择选项
首先 选择 1
1) installation
然后出现一段提示,问我们是否要将驱动挂载到内核模块,这里我们选择是,输入y
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后,提示我们按任意键,按完后我们选择第一项do nothing 然后编译驱动到内核
Do nothing:
- The sk98lin will be installed
NOTE: It may happen that the alternative driver will be loaded on
the next boot process. In this case the Marvell driver _WON'T_ be
loaded.
Deactivate driver:
- The alternative driver will be renamed to _skge.ko or _sky2.ko
- All references in the /etc/modprobe.conf file will be changed to
the sk98lin driver
- The alternative driver will be unloaded
- The sk98lin driver will be installed
Remove driver (recommended):
- The alternative driver will be removed from your system
- All references in the /etc/modprobe.conf file will be changed to
the sk98lin driver
- The alternative driver will be unloaded
- The sk98lin driver will be installed
1) Do nothing
2) Deactivate diver
3) Remove driver
Action: 1
Create tmp dir (/tmp/Sk98IahVXCRNKoSahhFHhHUPI) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.6.18-92.el5) [ OK ]
Check kernel symbol file (/proc/kallsyms) [ OK ]
Check kernel type (SMP) [ OK ]
Check number of CPUs (2) [ OK ]
Check architecture (found) [ OK ]
Set architecture (x86_64) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (kernel) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (4.1.2) (Kernel:4.1.2 == gcc:4.1.2) [ OK ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux) [ OK ]
Check modpost availability (available) [ OK ]
Unpack the sources (done) [ OK ]
Check firmware availability (not available) [ OK ]
Check sources for .config file (/usr/src/linux/.config) [ OK ]
Copy and check .config file (done) [ OK ]
Check the mem address space (lowmem) [ OK ]
Change IOMMU (enabled) [ OK ]
Create new .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Check kernel header version (not recognized) [ warn ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (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...
编译完毕后,我们输入 modprobe sk98lin,加载信增加的内核模块
modprobe sk98lin,
查看模块加载
[root@localhost ~]# lsmod |grep sk98lin.
sk98lin 222780 1
这时驱动安装完毕
转载于:https://blog.51cto.com/wolfbeing/154097