在 dmesg
输出中,看到 “driver loaded” 通常意味着某个内核模块(驱动程序)已经被成功加载到内核中。这通常是在系统启动过程中或者通过手动使用 modprobe
或 insmod
命令加载模块时发生的。
具体来说,当一个驱动程序被加载时,内核会输出相关的信息以确认该操作的成功与否。这些信息可能包括驱动程序的名称、版本号以及加载成功与否的状态消息。例如:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 5.4.0-42-generic (buildd@lgw01-amd64-039) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=xxxx rootfstype=ext4 ro quiet splash vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bfffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d0000000-0x00000000d1ffffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000d2000000-0x00000000d20fffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000d2100000-0x00000000d2100fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2110000-0x00000000d2110fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2111000-0x00000000d2111fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2112000-0x00000000d2112fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2113000-0x00000000d2113fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2114000-0x00000000d2114fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2115000-0x00000000d2115fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2116000-0x00000000d2116fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2117000-0x00000000d2117fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2118000-0x00000000d2118fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2119000] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d211a000-0x00000000d211afff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000d211b000-0x00000000d211bfff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000d211c000-0x00000000d211cfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d211d000-0x00000000d211dfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d211e000-0x00000000d211efff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d211f000-0x00000000d211ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2120000-0x00000000d2120fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2121000-0x00000000d2121fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2122000-0x00000000d2122fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2123000-0x00000000d2123fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2124000-0x00000000d2124fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2125000-0x00000000d2125fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2126000-0x00000000d2126fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2127000-0x00000000d2127fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2128000-0x00000000d2128fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2129000-0x00000000d2129fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d212a000-0x00000000d212afff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d212b000-0x00000000d212bfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d212c000-0x00000000d212cfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d212d000] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d212e000-0x00000000d212efff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000d212f000-0x00000000d212ffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000d2130000-0x00000000d2130fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2131000-0x00000000d2131fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2132000-0x00000000d2132fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2133000-0x00000000d2133fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2134000-0x00000000d2134fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2135000-0x00000000d2135fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2136000-0x00000000d2136fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2137000-0x00000000d2137fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2138000-0x00000000d2138fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2139000-0x00000000d2139fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d213a000-0x00000000d213afff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d213b000-0x00000000d213bfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d213c000-0x00000000d213cfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d213d000-0x00000000d213dfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d213e000-0x00000000d213efff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d213f000-0x00000000d213ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2140000-0x00000000d2140fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2141000-0x00000000d2141fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2142000-0x00000000d2142fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2143000-0x00000000d2143fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2144000-0x00000000d2144fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000d2145000-0x00000000d2145fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000