我刚刚安装了Fedora 25。但是,在启动计算机时,每个初始化服务都会运行两次(参见附图),或者在屏幕上显示两次。我该如何解决这个问题? (我使用的是配备 Nvidia Geforce GT 650M 的华硕 N56V 笔记本电脑)
这是结果sudo systemctl list-units --type=service
:
UNIT LOAD ACTIVE SUB DESCRIPTION
abrt-ccpp.service loaded active exited Install ABRT coredump hook
abrt-oops.service loaded active running ABRT kernel log watcher
abrt-xorg.service loaded active running ABRT Xorg log watcher
abrtd.service loaded active running ABRT Automated Bug Reporting Tool
accounts-daemon.service loaded active running Accounts Service
akmods-shutdown.service loaded active exited Builds and install new kmods from akmod packages
akmods.service loaded active exited Builds and install new kmods from akmod packages
alsa-state.service loaded active running Manage Sound Card State (restore and store)
atd.service loaded active running Job spooling tools
auditd.service loaded active running Security Auditing Service
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
blk-availability.service loaded active exited Availability of block devices
bluetooth.service loaded active running Bluetooth service
chronyd.service loaded active running NTP client/server
colord.service loaded active running Manage, Install and Generate Color Profiles
crond.service loaded active running Command Scheduler
cups.service loaded active running CUPS Scheduler
dbus.service loaded active running D-Bus System Message Bus
dracut-shutdown.service loaded active exited Restore /run/initramfs on shutdown
fedora-import-state.service loaded active exited Import network configuration from initramfs
fedora-readonly.service loaded active exited Configure read-only root support
firewalld.service loaded active running firewalld - dynamic firewall daemon
gdm.service loaded active running GNOME Display Manager
irqbalance.service loaded active running irqbalance daemon
iscsi-shutdown.service loaded active exited Logout off all iSCSI sessions on shutdown
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
libvirtd.service loaded active running Virtualization daemon
lm_sensors.service loaded active exited Hardware Monitoring Sensors
lvm2-lvmetad.service loaded active running LVM2 metadata daemon
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
lvm2-pvscan@8:9.service loaded active exited LVM2 PV scan on device 8:9
mcelog.service loaded active running Machine Check Exception Logging Daemon
ModemManager.service loaded active running Modem Manager
netcf-transaction.service loaded active exited Rollback uncommitted netcf network config change transactions
NetworkManager.service loaded active running Network Manager
packagekit.service loaded active running PackageKit Daemon
pcscd.service loaded active running PC/SC Smart Card Daemon
polkit.service loaded active running Authorization Manager
rngd.service loaded active running Hardware RNG Entropy Gatherer Daemon
rpcbind.service loaded active running RPC Bind
rsyslog.service loaded active running System Logging Service
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
smartd.service loaded active running Self Monitoring and Reporting Technology (SMART) Daemon
switcheroo-control.service loaded active running Switcheroo Control Proxy service
sys5_idl_dicomexstorscp.service loaded active exited SYSV: This script is used to start and stop the IDL dicomex storage scp service.
sys5_idl_lmgrd.service loaded active running SYSV: This script is used to start and stop the IDL network license manager.
systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-backlight@leds:asus::kbd_backlight.service loaded active exited Load/Save Screen Backlight Brightness of leds:asus::kbd_backlight
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-fsck@dev-disk-by\x2duuid-8376c70b\x2d7c22\x2d41e9\x2d972c\x2d77553b1d9914.service loaded active exited File System Check on /dev/disk/by-uuid/8376c70b-7c22-41e9-972c-77553b1d9914
systemd-fsck@dev-mapper-fedora\x2dhome.service loaded active exited File System Check on /dev/mapper/fedora-home
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-settle.service loaded active exited udev Wait for Complete Device Initialization
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
[email protected] loaded active running User Manager for UID 1000
[email protected] loaded active running User Manager for UID 42
wpa_supplicant.service loaded active running WPA supplicant
这是结果journalctl -b -perr
:
kernel: ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000003) is beyond end of object (length 0x0) (20160831/exoparg2-427)
kernel: ACPI Error: Method parse/execution failed [\_SB.PCI0.GFX0._DSM] (Node ffff8ec5a64b5168), AE_AML_PACKAGE_LIMIT (20160831/psparse-543)
kernel: ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000003) is beyond end of object (length 0x0) (20160831/exoparg2-427)
kernel: ACPI Error: Method parse/execution failed [\_SB.PCI0.GFX0._DSM] (Node ffff8ec5a64b5168), AE_AML_PACKAGE_LIMIT (20160831/psparse-543)
kernel: ACPI Error: Method parse/execution failed [\_SB.PCI0.PEG0.PEGP._DSM] (Node ffff8ec5a64cdf50), AE_AML_PACKAGE_LIMIT (20160831/psparse-543)
kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
avahi-daemon[1082]: chroot.c: open() failed: No such file or directory
bluetoothd[1026]: Failed to obtain handles for "Service Changed" characteristic
abrtd[1059]: '/var/spool/abrt/Python3-2016-05-09-22:30:03-3154.new' is not a problem directory
abrtd[1059]: '/var/spool/abrt/oops-2016-12-12-20:08:35-1083-0' is not a problem directory
gnome-session-binary[1502]: Unrecoverable failure in required component org.gnome.Shell.desktop
gnome-session-binary[1536]: Unrecoverable failure in required component org.gnome.Shell.desktop
spice-vdagent[1723]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
spice-vdagent[2264]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
firewalld[1055]: ERROR: UNKNOWN_INTERFACE: 'wlp3s0' is not in any zone
firewalld[1055]: ERROR: UNKNOWN_INTERFACE: 'wlp3s0' is not in any zone
firewalld[1055]: ERROR: UNKNOWN_INTERFACE: 'wlp3s0' is not in any zone
答案1
我在使用 Fedora 25 的内核 4.9.* 上发生了这种情况。我的双显卡笔记本电脑。我设法解决了“我ccsense:未知传感器类型 30,功率读数已禁用“(根据您的日志)修改了我的 grub:
$ sudo nano /etc/default/grub
然后添加acpi_backlight=video
内联GRUB_CMDLINE_LINUX
现在我们需要重建 GRUB2 配置文件。只需运行sudo grub2-mkconfig -o /boot/grub2/grub.cfg
,或者如果您的计算机具有 EFI 功能,请运行sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
命令,确保您知道要执行哪个命令。
然后重新启动。
答案2
删除 rhgb/etc/default/grub
并运行
grub2-mkconfig
正如刚才提到的。 (仅供参考。已经一年多了)