从Linux内核源码到操作系统

news/2024/11/8 17:09:14/

Linux源码只有运行起来才能成为操作系统,否则她只能静静的躺在存储介质上沉睡,本文就讲解如何将这个睡美人唤醒,唤醒后给他穿上旗袍她就成为RedHat,给她换上包臀裙她就成为SUSE,再或者给她换上超短裙,她就成为Ubuntu,总之就是你可以按照自己的想象,随意打扮这个小姑娘,当然我们也可让她裸奔。

没有编译过内核的朋友,可以查看我之前写过的一篇文章

CentOS下编译Linux内核_巭犇的博客-CSDN博客_centos 编译内核,本文在此基础之上,将唤醒这个沉睡的美人。

唤醒美少女的过程

如果想要唤醒这个沉睡的少女(睡你MB,起来嗨),需要对计算机启动过程的原理有基本的认识,这里不再赘述,我只简单的讲解下关键的过程。

PC上电--->BIOS--->Bootloader加载OS kernel和initramfs


正式唤醒美少女

创建磁盘文件

[root@ct7_node02 tmp]# dd if=/dev/zero of=disk.img bs=1M count=64
64+0 records in
64+0 records out
67108864 bytes (67 MB) copied, 0.0195857 s, 3.4 GB/s
[root@ct7_node02 tmp]#

对磁盘分区

[root@ct7_node02 tmp]# fdisk disk.img 
Welcome to fdisk (util-linux 2.23.2).Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x7c3c3b4f.Command (m for help): n
Partition type:p   primary (0 primary, 0 extended, 4 free)e   extended
Select (default p): 
Using default response p
Partition number (1-4, default 1): 
First sector (2048-131071, default 2048): 
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-131071, default 131071): 
Using default value 131071
Partition 1 of type Linux and of size 63 MiB is setCommand (m for help): w
The partition table has been altered!Syncing disks.
[root@ct7_node02 tmp]# 

将磁盘分区关联到/dev/loop设备

[root@ct7_node02 tmp]# fdisk -l disk.img Disk disk.img: 67 MB, 67108864 bytes, 131072 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x7c3c3b4fDevice Boot      Start         End      Blocks   Id  System
disk.img1            2048      131071       64512   83  Linux
[root@ct7_node02 tmp]# 

磁盘第一个扇区是MBR,紧跟着MBR的是2043个空闲的扇区,实际上GRUB就嵌入到这个空闲的扇区,因此磁盘真正用于保存数据是从2049扇区开始

[root@ct7_node02 tmp]# losetup -o 1048576 /dev/loop0 disk.img

losetup用于将磁盘文件与linux中的设备文件进行关联,为后续磁盘分区与格式化做准备, 命令中的“-o“”表示磁盘正在用于存储数据的起始位置(单位是字节,即2048 x 512 = 1048576 )


格式化分区并挂载分区

[root@ct7_node02 tmp]# mkfs.ext4 /dev/loop0
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done                            
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
16128 inodes, 64512 blocks
3225 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=33685504
8 block groups
8192 blocks per group, 8192 fragments per group
2016 inodes per group
Superblock backups stored on blocks: 8193, 24577, 40961, 57345Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done[root@ct7_node02 tmp]# 

挂载分区

[root@ct7_node02 tmp]# mount -t ext4 /dev/loop0 /mnt/

安装grub到MBR之后的空闲分区

[root@ct7_node02 tmp]# grub2-install --boot-directory=/mnt/boot/  --modules=part_msdos disk.img
Installing for i386-pc platform.
Installation finished. No error reported.
[root@ct7_node02 tmp]# 

配置内核文件

将编译好的内核文件放入/boot/目录下

[root@ct7_node02 tmp]# cp /boot/vmlinuz-3.10.0-514.el7.x86_64 /mnt/boot/bzImage

配置initramfs文件

[root@ct7_node02 boot]# cd /mnt/boot/
[root@ct7_node02 boot]# mkinitrd initramfs.img `uname -r`

制作initramfs时,需要与内核版本一致,因为我当前的内核正是系统使用的内核,因此直接用uname -r 代替。


配置grub.cfg

[root@ct7_node02 boot]# cat /mnt/boot/grub2/grub.cfg
menuentry "SweetHeart"{
linux (hd0,msdos1)/boot/bzImage console=tty0
initrd (hd0,msdos1)/boot/initramfs.img
}[root@ct7_node02 boot]# 

hd0表示第一个硬盘,而msdos1表示该硬盘的第一个分区

linux (hd0,msdos1)/boot/bzImage console=tty0
表示:系统第一个硬盘,第一个分区的boot/bzImage文件是内核压缩镜像,而后面的console=tty0是内核启动参数,告诉内核输出到控制台上,而非图形化界面。

initrd (hd0,msdos1)/boot/initramfs
表示:系统第一个硬盘,第一个分区的boot/initramfs是内存文件系统。

到此为止,磁盘文件已制作完成,只需卸载磁盘文件即可,如下所示

[root@ct7_node02 ~]# umount /dev/loop0        
[root@ct7_node02 ~]# losetup --detach /dev/loop0

唤醒沉睡的少女(从磁盘运行Linux)

通过qemu-system-x86_64命令启动磁盘文件

至此内核已载入内存并通过cpu控制计算机

截止到目前,系统一直在使用initramfs作为临时的根文件系统,initramfs的主要目的之一就是辅助系统顺利地切换到真正的根文件系统。既然现在已经正确的驱动了硬盘,那么接下来,我们就切换到硬盘上的真正的根文件系统。

在grub.cfg中的内核文件后通过添加“root=/dev/sda2”可以指定根文件系统所在的介质,并通在修改initramfs中的init脚本即可以实现根文件系统的挂载。

梳妆打扮美少女

接下来请尽情蹂躏吧,比如给她配个房子(切换到真正的根)、给房子配把锁(ssh)。。。

Tips

想进一步了解操作系统如何启动的道友,强烈推荐阅读《深度探索Linux操作系统》以及访问Welcome to Linux From Scratch!,Linux From Scratch (LFS) 完全通过源码一步一步引导你构建自己的Linux操作系统。

打印计算机重启完整过程 

以下输出分为三部分

  1. 关机
  2. 加载内核与initramfs
  3. 切换到真正的根文件系统,并启动相关服务
[root@ct7_node02 ~]# reboot
[  OK  ] Started Show Plymouth Reboot Screen.
[  OK  ] Stopped Postfix Mail Transport Agent.
[  OK  ] Stopped Dynamic System Tuning Daemon.
[  OK  ] Stopped target Network.Stopping LSB: Bring up/down networking...
[  OK  ] Started Restore /run/initramfs.
[  OK  ] Stopped LSB: Bring up/down networking.
[  OK  ] Stopped Network Manager Wait Online.Stopping Network Manager Wait Online...Stopping Network Manager...
[  OK  ] Stopped Network Manager.Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped target Sockets.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped Apply Kernel Variables.Stopping Apply Kernel Variables...Stopping Load/Save Random Seed...
[  OK  ] Stopped Setup Virtual Console.Stopping Setup Virtual Console...
[  OK  ] Stopped target Encrypted Volumes.
[  OK  ] Stopped target Swap.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.Stopping Security Auditing Service...
[  661.156580] type=1305 audit(1658885127.870:77): audit_pid=0 old=563 auid=4294967295 ses=4294967295 res=1
[  661.157699] type=1131 audit(1658885127.872:78): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Stopped Security Auditing Service.
[  661.159899] type=1131 audit(1658885127.874:79): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Stopped Create Volatile Files and Directories.Stopping Create Volatile Files and Directories...
[  OK  ] Stopped Import network configuration from initramfs.
[  661.163095] type=1131 audit(1658885127.877:80): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rhel-import-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'Stopping Import network configuration from initramfs...
[  OK  ] Stopped target Local File Systems.
[  OK  [  661.166455] type=1131 audit(1658885127.880:81): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rhel-readonly comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
] Stopped Configure read-only root support.Stopping Configure read-only root support...Unmounting Configuration File System...Unmounting /run/user/0...Unmounting /boot...
[  OK  ] Unmounted /run/user/0.
[  661.176735] XFS (vda1): Unmounting Filesystem
[  OK  ] Unmounted Configuration File System.
[  661.212390] type=1131 audit(1658885127.926:82): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Unmounted /boot.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Remount Root and Kernel File Systems.Stopping Remount Root and Kernel File Systems...
[  OK  ] Stopped Create Static Device Nodes in /dev.[  661.217227] type=1131 audit(1658885127.931:83): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'Stopping Create Static Device Nodes in /dev...
[  OK  ] Reached target Shutdown.
[  661.226560] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  661.228492] systemd-journald[451]: Received SIGTERM from PID 1 (systemd-shutdow).
[  661.231159] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  661.232802] systemd-shutdown[1]: Unmounting file systems.
[  661.279772] systemd-shutdown[1]: All filesystems unmounted.
[  661.280508] systemd-shutdown[1]: Deactivating swaps.
[  661.281234] systemd-shutdown[1]: All swaps deactivated.
[  661.281907] systemd-shutdown[1]: Detaching loop devices.
[  661.282835] systemd-shutdown[1]: All loop devices detached.
[  661.283516] systemd-shutdown[1]: Detaching DM devices.
[  661.284370] systemd-shutdown[1]: Detaching DM 253:0.
[  661.287898] systemd-shutdown[1]: Not all DM devices detached, 1 left.
[  661.288444] systemd-shutdown[1]: Detaching DM devices.
[  661.288913] systemd-shutdown[1]: Not all DM devices detached, 1 left.
[  661.289398] systemd-shutdown[1]: Cannot finalize remaining DM devices, continuing.
[  661.290328] systemd-shutdown[1]: Successfully changed into root pivot.
[  661.290818] systemd-shutdown[1]: Returning to initrd...
[  661.308730] dracut Warning: Killing all remaining processes
dracut Warning: Killing all remaining processes
[  661.326948] XFS (dm-1): Unmounting Filesystem
[  661.334761] dracut Warning: Unmounted /oldroot.
[  661.344505] dracut: Disassembling device-mapper devices
Rebooting.
[  661.351045] Unregister pv shared memory for cpu 0
[  661.353625] Restarting system.
[  661.353932] reboot: machine restart
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0-514.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Tue Nov 22 16:42:41 UTC 2016
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.el7.x86_64 root=/dev/mapper/cl-root ro biosdevname=0 net.ifnames=0 console=ttyS0,115200n8
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003fff6fff] usable
[    0.000000] BIOS-e820: [mem 0x000000003fff7000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x3fff7 max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] found SMP MP-table at [mem 0x000f72b0-0x000f72bf] mapped at [ffff8800000f72b0]
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x35864000-0x36c29fff]
[    0.000000] ACPI: RSDP 00000000000f7110 00014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 000000003ffffa9b 00030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 000000003ffff177 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 000000003fffe040 01137 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 000000003fffe000 00040
[    0.000000] ACPI: SSDT 000000003ffff1eb 00838 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 000000003ffffa23 00078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000003fff6fff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x3fff6fff]
[    0.000000]   NODE_DATA [mem 0x3ffd0000-0x3fff6fff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:3ff80001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 1130645222540 cycles
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x3fff6fff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x40000000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 33 pages/cpu @ffff88003fc00000 s96728 r8192 d30248 u2097152
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 3fc0f3c0
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 257920
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.el7.x86_64 root=/dev/mapper/cl-root ro biosdevname=0 net.ifnames=0 console=ttyS0,115200n8
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[    0.000000] x86/fpu: xstate_offset[3]: 03c0, xstate_sizes[3]: 0040
[    0.000000] x86/fpu: xstate_offset[4]: 0400, xstate_sizes[4]: 0040
[    0.000000] xsave: enabled xstate_bv 0x1f, cntxt size 0x440 using standard form
[    0.000000] Memory: 994548k/1048540k available (6764k kernel code, 392k absent, 53600k reserved, 4433k data, 1680k init)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=5120 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:327936 nr_irqs:256 0
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] allocated 4194304 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] tsc: Detected 2808.010 MHz processor
[    0.063688] Calibrating delay loop (skipped) preset value.. 5616.02 BogoMIPS (lpj=2808010)
[    0.064368] pid_max: default: 32768 minimum: 301
[    0.064758] Security Framework initialized
[    0.065091] SELinux:  Initializing.
[    0.065451] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.066158] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.066751] Mount-cache hash table entries: 4096
[    0.067231] Initializing cgroup subsys memory
[    0.067595] Initializing cgroup subsys devices
[    0.067959] Initializing cgroup subsys freezer
[    0.068321] Initializing cgroup subsys net_cls
[    0.068682] Initializing cgroup subsys blkio
[    0.069024] Initializing cgroup subsys perf_event
[    0.069407] Initializing cgroup subsys hugetlb
[    0.069765] Initializing cgroup subsys pids
[    0.070105] Initializing cgroup subsys net_prio
[    0.071459] mce: CPU supports 10 MCE banks
[    0.071823] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.072248] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.072668] tlb_flushall_shift: 6
[    0.080346] Freeing SMP alternatives: 28k freed
[    0.082728] ACPI: Core revision 20130517
[    0.083399] ACPI: All ACPI Tables successfully acquired
[    0.083753] ftrace: allocating 25811 entries in 101 pages
[    0.099918] smpboot: Max logical packages: 1
[    0.100323] smpboot: APIC(0) Converting physical 0 to logical package 0
[    0.100970] Enabling x2apic
[    0.101197] Enabled x2apic
[    0.101575] Switched APIC routing to physical x2apic.
[    0.102722] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.103170] smpboot: CPU0: Intel Core Processor (Skylake) (fam: 06, model: 5e, stepping: 03)
[    0.103845] Performance Events: unsupported p6 CPU model 94 no PMU driver, software events only.
[    0.107263] KVM setup paravirtual spinlock
[    0.108352] Brought up 1 CPUs
[    0.108589] smpboot: Total of 1 processors activated (5616.02 BogoMIPS)
[    0.109348] devtmpfs: initialized
[    0.111428] EVM: security.selinux
[    0.111693] EVM: security.ima
[    0.111912] EVM: security.capability
[    0.112613] atomic64 test passed for x86-64 platform with CX8 and with SSE
[    0.113129] pinctrl core: initialized pinctrl subsystem
[    0.113598] NET: Registered protocol family 16
[    0.114043] ACPI: bus type PCI registered
[    0.114338] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.114877] PCI: Using configuration type 1 for base access
[    0.115773] ACPI: Added _OSI(Module Device)
[    0.116100] ACPI: Added _OSI(Processor Device)
[    0.116421] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.116762] ACPI: Added _OSI(Processor Aggregator Device)
[    0.118087] ACPI: Interpreter enabled
[    0.118377] ACPI: (supports S0 S5)
[    0.118634] ACPI: Using IOAPIC for interrupt routing
[    0.119001] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.120815] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.121285] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.121802] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.122306] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.123268] acpiphp: Slot [3] registered
[    0.123568] acpiphp: Slot [4] registered
[    0.123866] acpiphp: Slot [5] registered
[    0.124177] acpiphp: Slot [7] registered
[    0.124474] acpiphp: Slot [8] registered
[    0.124768] acpiphp: Slot [9] registered
[    0.125067] acpiphp: Slot [10] registered
[    0.125376] acpiphp: Slot [11] registered
[    0.125679] acpiphp: Slot [12] registered
[    0.125980] acpiphp: Slot [13] registered
[    0.126280] acpiphp: Slot [14] registered
[    0.126597] acpiphp: Slot [15] registered
[    0.126901] acpiphp: Slot [16] registered
[    0.127202] acpiphp: Slot [17] registered
[    0.127507] acpiphp: Slot [18] registered
[    0.127813] acpiphp: Slot [19] registered
[    0.128115] acpiphp: Slot [20] registered
[    0.128414] acpiphp: Slot [21] registered
[    0.128718] acpiphp: Slot [22] registered
[    0.129023] acpiphp: Slot [23] registered
[    0.129322] acpiphp: Slot [24] registered
[    0.129625] acpiphp: Slot [25] registered
[    0.129925] acpiphp: Slot [26] registered
[    0.130230] acpiphp: Slot [27] registered
[    0.130535] acpiphp: Slot [28] registered
[    0.130835] acpiphp: Slot [29] registered
[    0.131135] acpiphp: Slot [30] registered
[    0.131442] acpiphp: Slot [31] registered
[    0.131743] PCI host bridge to bus 0000:00
[    0.132047] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.132453] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.132949] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.133434] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.133975] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[    0.144772] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.145294] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.145795] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.146319] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.147087] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.147627] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.354306] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.355061] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.355584] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.356076] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.356547] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.357097] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.357550] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.358132] vgaarb: loaded
[    0.358331] vgaarb: bridge control possible 0000:00:02.0
[    0.358771] SCSI subsystem initialized
[    0.359060] ACPI: bus type USB registered
[    0.359359] usbcore: registered new interface driver usbfs
[    0.359767] usbcore: registered new interface driver hub
[    0.360158] usbcore: registered new device driver usb
[    0.360567] PCI: Using ACPI for IRQ routing
[    0.361080] NetLabel: Initializing
[    0.361333] NetLabel:  domain hash size = 128
[    0.361657] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.362030] NetLabel:  unlabeled traffic allowed by default
[    0.362463] Switched to clocksource kvm-clock
[    0.365079] pnp: PnP ACPI init
[    0.365316] ACPI: bus type PNP registered
[    0.365858] pnp: PnP ACPI: found 5 devices
[    0.366160] ACPI: bus type PNP unregistered
[    0.371497] NET: Registered protocol family 2
[    0.371913] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.372447] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.372947] TCP: Hash tables configured (established 8192 bind 8192)
[    0.373413] TCP: reno registered
[    0.373661] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.374088] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.374573] NET: Registered protocol family 1
[    0.374898] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.375329] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.375761] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.376368] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[    0.377675] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.378829] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.379866] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[    0.380738] Unpacking initramfs...
[    0.584678] Freeing initrd memory: 20248k freed
[    0.586634] sha1_ssse3: Using AVX2 optimized SHA-1 implementation
[    0.587127] sha256_ssse3: Using AVX2 optimized SHA-256 implementation
[    0.587737] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.588192] Initialise system trusted keyring
[    0.588536] audit: initializing netlink socket (disabled)
[    0.588935] type=2000 audit(1658885134.149:1): initialized
[    0.607015] HugeTLB registered 1 GB page size, pre-allocated 0 pages
[    0.607514] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.608475] zpool: loaded
[    0.608676] zbud: loaded
[    0.608975] VFS: Disk quotas dquot_6.5.2
[    0.609281] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.609838] msgmni has been set to 1982
[    0.610147] Key type big_key registered
[    0.610666] NET: Registered protocol family 38
[    0.611000] Key type asymmetric registered
[    0.611305] Asymmetric key parser 'x509' registered
[    0.611686] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.612233] io scheduler noop registered
[    0.612531] io scheduler deadline registered (default)
[    0.612915] io scheduler cfq registered
[    0.613254] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.613668] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.614208] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.614754] ACPI: Power Button [PWRF]
[    0.615082] GHES: HEST is not enabled!
[    0.615391] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.636965] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.637693] Non-volatile memory driver v1.3
[    0.638005] Linux agpgart interface v0.103
[    0.638367] crash memory driver: version 1.1
[    0.638733] rdac: device handler registered
[    0.639054] hp_sw: device handler registered
[    0.639381] emc: device handler registered
[    0.639701] alua: device handler registered
[    0.640025] libphy: Fixed MDIO Bus: probed
[    0.640345] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.640846] ehci-pci: EHCI PCI platform driver
[    0.641690] ehci-pci 0000:00:06.7: EHCI Host Controller
[    0.642089] ehci-pci 0000:00:06.7: new USB bus registered, assigned bus number 1
[    0.642731] ehci-pci 0000:00:06.7: irq 10, io mem 0xfc118000
[    0.648479] ehci-pci 0000:00:06.7: USB 2.0 started, EHCI 1.00
[    0.648920] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.649418] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.649956] usb usb1: Product: EHCI Host Controller
[    0.650309] usb usb1: Manufacturer: Linux 3.10.0-514.el7.x86_64 ehci_hcd
[    0.650799] usb usb1: SerialNumber: 0000:00:06.7
[    0.651180] hub 1-0:1.0: USB hub found
[    0.651472] hub 1-0:1.0: 6 ports detected
[    0.651850] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.652301] ohci-pci: OHCI PCI platform driver
[    0.652704] uhci_hcd: USB Universal Host Controller Interface driver
[    0.653795] uhci_hcd 0000:00:06.0: UHCI Host Controller
[    0.654193] uhci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2
[    0.654755] uhci_hcd 0000:00:06.0: detected 2 ports
[    0.655144] uhci_hcd 0000:00:06.0: irq 10, io base 0x0000c0a0
[    0.655605] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    0.656097] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.656687] usb usb2: Product: UHCI Host Controller
[    0.657043] usb usb2: Manufacturer: Linux 3.10.0-514.el7.x86_64 uhci_hcd
[    0.657554] usb usb2: SerialNumber: 0000:00:06.0
[    0.657968] hub 2-0:1.0: USB hub found
[    0.658247] hub 2-0:1.0: 2 ports detected
[    0.659303] uhci_hcd 0000:00:06.1: UHCI Host Controller
[    0.659796] uhci_hcd 0000:00:06.1: new USB bus registered, assigned bus number 3
[    0.660339] uhci_hcd 0000:00:06.1: detected 2 ports
[    0.660841] uhci_hcd 0000:00:06.1: irq 11, io base 0x0000c0c0
[    0.661293] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    0.661878] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.662438] usb usb3: Product: UHCI Host Controller
[    0.662869] usb usb3: Manufacturer: Linux 3.10.0-514.el7.x86_64 uhci_hcd
[    0.663386] usb usb3: SerialNumber: 0000:00:06.1
[    0.663785] hub 3-0:1.0: USB hub found
[    0.664117] hub 3-0:1.0: 2 ports detected
[    0.665354] uhci_hcd 0000:00:06.2: UHCI Host Controller
[    0.665810] uhci_hcd 0000:00:06.2: new USB bus registered, assigned bus number 4
[    0.666378] uhci_hcd 0000:00:06.2: detected 2 ports
[    0.666851] uhci_hcd 0000:00:06.2: irq 11, io base 0x0000c0e0
[    0.667299] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    0.667888] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.668447] usb usb4: Product: UHCI Host Controller
[    0.668852] usb usb4: Manufacturer: Linux 3.10.0-514.el7.x86_64 uhci_hcd
[    0.669400] usb usb4: SerialNumber: 0000:00:06.2
[    0.669808] hub 4-0:1.0: USB hub found
[    0.670115] hub 4-0:1.0: 2 ports detected
[    0.670509] usbcore: registered new interface driver usbserial
[    0.671005] usbcore: registered new interface driver usbserial_generic
[    0.671557] usbserial: USB Serial support registered for generic
[    0.672084] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.673184] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.673611] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.674065] mousedev: PS/2 mouse device common for all mice
[    0.674696] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    0.675752] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input2
[    0.676622] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3
[    0.677353] rtc_cmos 00:00: RTC can wake from S4
[    0.677897] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[    0.678434] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram
[    0.678987] cpuidle: using governor menu
[    0.679347] hidraw: raw HID events driver (C) Jiri Kosina
[    0.679837] usbcore: registered new interface driver usbhid
[    0.680336] usbhid: USB HID core driver
[    0.680687] drop_monitor: Initializing network drop monitor service
[    0.681233] TCP: cubic registered
[    0.681586] Initializing XFRM netlink socket
[    0.681967] NET: Registered protocol family 10
[    0.682483] NET: Registered protocol family 17
[    0.682958] microcode: CPU0 sig=0x506e3, pf=0x1, revision=0x1
[    0.683461] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.684268] Loading compiled-in X.509 certificates
[    0.684685] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
[    0.685444] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
[    0.686611] Loaded X.509 cert 'CentOS Linux kernel signing key: d48863a7c16fcc274123e6298f74f057af19fc54'
[    0.687388] registered taskstats version 1
[    0.688840] Key type trusted registered
[    0.690173] Key type encrypted registered
[    0.691491] IMA: No TPM chip found, activating TPM-bypass!
[    0.692260] rtc_cmos 00:00: setting system clock to 2022-07-27 01:25:34 UTC (1658885134)
[    0.693590] Freeing unused kernel memory: 1680k freed
[    0.696832] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    0.698330] systemd[1]: Detected virtualization kvm.
[    0.698781] systemd[1]: Detected architecture x86-64.
[    0.699185] systemd[1]: Running in initial RAM disk.Welcome to CentOS Linux 7 (Core) dracut-033-463.el7 (Initramfs)![    0.700306] systemd[1]: Set hostname to <localhost.localdomain>.
[  OK  ] Reached target Local File Systems.
[    0.718751] systemd[1]: Reached target Local File Systems.
[    0.719197] systemd[1]: Starting Local File Systems.
[  OK  ] Reached target Swap.
[    0.720059] systemd[1]: Reached target Swap.
[    0.720416] systemd[1]: Starting Swap.
[  OK  ] Reached target Timers.
[    0.721187] systemd[1]: Reached target Timers.
[    0.721549] systemd[1]: Starting Timers.
[  OK  ] Created slice Root Slice.
[    0.722421] systemd[1]: Created slice Root Slice.
[    0.722793] systemd[1]: Starting Root Slice.
[  OK  ] Listening on Journal Socket.
[    0.723678] systemd[1]: Listening on Journal Socket.
[    0.724070] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on udev Control Socket.
[    0.724985] systemd[1]: Listening on udev Control Socket.
[    0.725422] systemd[1]: Starting udev Control Socket.
[  OK  ] Created slice System Slice.
[    0.726341] systemd[1]: Created slice System Slice.
[    0.726751] systemd[1]: Starting System Slice.
[    0.727298] systemd[1]: Starting Setup Virtual Console...Starting Setup Virtual Console...
[    0.728427] systemd[1]: Starting Create list of required static device nodes for the current kernel...Starting Create list of required st... nodes for the current kernel...
[    0.730086] systemd[1]: Starting dracut cmdline hook...Starting dracut cmdline hook...
[    0.732534] systemd[1]: Starting Journal Service...Starting Journal Service...
[  OK  ] Reached target Slices.
[    0.735838] systemd[1]: Reached target Slices.
[    0.736198] systemd[1]: Starting Slices.
[    0.739688] systemd[1]: Starting Apply Kernel Variables...Starting Apply Kernel Variables...
[  OK  ] Listening on udev Kernel Socket.
[    0.769546] systemd[1]: Listening on udev Kernel Socket.
[    0.769984] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Reached target Sockets.
[    0.774071] systemd[1]: Reached target Sockets.
[    0.774439] systemd[1]: Starting Sockets.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    0.781979] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Apply Kernel Variables.
[    0.787917] systemd[1]: Started Apply Kernel Variables.
[  OK  ] Started Journal Service.
[    0.789957] systemd[1]: Started Journal Service.Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started dracut cmdline hook.Starting dracut pre-udev hook...
[    0.866919] device-mapper: uevent: version 1.0.3
[    0.867334] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[  OK  ] Started dracut pre-udev hook.Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.Starting udev Coldplug all Devices...Mounting Configuration File System...
[  OK  ] Mounted Configuration File System.
[    0.918244] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
[    0.920256] FDC 0 is a S82078B
[    0.920817] virtio-pci 0000:00:05.0: virtio_pci: leaving for legacy driver
[    0.982095] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    0.990288] [drm] Initialized drm 1.1.0 20060810
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.Starting Show Plymouth Boot Screen...Starting dracut initqueue hook...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[    1.025686] scsi host0: ata_piix
[    1.026318] scsi host1: ata_piix
[    1.026618] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc180 irq 14
[    1.027129] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc188 irq 15
[    1.028410] [drm] Device Version 0.0
[    1.028712] [drm] Compression level 0 log level 0
[    1.029066] [drm] Currently using mode #0, list at 0x488
[    1.029474] [drm] 12286 io pages at offset 0x1000000
[    1.029844] [drm] 16777216 byte draw area at offset 0x0
[    1.030230] [drm] RAM header offset: 0x3ffe000
[    1.030572] [drm] rom modes offset 0x488 for 128 modes
[    1.031531] [TTM] Zone  kernel: Available graphics memory: 508252 kiB
[    1.032031] [TTM] Initializing pool allocator
[    1.032370] [TTM] Initializing DMA pool allocator
[    1.032777] [drm] qxl: 16M of VRAM memory size
[    1.033115] [drm] qxl: 63M of IO pages memory ready (VRAM domain)
[    1.033578] [drm] qxl: 64M of Surface memory size
[    1.035938] [drm] main mem slot 1 [f4000000,3ffe000]
[    1.036320] [drm] surface mem slot 2 [f8000000,4000000]
[    1.036762] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.037281] [drm] No driver support for vblank timestamp query.
[    1.039276] [drm] fb mappable at 0xF4000000, size 3145728
[    1.039712] [drm] fb: depth 24, pitch 4096, width 1024, height 768
[    1.040365] fbcon: qxldrmfb (fb0) is primary device
[    1.048642] Console: switching to colour frame buffer device 128x48
[    1.050840] qxl 0000:00:02.0: fb0: qxldrmfb frame buffer device
[    1.051698] [drm] Initialized qxl 0.1.0 20120117 for 0000:00:02.0 on minor 0
[    1.052375] virtio-pci 0000:00:07.0: virtio_pci: leaving for legacy driver
[    1.054428] virtio-pci 0000:00:08.0: virtio_pci: leaving for legacy driver
[    1.058939] virtio-pci 0000:00:09.0: virtio_pci: leaving for legacy driver
[    1.062550] virtio-pci 0000:00:0a.0: virtio_pci: leaving for legacy driver
[    1.070385] virtio-pci 0000:00:0b.0: virtio_pci: leaving for legacy driver
[    1.096982]  vda: vda1 vda2
[    1.103766] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
[    1.104367] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
[    1.104938] usb 1-1: Product: QEMU USB Tablet
[    1.105271] usb 1-1: Manufacturer: QEMU
[    1.105595] usb 1-1: SerialNumber: 42
[    1.112838] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:06.7/usb1/1-1/1-1:1.0/input/input4
[    1.113817] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Pointer [QEMU QEMU USB Tablet] on usb-0000:00:06.7-1/input0
[    1.178853] ata1.00: ATAPI: QEMU DVD-ROM, 1.5.3, max UDMA/100
[    1.179717] ata1.00: configured for MWDMA2
[    1.180296] scsi 0:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     1.5. PQ: 0 ANSI: 5
[    1.205789] sr 0:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    1.206373] cdrom: Uniform CD-ROM driver Revision: 3.20
[  OK  ] Found device /dev/mapper/cl-root.Starting File System Check on /dev/mapper/cl-root...
[  OK  ] Started dracut initqueue hook.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started File System Check on /dev/mapper/cl-root.Mounting /sysroot...
[    1.362141] SGI XFS with ACLs, security attributes, no debug enabled
[    1.363602] XFS (dm-1): Mounting V5 Filesystem
[    1.367206] XFS (dm-1): Ending clean mount
[  OK  ] Mounted /sysroot.
[  OK  ] Reached target Initrd Root File System.Starting Reload Configuration from the Real Root...
[  OK  ] Started Reload Configuration from the Real Root.
[  OK  ] Reached target Initrd File Systems.
[  OK  ] Reached target Initrd Default Target.Starting dracut pre-pivot and cleanup hook...
[  OK  ] Started dracut pre-pivot and cleanup hook.Starting Cleaning Up and Shutting Down Daemons...
[  OK  ] Stopped target Timers.Starting Plymouth switch root service...
[  OK  ] Stopped Cleaning Up and Shutting Down Daemons.
[  OK  ] Stopped dracut pre-pivot and cleanup hook.Stopping dracut pre-pivot and cleanup hook...
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped dracut initqueue hook.Stopping dracut initqueue hook...
[  OK  ] Stopped target Initrd Default Target.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped target Slices.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped udev Coldplug all Devices.Stopping udev Coldplug all Devices...
[  OK  ] Stopped Apply Kernel Variables.Stopping Apply Kernel Variables...
[  OK  ] Stopped target Swap.
[  OK  ] Stopped target Local File Systems.Stopping udev Kernel Device Manager...
[  OK  ] Stopped target Sockets.
[  OK  ] Stopped udev Kernel Device Manager.
[  OK  ] Stopped Create Static Device Nodes in /dev.Stopping Create Static Device Nodes in /dev...
[  OK  ] Stopped Create list of required sta...ce nodes for the current kernel.Stopping Create list of required st... nodes for the current kernel...
[  OK  ] Stopped dracut pre-udev hook.Stopping dracut pre-udev hook...
[  OK  ] Stopped dracut cmdline hook.Stopping dracut cmdline hook...
[  OK  ] Closed udev Kernel Socket.
[  OK  ] Closed udev Control Socket.Starting Cleanup udevd DB...
[  OK  ] Started Cleanup udevd DB.
[  OK  ] Reached target Switch Root.
[  OK  ] Started Plymouth switch root service.Starting Switch Root...
[    1.579318] systemd-journald[93]: Received SIGTERM from PID 1 (systemd).
[    1.587588] tsc: Refined TSC clocksource calibration: 2807.965 MHz
[    1.592714] SELinux:  Disabled at runtime.
[    1.593232] type=1404 audit(1658885135.400:2): selinux=0 auid=4294967295 ses=4294967295
[    1.596641] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.597181] systemd[1]: Inserted module 'ip_tables'Welcome to CentOS Linux 7 (Core)![  OK  ] Stopped Switch Root.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Stopped target Switch Root.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Stopped Journal Service.Starting Journal Service...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Device-mapper event daemon FIFOs.Mounting Debug File System...
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on udev Control Socket.Starting Create list of required st... nodes for the current kernel...
[  OK  ] Stopped File System Check on Root Device.Stopping File System Check on Root Device...Starting Apply Kernel Variables...
[  OK  ] Stopped target Initrd Root File System.Starting Remount Root and Kernel File Systems...
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Listening on udev Kernel Socket.Mounting POSIX Message Queue File System...Mounting Huge Pages File System...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Stopped target Initrd File Systems.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Remount Root and Kernel File Systems.Starting Configure read-only root support...Starting udev Coldplug all Devices...Starting Load/Save Random Seed...
[  OK  ] Started Journal Service.Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
[    1.672313] systemd-journald[447]: Received request to flush runtime journal from PID 1[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Configure read-only root support.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[    1.710997] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[  OK  ] Found device /dev/disk/by-uuid/f0b3417a-c9b1-4d04-9c2a-77ea4a0abb96.Mounting /boot...
[  OK  ] Found device /dev/ttyS0.
[    1.740234] input: PC Speaker as /devices/platform/pcspkr/input/input5
[    1.742743] sr 0:0:0:0: Attached scsi generic sg0 type 5
[    1.760145] AES CTR mode by8 optimization enabled
[    1.776069] XFS (vda1): Mounting V5 Filesystem
[  OK  ] Found device /dev/mapper/cl-swap.Activating swap /dev/mapper/cl-swap...
[    1.798451] Adding 946172k swap on /dev/mapper/cl-swap.  Priority:-1 extents:1 across:946172k FS
[  OK  ] Activated swap /dev/mapper/cl-swap.
[  OK  ] Reached target Swap.
[    1.804095] ppdev: user-space parallel port driver
[    1.813454] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0x3/0x0/0x0/0x0/0x0) type:line
[    1.814397] snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.815006] snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.815578] snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
[    1.816061] snd_hda_codec_generic hdaudioC0D0:    inputs:
[    1.818070] snd_hda_codec_generic hdaudioC0D0:      Line=0x5
[  OK  ] Reached target Sound Card.
[    1.834787] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[    1.851018] XFS (vda1): Ending clean mount
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.Starting Tell Plymouth To Write Out Runtime Data...Starting Import network configuration from initramfs...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Import network configuration from initramfs.Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.Starting Security Auditing Service...
[    1.895512] alg: No test for crc32 (crc32-pclmul)
[    1.898285] intel_rapl: no valid rapl domains found in package 0
[    1.899776] intel_powerclamp: No package C-state available[    1.907701] type=1305 audit(1658885135.715:3): audit_pid=565 old=0 auid=4294967295 ses=4294967295 res=1
[  OK  ] Started Security Auditing Service.Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.Starting Authorization Manager...Starting Permit User Sessions...Starting NTP client/server...
[  OK  ] Started irqbalance daemon.Starting irqbalance daemon...Starting Dump dmesg to /var/log/dmesg...
[  OK  ] Started D-Bus System Message Bus.Starting D-Bus System Message Bus...Starting Network Manager...Starting Login Service...
[  OK  ] Started Permit User Sessions.Starting Wait for Plymouth Boot Screen to Quit...
[  OK  ] Started Command Scheduler.Starting Command Scheduler...Starting Terminate Plymouth Boot Screen...
[  OK  ] Started Dump dmesg to /var/log/dmesg.
[  OK  ] Started Login Service.
[    2.043158] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    2.047172] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    2.051072] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[    2.055440] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not readyCentOS Linux 7 (Core)
Kernel 3.10.0-514.el7.x86_64 on an x86_64ct7_node02 login: 


http://www.ppmy.cn/news/241092.html

相关文章

手工修改HP主机Instance Number三招

有时我们需要更改设备的instance number&#xff0c;&#xff08;例如配置MC的时候&#xff09;&#xff0c;本文给出WTEC的最权威步骤。[more] 其中procedure I比较简单&#xff0c;但并不总是好用&#xff0c;最彻底的还是procedureII。 另外&#xff0c;建议大家先做一个系统…

LoadRunner测试经典案例

LoadRunner测试经典案例使用虚拟用户(Virtualusers)来模拟实际用户对业务系统施加压力。虚拟用户在一个中央控制器(controllerstation)的监视下工作。 在做一个测试方案时&#xff0c;要做的第一件事就是创建虚拟用户执行脚本。LoadRunner提供了Virtual User Generator来录制或…

高可用性oracle配置步骤(HP-Unix环境)

硬件环境&#xff1a; 两台HP Server rp5470小型机&#xff0c;7110磁盘阵列 软件环境&#xff1a; HP-UX B.11.11、MirrorDisk/UX B.11.11、MC / Service Guard A.11.14、Oracle 9i for HP-UX。 3.1准备系统3.1.1编辑安全文件&#xff1a;[/machine01]vi .rhosts文件machin…

如设置oracle在Hp-unix上的自动启动

经常有人会需要Oracle数据库随着操作系统一起启动和关闭&#xff0c;而修改/etc/oratab,设置了oracle SID行启动为Y时实际上是不好用的。本文以一个例子来示范如何去做。[more] 如下给的是一个example&#xff0c;注意部分内容可能要改&#xff0c;比如oracle的用户名。 1、在/…

Hp unix rm文件空间不释放问题解决

1 引言 很多人会遇到在操作系统上rm掉一个大的文件&#xff0c;以解决文件系统超标的问题&#xff0c;可是有的时侯文件删除掉了&#xff0c;而空间却未释放出来。论坛上也常常见这样贴子&#xff0c;为什么会这样&#xff0c;如何解决呢&#xff1f;本文只局限于Hp unix的操作…

Hp-unix下为Oracle配置异步IO

本文给出了hp-unix下为Oracle配置异步IO(AIO)的具体的流程。[more] 源自Metalink Note:139272.1PURPOSE ------- The purpose of this document is to discuss the implementation of asynchronous i/o (aio) on HP-UX, specifically to enable aio for the Oracle RDBMS Serve…

计算机无法发现网络共享打印机,网络打印机,无法被其它电脑识别

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 网络打印机&#xff0c;无法被其它电脑识别&#xff1a;(本文由“浪子海风”经验组编) 我电脑重装过后&#xff0c;其它电脑就识别不了我的网络打印机了。未重装之前都是可以的&#xff0c;每台电脑都能保证正常上网。(大侠们&…

HP FC60 RAID级别更改方案

1 背景 xx用户智能网SDP业务为数据核心部分&#xff0c;现在以一套RP4440双机加一台VA7110和DS2405存储&#xff0c;为了确保SDP业务的在双机同时出现故障时&#xff0c;能向200用户提供业务&#xff0c;特此做一台个SDP业务应急处理机。 2 可行性分析 2.1 现有应急环境硬件配置…