Server BIOS Debugging Switch for Serial Port Log Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current server debugging methods are inefficient, as major BIOS manufacturers only support switch settings during code compilation, and customer-oriented server devices cannot perform device debugging, leading to difficulties in locating issues and potential destruction of the server's operating environment.
Innovation Solution
A log output method and system for servers that configures a debugging switch in the BIOS, allowing for easy debugging by initializing a serial port function and controlling log output based on preset printing function values.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a debugging switch is configured in BIOS settings, then debugging convenience is improved, but device complexity increases
Solution Approach 1:
The system enables self-service debugging by allowing users to independently configure and control debugging functions through BIOS settings without requiring external assistance or complex re-compilation processes. The debugging switch and printing function values allow end-users to autonomously manage log output and debugging operations.
Solution Approach 2:
The patent implements debugging control through parameter changes in BIOS settings, specifically using a debugging switch and printing function values to toggle between debugging modes. This allows dynamic adjustment of debugging behavior without modifying the underlying code or hardware architecture.
2Loss of information
If log information is printed continuously, then diagnostic information availability is improved, but system performance deteriorates
Solution Approach 1:
The patent implements dynamic log output control where the printing function can be adjusted based on debugging needs. The system transitions from static continuous logging to dynamic conditional logging, allowing log output to be enabled or disabled through BIOS settings depending on whether debugging is required.
Solution Approach 2:
The debugging function operates periodically or on-demand rather than continuously, allowing the system to switch between debugging mode and normal operation mode. The printing function values enable log output only when debugging is activated, creating a periodic action pattern that balances information availability with system performance.
3Difficulty of detecting and measuring
If debugging is enabled without control, then troubleshooting capability is improved, but operating environment stability deteriorates
Solution Approach 1:
The patent implements preliminary control actions by configuring debugging switches and printing function values in BIOS settings before actual debugging operations begin. This preliminary configuration ensures that debugging is only activated when intentionally planned, preventing accidental debugging that could destabilize the operating environment.
Solution Approach 2:
The system provides feedback mechanisms through the printing function that allow monitoring of debugging state and log output status. The BIOS settings and printing function values create a feedback loop that helps maintain stability by allowing users to observe and control debugging behavior, preventing uncontrolled debugging operations.
Data Source
AI summary
A log output method and system for a server, and a computer-readable storage system and a server. The method includes: after a server is powered on, determining whether a debugging switch in BIOS settings of the server is enabled (S101); if so, initializing a serial port function and making a debugging function take effect (S102); reading a printing function value in the debugging function (S103); if the printing function value is a first preset value, printing log information by means of the serial port function (S104); and if the printing function value is a second preset value, turning off a log output function (S105). The method is conducive to quickly locating a fault abnormality of a server, thereby reducing the server debugging and modification time.


