亚洲韩日午夜视频,欧美日韩在线精品一区二区三区,韩国超清无码一区二区三区,亚洲国产成人影院播放,久草新在线,在线看片AV色

您好,歡迎來到思海網(wǎng)絡(luò),我們將竭誠為您提供優(yōu)質(zhì)的服務(wù)! 誠征網(wǎng)絡(luò)推廣 | 網(wǎng)站備案 | 幫助中心 | 軟件下載 | 購買流程 | 付款方式 | 聯(lián)系我們 [ 會(huì)員登錄/注冊 ]
促銷推廣
客服中心
業(yè)務(wù)咨詢
有事點(diǎn)擊這里…  531199185
有事點(diǎn)擊這里…  61352289
點(diǎn)擊這里給我發(fā)消息  81721488
有事點(diǎn)擊這里…  376585780
有事點(diǎn)擊這里…  872642803
有事點(diǎn)擊這里…  459248018
有事點(diǎn)擊這里…  61352288
有事點(diǎn)擊這里…  380791050
技術(shù)支持
有事點(diǎn)擊這里…  714236853
有事點(diǎn)擊這里…  719304487
有事點(diǎn)擊這里…  1208894568
有事點(diǎn)擊這里…  61352289
在線客服
有事點(diǎn)擊這里…  531199185
有事點(diǎn)擊這里…  61352288
有事點(diǎn)擊這里…  983054746
有事點(diǎn)擊這里…  893984210
當(dāng)前位置:首頁 >> 技術(shù)文章 >> 文章瀏覽
技術(shù)文章

Linux 系統(tǒng)關(guān)機(jī)后電源無法關(guān)閉的解決辦法

添加時(shí)間:2018-10-8 18:06:41  添加: 思海網(wǎng)絡(luò) 
如果一些主板在關(guān)機(jī)之后電源不是自動(dòng)關(guān)閉,需要手動(dòng)關(guān)閉電源,請?jiān)趃rub里加上:

引用:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/1234 rhgb quiet acpi=force
    initrd /boot/initrd-2.6.23.1-42.fc8.img
只要加上紅色的那句話就可以正常關(guān)機(jī)。 具體原因分析如下:

Kernel 起來以后會(huì)執(zhí)行 arch/i386/kernel/setup.c
引用:
void __init setup_arch(char **cmdline_p)
{
    unsigned long max_low_pfn;
    paravirt_post_allocator_init();
    dmi_scan_machine();
}
Dmi_scan_machine() 會(huì)從BIOS 里面獲取DMI 支持的信息。ACPI driver 會(huì)通過
引用:
static int __init blacklist_by_year(void)
{
    int year = dmi_get_year(DMI_BIOS_DATE);
    /* Doesn't exist? Likely an old system */
    if (year == -1) {
        printk(KERN_ERR PREFIX "no DMI BIOS year, "
            "acpi=force is required to enable ACPI\n" );
        return 1;
    }
    /* 0? Likely a buggy new BIOS */
    if (year == 0) {
        printk(KERN_ERR PREFIX "DMI BIOS year==0, "
            "assuming ACPI-capable machine\n" );
        return 0;
    }
    if (year < CONFIG_ACPI_BLACKLIST_YEAR) {
        printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), "
               "acpi=force is required to enable ACPI\n",
               year, CONFIG_ACPI_BLACKLIST_YEAR);
        return 1;
    }
    return 0;
}
來獲取信息,一旦dmi_get_year 取到的DMI 信息是不支持ACPI 的話,就會(huì)打印紅色的那部分信息。

然后內(nèi)核認(rèn)為ACPI不支持,最終導(dǎo)致機(jī)器不能通過ACPI 關(guān)機(jī)。


關(guān)鍵字:Linux、系統(tǒng)、關(guān)機(jī)、電源
分享到:

頂部 】 【 關(guān)閉
版權(quán)所有:佛山思海電腦網(wǎng)絡(luò)有限公司 ©1998-2024 All Rights Reserved.
聯(lián)系電話:(0757)22630313、22633833
中華人民共和國增值電信業(yè)務(wù)經(jīng)營許可證: 粵B1.B2-20030321 備案號(hào):粵B2-20030321-1
網(wǎng)站公安備案編號(hào):44060602000007 交互式欄目專項(xiàng)備案編號(hào):200303DD003  
察察 工商 網(wǎng)安 舉報(bào)有獎(jiǎng)  警警  手機(jī)打開網(wǎng)站