The present invention relates to the technical field of the server, start an output of different types of information disclosure system, which comprises the following steps: the preparation of BIOS program and compile; the compiled BIOS program is downloaded to the server; the BIOS program according to different user commands, start the information output of different types of systems. Including the device, also discloses an output of different types of system startup information: compiler module, procedures for the preparation of BIOS and compile; recording module for the compiled BIOS program is downloaded to the server; the output module for the BIOS program according to different user commands, start the information output of different types of systems. The invention realizes that when the user needs to balance the boot time and output the starting information to the serial port under different scene requirements, the user can freely select whether to output the information to the serial port and what type of information output.
【技术实现步骤摘要】
输出不同类型系统启动信息的方法及装置
本专利技术涉及服务器
,尤其涉及一种输出不同类型系统启动信息的方法及装置。
技术介绍
随着服务器的不断发展,各种行业对于服务器系统的稳定性与可靠性的要求越来越高,但是随着服务器的功能越来越强大,系统开机的时间越来越长。尽可能的缩短开机时间及在系统出现故障时可以快速诊断出原因,是服务器可以快速正常的运行的关键。服务器上的BIOS一般有两种类型,一个是关闭Debugmode的BIOS,也就是开机时间尽可能最小化,尽可能不输出启动信息;一种打开Debugmode的BIOS,也就是方便用户对出故障的服务器进行快速诊断的,但是会延长开机时间。传统的BIOS在生产可执行的二进制文档时,已经确定好了是否输出启动信息以及输出哪种类型的启动信息。在服务器研发和客户使用过程中,如果使用的是Debugmode关闭的BIOS,当出现系统开机异常及系统单个功能异常的情况,需要重新烧录成Deubgmode打开的BIOS,通过收集到的串口信息分析定位后,例如内存,主板上插的PCIE卡等造成了宕机,解决问题后,还需要烧录回Debugmode关闭的BIOS。而如果在在服务器研发和客户使用过程中一直使用Debugmode打开的BIOS,每次可以比较快速的诊断故障原因,但每次开机时间会增加,造成时间浪费。系统启动过程中出现故障时,常用的Debug方法,是向串口输出启动信息,但是向串口输出启动信息会增加系统启动时间。输出的信息越多,启动时间越长。传统的BIOS在生产可执行的二进制文档时,已经确定好了是否输出启动信息以及输出哪种类型的启动信息,不能在缩短 ...
【技术保护点】
一种输出不同类型系统启动信息的方法,其特征在于,包括以下步骤:编写BIOS程序并进行编译;将编译后的BIOS程序烧录到服务器上;BIOS程序根据用户的不同命令,输出不同类型系统启动信息。
【技术特征摘要】
1.一种输出不同类型系统启动信息的方法,其特征在于,包括以下步骤:编写BIOS程序并进行编译;将编译后的BIOS程序烧录到服务器上;BIOS程序根据用户的不同命令,输出不同类型系统启动信息。2.根据权利要求1所述的选择输出不同类型系统启动信息的方法,其特征在于,编写BIOS程序并进行编译,包括:在服务器系统现有的BIOS代码的基础上,梳理出系统启动过程中向串口输出的启动信息;将系统启动过程中输出的启动信息进行归纳分类;为分类后的系统启动过程中输出的启动信息添加不同执行条件,对每类信息分别进行控制;对编写好的BIOS程序进行编译。3.根据权利要求1所述的输出不同类型系统启动信息的方法,其特征在于,所述将编译后的BIOS程序烧录到服务器上指将编译后的BIOS程序烧录到服务器主板的ROM芯片上。4.根据权利要求1所述的输出不同类型系统启动信息的方法,其特征在于,在BIOS程序根据用户的不同命令,输出不同类型系统启动信息之前,还包括:用户通过IPMI命令设置输出信息的类型,所述输出信息的类型包括不输出任何系统启动信息、输出其中一类系统启动信息、输出其中若干类型系...
【专利技术属性】
技术研发人员:李莉莉,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。