参考 http://forums.gentoo.org/viewtopic-t-880313-start-0.html

Problem:

dmesg

代码:

1
2
3
4
5
6
EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 396k freed
Write protecting the kernel text: 4244k
Write protectiong the kernel read-only data: 1664k
init-early.sh used greatest stack depth: 6696 bytes left</td>

Solve:

change kernel config to include:

引用:

1
2
3
4
5
6
7
8
9
10
11
12
Device Drivers —>
Generic Driver Options —>
(/sbin/hotplug) path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Select only drivers that don\’t need compile-time external firmware
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[ ] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
[ ] Driver Core verbose debug messages
[ ] Managed device resources verbose debug messages

文章目录