The Design and Implementation of the IPMI Driver in Linux System
- Author
- LiHaoShuang
- Advisor
- ChenZhiGang
- School
- Central South University
- Major
- Applied Computer Technology
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 153
- Citations
- 1
Abstract
Currently, most IPMI drivers have their own advantage features, however, most of them could not be run on different platforms as they could not identify the types of IPMI system interfaces supported by the host, and could not be used for multi-user.This paper presents a solution for above issues, and implements a generic IPMI driver which could be used for multi-user.This paper provides a method to read IPMI related information (the system interface types supported by host) from SMBIOS, and initialize the IPMI System Interfaces automatically.This has greatly improved comparing with the traditional way that communicated to BMC by fixed ports, then, the new driver could be run on different platforms.Most of traditional IPMI drivers are designed with a single thread, and could only be accessed by single-user. In this paper, IPMI users、IPMI interfaces and IPMI messages have been all assigned and managed by an identify number. The whole system is based on event-driven; a callback function to receive the reply will be regiested when sending a command to BMC.This paper presentats a schedule strategy of BMC access, and tests show that the strategy works well.In this paper, the modulars of the system are loosely coupled; Modules are connected by abstract interfaces. Application interface module is to provide an easy-to-use interface for application. Message management module deals with the core logic of the driver, and connects different modules in the system.IPMI system interface module is responsible for talking to BMC directly.At last, this paper has demonstratesd the cross-platform and quick reaction in multi-user situation of the implementation by comparing with other IPMI drivers.
Table of contents
Abstract 4-5
ABSTRACT 5-8
first chapter 8-13
1.1 research background 8 - 9
1.2 research status 9-11
1.3 the main contents 11
1.4 articles organization and structure 11-13
Chapter IPMI standard procedures follow the norms developed 13-22
2.1 Linux driver framework 13-16
2.1.1 character devices and block devices 13 -14
2.1.2 device Driver Interface 14-15
2.1.3 device driver module 15-16
2.2 Sysfs file system 16-19
2.3 IPMI specification 19-20
2.4 baseboard management controller 20-21
2.5 chapter Summary 21-22 <br / > Chapter IPMI driver overall design 22-29
3.1 IPMI driver overall architecture 22-23
3.2 The system critical design thinking 23-28
3.2.1 event-driven design in the use of the driver 23-26
3.2.2 IPMI driver object 26-27
3.2.3 IPMI driver event format definition 27-28
3.2.4 error Handling 28
3.3 Chapter Summary 28-29
Chapter IPMI driver application program interface design and implementation 29-39
4.1 driver application Programming Interface overall design 29-30
4.2 driven application interface 30-38
4.2. a mechanism to distinguish between different users 1 30
4.2.2 open and close the flow device 30-32
4.2.3 driven blocking mechanism to achieve 32 -33
4.2.4 command sends flow 33-34
4.2.5 device to synchronize access mechanism to achieve 34-38
4.3 chapter Summary 38-39
Chapter IPMI driver message Manager design and Implementation 39-45
5.1 message Manager overall design 39-40
5.2 IPMI users, messages and system interface management strategies 40-41
5.3 BMC scheduling policy 41-43
5.4 BMC message receiving and processing methods 43-44 <br / > 5.5 Chapter Summary 44-45
Chapter IPMI system interface layer design and implementation 45-58
6.1 IPMI driver of communication with the BMC analysis 45-47
6.2 IPMI system interface module automatically detects 47-51
6.3 IPMI system interface abstraction module design and implementation 51-54
6.4 system test results 54-56
6.4.1 authentication multi-user support 54-56
6.4.2 experimental results 56
6.5 chapter Summary 56-58
Chapter Summary and Outlook 58-60
7.1 Full Summary 58
7.2 research Prospects 58-60
References 60-63
Thanks 63-64
master's major research achievements during 64
Related dissertations
- Design and Optimize of Network Interface Controller Based on Embedded Linux
- Design of Embedded Video Surveillance System Based on DaVinci Technology
- Design and Implementation of Physiological Data Acquisition Embedded System Based on the Wireless Transmission
- Reliability Design and Analysis of Dual-Redundant Network Access System Based on Cpci Bus
- Design and Implement of Data Swapping System for PCI-based GAP
- Design and implementation of multi modal biometric device visual recognition
- A Research of FRAM-based Linux Kernel Crash Dump Mechanism
- Research and Realization on Campus Network Resource Management System
- Design and Implementation of an Embedded Video Conferencing Systems Based on Android
- Intelligent Power Management Server Platform Technology Research
- The Design of Cardiac Rhythm Synchronized Ventricular Assist Device
- Study on intelligent traffic lights control based on ARM embedded image analysis
- Realize of WEB Management and Configuration of Clock Board in Airborne Test System Based on EtherCAT
- Implementation of the Intelligent Platform Management System Based on IPMI
- The Design of Video Monitoring System Based on ARM9
- The Design of OFDM in Embeded System
- ARM9 embedded system design information terminal tobacco
- The Design and Implementation of the AHB-PCMCIA bridge IP core driver
- Design of an Embedded System Platform and Application in Intelligent BUS System
- Smart home applications based on wireless sensor networks