升级到10.10之后,我在启动ubuntu时遇到了麻烦。
在状态为0x0009的意外退出之后,它说:
Gave up waiting for root device: common problems:
- Boot args (cat /proc/cmdline)
- check rootdelay = (did system wait long enough?)
- Check root = (did the system wait for the right device?)
- Missing moduloes (cat /proc/modules; ls /dev)
ALERT! /d
这里是我的问题:我想从运行在Linux内核空间中的代码中对数据文件的一部分进行内存映射。我想稍后也从Linux内核空间中运行的代码中撤销相同的内存映射。如何执行这些操作?它们与在用户空间中使用mmap(2)/munmap(2)有何不同?
我试图在没有用户进程的内核空间中做到这一点。
我浏览了网络搜索和Linux内核书籍,包括Bovet和Cesati的"Understanding the Linux Kernel“。一本好书,但没有回答我的问题。