ACG1000-T意外断电后,系统损坏了,只能进入下界面,按Ctrl+C也没有反应。根据https://zhiliao.h3c.com/Theme/details/7626,需要升级menuboot,再升级image就可以修复,请问menuboot谁有啊,麻烦提供一下,多谢。
(0)
最佳答案
貌似在进行升级menuboot的时候出现了问题 不知道是什么原因,麻烦帮忙看看,如下图,谢谢:
整个过程如下:
Octeon cust_mc6100#
Octeon cust_mc6100# setenv serverip 192.168.1.1
Octeon cust_mc6100# setenv ipaddr 192.168.1.2
Octeon cust_mc6100# ping 192.168.1.1
Using octmgmt0 device
host 192.168.1.1 is alive
Octeon cust_mc6100# run menuboot
Using octmgmt0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.2
Filename 'menuboot.bin'.
Load address: 0x20000000
Loading: #################################################
done
Bytes transferred = 40322768 (26746d0 hex)
argv[2]: quiet
argv[3]: cOnsole=ttyS0,9600
argv[4]: numcores=2
Allocating memory for ELF segment: addr: 0xffffffff80100000 (adjusted to: 0x100000), size 0x28d0400
## Loading big-endian Linux kernel with entry point: 0xffffffff80722080 ...
Bootloader: Done loading app on coremask: 0x3
Starting cores 0x3
/sbin/rc starting
Mounting file systems
Setting up loopback
ge0 MAC address is : 3c:8c:40:4f:b2:71
ge1 MAC address is : 3c:8c:40:4f:b2:72
ge2 MAC address is : 3c:8c:40:4f:b2:73
ge3 MAC address is : 3c:8c:40:4f:b2:74
ge4 MAC address is : 3c:8c:40:4f:b2:75
ge5 MAC address is : 3c:8c:40:4f:b2:76
ge6 MAC address is : 3c:8c:40:4f:b2:77
ge7 MAC address is : 3c:8c:40:4f:b2:78
ge8 MAC address is : 3c:8c:40:4f:b2:79
ge9 MAC address is : 3c:8c:40:4f:b2:7a
ge10 MAC address is : 3c:8c:40:4f:b2:7b
ge11 MAC address is : 3c:8c:40:4f:b2:7c
ge12 MAC address is : 3c:8c:40:4f:b2:7d
ge13 MAC address is : 3c:8c:40:4f:b2:7e
CVMX_SHARED: 0x10c00000-0x11450000
Active coremask = 0x3
Node 0 Interface 0 has 4 ports (SGMII)
Node 0 Interface 1 has 4 ports (SGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
ge14 MAC address is : 3c:8c:40:4f:b2:7f
ge15 MAC address is : 3c:8c:40:4f:b2:80
ge16 MAC address is : 3c:8c:40:4f:b2:81
ge17 MAC address is : 3c:8c:40:4f:b2:82
ge18 MAC address is : 3c:8c:40:4f:b2:83
ge19 MAC address is : 3c:8c:40:4f:b2:84
BOOTMEM 0x29d4000 size 199MB(208846848B)
BOOTMEM 0xf104000 size 6MB(7307264B)
BOOTMEM 0xf800000 size 7MB(8372224B)
BOOTMEM 0x20000000 size 959MB(1006354432B)
Page size 16384 bytes, memory regions:
0: 0x8000000002e08000 -> 0x800000000f100000 (204439552 bytes)
1: 0x800000000f104000 -> 0x800000000f7fc000 (7307264 bytes)
2: 0x800000000f800000 -> 0x800000000fffc000 (8372224 bytes)
3: 0x8000000020000000 -> 0x800000005bfbc000 (1006354432 bytes)
Buddy initialized
Slub initialized
nf_conntrack (size 472 buckets 131072 max 10)
open file /mnt/ushare.conf error!
/
/sbin/rc complete
smartctl 6.1 2013-03-16 r3800 [mips64-linux-3.10.56-rt50-Cavium-Octeon+] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, ***.***
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
hard disk check success
No need to format the hard disk.
mke2fs 1.42.7 (21-Jan-2013)
/dev/sda1 is mounted; will not make a filesystem here!
mount: mounting /dev/sda1 on /disk failed: Device or resource busy
Filesystem Size Used Available Use% Mounted on
tmpfs 470.1M 60.0K 470.1M 0% /var/system_rw
/dev/loop0 470.1M 60.0K 470.1M 0% /var/system_ro
aufs 470.1M 60.0K 470.1M 0% /
none 470.1M 8.3M 461.8M 2% /dev/shm
/dev/sda1 458.3G 2.1G 432.9G 0% /disk
mount hard disk success.
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.
Command (m for help):
Disk /dev/sdb: 1014 MB, 1014644736 bytes
255 heads, 63 sectors/track, 123 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): No partition is defined yet!
Command (m for help): Command (m for help): Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (1-123, default 1): Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-123, default 123): Using default value 123
Command (m for help): Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to 6 (FAT16)
Command (m for help):
Disk /dev/sdb: 1014 MB, 1014644736 bytes
255 heads, 63 sectors/track, 123 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 123 987966 6 FAT16
Command (m for help): Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table
[ 270.045434] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 270.071212] ata3.00: failed command: WRITE SECTOR(S)
[ 270.096973] ata3.00: cmd 30/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 out
[ 270.096973] res 51/44:08:00:00:00/00:00:00:00:00/e0 Emask 0x9 (media error)
[ 270.111763] ata3.00: status: { DRDY ERR }
[ 270.137500] ata3.00: error: { UNC ABRT }
2022-05-21 12:11:57:ge0 link change to UP !
[ 270.186405] end_request: I/O error, dev sdb, sector 0
[ 270.212163] Buffer I/O error on device sdb, logical block 0
mkfs.fat 3.0.26 (2014-03-07)
mkdosfs: unable to open /dev/: Is a directory
mount cf card success.
******** Please use the interface to communicate ge0********
===============================================================
| BOOT MENU(V4.2-20170816) |
| 1. Upgrade image by FTP. |
| 2. Upgrade menuboot by FTP. |
| 3. Check and repare file system. |
| 4. Reset administrator passowrd. |
| 5. Producing test. |
| 6. Aging test. |
| 7. Display production and aging recored. |
| 8. Advance functions. |
| 0. Reboot. |
| |
===============================================================
Please input your choice[0-8]:2
Local IP[A.B.C.D/M]:192.168.1.3/24
Server IP[A.B.C.D]:192.168.1.1
Gateway IP[A.B.C.D]:
Startup menuboot[menuboot.bin]:
Download menuboot(menuboot.bin) by ftp(192.168.1.1)......
Download file menuboot.bin ....
ftpget: unexpected server response to RETR: 550
Download file(menuboot.bin) success.
file(/tmp/1210) does not exist.
===============================================================
| BOOT MENU(V4.2-20170816) |
| 1. Upgrade image by FTP. |
| 2. Upgrade menuboot by FTP. |
| 3. Check and repare file system. |
| 4. Reset administrator passowrd. |
| 5. Producing test. |
| 6. Aging test. |
| 7. Display production and aging recored. |
| 8. Advance functions. |
| 0. Reboot. |
| |
===============================================================
Please input your choice[0-8]:
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论