交换机原系统被删了某个文件不能启动了!有没有高手能搞定!具体私聊
这是报错机器↓
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 741758976 bytes (724374 KiB, 707 MiB, 5749 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing unused kernel memory: 252k init
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
Rebooting in 180 seconds..
这是完好机器↓
UBIFS: parse sync
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 741758976 bytes (724374 KiB, 707 MiB, 5749 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing unused kernel memory: 252k init
linux_kernel_bde: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
linux-kernel-bde (1230): Payload size of 256 bytes may not be supported by all P
CIe bridges by default.
Checking file system integrity on '/dev/mmcblk01' ...
File system OK
net.netfilter.nf_conntrack_acct = 1
net.ipv6.conf.all.forwarding = 1
System initiating...Please wait...
Please choose which to start: XorPlus or System shell:
(Will choose default entry if no input in 10 seconds.)
[1] XorPlus * default
[2] System shell
Enter your choice (1,2):
XorPlus L2/L3 switch system is selected.
txbd[0]: addr, vaddr = 0x2f13d000,0xef13d000
rxbd[0]: addr,vaddr=0x2f13d400,0xef13d400
ADDRCONF(NETDEV_UP): eth0: link is not ready
net eth1: could not attach to PHY
ifconfig: SIOCSIFFLAGS: No such device
Switch Manager starting ... ...
Waiting for synchronizing configuration.
Synchronize configuration OK.
Baidu Switch OS
Welcome to XorPlus on XorPlus
XorPlus>
XorPlus> file list ./
drwxr-xr-x 18 506 users 1464 Nov 30 14:41 .
drwxr-xr-x 18 506 users 1464 Nov 30 14:41 ..
drwxr-xr-x 2 root xorp 6112 Nov 30 14:39 bin
drwxrwxr-x 2 root xorp 296 Nov 29 21:33 boot
-rwxrwxrwx 1 root root 1020344 Jul 5 2014 busybox
drwxrwxrwx 2 root xorp 160 Nov 29 21:34 cftmp
drwxr-xr-x 6 1003 1003 13240 Nov 30 14:39 dev
drwxrwxr-x 8 root xorp 2760 Nov 30 14:41 etc
drwxrwxr-x 10 root xorp 12848 Nov 29 21:33 lib
-rw-r--r-- 1 root root 8453976 Nov 6 2013 lib.tar.gz
drwxrwxr-x 3 505 506 224 Jul 2 2018 libexec
lrwxrwxrwx 1 root root 11 Nov 29 21:33 linuxrc -> bin/busybox
drwxrwxr-x 5 root xorp 352 Dec 27 2016 mnt
drwxrwxr-x 2 root xorp 160 Dec 27 2016 opt
drwxr-xr-x 9 root xorp 680 Nov 29 21:34 pica
dr-xr-xr-x 81 root root 0 Jan 1 1970 proc
drwxr-xr-x 2 root xorp 5168 Nov 29 21:34 sbin
-rw-r--r-- 1 root root 268 Nov 30 14:41 snmpv3_boot_counter
drwxr-xr-x 11 root root 0 Jan 1 1970 sys
drwxrwxrwx 7 root xorp 140 Nov 30 14:41 tmp
drwxr-xr-x 8 root xorp 544 Sep 5 2018 usr
drwxrwxr-x 5 root xorp 416 Dec 27 2016 var
XorPlus>