最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

rootfs启动加载顺序

工作和技术 crifan 658浏览 0评论

从NFS启动:

[    2.640000] VFS: Mounted root (nfs filesystem).
[    2.650000] Freeing init memory: 100K
[    4.550000] LBA: ————–will exec /sbin/init
[    8.950000] nfs: server 10.0.1.9 not responding, still trying
[    9.320000] nfs: server 10.0.1.9 OK
command=’/bin/mount -o remount,ro /’ action=1 tty=’/dev/null’

command=’/bin/mount -t proc proc /proc’ action=1 tty=’/dev/null’

command=’/bin/mount -a’ action=1 tty=’/dev/null’

command=’/etc/init.d/rcS’ action=1 tty=”

command=’/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug’ action=1 tty=”

command=’/sbin/mdev -s’ action=1 tty=”

command=’/bin/mount -t vfat /dev/lba /mnt/lba’ action=1 tty=”

command=’-/bin/sh ‘ action=4 tty=”

command=’/sbin/reboot’ action=32 tty=”

command=’/usr/bin/killall klogd’ action=64 tty=’/dev/null’

command=’/usr/bin/killall syslogd’ action=64 tty=’/dev/null’

command=’/bin/umount -a -r’ action=64 tty=’/dev/null’

command=’/sbin/swapoff -a’ action=64 tty=’/dev/null’

[   11.090000] LBA: ————–will exec /bin/mount
[   11.840000] LBA: ————–will exec /bin/mount
[   11.900000] LBA: ————–will exec /bin/mount
[   12.140000] LBA: ————–will exec /etc/init.d/rcS
[   27.910000] LBA: ————–will exec /bin/sh
[   28.360000] LBA: ————–will exec /sbin/mdev
[   33.620000] LBA: ————–will exec /bin/mount

[   33.670000] SecRd:From:0x0,len:1,buf:0xc3ea1000
mount: mounting /dev/lba on /mnt/lba failed: Invalid argument

Please press Enter to activate this console.

[ 316.790000] LBA: ————–will exec /bin/sh
[ 317.980000] LBA: ————–will exec /usr/bin/id
[ 318.830000] LBA: ————–will exec /bin/hostname

[root@10 /]#
[root@10 /]#

——————————————————————————————————————-

从LBA挂载ext2:

[    0.940000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
[    0.950000] SecRd:From:0x2,len:2,buf:0xc3ca1400
[    0.960000] SecRd:From:0x4,len:2,buf:0xc3ca1800
[    0.970000] SecRd:From:0xa,len:2,buf:0xc3ca5400
[    0.970000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[    0.980000] VFS: Mounted root (ext2 filesystem).
[    0.980000] Freeing init memory: 100K
[    0.990000] SecRd:From:0x9a,len:2,buf:0xc3c86000
[    0.990000] SecRd:From:0x32,len:2,buf:0xc0020400
………
[    1.080000] LBA: ————–will exec /linuxrc
[    1.080000] SecRd:From:0x6c28,len:2,buf:0xc0016000
[    1.090000] SecRd:From:0x7840,len:2,buf:0xc03d1000
[    1.090000] SecRd:From:0x26,len:2,buf:0xc0015c00
[    1.100000] LBA: ————–will exec /sbin/modprobe
[    1.110000] LBA: ————–will exec /sbin/modprobe

….

[    1.450000] LBA: ————–will exec /sbin/modprobe
[    1.450000] request_module: runaway loop modprobe binfmt-e514
[    1.460000] [<c0026298>] (dump_stack+0x0/0x14) from [<c0050474>] (request_module+0x134/0x158)
[    1.470000] [<c0050340>] (request_module+0x0/0x158) from [<c0088e18>] (search_binary_handler+0x160/0x1dc)
…………

——————————————————————————————————————-

从LBA挂载cramfs:

[    0.950000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
。。。

[    0.980000] SecRd:From:0x18,len:8,buf:0xc3cb8000
[    0.990000] VFS: Mounted root (cramfs filesystem) readonly.
[    1.000000] Freeing init memory: 100K
[    1.000000] SecRd:From:0x1288,len:8,buf:0xc3ca0000
。。。

[    1.050000] SecRd:From:0x308,len:8,buf:0xc3ca7000
[    1.060000] LBA: ————–will exec /linuxrc
[    1.060000] SecRd:From:0x740,len:8,buf:0xc3cd5000

[    2.330000] SecRd:From:0x7f0,len:8,buf:0xc3dde000
command=’/bin/mount -o remount,ro /’ action=1 tty=’/dev/null’

command=’/bin/mount -t proc proc /proc’ action=1 tty=’/dev/null’

command=’/bin/mount -a’ action=1 tty=’/dev/null’

command=’/etc/init.d/rcS’ action=1 tty=”

command=’/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug’ action=1 tty=”

command=’/sbin/mdev -s’ action=1 tty=”

command=’/bin/mount -t vfat /dev/lba /mnt/lba’ action=1 tty=”

command=’-/bin/sh ‘ action=4 tty=”

command=’/sbin/reboot’ action=32 tty=”

command=’/usr/bin/killall klogd’ ac[    2.400000] SecRd:From:0x30,len:8,buf:0xc3e00000
[    2.400000] SecRd:From:0x38,len:8,buf:0xc3e01000
command=’/usr/bin/ki[    2.410000] SecRd:From:0x40,len:8,buf:0xc3e02000
llall syslogd’ action=64[    2.420000] SecRd:From:0x48,len:8,buf:0xc3e03000
tty=’/dev/null’

command=’/b[    2.420000] LBA: ————–will exec /bin/mount
in/umount -a -r’ action=64 tty=’/dev/null’

command=’/sbin/swapoff -a’ action=64 tty=’/dev/nu[    2.440000] SecRd:From:0x4b0,len:8,buf:0xc3e18000
ll’

[    2.440000] SecRd:From:0x4b8,len:8,buf:0xc3e19000
。。。

[    2.560000] SecRd:From:0x500,len:8,buf:0xc3e22000
[    2.590000] LBA: ————–will exec /bin/mount
[    2.630000] LBA: ————–will exec /bin/mount
[    2.680000] LBA: ————–will exec /etc/init.d/rcS

[    2.700000] SecRd:From:0x808,len:8,buf:0xc3de8000
…..。。。…

[    5.100000] SecRd:From:0x128,len:8,buf:0xc384e000
[    5.130000] LBA: ————–will exec /bin/sh
[    5.210000] SecRd:From:0x12b8,len:8,buf:0xc3df8000

[    5.230000] SecRd:From:0x12d0,len:8,buf:0xc3e26000
[    5.240000] LBA: ————–will exec /sbin/mdev
[    6.100000] LBA: ————–will exec /bin/mount

mount: mounting /dev/lba on /mnt/lba failed: Device or resource busy

Please press Enter to activate this console.
[   11.400000] LBA: ————–will exec /bin/sh

[   11.560000] SecRd:From:0x1b00,len:8,buf:0xc38ac000
[   11.580000] LBA: ————–will exec /usr/bin/id
[   11.590000] SecRd:From:0x310,len:8,buf:0xc38d5000
[…
[   11.740000] SecRd:From:0x370,len:8,buf:0xc38e1000
[   11.800000] LBA: ————–will exec /bin/hostname
[   11.810000] SecRd:From:0x428,len:8,buf:0xc38f5000
。。。。
[root@(none) /]#

——————————————————————————————————————-

转载请注明:在路上 » rootfs启动加载顺序

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
53 queries in 0.099 seconds, using 18.83MB memory