lsmod root test root lsmod root test root
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-1.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-2.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-3.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-4.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-5.jpg)
![lsmod [root @test /root]# lsmod • 範例: [root @test /root]# lsmod • 目前系統中的模組有哪些呢?就是以 lsmod lsmod [root @test /root]# lsmod • 範例: [root @test /root]# lsmod • 目前系統中的模組有哪些呢?就是以 lsmod](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-6.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-7.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-8.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-9.jpg)
![rmmod [root @test /root]# rmmod modules_name • 參數說明: 範例: [root @test /root]# rmmod 8139 rmmod [root @test /root]# rmmod modules_name • 參數說明: 範例: [root @test /root]# rmmod 8139](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-10.jpg)
![#define MODULE #include <linux/kernel. h> #include <linux/module. h> int init_module(void) { printk(“<1>Hello, wordn”); return #define MODULE #include <linux/kernel. h> #include <linux/module. h> int init_module(void) { printk(“<1>Hello, wordn”); return](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-11.jpg)
![□指令 # insmod. /hello. o 顯示 Hello, world # rmmod hello 顯示 Goodbye cruel □指令 # insmod. /hello. o 顯示 Hello, world # rmmod hello 顯示 Goodbye cruel](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-12.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-13.jpg)
![14 14](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-14.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-15.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-16.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-17.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-18.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-19.jpg)
![20 20](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-20.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-21.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-22.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-23.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-24.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-25.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-26.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-27.jpg)
![□int check_region(unsigned long start, unsigned long len); • 用來檢查某段範圍的I/O位址是否被佔用. □struct resource *request_region(unsigned long start, □int check_region(unsigned long start, unsigned long len); • 用來檢查某段範圍的I/O位址是否被佔用. □struct resource *request_region(unsigned long start,](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-28.jpg)
![□I/O port: 可從/proc/iomem檔案取得I/O memory的資 訊 29 □I/O port: 可從/proc/iomem檔案取得I/O memory的資 訊 29](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-29.jpg)
![□取得, 釋放特定一段的I/O memory region • int check_mem_region(usigned long start, unsigned long len); • int □取得, 釋放特定一段的I/O memory region • int check_mem_region(usigned long start, unsigned long len); • int](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-30.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-31.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-32.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-33.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-34.jpg)
![□教材: http: //www. oreilly. com. tw/bookcode/ldd 2 -samples 1. 0. 2. tar. gz □ □教材: http: //www. oreilly. com. tw/bookcode/ldd 2 -samples 1. 0. 2. tar. gz □](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-35.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-36.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-37.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-38.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-39.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-40.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-41.jpg)
- Slides: 41
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-1.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-2.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-3.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-4.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-5.jpg)
![lsmod root test root lsmod 範例 root test root lsmod 目前系統中的模組有哪些呢就是以 lsmod lsmod [root @test /root]# lsmod • 範例: [root @test /root]# lsmod • 目前系統中的模組有哪些呢?就是以 lsmod](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-6.jpg)
lsmod [root @test /root]# lsmod • 範例: [root @test /root]# lsmod • 目前系統中的模組有哪些呢?就是以 lsmod 來查看 6
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-7.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-8.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-9.jpg)
![rmmod root test root rmmod modulesname 參數說明 範例 root test root rmmod 8139 rmmod [root @test /root]# rmmod modules_name • 參數說明: 範例: [root @test /root]# rmmod 8139](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-10.jpg)
rmmod [root @test /root]# rmmod modules_name • 參數說明: 範例: [root @test /root]# rmmod 8139 too • 輸入『 rmmod 模組名稱』就可以移除模組 10
![define MODULE include linuxkernel h include linuxmodule h int initmodulevoid printk1Hello wordn return #define MODULE #include <linux/kernel. h> #include <linux/module. h> int init_module(void) { printk(“<1>Hello, wordn”); return](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-11.jpg)
#define MODULE #include <linux/kernel. h> #include <linux/module. h> int init_module(void) { printk(“<1>Hello, wordn”); return 0; } void cleanup_module(void) { printk(“<1>Goodby cruel worldn”); } □模組由insmod載入後模組就連接到核心因而能存取核心的公共符號 public symbol( 函式與變數 ). □printk()函式位於linux核心內部, 類似標準c函式庫printf(). □核心需要自己的列印函式不能求助於c函式庫. □<1>代表訊息的優先等級 數值越低等級越高. 11
![指令 insmod hello o 顯示 Hello world rmmod hello 顯示 Goodbye cruel □指令 # insmod. /hello. o 顯示 Hello, world # rmmod hello 顯示 Goodbye cruel](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-12.jpg)
□指令 # insmod. /hello. o 顯示 Hello, world # rmmod hello 顯示 Goodbye cruel world □訊息會被紀錄在 /var/log /message 檔案. □教材: http: //www. oreilly. com. tw/bookcode/ldd 2 -samples-1. 0. 2. tar. gz 12
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-13.jpg)
![14 14](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-14.jpg)
14
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-15.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-16.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-17.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-18.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-19.jpg)
![20 20](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-20.jpg)
20
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-21.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-22.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-23.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-24.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-25.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-26.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-27.jpg)
![int checkregionunsigned long start unsigned long len 用來檢查某段範圍的IO位址是否被佔用 struct resource requestregionunsigned long start □int check_region(unsigned long start, unsigned long len); • 用來檢查某段範圍的I/O位址是否被佔用. □struct resource *request_region(unsigned long start,](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-28.jpg)
□int check_region(unsigned long start, unsigned long len); • 用來檢查某段範圍的I/O位址是否被佔用. □struct resource *request_region(unsigned long start, unsigned long len , char *nam); • 要求註冊該位址區. 若核心同意, 此函式會回傳一 個non-NULL指標. 28
![IO port 可從prociomem檔案取得IO memory的資 訊 29 □I/O port: 可從/proc/iomem檔案取得I/O memory的資 訊 29](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-29.jpg)
□I/O port: 可從/proc/iomem檔案取得I/O memory的資 訊 29
![取得 釋放特定一段的IO memory region int checkmemregionusigned long start unsigned long len int □取得, 釋放特定一段的I/O memory region • int check_mem_region(usigned long start, unsigned long len); • int](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-30.jpg)
□取得, 釋放特定一段的I/O memory region • int check_mem_region(usigned long start, unsigned long len); • int request_mem_region(unsigned long start, unsigned long len, char *name); • int release_mem_region(unsigned long start, unsigned long len); 30
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-31.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-32.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-33.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-34.jpg)
![教材 http www oreilly com twbookcodeldd 2 samples 1 0 2 tar gz □教材: http: //www. oreilly. com. tw/bookcode/ldd 2 -samples 1. 0. 2. tar. gz □](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-35.jpg)
□教材: http: //www. oreilly. com. tw/bookcode/ldd 2 -samples 1. 0. 2. tar. gz □ http: //linuxassembly. org/resources. html 35
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-36.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-37.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-38.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-39.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-40.jpg)
![](https://slidetodoc.com/presentation_image_h2/81c370239de7d18c69f4a6f5f210e2c1/image-41.jpg)
How to simplify square root fractions
Tap root and fibrous root
Bound root
Cube root function graph
Parts of a root
Square root times square root
Sympathetic parasympathetic
Dendirite
Possible rational roots calculator
Unit root time series
Rational factor theorem
Norm-referenced assessment advantages and disadvantages
Www.123 test.com/disc-personality-test/
Heterophoria vs heterotropia
Intermittent exotropia
What is the ha
Z test and t test
Parametric test and non parametric test
Difference between a paired and unpaired t test
Butcher test example
When do we use z test or t test
Non-parametric t-test
Worth 4 dot test
öntest sontest kontrol gruplu deneysel desen
123 test.com/career-test
When to use z or t test
Www.123 test.com/disc-personality-test/
Contoh tes prestasi belajar
Science reasoning test
Algebra 2 unit test
123 test.com/career-test
Mann-whitney u test vs t-test
Pacer test
When to use limit comparison test
Tek denekli desenler
Extends testcase
123 test.com/career-test
Perbedaan z test dan t test
What is test strategy
Dolaxin
Nsa math proficiency test
Namakarma