新人求助,新安装的系统无法关机
Tofloor
poster avatar
as1907
deepin
2019-07-21 01:06
Author
老笔记本安装deepin,Rufus制作的启动安装U盘,清空整个硬盘安装的,默认分区,没有双系统,bios独显关了,只用核显,关机卡在蓝色的deepin的logo那里,只能长按电源键强制断电……(重新安装没用,还试过kde neo,也是一样的情况,不能关机)。
网上找了个命令,看不懂,sudo egrep -i 'error|warning' /var/log/*log,信息如下:

/var/log/bootstrap.log:dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
/var/log/bootstrap.log:dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
/var/log/bootstrap.log:dpkg: warning: parsing file '/var/lib/dpkg/status' near line 24 package 'dpkg':
/var/log/bootstrap.log:dpkg: warning: parsing file '/var/lib/dpkg/status' near line 24 package 'dpkg':
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: parsing file '/var/lib/dpkg/status' near line 50 package 'dpkg':
/var/log/bootstrap.log:dpkg: warning: parsing file '/var/lib/dpkg/status' near line 50 package 'dpkg':
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:Selecting previously unselected package libgpg-error0:amd64.
/var/log/bootstrap.logreparing to unpack .../libgpg-error0_1.26-2_amd64.deb ...
/var/log/bootstrap.log:Unpacking libgpg-error0:amd64 (1.26-2) ...
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:dpkg: warning: ignoring pre-dependency problem!
/var/log/bootstrap.log:Setting up libgpg-error0:amd64 (1.26-2) ...
/var/log/bootstrap.log:update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
/var/log/bootstrap.log:Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package deepin-keyring)
/var/log/bootstrap.log:Warning: 'apt-key update' is deprecated and should not be used anymore!
/var/log/deepin-installer.log:Error: msdos disk labels do not support partition names.
/var/log/deepin-installer.log:Scanning regdomain failed, list is empty! "Running as user \"root\" and group \"root\". This could be dangerous.\ntshark: Lua: Error during loading:\n [string \"/usr/share/wireshark/init.lua\"]:32: dofile has been disabled due to running Wireshark as superuser. See https://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user.\ntshark: Some fields aren't valid:\n\twlan_mgt.country_info.code\n"
/var/log/deepin-installer.log:/dev/sdb1 on /usr/lib/live/mount/medium type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/log/deepin-installer.log:/dev/sdb1 on /target/media/cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/log/deepin-installer.log:/dev/sda1 on /target/boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/log/deepin-installer.log:/dev/sdb1 on /media/cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/log/deepin-installer.log:/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/log/deepin-installer.log:WARNING: The following packages cannot be authenticated!
/var/log/deepin-installer.log:Authentication warning overridden.
/var/log/deepin-installer.log:Installation finished. No error reported.
/var/log/deepin-installer.log:WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
/var/log/deepin-installer.log:cryptsetup: WARNING: could not determine root device from /etc/fstab
/var/log/deepin-installer.log:dpkg: warning: while removing deepin-installer, directory '/etc/live' not empty so not removed
/var/log/deepin-installer.log:UUID=CBC3-A77A              /boot/efi         vfat              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro        0 2
/var/log/deepin-installer.log:WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
/var/log/dpkg.log:2019-07-19 03:19:07 install libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:07 status half-installed libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:07 status unpacked libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:07 status unpacked libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:10 configure libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:10 status unpacked libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:10 status half-configured libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:19:10 status installed libgpg-error0:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:08 install libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:08 status half-installed libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:08 status unpacked libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:08 status unpacked libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:44 configure libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:44 status unpacked libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:44 status half-configured libgpg-error-dev:amd64 1.26-2
/var/log/dpkg.log:2019-07-19 03:22:44 status installed libgpg-error-dev:amd64 1.26-2
/var/log/pbis-open-install.log:Error: pkill -KILL -x reapsysld returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lsassd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lwiod returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x netlogond returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x dcerpcd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x eventlogd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lwregd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lwsmd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: /usr/sbin/service lwsmd stop returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lwsmd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lwregd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x netlogond returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lwiod returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x dcerpcd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x eventlogd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x lsassd returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: pkill -KILL -x reapsysld returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:Error: /opt/pbis/bin/regshell delete_value [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] TrustEnumerationWait returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:regshell (error = 40700 - LWREG_ERROR_NO_SUCH_KEY_OR_VALUE)
/var/log/pbis-open-install.log:Error: /opt/pbis/bin/regshell delete_value [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] TrustEnumerationWaitSeconds returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:regshell (error = 40700 - LWREG_ERROR_NO_SUCH_KEY_OR_VALUE)
/var/log/pbis-open-install.log:Error: /opt/pbis/bin/regshell delete_value [HKEY_THIS_MACHINE\Services\dcerpc] Autostart returned 1  (ignoring and continuing)
/var/log/pbis-open-install.log:regshell (error = 40700 - LWREG_ERROR_NO_SUCH_KEY_OR_VALUE)
/var/log/pbis-open-install.log:Error: mv /var/lib/likewise /var/lib/likewise.old returned 1  (ignoring and continuing)
grep: /var/log/wpslog: 是一个目录
/var/log/Xorg.0.log:        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

有知道怎么回事的大佬么


Reply Favorite View the author
All Replies
avatar
weisheng
deepin
2019-07-21 04:04
#1
可能是显卡驱动的问题
Reply View the author
Comments
as1907
2019-07-21 04:50
可能性不大吧,毕竟是AMD的核显,deepin的显卡管理告诉我“AMD显卡使用官方开源驱动是最佳的驱动方案,目前没有其他选择方案”。
avatar
random0901
deepin
2019-07-21 09:03
#2
测试回帖
Reply View the author
avatar
random0901
deepin
2019-07-21 09:08
#3
抱歉,通过此贴提了个bug,上个回复内容和本帖无关。
bug链接:https://feedback.deepin.org/feedback/detail/30755?token=6d12c522e85ced1840a1ce865fc22883
如果管理员看到了,也请修复这个问题
Reply View the author
avatar
海鸥
deepin
2019-07-21 16:11
#4
这一般是显卡驱动失配吧?
Reply View the author
Comments
as1907
2019-07-21 18:58
已经初步排除显卡驱动的关系。
avatar
as1907
deepin
2019-07-21 19:04
#5
https://bbs.deepin.org/post/180841
这一般是显卡驱动失配吧?

我尝试安装了一Arch linux,这次没有安装桌面环境,自然也没有安装xorg,还有显卡驱动什么的,但是这次Arch还是一样的,可以启动进入系统,但是还是不能关机!所以应该不是显卡驱动的问题,求高手教我啊
Reply View the author
avatar
weisheng
deepin
2019-07-21 21:10
#6
你不要看他官方推荐啥的,该装显卡驱动还是装驱动,我之前装的时候,关机卡死在桌面界面,重新装驱动才好的,开源的问题可多了。
Reply View the author
avatar
netruby
deepin
2019-07-22 00:15
#7
我也是呢,和你情况一样,每次只能休眠。关机后自动又开机了,都说显卡问题。我的就是集显。
Reply View the author
avatar
as1907
deepin
2019-07-23 05:24
#8
https://bbs.deepin.org/post/180841
你不要看他官方推荐啥的,该装显卡驱动还是装驱动,我之前装的时候,关机卡死在桌面界面,重新装驱动才好的 ...

不是显卡驱动的问题,我在我的旧机械盘上启动了以前安装的ubuntu16.04,没问题,不一样的是启动模式,显卡驱动都是开源驱动
Reply View the author
avatar
as1907
deepin
2019-07-23 05:44
#9
https://bbs.deepin.org/post/180841
我也是呢,和你情况一样,每次只能休眠。关机后自动又开机了,都说显卡问题。我的就是集显。 ...

一样的情况,但原因可能不同,显卡驱动/电源管理都有可能。至于我这边,我的机器型号是 Acer Aspire 4560G,这个机器的BIOS里面不能切换legacy/efi启动模式,我在我的旧硬盘上找到以前安装的旧版本Ubuntu(legacy模式启动安装的),那个没问题,正常关机,都是开源的显卡驱动,结合我安装的archLinux的情况来看,大概率不是显卡驱动的问题,如果能够以legacy模式启动安装盘然后安装legacy启动的系统可能就没问题了,但是现在我的机器BIOS里不能设置切换,U盘做好启动盘之后机器会自动的给我以efi的模式启动(我没得选),我隐约记得以前刻录启动盘使用ultraliso的时候选择RAW的方式写入就可以以legacy启动,但是现在好像不行了,也不知道怎么回事。谁能教我这种情况下怎么使用legacy启动……
Reply View the author
avatar
as1907
deepin
2019-07-25 00:32
#10
7月24日……
问题算是初步解决了,不是显卡驱动的问题,是efi启动的问题(里面具体的原因我这个小白就不懂了),由于奇葩的bios,最终解决的方式有点傻,用32位的系统安装就正常了,64位的系统安装就不能关机了,(大概是因为64位的efi固件不识别32的efi程序?所以只能legacy模式启动了),总之,legacy启动模式安装的正常,efi就会有问题,目前还没我还没找到更好的解决方法,这个可能算是个bug吧?v2ex有个帖子(www.v2ex.com/t/559446)有个回复说“发行版自己没有处理好uefi/legacy的问题”,如果这是个bug,也涉及太多发行版了,希望如果管理员看到可以确认下这是不是个bug?

Reply View the author