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