导航:首页 > 编程系统 > linuxpcie驱动安装

linuxpcie驱动安装

发布时间:2023-06-11 18:25:14

A. 求大神,PCIE通道 M.2接口的硬盘能装装linux

主板上的M..2 接口也有两种规格:一种为SATA总线,另一种为PCIEx2/x4 总线。安装设置方法如下:
1、首先要确认主板的M.2接口技术规格。可通过主板接口边上标识字符简单判断,如下示例,凡标有“32Gb/s”字样,即为PCIE x4 规格。若主板没有相应标识,可查看主板说明书得知;

2、而SSD卡盘一般在购买的时候,即可知道其技术规格。若为NVMe标准规格,必定是PCIE x4总线产品; 若为SATA总线规格的SSD卡盘(早期上市的产品),PCIE x4 总线接口是不能支持使用的;
3、当SSD卡盘与接口插槽为同一技术规格,卡盘插入卡槽后,锁固螺丝,即完成物理安装;
4、NVMe标准的卡盘,新主板(Intel 100/200系主板)还需要在主板BIOS中,设置“使用(Enabled)”该SSD卡盘,即使用PCIE总线工作 。有些主板BIOS中没有这一选项,设置为AHCI模式即可,NVMe控制器会在操作系统设备管理中出现;
5、注意事项:
①安装操作系统时,需要先安装该卡盘的NVMe驱动程序后,才能在SSD卡盘安装系统;
② 市场上多数非零售版(OEM版本)NVMe 规格卡盘,没有附带驱动程序,需要去其官网,查询是否有相应操作系统版本的驱动程序下载;
③如果厂商不提供该型号卡盘驱动程序,只能安装内箝NVMe驱动程序的Win10操作系统。

B. 在LINUX中如何加载驱动网卡

直接找好对应的驱动 一般都会有readme 或者install 之类的说明文档来告诉你如何去安装这个网卡驱动的

Linux* Base Driver for the Atheros(R) AR8121/AR8113 PCI-E Ethernet Adapter
==========================================================================

Contents
========

- In This Release
- Building and Installation
- Command Line Parameters
- Additional Configurations
- Known Issues
- Support

In This Release
===============

This file describes the Linux* Base Driver for the Atheros(R) AR8121/AR8113 PCI-E
Ethernet Adapter, version 1.0.0.5 This driver supports the 2.4.x and 2.6.x kernels.

This driver is only supported as a loadable mole at this time. Atheros is not
supplying patches against the kernel source to allow for static linking of
the driver. For questions related to hardware requirements, refer to the
documentation supplied with your Atheros(R) adapter. All hardware
requirements listed apply to use with Linux.

Building and Installation
=========================

To build a binary RPM* package of this driver, run 'rpmbuild -tb
<filename.tar.gz>'. Replace <filename.tar.gz> with the specific filename of
the driver.

NOTE: For the build to work properly, the currently running kernel MUST match
the version and configuration of the installed kernel sources. If you
have just recompiled the kernel reboot the system now.

RPM functionality has only been tested in Red Hat distributions.

1. Move the base driver tar file to the directory of your choice. For example,
use /home/username/arl1e or /usr/local/src/arl1e.

2. Untar/unzip archive:

tar zxf arl1e-x.x.x.x.tar.gz

3. Change to the driver src directory:

cd arl1e-x.x.x.x/src/

4. Compile the driver mole:

make install

The binary will be installed as:

/lib/moles/<KERNEL VERSION>/kernel/drivers/net/arl1e.[k]o

The install locations listed above are the default locations. They might
not be correct for certain Linux distributions. For more information,
see the ldistrib.txt file included in the driver tar.

5. Install the mole:

insmod arl1e <parameter>=<value>

6. Assign an IP address to the interface by entering the following, where
x is the interface number:

ifconfig ethx <IP_address>

7. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:

ping <IP_address>

Command Line Parameters
=======================

If the driver is built as a mole, the following optional parameters are
used by entering them on the command line with the modprobe or insmod command
using this syntax:

modprobe arl1e [<option>=<VAL1>,<VAL2>,...]

insmod arl1e [<option>=<VAL1>,<VAL2>,...]

For example, with two L001 PCIE adapters, entering:

insmod arl1e TxMemSize=80,128
loads the arl1e driver with 8KB TX memory for the first adapter and 10KB TX memory
for the second adapter.

The default value for each parameter is generally the recommended setting,
unless otherwise noted.

NOTES: A descriptor describes a data buffer and attributes related to the
data buffer. This information is accessed by the hardware.

media_type
Valid Range: 0-4
0 - auto-negotiate at all supported speeds
1 - only link at 1000Mbps Full Duplex
2 - only link at 100Mbps Full Duplex
3 - only link at 100Mbps Half Duplex
4 - only link at 10Mbps Full Duplex
5 - only link at 10Mbps Half Duplex
Default Value: 0
media_type forces the line speed/plex to the specified value in
megabits per second(Mbps). If this parameter is not specified or is set
to 0 and the link partner is set to auto-negotiate, the board will
auto-detect the correct speed.

int_mod_timer
Valid Range: 50-65000
Default Value: 100
This value represents the minmum interval between interrupts controller
generated.

RxMemBlock
Valid Range: 16-512
Default Value: 64
This value is the number of receice memory block allocated by the driver.
Increasing this value allows the driver to buffer more incoming packets.
Each memory block is 1536 bytes.

NOTE: Depending on the available system resources, the request for a
higher number of receive descriptors may be denied. In this case,
use a lower number.

TxMemSize
Valid Range: 4-64
Default Value: 8
This value is the number KB of transmit memory allocated by the driver.
Increasing this value allows the driver to queue more transmits.

NOTE: Depending on the available system resources, the request for a
higher number of transmit descriptors may be denied. In this case,
use a lower number.

FlashVendor
Valid Range: 0-2
Default Value: 0
This value standards on vendor of spi flash used by the adapter.
0 for Atmel, 1 for SST, 2 for ST

Additional Configurations
=========================

Configuring the Driver on Different Distributions
-------------------------------------------------

Configuring a network driver to load properly when the system is started is
distribution dependent. Typically, the configuration process involves adding
an alias line to /etc/moles.conf as well as editing other system startup
scripts and/or configuration files. Many popular Linux distributions ship
with tools to make these changes for you. To learn the proper way to
configure a network device for your system, refer to your distribution
documentation. If ring this process you are asked for the driver or mole
name, the name for the Linux Base Driver for the Atheros AR8121/AR8113 is arl1e

As an example, if you install the arl1e driver for two AR8121/AR8113 adapters
(eth0 and eth1) and set the speed and plex to 10full and 100half, add the
following to moles.conf:

alias eth0 arl1e
alias eth1 arl1e
options arl1e Speed=10,100 Duplex=2,1

Viewing Link Messages
---------------------

Link messages will not be displayed to the console if the distribution is
restricting system messages. In order to see network driver link messages
on your console, set dmesg to eight by entering the following:

dmesg -n 8

NOTE: This setting is not saved across reboots.

Known Issues
============

NOTE: For distribution-specific information, see the ldistrib.txt file
included in the driver tar.

Driver Compilation
------------------

When trying to compile the driver by running make install, the following
error may occur:

"Linux kernel source not configured - missing version.h"

To solve this issue, create the version.h file by going to the Linux source
tree and entering:

make include/linux/version.h.

Support
=======

For general information, go to the Atheros support website at:

http://support.atheros.com

If an issue is identified with the released source code on the supported
kernel with a supported adapter, email the specific information related to
the issue to [email protected]

License
=======

This software program is released under the terms of a license agreement
between you ('Licensee') and Atheros. Do not use or load this software or any
associated materials (collectively, the 'Software') until you have carefully
read the full terms and conditions of the LICENSE located in this software
package. By loading or using the Software, you agree to the terms of this
Agreement. If you do not agree with the terms of this Agreement, do not
install or use the Software.

* Other names and brands may be claimed as the property of others.

C. linux下pcie驱动开发,该看些什么资料

linux下pcie驱动开发大概可以分为4个阶段,水平从低到高:
从安装使用=>linux常用命令=>linux系统编程内=>内核开发阅读内容核源码
系统编程推荐《高级unix环境编程》;
还有《unix网络编程》;
内核开发阅读内核源码阶段,从写驱动入手逐渐深入linux内核开发
参考书如下:
1.《linux device drivers》
2.《linux kernel development》
3.《understading the linux kernel》
4.《linux源码情景分析》
然后还需要看资料理解elf文件格式,连接器和加载器,cmu的一本教材中文名为《深入理解计算机系统》比较好。

D. 装完linux系统重启不停地提示“pciehp.....”,怎么解决

未安装成功,需要重装。

E. 嵌入式linux中的pcie怎么使用

跟pc上的pcie一样的一个总线而已啊,你有pcie设备的话插上你的板子上的pcie 插槽,就可以用了。当然你的系统中还得有pcie设备的驱动支持才行。

F. linux下pcie设备卡驱动问题

bash#lsmod|grep驱动模块名

G. 安装linux 出现realtek pcie gbe family controller ser

Realtek PCIE GBE family controller这个是你的网卡驱动~~建议你重新安装一下网卡驱动。
安装Realtek驱动时建议不要使用最新版的驱动,而是选择稳定版本~

阅读全文

与linuxpcie驱动安装相关的资料

热点内容
html5中加入js 浏览:441
美服applestoreid 浏览:889
微信数据文件能清吗 浏览:107
图片编辑到文件里打印怎么有重影 浏览:593
舟山四轴编程培训哪个学校好 浏览:542
没加别人QQ可以发word文件 浏览:51
手机桌面的文件路径 浏览:892
改款新宝来怎么使用手机app 浏览:281
dede工具 浏览:507
5g网盟app怎么下载 浏览:486
微信备份老是连接中断 浏览:886
出台多少份文件 浏览:380
鞋子怎么搭配衣服的app 浏览:755
文件名使用的通配符的符号是什么 浏览:916
lol分卷文件损坏怎么办 浏览:276
6分管车螺纹怎么编程 浏览:732
海口农商银行信用卡app是什么 浏览:770
win10任务栏文件夹我的电脑 浏览:14
安卓nba2k18 浏览:776
文件夹密码怎么修改密码 浏览:271

友情链接