我正在开发 yocto 发行版,包括 2.3.2 版本中的 cryptsetup
我在具有 1 GB RAM 的主板上运行此类发行版,在尝试打开无法正确调试的加密分区时遇到“内存不足”错误。有任何想法吗?
我的发行版从具有 3 个分区的 mSD 运行;第三个 (30 MB) 是加密的。
我使用ArchLinux 指南中描述的步骤来加密该分区,使用 ext3 而不是 ext4
# cryptsetup -y -v luksFormat /dev/sda2
# cryptsetup open /dev/sda2 cryptroot
# mkfs.ext3 /dev/mapper/cryptroot
Run Code Online (Sandbox Code Playgroud)
但尝试在我的主板上打开该分区会引发错误:
cryptsetup --debug open /dev/mmcblk0p3 cryptroot
# cryptsetup 2.3.2 processing "cryptsetup --debug open /dev/mmcblk0p3 cryptroot"
# Running command open.
# Locking memory.
# Installing SIGINT/SIGTERM handler.
# Unblocking interruption on signal.
# Allocating context for crypt device /dev/mmcblk0p3.
# Trying …Run Code Online (Sandbox Code Playgroud) 是否有与Windows的均衡器 APO 第二个链接具有相同功能的 Linux 应用程序?可以接受这种设置的东西,比如均衡器 APO 吗?
| Band| Type |Freq(Hz)|Gain(dB)| Quality |
|----|------------|--------|-------|------|
| 1 | LOW_SHELF | 90 | -2.8 | 0.9 |
| 2 | PEAK | 185 | -3.8 | 0.9 |
| 3 | PEAK | 290 | 5.0 | 1.8 |
| 4 | PEAK | 2700 | -4.3 | 1.4 |
| 5 | PEAK | 3670 | 2.7 | 4.5 |
| 6 | PEAK | 4340 | -5.0 | …Run Code Online (Sandbox Code Playgroud) 我正在尝试在嵌入式发行版中配置 syslog-ng。
我添加了 syslog-ng 包。
我期望 /var/log/ 文件包含其日志严重性/日志级别,但事实并非如此。
有什么方法可以配置 syslog-ng 以将严重性添加到每行吗?
谢谢你和问候
application ×1
audio ×1
cryptsetup ×1
embedded ×1
encryption ×1
linux ×1
logs ×1
luks ×1
syslog-ng ×1
yocto ×1