The basic experiment of information security system design four 20135210&20135218

Source: Internet
Author: User

Beijing Institute of Electronic Technology (BESTI)

Real Inspection report

Course: Information Security system Design Basic class: 1352

Name: Ellis, Jing Mengxin

School Number: 20135210,20135218

Score: Instructor: Lou Jia Peng Experimental Date: 2015.11.17

Experiment level: Preview degree: Experiment time: 15:30-18:00

Instrument Group: Compulsory/Elective: compulsory Test number: 4

Experiment Name: Introduction to Kernel-driven design-module- driven experiment

Experimental purposes and requirements:

(1) Learn the principle of driving design under LINUX

(2) Mastering the process of driving development and debugging by using module mode

Experimental instrument:

Name

Model

Number

Arm

Up-tech

1

PC Machine

Xp

1

Virtual machines

REDHAT

1

Experiment contents, steps and experience:

First, the understanding of the experiment process, the understanding of the knowledge point in the experiment instruction book.

(1) Differences between using GCC to compile and use cross-compilation

GCC compilation is compiled under Linux and requires a command

#mknod/dev/demo C 254 0

  

To establish the device node. Cross-compilation does not require the creation of nodes.

(2) How to test the driver?

The first step is to insert the driver module DEMO.O, then you can use the Lsmod command to see if the module has been inserted, you can also use the Rmmod command to unload the module when you do not use it. Then run the test program to see if the results are consistent with what you expect.

Ii. problems encountered in the course of the experiment and solutions

Compilation failed

After reviewing the instructions, it was found that a Linux connection could not be established under/USR/SRC.

Enter the following command to resolve the issue.

[[email protected] 01_demo]# cd/usr/src/[[email protected] src]# ln-sf linux-2.4.20-8 linux[[email protected] src]# LSDE Bug Linux linux-2.4 linux-2.4.20-8 redhat

  

The basic experiment of information security system design four 20135210&20135218

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.