AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-2596445

username51269's questions

Martin Hope
username51269
Asked: 2025-02-07 15:07:01 +0800 CST

为什么我看不到 LSI 430-16i SAS/SATA 控制器上的任何设备?

  • 5

我昨天收到了我的联想 430-16i LSI SAS3416 9400-16i 三模式 HBA 控制器 12G IT 模式 NAS AU PCIe 卡,从物理上讲,安装进展顺利。

固件已更新,控制器在 JBOD 模式下运行(其他一些控制器上为 IT 模式)。

我使用的唯一电缆是这样的:Mini SAS/SFF-8643 至 4x 7mm SATA 电缆。

但是,Linux 和 Windows 都无法识别我连接的临时 SATA HDD。我读完了所有能找到的手册,这个控制器上应该有一个 Ctrl-R 实用程序,但在启动过程中按住 Ctrl 或按Ctrl-组合键都无法R调出Ctrl-R实用程序。

我能检查什么?HDD 没问题 - 它可以通过普通 SATA-SATA 电缆直接连接到主板。

我尝试运行storcli64并可以获得大量有关控制器的信息,因此肯定检测到了它。Linux lspci中的显示控制器原样。甚至 Windows 也自动安装了正确的驱动程序。但有趣的是,帮助说storcli64我应该能够运行如下内容:

storcli64 /c0 show personality

并返回当前模式(RAID|JBOD),但显示“不支持的命令”。

我也尝试过 LSI Storage Authority,它能毫无问题地识别控制器。不同的电缆,同样的问题。不过所有电缆都是同一型号。

在此处输入图片描述 在此处输入图片描述

我甚至尝试按照此处的建议刷新英特尔固件。 HBA 仍能正常工作并被正常检测到,但仍然没有驱动器。 唯一的区别是对 NVMe 的支持,而我不需要它。

linux
  • 1 个回答
  • 26 Views
Martin Hope
username51269
Asked: 2025-02-01 10:56:44 +0800 CST

为什么 Raspberry Pi 5 上的 PXE 启动正常,但 apt 会抛出有关无效签名的错误?

  • 7

我的 Raspberry Pi 5 SBC 上的 PXE 启动已完成 99% 的工作 - 除了apt-get update正常工作之外,其他一切都正常。我的环境是 TrueNAS Scale 上的 TFTP 服务器,有 2 个 NFS 共享,一个用于 tftpboot,一个用于根文件系统。DHCP 设置 66 可以毫无问题地分发 TFTP IP 地址。

新的额外信息:我发现这不仅仅是 Raspberry Pi OS 的问题。如果我使用 DietPi(同样基于 Debian),也会发生同样的事情:

Err:15 https://dietpi.com/apt bookworm InRelease
  At least one invalid signature was encountered.

获取根文件系统文件的过程是:

  • 从新 SD 卡启动 pi5
  • 完成初始安装
  • 将 /boot/firmware 和 / rsync 到上面的共享(这其中不涉及 ISO 文件,就像一些 PXE 解决方案使用的一样)。rsync 已运行,--perms并且我已验证目标上的权限与源上的权限相同。

但是,当 pi5 从 PXE 启动时,apt-get update无法运行并抛出以下错误:

me@raspberrypi:~ $
me@raspberrypi:~ $ sudo apt-get update
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Err:1 http://deb.debian.org/debian bookworm InRelease
  At least one invalid signature was encountered.
Err:2 http://deb.debian.org/debian-security bookworm-security InRelease
  At least one invalid signature was encountered.
Err:3 http://deb.debian.org/debian bookworm-updates InRelease
  At least one invalid signature was encountered.
Get:4 http://archive.raspberrypi.com/debian bookworm InRelease [39.3 kB]
Err:4 http://archive.raspberrypi.com/debian bookworm InRelease
  At least one invalid signature was encountered.
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.raspberrypi.com/debian bookworm InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.raspberrypi.com/debian bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
me@raspberrypi:~ $

允许不安全和未经身份验证的存储库得到进一步发展,但仍然会失败,并出现以下错误:

W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
W: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

下面的 apt 示例安装了 nginx,但请注意以下行:

WARNING: The following packages cannot be authenticated!
  nginx-common nginx

以下是完整输出:

me@raspberrypi:~ $ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  nginx-common
Suggested packages:
  fcgiwrap nginx-doc ssl-cert
The following NEW packages will be installed:
  nginx nginx-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 606 kB of archives.
After this operation, 1,708 kB of additional disk space will be used.
Do you want to continue? [Y/n]
WARNING: The following packages cannot be authenticated!
  nginx-common nginx
Install these packages without verification? [y/N] y
Get:1 http://deb.debian.org/debian bookworm/main arm64 nginx-common all 1.22.1-9 [112 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 nginx arm64 1.22.1-9 [494 kB]
Fetched 606 kB in 1s (541 kB/s)
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 78339 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.22.1-9_all.deb ...
Unpacking nginx-common (1.22.1-9) ...
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.22.1-9_arm64.deb ...
Unpacking nginx (1.22.1-9) ...
Setting up nginx-common (1.22.1-9) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.
Setting up nginx (1.22.1-9) ...
Upgrading binary: nginx.
Processing triggers for man-db (2.11.2-2) ...
me@raspberrypi:~ $

这表明这不是文件系统权限问题,否则无法安装新软件包。重新启动后,nginx 仍然存在并且运行良好,因此文件系统持久性也正常工作。

注意我可以按照官方安装说明添加新的 repos,例如 Docker repo。

这不是 Docker 的问题,正如许多其他搜索结果所暗示的那样;除了上述测试之外,Docker repo 从未安装在该系统上。有足够的磁盘空间可用,所以也不是这个问题。

是什么原因造成的?临时使用一个空的 apt sources.list,并sources.list.d允许 apt 运行而不会抛出错误,正如预期的那样。添加新的 repo 并运行后sudo apt-get update一切正常,所以它肯定与 SD 卡安装中的现有 repo 有关。恢复上述复制的文件会直接导致错误再次出现。

我搜索了很多,发现了几个相同的错误,但它们的解决方案在这里不起作用,例如

  • 无法运行 apt update:至少遇到一个无效签名
  • apt-get update 不起作用:签名/验证错误
  • apt-get update 报告 GPG 错误
  • https://stackoverflow.com/a/62510927/117259(这不是 Docker 问题)
ubuntu
  • 1 个回答
  • 53 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve