2 installation instructions under linux, Installation instructions under linux, Dependencies – Teledyne LeCroy Protocol PCI Express Script Automation Test Tool User Manual

Page 18: Module use

Advertising
background image

Teledyne LeCroy

PCI Express Script Automation Test Tool User Manual

14

5. Restart the DUT.

You can now perform full testing of the port, including Advanced Error Reporting.

2.5.2 Installation Instructions under Linux

2.5.2.1 Dependencies

2.5.2.1.1 Root Access

Installation of the module requires root privileges. Preferably, grant sudo access to normal users:

$ su –c “vi /etc/sudoers”

(or editor of choice)


(You can also log in as the root user, or switch to root via the su command.)

Add individual user access by adding your username and permissions. For example:
<username> ALL=(ALL) ALL


You can also add group access by uncommenting and/or modifying one of the provided examples.
The sudoers file describes the various permissions.

2.5.2.1.2 GNU C Compiler (GCC)

Only a GNU C compiler can compile the Device Emulator module source code. Some Linux distributions install this
compiler by default. To check whether your Linux distribution has installed GCC, type gcc to see if the command
is found or not.

Ubuntu typically installs GCC by default.

2.5.2.1.3 Linux Kernel Headers

To compile the module for the particular kernel requires kernel headers. The kernel header version should match
that of the kernel. The package management system usually manages kernel headers.

2.5.2.2 Module Use

2.5.2.2.1 Source Installation

Choose a directory in which to place the module sources, change to that directory, and "untar" the source tarball.

$ tar xzf pcide_1_0.tar.gz
$ cd pcide
$ make








Advertising