CN104239174A - BMC (baseboard management controller) remote debugging system and method - Google Patents

BMC (baseboard management controller) remote debugging system and method Download PDF

Info

Publication number
CN104239174A
CN104239174A CN201310238912.8A CN201310238912A CN104239174A CN 104239174 A CN104239174 A CN 104239174A CN 201310238912 A CN201310238912 A CN 201310238912A CN 104239174 A CN104239174 A CN 104239174A
Authority
CN
China
Prior art keywords
bmc
remote
remote debugging
abnormal information
abnormal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310238912.8A
Other languages
Chinese (zh)
Inventor
陈吉宝
彭爽
杨小虎
胡明祥
马瑞平
马守恒
李海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310238912.8A priority Critical patent/CN104239174A/en
Priority to TW102123334A priority patent/TW201500919A/en
Publication of CN104239174A publication Critical patent/CN104239174A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A BMC (baseboard management controller) remote debugging method includes the steps of if a BMC is abnormal, receiving a command to switch a BMC debugging mode into a remote debugging mode, transmitted by a remote terminal; acquiring information about abnormality of the BMC, and writing the information in a first buffer region; transmitting the information from the first buffer region to the remote terminal through a network adapter card; receiving a debug command for the information, transmitted by the remote terminal, and writing the debug command in a second buffer region; reading the debug command for the information, from the second buffer region, and executing the debug command to debug the abnormality of the BMC. The invention further provides a BMC remote debugging system.

Description

BMC remote debugging system and method
Technical field
The present invention relates to a kind of baseboard management controller (Baseboard Management Controller, BMC) remote debugging system and method.
Background technology
In server system, BMC primary responsibility intelligent monitoring substrate, when BMC occurs that abnormal (such as system crashes without reason) needs to debug, in laboratory, usual slip-stick artist can check the operation conditions of BMC firmware (Firmware) by debug serial port, and analyzes abnormal reason and reach a conclusion.But in the server product of shipment, such as cabinet type server, usual Debug mouth is welding not, even and if have welding debug serial port, also need to take casing apart, connect debugging line.When debugging, after sending intelligent platform management interface (Intelligent Platform Management Interface, IPMI) order from client, need again to check the information fed back from debug serial port.Operate so cumbersome, when opening main case, also have risk product being caused to artificial damage simultaneously.
Summary of the invention
In view of above content, be necessary to provide BMC remote debugging system and method, it can make staff can the BMC system of remote diagnosis, debugging and testing user very easily.
A kind of BMC remote debugging system, this system comprises: receiver module, for when BMC occurs abnormal, receives the order debud mode of described BMC being switched to remote debugging that remote terminal sends; Acquisition module, for obtain described BMC there is abnormal abnormal information, and by this abnormal information write buffer zone one in; Sending module, for sending to remote terminal by the abnormal information in buffer zone one by network interface card; Described receiver module, also for receiving the debug command for described abnormal information that remote terminal sends, and writes debug command in buffer zone two; Execution module, reads the debug command for described abnormal information from buffer zone two, and performs this debug command to debug the exception of BMC.
A kind of BMC remote debugging method, the method comprises: receiving step one, when BMC occurs abnormal, receives the order debud mode of described BMC being switched to remote debugging that remote terminal sends; Obtaining step, obtain described BMC there is abnormal abnormal information, and by this abnormal information write buffer zone one in; Forwarding step, sends to remote terminal by the abnormal information in buffer zone one by network interface card; Receiving step two, receives the debug command for described abnormal information that remote terminal sends, and debug command is write in buffer zone two; Perform step, from buffer zone two, read the debug command for described abnormal information, and perform this debug command to debug the exception of BMC.
Compared to prior art, described BMC remote debugging system can make server system end be connected to the serial ports one of BMC rapidly by multiplexer, and it can the AccessPort of Long-distance Control BMC very easily.
Accompanying drawing explanation
Fig. 1 is the applied environment figure of BMC remote debugging system of the present invention.
Fig. 2 is the module map of BMC remote debugging system of the present invention.
Fig. 3 is the process flow diagram of the preferred embodiment of BMC remote debugging method of the present invention.
Main element symbol description
Server 1
BMC 3
BMC remote debugging system 34
Module is set 340
Judge module 341
Trigger module 342
Receiver module 343
Acquisition module 344
Sending module 345
Execution module 346
Serial ports 31
Network interface card 32
Buffer zone one 33
Buffer zone two 35
Storer 36
Processor 37
Remote terminal 4
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the applied environment figure of BMC remote debugging system of the present invention.BMC remote debugging system 34 is applied in server 1 and debugs BMC3.Described server 1 also comprises serial ports 31 and network interface card 32.Described BMC3 comprises buffer zone 1, buffer zone 2 35, storer 36 and processor 37.Described server 1 is communicated with remote terminal 4 by described network interface card 32.Described remote terminal 4, for when BMC occurs abnormal, sends debug command according to BMC abnormal information.
Described buffer zone 1 is for storing abnormal information, and described exception, as crashed suddenly when BMC starts to kernel, when BMC10 startup optimization crashes suddenly to certain thread, BMC10 runs, network error etc. occurs.
Described buffer zone 2 35 for storing debug command, the order of the debugging BMC that described debug command sends for described abnormal information when remote terminal 4 occurs abnormal according to BMC.
The serial ports that described serial ports 31 exports for this locality of BMC running status, for used at this locality debugging BMC.
Described remote terminal 4 can be desktop computer, notebook computer, panel computer etc.
As shown in Figure 2, be the module map of BMC remote debugging system.In the present embodiment, described BMC remote debugging system 34 comprises and arranges module 340, judge module 341, trigger module 342, receiver module 343, acquisition module 344, sending module 345 and execution module 346.Module alleged by the present invention refer to a kind of can be performed and the series of computation machine program segment of fixed function can be completed by processor 37, it is stored in storer 36.In the present embodiment, the function about each module will specifically describe in the flowchart of fig. 3.
As shown in Figure 3, be the process flow diagram of preferred embodiment of BMC remote debugging method of the present invention.According to different demands, in this process flow diagram, the order of step can change, and some step can be omitted.
Step S10, arrange module 340 and arrange the debud mode that original equipment manufacturer (Original Equipment Manufacturer, OEM) order carrys out control BMC3, described debud mode comprises AccessPort and remote debugging.0 representative " AccessPort " is such as set, 1 representative " remote debugging " is set.The acquiescence debud mode of BMC3 is AccessPort.
Step S11, when BMC3 carries out AccessPort, according to whether recording abnormal information in the log daily record of the storer 36 of BMC3, judge module 341 judges whether BMC exception occurs.
In the log daily record of the storer 36 of BMC3, have recorded abnormal information, then BMC there occurs exception, performs step S12; In the log daily record of the storer 36 of BMC3, do not have recording exceptional information, then not there is exception in BMC, and this flow process terminates.
Step S12, described trigger module 342 trigger remote terminal 4 sends OEM order, to switch the debud mode of BMC3 for remote debugging.
Step S13, the debud mode of described BMC switches in remote debugging by the described OEM order that receiver module 343 receives remote terminal 4 transmission.In the performance of operation interface, the selection window of a debud mode can be set at the display interface of remote terminal 4, this remote terminal 4 be triggered to send OEM order time, this selection window occurs, and receives the selection of client.
Step S14, acquisition module 344 obtains described BMC3 and abnormal abnormal information occurs, and by this abnormal information write buffer zone 1.
Step S15, the abnormal information in buffer zone 1 is sent to remote terminal 4 by network interface card 32 by sending module 345.
Step S16, remote terminal 4 analyzes the reason of this exception according to the described abnormal information received, and sends the debug command of this exception.For often kind of abnormal information, corresponding at least one debug command.
Step S17, receiver module 343 utilizes network interface card 32 to receive the described abnormal debug command of remote terminal 4 transmission, and debug command is write in buffer zone 2 35.
Step S18, execution module 346 reads described abnormal debug command from buffer zone 2 35, and performs this debug command to debug the exception of BMC3.
After described abnormal debugging, described trigger module 342 trigger remote terminal 4 sends OEM order and is switched on AccessPort by the debud mode of BMC3.
By the present invention, the information of this exception when BMC occurs abnormal, can be sent to remote terminal by described BMC remote debugging system, and remote terminal sends debug command to BMC to debug the exception of BMC extremely according to this.So do not need serial ports to debug BMC, and again can remote diagnosis and debugging, be very easy to the system development of staff, debugging and test.
Finally it should be noted that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a BMC remote debugging system, is characterized in that, this system comprises:
Receiver module, for when BMC occurs abnormal, receives the order debud mode of described BMC being switched to remote debugging that remote terminal sends;
Acquisition module, for obtain described BMC there is abnormal abnormal information, and by this abnormal information write buffer zone one in;
Sending module, for sending to remote terminal by the abnormal information in buffer zone one by network interface card;
Described receiver module, also for receiving the debug command for described abnormal information that remote terminal sends, and writes debug command in buffer zone two;
Execution module, reads the debug command for described abnormal information from buffer zone two, and performs this debug command to debug the exception of BMC.
2. BMC remote debugging system as claimed in claim 1, is characterized in that, this system also comprises and arranges module, and for arranging original equipment manufacturer OEM order to the debud mode of control BMC, described debud mode comprises AccessPort and remote debugging.
3. BMC remote debugging system as claimed in claim 1, it is characterized in that, this system also comprises judge module, judges whether BMC exception occurs for whether recording abnormal information in the log daily record of the storer according to BMC.
4. BMC remote debugging system as claimed in claim 1, it is characterized in that, this system also comprises trigger module, and for when BMC occurs abnormal, triggering described remote terminal transmission switching BMC debud mode is the order of remote debugging.
5. BMC remote debugging system as claimed in claim 4, is characterized in that, described trigger module is also for after the exception debugging of BMC, and it is the order of AccessPort that trigger remote terminal sends switching BMC debud mode.
6. a BMC remote debugging method, is characterized in that, the method comprises:
Receiving step one, when BMC occurs abnormal, receives the order debud mode of described BMC being switched to remote debugging that remote terminal sends;
Obtaining step, obtain described BMC there is abnormal abnormal information, and by this abnormal information write buffer zone one in;
Forwarding step, sends to remote terminal by the abnormal information in buffer zone one by network interface card;
Receiving step two, receives the debug command for described abnormal information that remote terminal sends, and debug command is write in buffer zone two;
Perform step, from buffer zone two, read the debug command for described abnormal information, and perform this debug command to debug the exception of BMC.
7. BMC remote debugging method as claimed in claim 6, it is characterized in that, the method also comprises setting steps, and arrange original equipment manufacturer OEM order to the debud mode of control BMC, described debud mode comprises AccessPort and remote debugging.
8. BMC remote debugging method as claimed in claim 6, it is characterized in that, the method also comprises determining step, whether records abnormal information and judge whether BMC exception occurs in the log daily record according to the storer of BMC.
9. BMC remote debugging method as claimed in claim 6, it is characterized in that, the method also comprises triggered step one, and when BMC occurs abnormal, triggering described remote terminal transmission switching BMC debud mode is the order of remote debugging.
10. BMC remote debugging method as claimed in claim 9, it is characterized in that, the method also comprises triggered step two, and after the exception debugging of BMC, it is the order of AccessPort that trigger remote terminal sends switching BMC debud mode.
CN201310238912.8A 2013-06-17 2013-06-17 BMC (baseboard management controller) remote debugging system and method Pending CN104239174A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310238912.8A CN104239174A (en) 2013-06-17 2013-06-17 BMC (baseboard management controller) remote debugging system and method
TW102123334A TW201500919A (en) 2013-06-17 2013-06-28 System and method of remote debugging BMC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310238912.8A CN104239174A (en) 2013-06-17 2013-06-17 BMC (baseboard management controller) remote debugging system and method

Publications (1)

Publication Number Publication Date
CN104239174A true CN104239174A (en) 2014-12-24

Family

ID=52227297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310238912.8A Pending CN104239174A (en) 2013-06-17 2013-06-17 BMC (baseboard management controller) remote debugging system and method

Country Status (2)

Country Link
CN (1) CN104239174A (en)
TW (1) TW201500919A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909362A (en) * 2015-12-23 2017-06-30 研祥智能科技股份有限公司 The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN107066360A (en) * 2017-03-24 2017-08-18 联想(北京)有限公司 A kind of information transferring method and server
CN109669829A (en) * 2018-12-24 2019-04-23 浪潮电子信息产业股份有限公司 A kind of diagnosis adjustment method, device and server based on BMC
CN109947690A (en) * 2019-03-18 2019-06-28 联想(北京)有限公司 Control method, device and electronic equipment
CN111526046A (en) * 2020-04-14 2020-08-11 浪潮商用机器有限公司 Method, device, equipment and storage medium for setting BMC (baseboard management controller) time

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9954727B2 (en) * 2015-03-06 2018-04-24 Quanta Computer Inc. Automatic debug information collection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909362A (en) * 2015-12-23 2017-06-30 研祥智能科技股份有限公司 The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN106909362B (en) * 2015-12-23 2020-10-27 研祥智能科技股份有限公司 Method and device for generating BMC (baseboard management controller) firmware and method and device for starting BMC system
CN107066360A (en) * 2017-03-24 2017-08-18 联想(北京)有限公司 A kind of information transferring method and server
CN109669829A (en) * 2018-12-24 2019-04-23 浪潮电子信息产业股份有限公司 A kind of diagnosis adjustment method, device and server based on BMC
CN109947690A (en) * 2019-03-18 2019-06-28 联想(北京)有限公司 Control method, device and electronic equipment
CN111526046A (en) * 2020-04-14 2020-08-11 浪潮商用机器有限公司 Method, device, equipment and storage medium for setting BMC (baseboard management controller) time

Also Published As

Publication number Publication date
TW201500919A (en) 2015-01-01

Similar Documents

Publication Publication Date Title
US10929260B2 (en) Traffic capture and debugging tools for identifying root causes of device failure during automated testing
CN102244591B (en) Client server and method for full process monitoring on function text of client server
CN104239174A (en) BMC (baseboard management controller) remote debugging system and method
KR20190107183A (en) Techniques for capturing traffic in real time on failure for protocol debug
CN109976959A (en) A kind of portable device and method for server failure detection
TWI759719B (en) Flash memory controller and method used in flash memory controller
CN105183575A (en) Processor fault diagnosis method, device and system
CN104320308A (en) Method and device for detecting anomalies of server
US20210111967A1 (en) Graphical user interface for traffic capture and debugging tool
CN111078515A (en) SSD layered log recording method and device, computer equipment and storage medium
US9916273B2 (en) Sideband serial channel for PCI express peripheral devices
CN110704228A (en) Solid state disk exception handling method and system
GB2524434A (en) Management system for managing computer system and management method thereof
US8984333B2 (en) Automatic computer storage medium diagnostics
US8799608B1 (en) Techniques involving flaky path detection
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
TW201504650A (en) SAS expander, system and method for controlling maintenance of SAS expander
CN103631739A (en) Positioning analysis method for embedded system and embedded system
CN210721440U (en) PCIE card abnormity recovery device, PCIE card and PCIE expansion system
CN115599617B (en) Bus detection method and device, server and electronic equipment
CN112015600A (en) Log information processing system, log information processing method and device and switch
US9483331B1 (en) Notifying a multipathing driver of fabric events and performing multipathing management operations in response to such fabric events
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
US10922023B2 (en) Method for accessing code SRAM and electronic device
CN114138600A (en) Storage method, device, equipment and storage medium for firmware key information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141224