新装 openSUSE tumbleweed,关机出现问题
已翻过有关帖子,但都无法解决。
尝试过:1.lvm 服务禁用(没有相关服务);2.删除 lvm 相关包(没有类似包);3.主板修改(无效);4.命令行 shutdown -hP now;5.关机前断网
使用组装台式机,主板是某杂牌,因在英文论坛中看到主板设置问题,故特意描述出。
Google 过,但似乎都不是我遇到的情况,看截图正常 unmounted,就是无法关机
会懂的大神给点灵感…
新装 openSUSE tumbleweed,关机出现问题
已翻过有关帖子,但都无法解决。
尝试过:1.lvm 服务禁用(没有相关服务);2.删除 lvm 相关包(没有类似包);3.主板修改(无效);4.命令行 shutdown -hP now;5.关机前断网
使用组装台式机,主板是某杂牌,因在英文论坛中看到主板设置问题,故特意描述出。
Google 过,但似乎都不是我遇到的情况,看截图正常 unmounted,就是无法关机
会懂的大神给点灵感…
可能是某个设备的驱动有问题。好比我的笔记本,qca9377 无线网卡有小概率爆炸,最严重的时候导致过你这情况和无法执行任何 root 相关命令。
如何能确定是哪些原因?即通过哪些方法?
盲猜 ACPI 相关驱动问题
是什么电脑?
似乎 systemd 的日志没毛病,这如果是驱动问题得看 dmesg。
组装的台式电脑
[ 1.415018] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT1._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.415109] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT1._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 1.415518] ata2.00: ATA-8: HGST HTS545050A7E680, GG2OAF10, max UDMA/133
[ 1.415522] ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[ 1.416328] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT1._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.416418] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT1._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 1.416560] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT0._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.416649] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT0._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 1.416900] ata2.00: configured for UDMA/133
[ 1.423541] ata1.00: ATA-9: tigo SSD 120GB, S0330B0, max UDMA/133
[ 1.423545] ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 1.431009] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT0._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.431098] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT0._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
这是什么问题?开机时也会闪过 acpi
如何才能找到原因呢? 请教论坛里遇到相同情况的
因为是杂牌主板,hwinfo 显示不出
应该就是上面有人说的原因,是 ACPI 的问题。有兴趣可以看这里:
这是一个相似的问题:关机卡住,但重启正常。
不过先建议楼主配合我测试一下,禁止自动启动桌面环境。也就是说,只启动到字符界面。然后在字符界面下直接用 poweroff 命令关机,看是否正常?
如果不进入到图形界面,在字符界面下直接关机不会卡死,那么我可以基本断定是哪里出了问题。
试过了,poweroff 关机正常,请问要怎么解决问题・_・?
您进行到 /sys/class/hwmon/ 中,以下所有操作皆以该目录为 “当前工作目录”。
该目录下有好几个子目录,比如 hwmon0, hwmon1, hwmon2 等等。
那几个子目录下面都有相应的 “温度文件”,比如 temp1_input, temp2_input, temp3_input 等等。
这时在终端下运行相应的命令:
cat hwmon0/temp1_input
以上只是一个示意的命令,因为我的硬件跟你的硬件不一样,我不能断定你那里具体是哪个文件,你每个都试探一下。
也就是说, hwmon0/temp1_input, hwmon0/temp2_input, hwmon1/temp1_input, hwmon1/temp2_input 等等都 cat 一下。无需 root 超级用户权限,普通受限用户就可以执行该 cat 命令。
每个 “温度文件” 都用 cat 测试一下,正常情况下会立刻输出相应的结果。但某个或者某些文件会卡住,阻塞几秒钟过后才显示结果。
这样一来,你就将那几个会卡住的 “温度文件” 记下来,然后再反复多次用 cat 让它多卡住几次。接着再用 poweroff 命令关机,这时会发现关机的时候又卡住了!
你刚才用 cat 命令阻塞过的时间总数,在关机的时候又会以同样的时间重新再次阻塞一次。
您明白了吗?假如你多次运行 cat 命令,输出那些有问题的 “温度文件”。假如阻塞的时间总量是一分钟,那么你关机的时候大概也会阻塞一分钟左右。前后两个时间应该基本相等。
注意以上都是在控制台下测试,不要进入到 X11 或者 Wayland. 你测试过后,将结果公布一下。如果确实如我说的那样,那么接下来我再告诉你解决方法。
直觉应该是电源问题 acpi 问题,杂牌的华南金牌主板(现在才知道),内核不支持,无法完成电源断电。看提示关机已经完成,就是无法断电。
你是这个原因吗?
根据 SUSE 的文档, 如果您遇到 ACPI 問題,請使用 dmesg|grep -i acpi 指令搜尋 dmesg
的輸出,以取得 ACPI 特定的訊息。
[ 0.000000] BIOS-e820: [mem 0x00000000cad12000-0x00000000cad54fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000da8ef000-0x00000000dac0dfff] ACPI NVS
[ 0.000000] reserve setup_data: [mem 0x00000000cad12000-0x00000000cad54fff] A CPI NVS
[ 0.000000] reserve setup_data: [mem 0x00000000da8ef000-0x00000000dac0dfff] A CPI NVS
[ 0.000000] efi: ESRT=0xdaf78818 ACPI=0xda973000 ACPI 2.0=0xda973000 SMBIOS=0 xf04c0
[ 0.011017] ACPI: Early table checksum verification disabled
[ 0.011020] ACPI: RSDP 0x00000000DA973000 000024 (v02 ALASKA)
[ 0.011023] ACPI: XSDT 0x00000000DA973078 000074 (v01 ALASKA A M I 0107200 9 AMI 00010013)
[ 0.011029] ACPI: FACP 0x00000000DA97BE60 00010C (v05 ALASKA A M I 0107200 9 AMI 00010013)
[ 0.011034] ACPI: DSDT 0x00000000DA973188 008CD1 (v02 ALASKA A M I 0000020 4 INTL 20051117)
[ 0.011038] ACPI: FACS 0x00000000DAC0C080 000040
[ 0.011040] ACPI: APIC 0x00000000DA97BF70 000072 (v03 ALASKA A M I 0107200 9 AMI 00010013)
[ 0.011043] ACPI: FPDT 0x00000000DA97BFE8 000044 (v01 ALASKA A M I 0107200 9 AMI 00010013)
[ 0.011046] ACPI: ASF! 0x00000000DA97C030 0000A5 (v32 INTEL HCG 0000000 1 TFSM 000F4240)
[ 0.011049] ACPI: MCFG 0x00000000DA97C0D8 00003C (v01 ALASKA A M I 0107200 9 MSFT 00000097)
[ 0.011052] ACPI: HPET 0x00000000DA97C118 000038 (v01 ALASKA A M I 0107200 9 AMI. 00000005)
[ 0.011054] ACPI: SSDT 0x00000000DA97C150 00036D (v01 SataRe SataTabl 0000100 0 INTL 20091112)
[ 0.011057] ACPI: SSDT 0x00000000DA97C4C0 0009AA (v01 PmRef Cpu0Ist 0000300 0 INTL 20051117)
[ 0.011060] ACPI: SSDT 0x00000000DA97CE70 000B22 (v01 PmRef CpuPm 0000300 0 INTL 20051117)
[ 0.011063] ACPI: DMAR 0x00000000DA97D998 0000B0 (v01 INTEL SNB 0000000 1 INTL 00000001)
[ 0.011071] ACPI: Local APIC address 0xfee00000
[ 0.019412] ACPI: PM-Timer IO Port: 0x408
[ 0.019414] ACPI: Local APIC address 0xfee00000
[ 0.019421] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[ 0.019434] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.019435] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.019437] ACPI: IRQ0 used by override.
[ 0.019437] ACPI: IRQ9 used by override.
[ 0.019439] Using ACPI (MADT) for SMP configuration information
[ 0.019440] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[ 0.056740] ACPI: Core revision 20200925
[ 0.098059] PM: Registering ACPI NVS region [mem 0xcad12000-0xcad54fff] (2744 32 bytes)
[ 0.098059] PM: Registering ACPI NVS region [mem 0xda8ef000-0xdac0dfff] (3272 704 bytes)
[ 0.098059] ACPI FADT declares the system doesn’t support PCIe ASPM, so disab le it
[ 0.098059] ACPI: bus type PCI registered
[ 0.098059] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.100883] ACPI: Added _OSI(Module Device)
[ 0.100884] ACPI: Added _OSI(Processor Device)
[ 0.100885] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.100885] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.100886] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.100887] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.100888] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.105423] ACPI: 4 ACPI AML tables successfully acquired and loaded
[ 0.106817] ACPI: Dynamic OEM Table Load:
[ 0.106823] ACPI: SSDT 0xFFFF978840ACF000 00083B (v01 PmRef Cpu0Cst 0000300 1 INTL 20051117)
[ 0.107544] ACPI: Dynamic OEM Table Load:
[ 0.107547] ACPI: SSDT 0xFFFF978840D1DC00 000303 (v01 PmRef ApIst 0000300 0 INTL 20051117)
[ 0.108086] ACPI: Dynamic OEM Table Load:
[ 0.108089] ACPI: SSDT 0xFFFF978840CDAE00 000119 (v01 PmRef ApCst 0000300 0 INTL 20051117)
[ 0.109265] ACPI: Interpreter enabled
[ 0.109282] ACPI: (supports S0 S1 S4 S5)
[ 0.109283] ACPI: Using IOAPIC for interrupt routing
[ 0.109306] PCI: Using host bridge windows from ACPI; if necessary, use “pci= nocrs” and report a bug
[ 0.109511] ACPI: Enabled 14 GPEs in block 00 to 3F
[ 0.116127] ACPI: Power Resource [FN00] (off)
[ 0.116206] ACPI: Power Resource [FN01] (off)
[ 0.116284] ACPI: Power Resource [FN02] (off)
[ 0.116363] ACPI: Power Resource [FN03] (off)
[ 0.116439] ACPI: Power Resource [FN04] (off)
[ 0.117047] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[ 0.117052] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM S egments MSI EDR HPX-Type3]
[ 0.117338] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug SHP CHotplug PME]
[ 0.117515] acpi PNP0A08:00: _OSC: OS now controls [AER PCIeCapability LTR DP C]
[ 0.117516] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS c onfiguration
[ 0.121802] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
[ 0.121867] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 10 11 12 14 15)
[ 0.121930] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 *11 12 14 15)
[ 0.121993] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *4 5 6 10 11 12 14 15)
[ 0.122056] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[ 0.122118] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[ 0.122182] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 *10 11 12 14 15)
[ 0.122245] ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 10 11 12 14 15)
[ 0.124962] PCI: Using ACPI for IRQ routing
[ 0.135208] pnp: PnP ACPI init
[ 0.135327] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.135408] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.135428] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.135476] system 00:03: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (act ive)
[ 0.135521] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.135756] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.135924] system 00:06: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.135950] pnp: PnP ACPI: found 7 devices
[ 0.141369] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_id le_ns: 2085701024 ns
[ 1.460119] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.S PT0._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.460211] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT0._GTF due to previ ous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 1.474612] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.S PT0._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.474702] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT0._GTF due to previ ous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 1.512976] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.S PT1._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.513038] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT1._GTF due to previ ous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 1.514383] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.S PT1._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[ 1.514445] ACPI Error: Aborting method _SB.PCI0.SAT0.SPT1._GTF due to previ ous error (AE_NOT_FOUND) (20200925/psparse-529)
[ 2.465129] ACPI: bus type USB registered
[ 2.688172] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 4.589349] ACPI: Power Button [PWRB]
[ 4.593154] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042 F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (2020092 5/utaddress-204)
[ 4.593158] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 4.593161] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054 F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (2020092 5/utaddress-204)
[ 4.593164] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 4.593164] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053 F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (2020092 5/utaddress-204)
[ 4.593166] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 4.593167] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052 F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (2020092 5/utaddress-204)
[ 4.593169] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 4.605208] ACPI: Power Button [PWRF]
[ 4.675169] ACPI: Thermal Zone [TZ00] (28 C)
[ 4.675432] ACPI: Thermal Zone [TZ01] (30 C)
这句话是要 更新驱动吗?
确切来说,标题应该这样描述:正常重启&关机,但无法关闭电源
我的技嘉小雕主板也存在一模一样的问题,啥都 OK 就是电源大概率不能自动断,必须上手才行,恍惚间有种回到 486 年代的感觉……不过自己很少关机,所以就无所谓了。之前用 openSUSE 时就如此,现在改用 Manjaro 了也依然如此。Windows 正常。
(好像曾经看到过老外的一个论坛帖子说是技嘉主板的 bug……?)
楼上的,你可以按照我上面提供的信息测试一下,禁止自动启动桌面环境。只启动到字符界面,然后在字符界面下直接用 poweroff 命令关机,看是否正常?
如果不进入到图形界面,在字符界面下直接关机不会卡死,那么在按照后面的 cat “温度文件” 的方法测试是否卡住。
如果存在这种现象,那么说明跟我遇到的现象相似。我就能提供解决方案,虽然方案不太完美,但可以让你顺利关机。