gpt4 book ai didi

linux - 在 Chromebook 上编译内核模块

转载 作者:太空宇宙 更新时间:2023-11-04 03:33:21 26 4
gpt4 key购买 nike

我正在运行带有 crouton 的 ARMv7 Chromebook。我想挂载 CIFS 共享,但 CIFS 似乎不在内核中。因此,我下载了与我相同的内核版本源,编译了 cifs.ko 模块,并尝试加载它。但我收到了这个错误:

# insmod cifs.ko
insmod: ERROR: could not insert module cifs.ko: Operation not permitted

该模块被编译为 ARM 模块,我检查了文件:

# file cifs.kocifs.ko: ELF 32-bit LSB relocatable, ARM, version 1, BuildID[sha1]=e14d1772583fae478e2b113b57ce81c214e511af, not stripped

什么给出了?

最佳答案

Chromium 操作系统默认不允许添加内核模块。使用此脚本禁用模块锁定。 https://github.com/divx118/crouton-packages/blob/master/README.md

有关修改 Chromium 操作系统内核的更多信息可以在此处找到: https://github.com/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86)一般来说,整个 crouton 存储库/wiki 有很多帮助。

关于linux - 在 Chromebook 上编译内核模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32468207/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com