社区930版本搭配闭源二进制构建出包启动失败

背景:

使用社区25.09 SDK集成单独构建的libenergy组件,构建出包后BMC起不来;

日志信息如下:

[  OK  ] Stopped ibmc tpcm module.M<0x11|0x1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped ibmc file transfer module.1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped A server which sup…active communication protocol.1|0|2> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped security service.M<0x27|0x1|0x0|1|10> L<1|2|0> C<1|0|2> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped om_priv service. M<0x27|0x1|0x0|1|10> L<1|2|0> C<1|0|2> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped ibmc ssdp module.M<0x27|0x1|0x0|1|10> L<1|2|0> C<1|0|2> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped Tencent service. M<0x4|0x1|0x0|1|10> L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped Simple Network Man…ement Protocol (SNMP) Daemon..1|0|3> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped Load/Save Random Seed.|0x1|0x0|1|10> L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped Session c1 of User Administrator.|10> L<1|2|0> C<1|0|2> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Removed slice Slice /system/getty.|0x0|1|10> L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping hardware service...x4|0x1|0x0|1|10> L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping Rsyslog Logging Service...|0x0|1|10> L<1|3|0> C<1|0|3> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping User Login Management...x1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping User Manager for UID 502...0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped alarm service.>] M<0x11|0x1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped energy service.] M<0x53|0x1|0x0|1|10> L<1|8|0> C<1|0|8> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped ras service.-5>] M<0x11|0x1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped interface service.<0x11|0x1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped User Manager for UID 502.x1|0x0|1|10> L<1|8|0> C<1|0|8> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped Rsyslog Logging Service.0x1|0x0|1|10> L<1|4|0> C<1|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped User Login Management.|0x1|0x0|1|10> L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping om service...>] M<0x4|0x1|0x0|1|10> L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping User Runtime Directory /run/user/502...|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped User Runtime Directory /run/user/502.L<4|4|0> C<4|0|4> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Removed slice User Slice of UID 502.0x0|1|10> L<1|3|0> C<1|0|3> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
         Stopping Permit User Sessions...0x1|0x0|1|10> L<1|2|0> C<1|0|2> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped Permit User Sessions.11|0x1|0x0|1|10> L<1|3|0> C<1|0|3> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped om service.|-5>] M<0x53|0x1|0x0|1|10> L<1|8|0> C<1|0|8> E<0x801|0x0|0x0|0x1> I<0x0|0x710|0x0>
[  OK  ] Stopped hardware service.
[  341.221035] 63,2000-05-09 19:53:04,3561,btc_recv_data,234,btc(1) recv req msg ERESTARTSYS, btc_state(0).
         Stopping bmc_core service...modprobe.
[  341.221251] 64,2000-05-09 19:53:04,3567,btc_recv_data,234,btc(0) recv req msg ERESTARTSYS, btc_state(0).
[  341.224152] 65,2000-05-09 19:53:04,3568,ipmb_cmd_check_data_readable,1285,ipmb check read was interrupted, ret = -4
[  OK  ] Stopped bmc_core service.s.
         Stopping framework service....
[  OK  ] Unmounted /run/user/502.usage monitor timer.
[  341.582305] dwc3 8800000.dwc3: request ffff51209a2ba000 was not queued to ep1in
[  341.589605] dwc3 8800000.dwc3: request ffff51209a2ba6c0 was not queued to ep2in
[  OK  ] Stopped framework service.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
         Stopping /etc/rc.local Compatibility...
[  OK  ] Stopped /etc/rc.local Compatibility..
[***   ] A stop job is running for rmmod driver service (4s / 1min 30s)
[  OK  ] Stopped rmmod driver service.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Path Units.itor...
[  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
[  OK  ] Stopped target Slice Units.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Socket Units.
[  OK  ] Closed D-Bus System Message Bus Socket. (SNMP) Daemon....
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped Apply Kernel Variables. communication protocol...
[  OK  ] Stopped Update is Completed.r.
[  OK  ] Stopped Rebuild Journal Catalog.nitor.
         Stopping Record System Boot/Shutdown in UTMP...
[  OK  ] Stopped Record System Boot/Shutdown in UTMP.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /data/backup...
         Unmounting /data/ibma...
         Unmounting /data/opt/bmc/dataacquisition...
         Unmounting /data/trust...
         Unmounting /etc/machine-id...
         Unmounting /opt/bmc/pram...
         Unmounting /tmp...
         Stopping Flush Journal to Persistent Storage...
[  OK  ] Unmounted /data/backup.
[  OK  ] Unmounted /data/ibma.
[  OK  ] Unmounted /data/opt/bmc/dataacquisition.
[  OK  ] Unmounted /data/trust.
[  OK  ] Unmounted /etc/machine-id.
[  OK  ] Unmounted /opt/bmc/pram.
[  OK  ] Unmounted /tmp.
[  OK  ] Stopped Flush Journal to Persistent Storage.
         Unmounting /data...
         Unmounting /var/log...
[FAILED] Failed unmounting /data.
Open /.reboot-umount-msg.log failed!
-------------fuser -mv /data----------------
Open /.reboot-umount-msg.log failed!
                USER            PID     COMMAND
/data:
                0               kernel  /data
----------------------------------------------------------------------
[  OK  ] Unmounted /var/log.
         Unmounting /var...
[  OK  ] Unmounted /var.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Stopped target Swaps.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Reboot.
[  OK  ] Reached target System Reboot.
[systemd-shutdown] -----------------------------------------------------------------
[systemd-shutdown] USER PID     PPID    CMD
[systemd-shutdown] 0    1       0       /lib/systemd/systemd-shutdown reboot --timeout 90000000us --log-level 6 --dfx-reboot 1 --log-target kmsg --log-color
[systemd-shutdown] 0    5985    1       (process_status)
[systemd-shutdown] -----------------------------------------------------------------
[  347.107039] xhci-hcd xhci-hcd.1.auto: Host halt failed, -110
[  347.144756] xhci-hcd xhci-hcd.0.auto: Host halt failed, -110
[  347.716922] reboot: Restarting system
NOTICE:  watchdog reboot setting success.
[I][00b2]: 0955 0x0823aff0 0x08235c48 0x08235c14 0x08233c20
[I][0021]: 0144 0x00000000 0x08744000 0x0821b8d5 0x0875e000
[I][00b1]: 0211 0x00000004 0x00000005 0x00000006 0x0875e000
[I][009f]: 0864 0x00000004 0x00000005 0x00000006 0x08744000
[W][009f]: 0919 0x00000001 0x17c00000 0x052620ee 0x00000000
[W][009f]: 0988 0x00000000 0x17c00000 0x052620ee 0x00000000
[W][009f]: 1070 0xffffffea 0x00000005 0x00000006 0x08744000
[W][009f]: 0919 0x00000001 0x17c00000 0x052620ee 0x00000000
[W][009f]: 0988 0x00000000 0x17c00000 0x052620ee 0x00000000
[W][009f]: 1076 0xffffffea 0x00000005 0x00000006 0x08744000
[I][00b2]: 1288 0x00000000 0x000000cd 0x0820967d 0x87000000
[I][009a]: 0310 0xe000e114 0x0000000a 0x08205979 0x08203d67
[I][00e1]: 0411 0x00000000 0x00000000 0x08211e0b 0x00000000
[I][00e1]: 0515 0x00000000 0x00000000 0x08203d15 0x000000cd
[W][009f]: 0919 0x00000001 0x17c00000 0x0443d4a5 0x00000600
[W][009f]: 0988 0x00000600 0x17c00000 0x0443d4a5 0x00000600
[W][009f]: 1044 0xffffffea 0x417138ea 0x00000000 0x0823e60c
[I][009f]: 1014 0x17d00000 0x00040000 0x00000000 0x0823e60c
[I][009f]: 1020 0x17d40000 0x00080000 0x00000000 0x0823e60c
[I][009f]: 1026 0x17dc0000 0x00100000 0x00000000 0x0823e60c
[I][00b1]: 0759 0x0823e60c 0x17d78400 0x05f5e100 0x017d7840
[I][00a5]: 0027 0x0823e59c 0x082346a8 0x00000000 0x0823aac0
[I][00a5]: 0027 0x0823e59c 0x082346d4 0x00000001 0x0823aac0
[I][00b1]: 0573 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00b1]: 0545 0x00000000 0x0823e60c 0x08237b40 0xffffffff
[I][00b1]: 0545 0x00000001 0x0823e60c 0x08237b40 0xffffffff
[I][00b1]: 0785 0x0823e800 0x17d78400 0x05f5e100 0x017d7840
[I][00a5]: 0027 0x0823e59c 0x08234700 0x00000002 0x0823aac0
[I][00b1]: 0694 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00a5]: 0027 0x0823e58c 0x08234700 0x00000002 0x0823aac0
[I][00b1]: 0816 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[W][00a1]: 0466 0x00000000 0x00000003 0x0823e5b0 0x00000000
[W][00a1]: 0466 0x00000000 0x00000003 0x0823e5b0 0x00000000
[W][00a1]: 0466 0x00000000 0x00000003 0x0823e5b0 0x00000000
[I][00a5]: 0027 0x0823e5b4 0x0823472c 0x00000003 0x0823aac0
[I][00b1]: 0873 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00b1]: 0644 0x80000000 0x17d78400 0x05f5e100 0x017d7840
[I][00a5]: 0027 0x0823e59c 0x08234700 0x00000002 0x0823aac0
[I][00b1]: 0906 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00b1]: 0211 0x00000004 0x00000005 0x00000006 0x55aabbbb
[I][009f]: 0864 0x00000004 0x00000005 0x00000006 0x00000200
[W][009f]: 0919 0x00000001 0x17c00000 0x0443d4a5 0x00000000
[W][009f]: 0988 0x00000000 0x17c00000 0x0443d4a5 0x00000000
[W][009f]: 1070 0xffffffea 0x00000005 0x00000006 0x00000200
[W][009f]: 0919 0x00000001 0x17c00000 0x052620ee 0x00000000
[W][009f]: 0988 0x00000000 0x17c00000 0x052620ee 0x00000000
[W][009f]: 1076 0xffffffea 0x00000005 0x00000006 0x00000200
[W][00a1]: 0466 0x00000000 0x88680000 0x00000434 0x00000000
[W][00a1]: 0466 0x00000000 0x88680000 0x00000434 0x00000000
[W][00a1]: 0466 0x00000000 0x88680000 0x00000434 0x00000000
[W][00a1]: 0466 0x00000000 0xa1740000 0x00000001 0x00000000
[W][00a1]: 0466 0x00000000 0xa1740000 0x00000001 0x00000000
[W][00a1]: 0466 0x00000000 0xa1740000 0x00000001 0x00000000
[I][00b1]: 0726 0x00000000 0x88680000 0x05f5e100 0x017d7840
[I][00b1]: 0211 0x00000004 0x00000005 0x00000006 0x00000000
[I][00b1]: 0211 0x00000006 0x00000004 0x00000005 0x0000005b
[I][009f]: 0864 0x00000006 0x00000004 0x00000005 0x00000004
[W][009f]: 0919 0x00000001 0x17c00000 0x0443d4a5 0x00000000
[W][009f]: 0988 0x00000000 0x17c00000 0x0443d4a5 0x00000000
[W][009f]: 1070 0xffffffea 0x00000004 0x00000005 0x00000004
[W][009f]: 0919 0x00000001 0x17c00000 0x0443d4a5 0x00000000
[W][009f]: 0988 0x00000000 0x17c00000 0x0443d4a5 0x00000000
[W][009f]: 1076 0xffffffea 0x00000004 0x00000005 0x00000004
[I][00b1]: 0181 0x00000006 0x00000004 0x00000005 0x000000d3
[I][00b2]: 1339 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00a5]: 0027 0x0823e6ac 0x08234700 0x00000002 0x0823aac0
[I][00a5]: 0027 0x0823e6dc 0x08234700 0x00000000 0x0823e800
[I][00b2]: 0762 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00e1]: 0411 0x00000000 0x08237b40 0x08211cbb 0x05f5e100
[I][00e1]: 0447 0x05f5e100 0x05f5e100 0x017d7840 0x00000003
[I][00b2]: 1374 0x00000000 0x17d78400 0x05f5e100 0x017d7840
[I][00b2]: 1455 0x00000000 0x0823ae88 0x08235c48 0xffffffff
[I][00b2]: 1458 0x00000001 0x0823ae88 0x08235c48 0xffffffff
[W][00a1]: 0466 0x00000000 0x00000003 0x0823e6a8 0x00000000
[W][00a1]: 0466 0x00000000 0x00000003 0x0823e6a8 0x00000000
[W][00a1]: 0466 0x00000000 0x00000003 0x0823e6a8 0x00000000
[I][00b2]: 1458 0x00000002 0x0823ae88 0x08235c48 0xffffffff
[I][00a5]: 0027 0x0823e6a4 0x0823472c 0x00000003 0x0823aac0
[I][00b2]: 1458 0x00000003 0x0823ae88 0x08235c48 0xffffffff
[I][00a5]: 0027 0x0823e6d4 0x00000000 0x9ff05000 0x0823e800
[I][00b2]: 0824 0x00000001 0x0823ae88 0x08235c48 0xffffffff
[I][00b2]: 1458 0x00000004 0x0823ae88 0x08235c48 0xffffffff
[I][00e1]: 0411 0x00000000 0x08237b40 0x08211cbb 0x08235c48
[I][00e1]: 0447 0x08235c48 0x08235c48 0xffffffff 0x00000003
[I][00b2]: 1486 0x00000000 0x0823ae88 0x08235c48 0xffffffff
Serial Probe!
66
U-Boot Runing...

Boot Strap:0000F03E
Reboot Control:00000001
Boot from Area 1(boot_cnt0[1] boot_cnt1[1])
Serial Probe!
66Core:  4 devices, 4 uclasses
MMC:
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: hi1711_gmac
Hit 'ctrl + b' to stop autoboot:  0
blk_probe
detect ext4img info: block cnt:385024,block size:1024
log2blksz 10
3413056 bytes read in 139 ms (23.4 MiB/s)
13278 bytes read in 3 ms (4.2 MiB/s)
5242880 bytes read in 173 ms (28.9 MiB/s)
## Booting kernel from Legacy Image...
   Image Name:   linux
   Image Type:   Linux Kernel Image (uncompressed)
   Verifying Checksum ... OK
## Flattened Device Tree blob.
   Booting using the fdt blob.
Working FDT set to 87400000
   Loading Kernel Image to 87480000
   Using Device Tree in place.
Working FDT set to 87400000
fdt_fix_memory_prop: vce_flag is 0 (SYSCTRL_INITIAL_INF: 0x2fffe4ff)
booNOTICE:  Before BL31 init mmu
NOTICE:  ddr_size=0x3
NOTICE:  BL31 init mmu done
NOTICE:  BL31: v0.00:0
NOTICE:  BL31: Built : 20:27:30, 20:27:30
NOTICE:  fiq init done !
Uncompressing... done, booting...
[    0.702117] **** Total Boot time: 702 ms, uncompress initrd cost 224 ms ****
[ 0.708689] 1970-01-01 00:00:00 [AT]mount ...
rootfstype=ext4
extroot=/dev/nvm_active
extinit=/sbin/init
[ 0.736932] 1970-01-01 00:00:00 [FT] now execute /sbin/init
[ 0.750790] 1970-01-01 00:00:00 [AT]insmod...
[    0.874704] [RTOS fiq]@@ register fiq
[ 0.982144] 1970-01-01 00:00:00 insmod success!
[ 0.995755] 1970-01-01 00:00:00 [AT]create node...
[ 1.640127] 1970-01-01 00:00:01 check gpp0-2 loop_cnt = 0
/dev/mmcblk0gp2
/dev/mmcblk0gp0
/dev/mmcblk0gp1
[ 1.736133] 1970-01-01 00:00:01 [AT]mount partitions...
[ 1.782881] 1970-01-01 00:00:01 [AT]switch to second rootfs...
starting pid 1214, tty '': '/etc/rc.d/rc.sysinit'

                        -=#  RTOS 1.0  #=-

mount file system
umount: can't unmount /dev/shm: No such file or directory
umount: can't unmount /tmp: Invalid argument
mount: mounting sysfs on /sys failed: Device or resource busy
Loading the kernel modules:
Loading module: xt-masquerade
modprobe: module xt-masquerade not found in modules.dep
Loading module: af-packet
Making device instances:
[    2.956992] SCSI subsystem initialized
[    4.176067] 8,1970-01-01 00:00:04,1289,gmac_phy_init,1101,mac(0) not used phy.
[    4.205930] random: mdev: uninitialized urandom read (8 bytes read)
[    4.206332] random: mdev: uninitialized urandom read (8 bytes read)
[    4.206368] random: mdev: uninitialized urandom read (8 bytes read)
[    5.225301] 9,1970-01-01 00:00:05,1289,gmac_phy_init,1101,mac(1) not used phy.
[    5.255156] random: mdev: uninitialized urandom read (8 bytes read)
[    6.274969] 10,1970-01-01 00:00:06,1289,gmac_phy_init,1101,mac(2) not used phy.
[    7.335215] 11,1970-01-01 00:00:07,1289,gmac_phy_init,1101,mac(3) not used phy.
[    8.362647] 12,1970-01-01 00:00:08,1289,gmac_hw_set_port_mode_all,635,SGMII auto-negotiation not complete(0x0)
[    8.375242] 13,1970-01-01 00:00:08,1289,gmac_probe,1433,gmac init ok!
[    8.397930] 14,1970-01-01 00:00:08,1306,sys_info_probe,1960,sys_info init ok!
[    8.457300] 15,1970-01-01 00:00:08,1322,p80_probe,210,p80 use eSPI!
[    8.482925] 16,1970-01-01 00:00:08,1328,bt_probe,781,bt use eSPI!
[    8.489600] 17,1970-01-01 00:00:08,1328,bt_probe,806,bt init ok!
[    8.512909] 18,1970-01-01 00:00:08,1334,sol_probe,906,SOL use eSPI!
[    8.519228] 19,1970-01-01 00:00:08,1334,sol_ddrinfo_update,814,SOL[0] Init Rx-start 0x86000000, Rx-size 0x3, Tx-start 0x86200000, Tx-size 0x3.
[    8.532141] 20,1970-01-01 00:00:08,1334,sol_ddrinfo_update,814,SOL[1] Init Rx-start 0x86400000, Rx-size 0x1, Tx-start 0x86480000, Tx-size 0x4.
[    8.545402] 21,1970-01-01 00:00:08,1334,sol_ddrinfo_update,814,SOL[2] Init Rx-start 0x86880000, Rx-size 0x3, Tx-start 0x86a80000, Tx-size 0x1.
[    8.558335] 22,1970-01-01 00:00:08,1334,sol_ddrinfo_update,814,SOL[3] Init Rx-start 0x86b00000, Rx-size 0x3, Tx-start 0x86d00000, Tx-size 0x2.
[    8.571801] 23,1970-01-01 00:00:08,1334,sol_probe,935,uart sol init ok!
[    8.591426] 24,1970-01-01 00:00:08,1341,dboot_probe,545,dboot probe start.
[    8.598757] 25,1970-01-01 00:00:08,1341,dboot_probe_info,519,boot from uboot 1
[    8.606091] 26,1970-01-01 00:00:08,1341,dboot_probe_info,520,BMC reset count: 0
[    8.613541] 27,1970-01-01 00:00:08,1341,dboot_probe_info,521,BMC unsec reset count: 1
[    8.621356] 28,1970-01-01 00:00:08,1341,dboot_probe_info,522,HOST reset count: 0
[    8.628801] 29,1970-01-01 00:00:08,1341,dboot_probe_info,523,CHIP reset count: 0
[    8.636230] 30,1970-01-01 00:00:08,1341,dboot_probe,567,dboot init ok!
[    8.693326] 31,1970-01-01 00:00:08,1357,bmcrtc_of_probe,189,BMCRTC Device Registered.
[    8.799165] 32,1970-01-01 00:00:08,1389,peci_probe,332,peci is 1 mode!
[    8.805966] 33,1970-01-01 00:00:08,1389,peci_probe,346,peci init ok!
[    8.869695] 34,1970-01-01 00:00:08,1407,hispi_setup_device,885,hispi_setup_device id 0x0!
[    8.878339] 35,1970-01-01 00:00:08,1407,hispi_setup_device,885,hispi_setup_device id 0x1!
[    8.977096] 36,1970-01-01 00:00:08,1434,pci_fix_ker_probe,527,probe OK
[    9.000428] 37,1970-01-01 00:00:08,1438,deal_with_ext_addr,255,g_mctp_ext_mode:0 [0 Normal,1 Offset,2 Hi]
[    9.010389] 38,1970-01-01 00:00:08,1438,mctp_reset,1477,reset mctp ok!
[    9.018132] 39,1970-01-01 00:00:09,1438,mctp_dereset,1501,dereset mctp ok!
[    9.328574] 40,1970-01-01 00:00:09,1480,vce_dac_param_set,244,dac param register is: 0x800820f
[    9.337367] 41,1970-01-01 00:00:09,1480,vce_driver_probe,295,irq_mask 0xd80
/dev/mmcblk0gp2
/dev/mmcblk0gp0
/dev/mmcblk0gp1
ifconfig: SIOCGIFFLAGS: No such device
rootfs: clean, 222/65536 files, 28311/262144 blocks
insmod: can't insert '/lib/modules/5.10.0/rtos_snapshot.ko': File exists
Setting console log message level:
/dev/mmcblk0       /dev/mmcblk0gp1    /dev/mmcblk0p2     /dev/mmcblk0p7
/dev/mmcblk0boot0  /dev/mmcblk0gp2    /dev/mmcblk0p3     /dev/mmcblk0p8
/dev/mmcblk0boot1  /dev/mmcblk0gp3    /dev/mmcblk0p5     /dev/mmcblk0p9
/dev/mmcblk0gp0    /dev/mmcblk0p1     /dev/mmcblk0p6
FBS           dev           lib64         opt           sys
bin           etc           linuxrc       package_info  tmp
boot          home          lost+found    proc          usr
data          init          media         root          v1
debug_tools   lib           mnt           sbin          v2
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

         222 inodes used (0.34%, out of 65536)
           9 non-contiguous files (4.1%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 209/5
       28311 blocks used (10.80%, out of 262144)
           0 bad blocks
           1 large file

         135 regular files
          78 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
         213 files
ln: /var/lib: No such file or directory
ln: /var/spool: No such file or directory
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

          50 inodes used (0.06%, out of 90360)
          18 non-contiguous files (36.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 33/9
       60849 blocks used (16.80%, out of 362160)
           0 bad blocks
           0 large files

          28 regular files
          13 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
          41 files
mount: mounting /dev/mmcblk0p9 on /var/log failed: No such file or directory
umount: can't unmount /var/log: No such file or directory
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

          50 inodes used (0.06%, out of 90360)
          18 non-contiguous files (36.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 33/9
       60849 blocks used (16.80%, out of 362160)
           0 bad blocks
           0 large files

          28 regular files
          13 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
          41 files
mount: mounting /dev/mmcblk0p9 on /var/log failed: No such file or directory
umount: can't unmount /var/log: No such file or directory
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

          50 inodes used (0.06%, out of 90360)
          18 non-contiguous files (36.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 33/9
       60849 blocks used (16.80%, out of 362160)
           0 bad blocks
           0 large files

          28 regular files
          13 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
          41 files
mount: mounting /dev/mmcblk0p9 on /var/log failed: No such file or directory
mount /var/log failed, try to mount /data/var/log
mount: mounting /data/var/log on /var/log failed: No such file or directory
Recover datafs begin
Recover datafs no need ubootrecoverflag=0
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

          96 inodes used (0.15%, out of 65536)
           8 non-contiguous files (8.3%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 85/3
       33782 blocks used (12.89%, out of 262144)
           0 bad blocks
           0 large files

          59 regular files
          28 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
          87 files
Recover log partition begin
mkdir: can't create directory '/var/': Read-only file system
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

          50 inodes used (0.06%, out of 90360)
          18 non-contiguous files (36.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 33/9
       60849 blocks used (16.80%, out of 362160)
           0 bad blocks
           0 large files

          28 regular files
          13 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
          41 files
mount: mounting /dev/mmcblk0p9 on /var/log failed: No such file or directory
check mount log partition failed count {1..3}
start format log partition!
mke2fs 1.47.0 (5-Feb-2023)
Discarding device blocks: done
Creating filesystem with 362160 1k blocks and 90360 inodes
Filesystem UUID: 1d9c8450-1dd2-11b2-b95d-6503eeef3493
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

umount: can't unmount /var/log: No such file or directory
mount: mounting /dev/mmcblk0p9 on /var/log failed: No such file or directory
Recover log partition failed(mount log partition failed)
mount: mounting /data/var/log on /var/log failed: No such file or directory
Recover log partition end
mkdir: can't create directory '/var/log/journal': No such file or directory
/etc/rc.d/rc.sysinit: line 277: can't create /var/log/journal/record: nonexistent directory
cat: can't open '/var/log/journal/record': No such file or directory
[   18.431993] random: crng init done
[   18.435416] random: 2952 urandom warning(s) missed due to ratelimiting
Failed to connect to /run/systemd/journal/io.systemd.journal: No such file or directory
Recover trust partition begin
/dev/mmcblk0p7 on /data/trust type ext4 (rw,relatime)
The content of the ksf file is identical
touch: /var/log/lastlog: No such file or directory
chmod: /var/log/lastlog: No such file or directory
chmod: /data/var/lock: No such file or directory
chmod: /data/var/run: No such file or directory
chmod: /data/var/run/syslog-ng: No such file or directory
touch: /data/var/run/utmp: No such file or directory
Setting hostname:
cat: can't open '/etc/HOSTNAME': No such file or directory
Settingup the sysctl configurations:
Setting up interface lo:
cp: can't stat '/etc/crond_cfg/*': No such file or directory
chmod: /data/var/spool/cron/crontabs/*: No such file or directory
chmod: /data/opt/bmc/save: No such file or directory
fsck.ext2 done
load pmfs done
Running local startup scripts.
Fatal: can't open lock file /var/run/xtables.lock: No such file or directory
Fatal: can't open lock file /var/run/xtables.lock: No such file or directory
Fatal: can't open lock file /var/run/xtables.lock: No such file or directory
Fatal: can't open lock file /var/run/xtables.lock: No such file or directory
touch: /var/run/utmp: No such file or directory
chmod: /var/run/utmp: No such file or directory
srcFile=/etc/passwd
date: Thu Jan  1 00:00:19 CGP 1970, root or 0 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, apache or 98 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, snmpd_user or 95 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, ipmi_user or 96 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, kvm_user or 97 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, discovery_user or 100 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, comm_user or 101 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, sshd or 74 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, redfish_user or 102 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, secbox or 104 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, all users have been added
srcFile=/etc/group
date: Thu Jan  1 00:00:19 CGP 1970, root or 0 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, sshd or 74 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, operator or 200 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, user or 201 is exist!
date: Thu Jan  1 00:00:19 CGP 1970, no_access or 202 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, admin or 204 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, apache or 98 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, apps or 103 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, snmpd_user or 95 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, ipmi_user or 96 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, kvm_user or 97 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, discovery_user or 100 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, comm_user or 101 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, redfish_user or 102 is exist!
date: Thu Jan  1 00:00:20 CGP 1970, secbox or 104 is exist!
umount: can't unmount /sys/kernel/security: Invalid argument
kernel.core_pattern = |/usr/sbin/coredump_transfer %p %e-%s
chown: /data/trust/persistence.local/event.db: No such file or directory
chown: /data/opt/bmc/conf/BMCCardFru.dat: No such file or directory
chown: /data/opt/bmc/persistence.local/sensor.db_b: No such file or directory
chown: /data/opt/SMBIOS_DIFF: No such file or directory
date: invalid date '%Y-%m-%d %T.%N'
/etc/rc.d/rc.start/S12BiosInit.sh: line 34: can't create /var/log/app.log: nonexistent directory
chown: /dev/shm/upgrade: No such file or directory
/etc/rc.d/rc.start/S12ComputeInit.sh: line 28: can't create /var/log/app.log: nonexistent directory
mkdir: can't create directory '/var/': Read-only file system
/etc/rc.d/rc.start/S12ComputeInit.sh: line 28: can't create /var/log/app.log: nonexistent directory
/etc/rc.d/rc.start/S12ComputeInit.sh: line 28: can't create /var/log/app.log: nonexistent directory
mkdir: can't create directory '/var/': Read-only file system
/etc/rc.d/rc.start/S12ComputeInit.sh: line 28: can't create /var/log/app.log: nonexistent directory
chown: /var/log/compute: No such file or directory
/etc/rc.d/rc.start/S12ComputeInit.sh: line 28: can't create /var/log/app.log: nonexistent directory
chown: /var/log/pciecard: No such file or directory
/etc/rc.d/rc.start/S12ComputeInit.sh: line 28: can't create /var/log/app.log: nonexistent directory
chown: /data/backup/fpga/tmp/fpga.hpm: No such file or directory
chown: /data/backup/fpga/gold/fpga.hpm: No such file or directory
chown: /dev/shm/upgrade: No such file or directory
chown: /dev/shm/dump_info_tmp/dump_info/LogDump/socboard: No such file or directory
chown: /data/backup/vrd/up_cfg: No such file or directory
chown: /data/opt/bmc/up_cfg: No such file or directory
chown: /data/opt/bmc/hot_up_cfg: No such file or directory
chown: /tmp/smm_down.sh: No such file or directory
chown: /sbin/udhcpc: Read-only file system
chown: /data/var/log/bmc/optical_module/optical_module_history_info_log.csv: No such file or directory
chown: /data/var/log/bmc/optical_module: No such file or directory
chown: /data/var/log/storage/ctrllog: No such file or directory
chown: /data/var/log/storage/drivelog: No such file or directory
chown: /data/var/log/storage/phy: No such file or directory
/etc/rc.d/rc.start/S12dataacquisition_partition.sh: line 30: can't create /var/log/app.log: nonexistent directory
/etc/rc.d/rc.start/S15FaultDiagnosisInit.sh: line 22: can't create /var/log/app.log: nonexistent directory
mkdir: can't create directory '/var/log/fault_diagnosis': No such file or directory
/etc/rc.d/rc.start/S15FaultDiagnosisInit.sh: line 22: can't create /var/log/app.log: nonexistent directory
chown: /var/log/fault_diagnosis: No such file or directory
/etc/rc.d/rc.start/S15FaultDiagnosisInit.sh: line 22: can't create /var/log/app.log: nonexistent directory
mkdir: can't create directory '/var/run/syslog-ng': No such file or directory
mkdir: can't create directory '/var/': Read-only file system
mkdir: can't create directory '/var/': Read-only file system
mkdir: can't create directory '/run/': Read-only file system
mkdir: can't create directory '/var/empty': No such file or directory
chmod: /run/log/: No such file or directory
chmod: /var/volatile/log/: No such file or directory
mv: can't rename '/var/log/operate_log': No such file or directory
mv: can't rename '/var/log/security_log': No such file or directory
mv: can't rename '/var/log/running_log': No such file or directory
mv: can't rename '/var/log/maintenance_log': No such file or directory
mv: can't rename '/var/log/app_debug_log_all': No such file or directory
[   22.609106] FS-Cache: Loaded
[   22.853447] FS-Cache: Netfs 'nfs' registered for caching
[   22.952848] FS-Cache: Netfs 'cifs' registered for caching
[   22.958745] Key type cifs.idmap registered
insmod: can't insert '/lib/modules/5.10.0/kernel/net/netfilter/x_tables.ko': File exists
[   23.039685] xt_MASQUERADE: Unknown symbol nf_ct_netns_get (err -2)
[   23.046153] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_inet_register_notifiers (err -2)
[   23.054705] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_ipv6 (err -2)
[   23.061528] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_inet_unregister_notifiers (err -2)
[   23.070202] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_ipv4 (err -2)
[   23.077045] xt_MASQUERADE: Unknown symbol nf_ct_netns_put (err -2)
[   23.122747] xt_MASQUERADE: Unknown symbol nf_ct_netns_get (err -2)
[   23.128993] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_inet_register_notifiers (err -2)
[   23.137552] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_ipv6 (err -2)
[   23.144403] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_inet_unregister_notifiers (err -2)
[   23.153076] xt_MASQUERADE: Unknown symbol nf_nat_masquerade_ipv4 (err -2)
[   23.159893] xt_MASQUERADE: Unknown symbol nf_ct_netns_put (err -2)
insmod: can't insert '/lib/modules/5.10.0/kernel/net/netfilter/xt_MASQUERADE.ko': unknown symbol in module, or unknown parameter
insmod: can't insert '/lib/modules/5.10.0/kernel/net/ipv6/netfilter/ip6_tables.ko': No such file or directory
[   23.225029] ip6table_filter: Unknown symbol ip6t_register_table (err -2)
[   23.231793] ip6table_filter: Unknown symbol ip6t_unregister_table_exit (err -2)
[   23.239278] ip6table_filter: Unknown symbol ip6t_alloc_initial_table (err -2)
[   23.246513] ip6table_filter: Unknown symbol ip6t_do_table (err -2)
[   23.252846] ip6table_filter: Unknown symbol ip6t_unregister_table_pre_exit (err -2)
[   23.292545] ip6table_filter: Unknown symbol ip6t_register_table (err -2)
[   23.299303] ip6table_filter: Unknown symbol ip6t_unregister_table_exit (err -2)
[   23.306708] ip6table_filter: Unknown symbol ip6t_alloc_initial_table (err -2)
[   23.313921] ip6table_filter: Unknown symbol ip6t_do_table (err -2)
[   23.320151] ip6table_filter: Unknown symbol ip6t_unregister_table_pre_exit (err -2)
insmod: can't insert '/lib/modules/5.10.0/kernel/net/ipv6/netfilter/ip6table_filter.ko': unknown symbol in module, or unknown parameter
[   23.379236] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
insmod: can't insert '/lib/modules/5.10.0/kernel/lib/crc-ccitt.ko': File exists
chown: /dev/mtd0: No such file or directory
chown: /dev/bmc_cpld: No such file or directory
'/debug_tools/devmem_1711' -> '/data/devmem_1711'
'/debug_tools/i2ctool64' -> '/data/i2ctool64'
starting pid 2101, tty '': '/sbin/getty -L 115200 ttyS0 xterm'
sdk bug fix started

Authorized uses only. All activity may be monitored and reported.
starting pid 2109, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2109) exited. Scheduling for restart.
starting pid 2110, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2110) exited. Scheduling for restart.
starting pid 2111, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2111) exited. Scheduling for restart.
starting pid 2112, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2112) exited. Scheduling for restart.
starting pid 2118, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2118) exited. Scheduling for restart.
starting pid 2119, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2119) exited. Scheduling for restart.
starting pid 2120, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2120) exited. Scheduling for restart.
starting pid 2126, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2126) exited. Scheduling for restart.
starting pid 2127, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2127) exited. Scheduling for restart.
starting pid 2128, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2128) exited. Scheduling for restart.
starting pid 2129, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2129) exited. Scheduling for restart.
starting pid 2135, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2135) exited. Scheduling for restart.
starting pid 2136, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2136) exited. Scheduling for restart.
starting pid 2137, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2137) exited. Scheduling for restart.
starting pid 2143, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2143) exited. Scheduling for restart.
starting pid 2144, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2144) exited. Scheduling for restart.
starting pid 2145, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2145) exited. Scheduling for restart.
starting pid 2146, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2146) exited. Scheduling for restart.
starting pid 2152, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2152) exited. Scheduling for restart.
starting pid 2153, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2153) exited. Scheduling for restart.
starting pid 2154, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2154) exited. Scheduling for restart.
starting pid 2160, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2160) exited. Scheduling for restart.
starting pid 2161, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2161) exited. Scheduling for restart.
starting pid 2162, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2162) exited. Scheduling for restart.
starting pid 2163, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2163) exited. Scheduling for restart.
starting pid 2169, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2169) exited. Scheduling for restart.
starting pid 2170, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2170) exited. Scheduling for restart.
starting pid 2171, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2171) exited. Scheduling for restart.
starting pid 2177, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2177) exited. Scheduling for restart.
starting pid 2178, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2178) exited. Scheduling for restart.
starting pid 2179, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2179) exited. Scheduling for restart.
starting pid 2180, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2180) exited. Scheduling for restart.
starting pid 2186, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2186) exited. Scheduling for restart.
starting pid 2187, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2187) exited. Scheduling for restart.
starting pid 2188, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2188) exited. Scheduling for restart.
starting pid 2193, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2193) exited. Scheduling for restart.
starting pid 2195, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2195) exited. Scheduling for restart.
starting pid 2196, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2196) exited. Scheduling for restart.
starting pid 2197, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2197) exited. Scheduling for restart.
starting pid 2203, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2203) exited. Scheduling for restart.
starting pid 2204, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2204) exited. Scheduling for restart.
starting pid 2205, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2205) exited. Scheduling for restart.
starting pid 2206, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2206) exited. Scheduling for restart.
starting pid 2212, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2212) exited. Scheduling for restart.
starting pid 2213, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2213) exited. Scheduling for restart.
starting pid 2214, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2214) exited. Scheduling for restart.
starting pid 2220, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2220) exited. Scheduling for restart.
starting pid 2221, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2221) exited. Scheduling for restart.
starting pid 2222, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2222) exited. Scheduling for restart.
starting pid 2223, tty '': '/usr/sbin/sshd -D'
//etc/sshd_config: No such file or directory
svrmonit:"/usr/sbin/sshd -D" not find right pid!
process '/usr/sbin/sshd -D' (pid 2223) exited. Scheduling for restart.


能帮忙看看是哪里出问题了吗?

答案内容由AI生成,仅供参考:
根据您提供的日志信息和上下文,BMC在使用社区25.09 SDK集成单独构建的libenergy组件后启动失败,其根本原因并非直接由libenergy组件导致,而是文件系统挂载失败、关键目录缺失、只读文件系统以及依赖服务无法启动的连锁反应,最终导致BMC核心服务(如sshd、bmc_core)无法初始化,系统陷入循环重启。

以下是系统性分析与结论:


核心问题诊断:文件系统与挂载异常

:white_check_mark: 关键错误点:

  1. /var/var/log 目录无法创建,文件系统为只读:

    mkdir: can't create directory '/var/': Read-only file system
    mount: mounting /dev/mmcblk0p9 on /var/log failed: No such file or directory
    touch: /var/log/lastlog: No such file or directory
    chmod: /var/log/lastlog: No such file or directory
    

    分析:
    BMC启动过程中,/var/var/log/run 等目录是动态运行时存储日志、PID、锁文件等的关键位置。这些目录本应挂载在可写的tmpfs或/data分区上。
    但日志显示:

    • /dev/mmcblk0p9(预期存放 /var/log 的分区)不存在或未正确分区
    • 系统尝试挂载 /data/var/log,但该路径也不存在;
    • 最终系统被迫使用只读的根文件系统,导致所有写操作失败。
  2. /etc/sshd_config 文件缺失:

    //etc/sshd_config: No such file or directory
    svrmonit:"/usr/sbin/sshd -D" not find right pid!
    

    分析:
    SSH服务无法启动,因为缺少配置文件。这通常意味着:

    • rootfs镜像中未包含openssh的完整配置文件
    • 或者在构建过程中,openssh组件未被正确集成,或其配置文件被libenergy或其他组件覆盖/删除。
  3. 内核模块加载失败(符号未定义):

    xt_MASQUERADE: Unknown symbol nf_ct_netns_get (err -2)
    ip6table_filter: Unknown symbol ip6t_register_table (err -2)
    

    分析:
    这些是网络过滤模块(iptables/ip6tables)依赖的内核符号。
    出现“Unknown symbol”表明:

    • 内核版本与模块版本不匹配(如使用了为5.10.0编译的模块,但实际运行的是不同配置的内核);
    • 或者内核未启用相关配置项(如 CONFIG_NETFILTER, CONFIG_NF_NAT_MASQUERADE);
    • 可能是SDK或闭源组件中的内核模块与开源组件不兼容
  4. /data 分区被占用,无法卸载:

    [FAILED] Failed unmounting /data.
    Open /.reboot-umount-msg.log failed!
    -------------fuser -mv /data----------------
    /data:
            0               kernel  /data
    

    分析:
    内核进程(kernel)正在使用 /data 分区,导致系统无法在重启前卸载它。
    这通常是由于:

    • 某个服务(如libenergy)在启动时错误地挂载或锁定了 /data
    • 或者根文件系统中存在残留的挂载点或绑定挂载(bind mount)
    • 该问题直接导致系统无法完成正常关机流程,进入异常重启循环。

关于 libenergy 组件的嫌疑分析

虽然您提到“集成单独构建的 libenergy 组件”后出现问题,但日志中没有任何直接由 libenergy 引发的错误(如 libenergy.so 加载失败、符号冲突、段错误等)。

因此,libenergy 很可能不是“直接原因”,而是“间接诱因”:

  • 您在构建 libenergy 时,可能修改了 manifest.yml 中的依赖关系,导致:
    • rootfs_userstoragepower_mgmt 等组件被错误覆盖;
    • opensshsystemdbusybox 等基础组件未被正确打包;
    • 构建脚本错误地清除了 /var/etc 等关键目录的默认内容
  • 或者,libenergy 的构建环境(如 Conan 依赖版本)与社区 25.09 SDK 不兼容,导致生成的二进制破坏了系统文件结构。

根本原因总结

问题层级 问题描述 根本原因
第一层(直接表现) BMC 启动卡在 sshd 循环重启、/var/log 无法挂载 文件系统挂载失败,关键目录缺失,根文件系统只读
第二层(直接诱因) /dev/mmcblk0p9 不存在、/data 被内核占用 rootfs 镜像分区配置错误,或 libenergy 构建过程中修改了分区/挂载逻辑
第三层(深层原因) 内核模块符号缺失、sshd_config 缺失 构建过程中组件依赖管理混乱,闭源/开源组件版本不匹配,或 SDK 配置未正确同步
第四层(根本原因) 使用了不兼容的闭源组件或构建流程破坏了系统完整性 libenergy 组件的构建方式或依赖与 openUBMC 25.09 社区版不兼容,导致 rootfs 镜像结构被破坏

解决方案建议(按优先级排序)

:white_check_mark: 1. 检查并恢复 rootfs 镜像完整性

  • 不要使用自定义构建的 libenergy 包直接覆盖社区镜像
  • 使用官方 25.09 SDK 构建一个干净的、不包含 libenergy 的镜像
  • 如果这个干净镜像能正常启动 → 证明问题出在 libenergy 的集成方式上。

:white_check_mark: 2. 检查 libenergy 的构建与集成方式

  • 确保 libenergy 是作为 独立组件(通过 conan 包)集成,而非直接替换系统文件。
  • 检查 manifest.yml 中是否添加了正确的依赖
  • 不要手动将 .so 文件复制到 /opt/bmc/lib,应通过 conan 包管理,让构建系统自动处理安装路径。
  • 检查 libenergyconanfile.py 是否正确声明了 package_info(),避免污染全局路径。

:white_check_mark: 3. 验证分区与挂载配置

  • 检查 manifest.yml 中是否有对 rootfs 分区的自定义修改(如 partition_layout)。
  • 确保没有在 customization/prototype.py 中错误地修改了 /var/data 的挂载逻辑。
  • 参考社区标准配置:
    /var/log 应挂载在 tmpfs/data/var/log(由 rootfs_user 组件创建),而非 /dev/mmcblk0p9

:white_check_mark: 4. 修复内核模块兼容性

  • 确保 libenergy 不依赖任何非标准内核模块
  • 如果 libenergy 需要网络功能,不要自行编译 xt_MASQUERADE 模块,应依赖社区预编译的内核模块。
  • 使用 modinfo 检查模块版本是否与内核匹配


结论

BMC 启动失败的根本原因是:在集成 libenergy 组件时,构建流程破坏了 openUBMC 25.09 的 rootfs 文件系统结构,导致关键目录(/var, /etc)缺失、文件系统只读、核心服务(sshd)无法启动。libenergy 本身无直接错误,但其构建或集成方式与社区 SDK 不兼容。

参考AI回复。

从日志看应该是文件系统存在损坏,需要你分析构建流程是否存在异常,也可以在本地搜索rootfs_iBMC.img或rootfs_BMC.img,尝试使用ext4文件格式挂载,检查镜像是否损坏。

通过定界分析是升级过程发生的损坏还是构建打包阶段引入的问题。