我有一台内置 KVM 的 Dell U3821DW 显示器。我在 Windows 上安装了 Dell Display Manager,并配置了一个快捷方式来在输入源之间切换。我想在 Ubuntu 中有一个快捷方式来执行相同操作,但 Dell Display Manager 无法在 Linux 上运行。还有其他方法可以实现吗?最好运行某种使用 KVM 标准协议的本机实用程序,而不是在 Wine 中运行 Dell Display Manager。谢谢。
我找不到如何在戴尔笔记本电脑上禁用 TouchGuard/DisableTouchpadWhileTyping。
我使用的是 Ubuntu 23.10。
我的 Dell XPS 9700 和 Ubuntu 23.04 经常遇到一个问题:CPU 温度升至约 60°C,导致风扇发出烦人的声音。CPU 上没有明显的负载可能导致这种情况 - 至少据我所知。sensors
下面是显示问题的输出。
这个问题是在之前的安装中出现的,这就是我全新安装 Ubuntu 23.04 的原因。对我来说幸运的是,这解决了大约两周的问题。现在我又回到了原点。
我在之前的安装中尝试的是使用 i8kmon 等工具来“微调”风扇速度,但这只会导致系统振荡(温度和噪音方面)。我知道这台笔记本电脑在空闲条件下能够承受相当低的温度。所以一定有什么事情发生...
我可以做什么来诊断这个问题?我需要提供什么信息吗?
ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0: 18.00 V (min = +26.35 V, max = +20.00 V)
curr1: 6.50 A (max = +6.50 A)
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +40.0°C
ucsi_source_psy_USBC000:004-isa-0000
Adapter: ISA adapter
in0: 5.00 V (min = +5.00 V, max = +5.00 V)
curr1: 0.00 A (max = +1.50 A)
dell_smm-isa-0000
Adapter: ISA adapter
fan1: 2633 RPM (min = 0 RPM, max = 3300 RPM)
fan2: 2626 RPM (min = 0 RPM, max = 3300 RPM)
temp1: +64.0°C
temp2: +58.0°C
temp3: +54.0°C
temp4: +63.0°C
temp5: +61.0°C
temp6: +40.0°C
temp7: +60.0°C
temp8: +36.0°C
nvme-pci-0200
Adapter: PCI adapter
Composite: +36.9°C (low = -5.2°C, high = +82.8°C)
(crit = +87.8°C)
ucsi_source_psy_USBC000:003-isa-0000
Adapter: ISA adapter
in0: 0.00 V (min = +0.00 V, max = +0.00 V)
curr1: 3.00 A (max = +0.00 A)
ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0: 5.00 V (min = +5.00 V, max = +5.00 V)
curr1: 0.00 A (max = +0.00 A)
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +64.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +61.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +63.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +62.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +63.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +62.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +62.0°C (high = +100.0°C, crit = +100.0°C)
Core 6: +62.0°C (high = +100.0°C, crit = +100.0°C)
Core 7: +63.0°C (high = +100.0°C, crit = +100.0°C)
pch_cometlake-virtual-0
Adapter: Virtual device
temp1: +74.0°C
BAT0-acpi-0
Adapter: ACPI interface
in0: 12.46 V
curr1: 1000.00 uA
我在戴尔 XPS 9510 上运行带有最新更新的 Ubuntu 20.04,电池性能真的很差。在轻度使用(仅在简单网站上浏览网页)的情况下,我的电池续航时间最长约为 1 小时 30 小时,而在 Windows 下,笔记本电脑可以轻松达到 8 小时。差异是巨大的。
我检查了很多设置并安装了 TLP 以提高电池寿命而没有进行重大更改,但是我观察到一个奇怪的行为可能解释了这种高消耗。当核心处于空闲状态时,核心在负载下正确扩展时,频率会回到标称速度 (2,5Ghz) 而不是最低速度 (800Mhz)。
以下是一些输出:
$ sudo tlp-stat -p
--- TLP 1.3.1 --------------------------------------------
+++ Processor
CPU model = 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu10/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu10/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu10/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu10/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu10/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu11/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu11/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu11/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu11/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu11/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu12/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu12/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu12/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu12/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu12/cpufreq/scaling_max_freq = 4900000 [kHz]
/sys/devices/system/cpu/cpu12/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu12/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu13/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu13/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu13/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu13/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu13/cpufreq/scaling_max_freq = 4900000 [kHz]
/sys/devices/system/cpu/cpu13/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu13/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu14/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu14/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu14/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu14/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu14/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu14/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu14/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu15/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu15/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu15/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu15/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu15/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu15/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu15/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 4900000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 4900000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu8/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu8/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu8/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu8/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu9/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu9/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu9/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu9/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/scaling_max_freq = 4800000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/energy_performance_preference = balance_power [HWP.EPP]
/sys/devices/system/cpu/cpu9/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 16 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct = 57 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 41
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
$paste <(ls /sys/devices/system/cpu/cpu0/cpufreq) <(cat /sys/devices/system/cpu/cpu0/cpufreq/*) | column -s $'\t' -t
affected_cpus 0
base_frequency 2500000
cpuinfo_max_freq 4800000
cpuinfo_min_freq 800000
cpuinfo_transition_latency 0
energy_performance_available_preferences default performance balance_performance balance_power power
energy_performance_preference balance_power
related_cpus 0
scaling_available_governors performance powersave
scaling_cur_freq 1103306
scaling_driver intel_pstate
scaling_governor powersave
scaling_max_freq 4800000
scaling_min_freq 800000
scaling_setspeed <unsupported>
$cat /proc/cpuinfo | grep "^[c]pu MHz"
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 1070.651
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 1102.344
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
我最近买了一台带有 ubuntu 20.04 的 Dell Precision 3450,并分两步升级到 ubuntu 21.10(20.04 -> 21.04 -> 21.10)。这需要手动升级文件/usr/lib/os-release
,如此处所述,可能是因为戴尔对 OEM 安装进行了自定义。
无论如何,系统现在工作正常,只有一个例外。当我输入curl
终端(我在第二次升级后安装的)时,我收到以下错误消息。
curl:加载共享库时出错:libldap_r-2.4.so.2:无法打开共享对象文件:没有这样的文件或目录
所以似乎 curl 正在尝试在未安装的 2.4 版中加载 libldap。我问了一个朋友,他也有 ubuntu 21.10,并且在(7.74.0-1.3ubuntu2) 和(2.5.6+dfsg-1~exp1ubuntu1)curl
的相同版本下工作正常。curl
libldap
我还尝试安装旧版本的 libldap - 特别是libldap-2.4-2_2.4.57+dfsg-2ubuntu1_amd64.deb
来自 21.04 repo 的文件 - 但在这样做之后,curl
给了我一个新的错误消息:
curl:符号查找错误:curl:未定义符号:curl_multi_poll,版本 URL_OPENSSL_4
所以这没有帮助。
有人知道发生了什么吗?
我不明白动态链接是如何工作的,谷歌搜索并没有真正帮助。该网站建议简单地做sudo /sbin/ldconfig -v
,但没有奏效。
我不知道问题是否特定于 ubuntu 的 OEM 安装和“强制”ugprade,但令人惊讶的是,除此之外的一切curl
似乎都有效。
编辑:
这是在工作ldd $(type -p curl)
的系统上的输出curl
。
linux-vdso.so.1 (0x00007ffe043f1000)
libcurl.so.4 => /lib/x86_64-linux-gnu/libcurl.so.4 (0x00007fc870cbb000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc870c9f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc870a77000)
libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007fc870a49000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007fc870a28000)
librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007fc870a09000)
libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007fc87099a000)
libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007fc870986000)
libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fc8708ee000)
libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fc870613000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fc8705c1000)
libldap-2.5.so.0 => /lib/x86_64-linux-gnu/libldap-2.5.so.0 (0x00007fc870562000)
liblber-2.5.so.0 => /lib/x86_64-linux-gnu/liblber-2.5.so.0 (0x00007fc87054f000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007fc870541000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc870db5000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007fc8703bf000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007fc8701da000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007fc870192000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007fc87014a000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fc8700c7000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fc86fffe000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fc86ffd1000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fc86ffcb000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fc86ffbb000)
libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007fc86ffa0000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007fc86ff7d000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fc86fe43000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007fc86fe2d000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fc86fe24000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fc86fe0f000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc86fe0a000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007fc86fdfe000)
这是在不起作用ldd $(type -p curl)
的系统上的输出。curl
linux-vdso.so.1 (0x00007fffa0f86000)
libcurl.so.4 => /usr/lib/dcaenabler/libcurl.so.4 (0x00007fc1b789f000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc1b7883000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc1b765b000)
libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007fc1b762d000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007fc1b760c000)
librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007fc1b75ed000)
libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007fc1b75d7000)
libssl.so.1.1 => /usr/lib/dcaenabler/libssl.so.1.1 (0x00007fc1b734a000)
libcrypto.so.1.1 => /usr/lib/dcaenabler/libcrypto.so.1.1 (0x00007fc1b6e7f000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fc1b6e2d000)
libldap_r-2.4.so.2 => not found
liblber-2.4.so.2 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc1b6e26000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc1b7b74000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007fc1b6ca4000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007fc1b6abf000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007fc1b6a77000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007fc1b6a31000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fc1b69ac000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc1b69a7000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fc1b68de000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fc1b68b1000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fc1b68ab000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fc1b689d000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fc1b6761000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007fc1b674b000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fc1b6744000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fc1b672f000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007fc1b6723000)
which curl
有问题系统的输出:
/usr/bin/curl
aptitude search ~o
有问题系统的输出:
i dca-enabler - Provides the DELL Client Agent Enabler software.
i dca-enabler-packages - Provides the DELL Client Agent Enabler Dependencies.
i dell-canonical-logo - Install the dell-canonical-logo in gnome-control-center.
i dell-super-key - Disables the super key by default.
i djvu2pdf - Script to convert Djvu files to PDF files
i fist - Factory Install System Test
i A gir1.2-unity-5.0 - GObject introspection data for the Unity library
i A linux-headers-5.10.0-1031-oem - Linux kernel headers for version 5.10.0 on 64 bit x86 SMP
i A linux-headers-5.10.0-1050-oem - Linux kernel headers for version 5.10.0 on 64 bit x86 SMP
i A linux-headers-oem-20.04b - OEM Linux kernel headers
i A linux-image-5.10.0-1031-oem - Signed kernel image oem
i A linux-image-5.10.0-1050-oem - Signed kernel image oem
i A linux-image-oem-20.04b - OEM Linux kernel image
i A linux-modules-5.10.0-1031-oem - Linux kernel extra modules for version 5.10.0 on 64 bit x86 SMP
i A linux-modules-5.10.0-1050-oem - Linux kernel extra modules for version 5.10.0 on 64 bit x86 SMP
i linux-oem-20.04b - Complete OEM Linux kernel and headers
i A linux-oem-5.10-headers-5.10.0-1031 - Header files related to Linux kernel version 5.10.0
i A linux-oem-5.10-headers-5.10.0-1050 - Header files related to Linux kernel version 5.10.0
i A linux-oem-5.10-tools-5.10.0-1031 - Linux kernel version specific tools for version 5.10.0-1031
i linux-tools-5.10.0-1031-oem - Linux kernel version specific tools for version 5.10.0-1031
i lsd - An ls command with a lot of pretty colors.
i manage-distro-upgrade - Disable upgrade for OEM.
i A manage-estar-settings - Energy Star related settings
i A oem-fix-misc-cnl-tlp-estar-conf - customized configuration for tlp.
i oem-ouagadougou-meta - Meta package for the OEM mainstreams image.
i oem-release - Show oem release version
i oem-somerville-butterfree-meta - hardware support for Somerville Butterfree platform
i oem-somerville-factory-butterfree-meta - hardware support for Somerville Butterfree platform (factory)
i oem-somerville-factory-meta - hardware support for Somerville platform
i oem-somerville-meta - hardware support for Somerville platform
i A oem-somerville-partner-archive-keyring - Somerville project keyrings
i slack-desktop - Slack Desktop
i sosreport-oem - OEM image releated sosreport plugins and utilities.
aptitude search ~b
什么都不输出——没有损坏的包。
这是输出tree /usr/local/
:
/usr/local/
├── bin
├── etc
├── games
├── include
├── lib
│ └── python3.9
│ └── dist-packages
├── man -> share/man
├── sbin
├── share
│ ├── ca-certificates
│ ├── fonts
│ ├── man
│ ├── sgml
│ │ ├── declaration
│ │ ├── dtd
│ │ ├── entities
│ │ ├── misc
│ │ └── stylesheet
│ ├── texmf
│ └── xml
│ ├── declaration
│ ├── entities
│ ├── misc
│ └── schema
├── src
└── stow
输出dpkg -S /usr/lib/dcaenabler/libcurl.so.4 /usr/lib/dcaenabler/libssl.so.1.1 /usr/lib/dcaenabler/libcrypto.so.1.1
:
dca-enabler-packages: /usr/lib/dcaenabler/libcurl.so.4
dca-enabler-packages: /usr/lib/dcaenabler/libssl.so.1.1
dca-enabler-packages: /usr/lib/dcaenabler/libcrypto.so.1.1
最可能相关:我刚刚观察到表格的重复行
10 Nov 2021 15:36:59 j-dell env[10851] /usr/sbin/dcae: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
在/var/log/syslog
. 如果我dcae
在命令行上运行,我会收到错误消息
dcae: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
就像curl
.
Dell XPS M1730 - Intel Core 2 Duo T9300(2,50 GHz,800 MHz FSB,6 MB L2-cache),Windows Vista Home Premium,17" UltraSharp TFT WUXGA (1920 x 1200) + 2.0 MP 网络摄像头,4096 MB 双通道DDR2 SDRAM、120 gb WD green SSD、DUAL SLI 512 MB NVIDIA GeForce 8800GTX、DVD+/-RW、9 芯锂离子电池、蓝牙 + 戴尔蓝牙 2.0 立体声耳机、802.11n、Sound Blaster Audigy ADVANCED HD 音频
我正在尝试在运行 ubuntu 20.04 操作系统的 dell inspiron 5520 上安装 dell 命令和配置。我正在遵循这个指示。
当我执行
sudo dpkg -i srvadmin-hapi_9.5.0_amd64.deb
我收到以下错误:
(Reading database ... 654921 files and directories currently installed.)
Preparing to unpack srvadmin-hapi_9.5.0_amd64.deb ...
Unpacking srvadmin-hapi (9.5.0) over (9.5.0) ...
Setting up srvadmin-hapi (9.5.0) ...
Job for instsvcdrv.service failed because the control process exited with error code.
See "systemctl status instsvcdrv.service" and "journalctl -xe" for details.
dpkg: error processing package srvadmin-hapi (--install):
installed srvadmin-hapi package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
srvadmin-hapi
我执行了
systemctl status instsvcdrv.service
输出:
instsvcdrv.service - Systems Management Device Drivers
Loaded: loaded (/etc/systemd/system/instsvcdrv.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-08-24 13:23:14 IST; 3min 14s ago
Process: 762908 ExecStart=/usr/libexec/instsvcdrv-helper start (code=exited, status=155)
Aug 24 13:23:14 xxxx systemd[1]: Starting Systems Management Device Drivers...
Aug 24 13:23:14 xxxx systemd[1]: instsvcdrv.service: Control process exited, code=exited, status=155/n/a
Aug 24 13:23:14 xxxx systemd[1]: instsvcdrv.service: Failed with result 'exit-code'.
Aug 24 13:23:14 xxxx systemd[1]: Failed to start Systems Management Device Drivers.
我执行了
journalctl -xe
输出:
-- Subject: A start job for unit [email protected] has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit [email protected] has begun execution.
--
-- The job identifier is 2641966.
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --ca fails with 'ca.crt': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --cert fails with 'server.crt': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: WARNING: cannot stat file 'server.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --key fails with 'server.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: WARNING: cannot stat file 'ta.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --tls-auth fails with 'ta.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: Please correct these errors.
Aug 24 13:31:48 xxxx ovpn-server[764772]: Use --help for more information.
Aug 24 13:31:48 xxxx systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit [email protected] has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 24 13:31:48 xxxx systemd[1]: [email protected]: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit [email protected] has entered the 'failed' state with result 'exit-code'.
Aug 24 13:31:48 xxxx systemd[1]: Failed to start OpenVPN connection to server.
-- Subject: A start job for unit [email protected] has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit [email protected] has finished with a failure.
--
-- The job identifier is 2641966 and the job result is failed.
BIOS 信息
Vendor: Dell Inc.
Version: A11
Release Date: 10/03/2012
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 4608 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
5.25"/360 kB floppy services are supported (int 13h)
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
Firmware Revision: 1.1
系统信息
Manufacturer: Dell Inc.
Product Name: Inspiron 5520
Version: A11
Serial Number: XXXXXXX
UUID: X-X-X-X-X
Wake-up Type: Power Switch
SKU Number: xxx123x#ABA
Family: 103C_5335KV
如何解决这些问题并成功安装该工具?
我有运行 Ubuntu 21.04 的 XPS 15 (9510) 通过左侧站点上的一个 Thunderbolt 4 端口连接到电源,偶尔我连接到笔记本电脑的右侧 (USB-C),这是一个小型底座,也通过USB-C PD(需要操作扩展坞),有2个电源,会损坏笔记本电脑吗?或者笔记本电脑将继续只使用 TB4(当我插入扩展坞时它已经处于活动状态)并放弃扩展坞提供的电源?谢谢
我只是在实时模式下运行 Ubuntu 21.04 进行测试,然后在具有 OLED 屏幕的 XPS 15 9510 上进行完整安装,但我无法控制屏幕亮度,我知道多年前的 OLED 屏幕存在问题,但我想这一点已经解决了。戴尔通过终端提供了一个临时的解决方法,但不是很实用:
关于如何解决这个问题的任何建议?谢谢
我提出这样的问题是因为我也在寻找一些一般性的建议,除了可能是这个问题的技术解决方案。
只是用火狐浏览(打开一百万个标签),计算机最终冻结,我可以移动光标,但没有别的。top
我重新启动了计算机,并在角落里留下了一个带有监控的终端。当它再次发生时,kswapd0
正在使用 99% 的 CPU。我拍了一张冻结屏幕的照片:
kswapd0
我想我从这个不错的答案中明白了什么。
问题:我应该尝试应用@Zzzach 的建议......并尝试一下,还是 ubuntu 崩溃的事实指向一个更根本的问题?更实际的是:我应该退回我的新笔记本电脑并再买一台(也许有更多的内存)?
现在任何建议都会对我有用。谢谢你。
DELL Precision 3551(8Gb,i7-10 代,6 核)。直接买给DELL。预装 Ubuntu 20.04
编辑
free -h
@heynnema 要求的输出(在更改交换配置之前):
total used free shared buff/cache available
Mem: 7,4Gi 1,7Gi 3,1Gi 487Mi 2,6Gi 4,9Gi
Swap: 2,0Gi 0B 2,0Gi
和sudo swapon -s
Filename Type Size Used Priority
/swapfile file 2097148 0 -2
free -h
改变后
total used free shared buff/cache available
Mem: 7,4Gi 1,9Gi 141Mi 509Mi 5,3Gi 4,7Gi
Swap: 4,0Gi 0B 4,0Gi
磁盘截图
sudo nvme smart-log /dev/nvme0
(之后sudo apt install nvme-cli
)的输出
Smart Log for NVME device:nvme0 namespace-id:ffffffff
critical_warning : 0
temperature : 47 C
available_spare : 100%
available_spare_threshold : 50%
percentage_used : 0%
data_units_read : 706.904
data_units_written : 856.973
host_read_commands : 9.475.078
host_write_commands : 5.844.114
controller_busy_time : 24
power_cycles : 40
power_on_hours : 42
unsafe_shutdowns : 9
media_errors : 0
num_err_log_entries : 0
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Temperature Sensor 1 : 40 C
Temperature Sensor 2 : 40 C
Thermal Management T1 Trans Count : 0
Thermal Management T2 Trans Count : 0
Thermal Management T1 Total Time : 0
Thermal Management T2 Total Time : 0
顶部全输出
top - 13:07:20 up 55 min, 1 user, load average: 0,89, 1,18, 1,44
Tasks: 328 total, 1 running, 327 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6,9 us, 1,4 sy, 0,0 ni, 91,5 id, 0,0 wa, 0,0 hi, 0,2 si, 0,0 st
MiB Mem : 7591,1 total, 511,9 free, 4898,2 used, 2180,9 buff/cache
MiB Swap: 4096,0 total, 4096,0 free, 0,0 used. 1589,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1042 avahi 20 0 14368 9496 3448 S 28,8 0,1 15:21.02 avahi-daemon
3046 joanruiz 20 0 5984172 1,1g 520880 S 17,5 14,3 14:10.57 firefox
1229 joanruiz 9 -11 2722496 20328 15860 S 7,0 0,3 3:17.65 pulseaudio
1240 root 20 0 364124 119072 77516 S 5,6 1,5 2:13.41 Xorg
1627 joanruiz 20 0 5023716 267952 114456 S 5,6 3,4 3:06.26 gnome-shell
4184 joanruiz 20 0 3328404 610948 162244 S 5,3 7,9 1:52.83 Web Content
4105 joanruiz 20 0 3459772 736820 173096 S 5,0 9,5 5:40.82 Web Content
4379 joanruiz 20 0 3361924 605584 164780 S 4,3 7,8 3:03.59 Web Content
3344 joanruiz 20 0 817116 51172 38580 S 4,0 0,7 0:07.65 gnome-terminal-
3880 joanruiz 20 0 3238656 521872 158076 S 3,6 6,7 1:30.71 Web Content
3140 joanruiz 20 0 2464024 132104 96708 S 3,3 1,7 0:11.56 Privileged Cont
3805 joanruiz 20 0 3331928 603492 159216 S 3,3 7,8 3:42.14 Web Content
3312 joanruiz 20 0 3230972 478476 155968 S 2,6 6,2 2:16.64 Web Content
4314 joanruiz 20 0 3324008 532704 159316 S 2,6 6,9 1:29.47 Web Content
3694 joanruiz 20 0 3269908 569404 164392 S 2,0 7,3 3:45.15 Web Content
304 root -51 0 0 0 0 S 0,7 0,0 0:16.99 irq/110-DELL09C
1 root 20 0 168004 11700 8312 S 0,3 0,2 0:13.52 systemd
676 root -51 0 0 0 0 S 0,3 0,0 0:03.33 irq/167-iwlwifi
677 root -51 0 0 0 0 S 0,3 0,0 0:05.22 irq/168-iwlwifi
678 root -51 0 0 0 0 S 0,3 0,0 0:04.82 irq/169-iwlwifi
687 root -51 0 0 0 0 S 0,3 0,0 0:04.74 irq/172-iwlwifi
705 root -51 0 0 0 0 S 0,3 0,0 0:04.87 irq/178-iwlwifi
1046 message+ 20 0 9756 6172 3868 S 0,3 0,1 0:04.37 dbus-daemon
1048 root 20 0 617360 20896 17044 S 0,3 0,3 0:05.23 NetworkManager
1076 root 20 0 0 0 0 I 0,3 0,0 0:18.56 kworker/10:3-events
1403 root 20 0 0 0 0 S 0,3 0,0 0:00.36 nv_queue
3951 joanruiz 20 0 360060 5756 5124 S 0,3 0,1 0:00.28 sd_dummy
5481 root 20 0 0 0 0 I 0,3 0,0 0:00.29 kworker/u24:0-events_unbound
6294 joanruiz 20 0 14656 4264 3408 R 0,3 0,1 0:00.08 top
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_par_gp
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-events_highpri
9 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percpu_wq
10 root 20 0 0 0 0 S 0,0 0,0 0:00.14 ksoftirqd/0
11 root 20 0 0 0 0 I 0,0 0,0 0:03.52 rcu_sched
12 root rt 0 0 0 0 S 0,0 0,0 0:00.02 migration/0
13 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/0
14 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
15 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/1
16 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/1
17 root rt 0 0 0 0 S 0,0 0,0 0:00.10 migration/1
18 root 20 0 0 0 0 S 0,0 0,0 0:00.06 ksoftirqd/1
19 root 20 0 0 0 0 I 0,0 0,0 0:00.22 kworker/1:0-events
20 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/1:0H-kblockd
21 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/2
22 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/2
23 root rt 0 0 0 0 S 0,0 0,0 0:00.11 migration/2
24 root 20 0 0 0 0 S 0,0 0,0 0:00.03 ksoftirqd/2
26 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/2:0H-kblockd
27 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/3
28 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/3
29 root rt 0 0 0 0 S 0,0 0,0 0:00.11 migration/3
30 root 20 0 0 0 0 S 0,0 0,0 0:00.02 ksoftirqd/3
32 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/3:0H-events_highpri
33 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/4
34 root -51 0 0 0 0 S 0,0 0,0 0:00.00 idle_inject/4
的输出lshw -C memory
joanruiz@joan-Dell-Precision:~$ sudo lshw -C memory
[sudo] password for joanruiz:
*-firmware
description: BIOS
vendor: Dell Inc.
physical id: 0
version: 1.4.3
date: 12/23/2020
size: 64KiB
capacity: 32MiB
capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppynec int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi
*-memory
description: System Memory
physical id: 1c
slot: System board or motherboard
size: 8GiB
*-bank:0
description: DIMM [empty]
physical id: 0
slot: DIMM A
*-bank:1
description: SODIMM DDR4 Synchronous 3200 MHz (0,3 ns)
product: 4ATF1G64HZ-3G2E2
vendor: Micron Technology
physical id: 1
serial: 2CD53823
slot: DIMM B
size: 8GiB
width: 64 bits
clock: 3200MHz (0.3ns)
*-cache:0
description: L1 cache
physical id: 3f
slot: L1 Cache
size: 384KiB
capacity: 384KiB
capabilities: synchronous internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 40
slot: L2 Cache
size: 1536KiB
capacity: 1536KiB
capabilities: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 41
slot: L3 Cache
size: 12MiB
capacity: 12MiB
capabilities: synchronous internal write-back unified
configuration: level=3
*-memory UNCLAIMED
description: RAM memory
product: Comet Lake PCH Shared SRAM
vendor: Intel Corporation
physical id: 14.2
bus info: pci@0000:00:14.2
version: 00
width: 64 bits
clock: 33MHz (30.3ns)
capabilities: pm cap_list
configuration: latency=0
resources: memory:ed542000-ed543fff memory:ed54a000-ed54afff