linux-kernel - 无法在虚拟地址处处理内核分页请求 - 树莓派 3b+
问题描述
我编写了一个简单的内核模块,每当我尝试打开、读取或写入模块时,都会产生分段错误。open、read 和 write 函数什么都不做,只是打印一条消息。我进行了搜索,但找不到解决方案。请帮忙。下面是尝试写入时的 dmesg 输出。
Platform : Raspberry Pi 3b+ , Raspbian 4.19.58-v7+
There is no issue with the code since i have executed it on my Ubuntu PC and it works perfectly fine.
解决方案
推荐阅读
- python - 如何提取所有医生姓名
- r - 查找出现次数最多的组合词
- sql - 处理带有重复项的 MERGE
- java - 有没有一种方法可以在用户按下按钮或输入后显示我的打印语句?
- python-3.x - 在 tkinter 中显示 shapefile?
- java - Avast Antivirus / MailShield 更新后 Java 套接字连接被拒绝
- snmp - 如何为多个代理运行 snmp 模拟器?
- kubernetes - Kubernetes 资源配置中的 request 和 args 有什么区别?
- postgresql - Dataproc 尝试通过 JDBC 连接到 Postgres,缺少权限
- node.js - typescript dependency injection with little footprint