pamhss 发表于 2022-11-10 01:48

360 T7 进不去failsafe模式 求助


F是0.5秒发一个的
第一次进入failsafe模式是成功的 不过复制输入命令的时候 在输入
# 开启telnet
mount_root
sed -i 's/.*local debug=.*/\tlocal debug=1/' /etc/init.d/telnet
后报错了 提示找不到xxx文件

然后现在就进不去了




Press the key and hit to enter failsafe mode
Press the , , or key and hit to select the debug level
» f
« [   10.751212] mt753x gsw@0: Port 2 Link is Up - 1Gbps/Full
» f
» f
» f
» f
» f
» f
» f
« Before mount_root
[   14.679645] crng init done
readonly: 0
[   14.798119] mount_root: loading kmods from internal overlay
[   14.808271] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   14.816462] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
» f
» f
« [   15.759736] UBIFS (ubi0:2): Mounting in unauthenticated mode
[   15.781687] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 770
[   15.806783] UBIFS (ubi0:2): recovery needed
[   15.891009] UBIFS (ubi0:2): recovery completed
[   15.895533] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[   15.903361] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   15.913269] UBIFS (ubi0:2): FS size: 9904128 bytes (9 MiB, 78 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   15.923347
» f
« ] UBIFS (ubi0:2): reserved for root: 467796 bytes (456 KiB)
[   15.929782] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 2A959291-1371-45E8-A31D-5A8050FCF70B, small LPT model
[   15.942426] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   15.952616] block: unable to load configuration (fstab: Entry not found)
[   15.959367] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   15.965846] block: unable to load configuration (fstab: Entry not found)
[   15.972564] block: attempting to load /etc/config/fstab
[   15.978884] block: unable to load configuration (fstab: Entry not found)
[   15.985595] block: no usable configuration
[   15.989778] UBIFS (ubi0:2): un-mount UBI device 0
[   15.994488] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops
[   16.003463] UBIFS (ubi0:2): Mounting in unauthenticated mode
[   16.009200] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 773
[   16.063379] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[   16.071219] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   16.081122] UBIFS (ubi0:2): FS size: 9904128 bytes (9 MiB, 78 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   16.091196] UBIFS (ubi0:2): reserved for root: 467796 bytes (456 KiB)
[   16.097629] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 2A959291-1371-45E8-A31D-5A8050FCF70B, small LPT model
[   16.112895] mount_root: loading kmods from internal overlay
[   16.123187] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   16.132516] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
» f
» f
« [   16.997655] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   17.005990] block: unable to load configuration (fstab: Entry not found)
[   17.012793] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   17.019279] block: unable to load configuration (fstab: Entry not found)
[   17.025995] block: attempting to load /etc/config/fstab
[   17.031247] block: unable to load configuration (fstab: Entry not found)
[   17.037956] block: no usable configuration
[   17.043725] mount_root: switching to ubifs overlay
After mount_root
[   17.056163] urandom-seed: Seeding with /etc/urandom.seed
readonly: 0
» f
« [   17.512997] procd: - early -
[   17.516050] procd: - watchdog -
» f
« [   18.053486] procd: - watchdog -
[   18.068500] procd: - ubus -
[   18.125563] procd: - init -
[   18.451005] urngd: v1.0.2 started.
[   18.457815] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.500656] Current mapfilter version v3.0.1.2
» f
» f
« [   19.286942] mt_wifi: module license 'Proprietary' taints kernel.
[   19.292963] Disabling lock debugging due to kernel taint
[   19.332013] conninfra@(conninfra_pwr_on:120) drv=
[   19.339585] conninfra@(_consys_polling_chipid_int:306) Read CONNSYS HW IP version successfully! (0x02090000)
[   19.357454] Adie Type: 0x7976
[   19.357456] SKU Type: 3000
[   19.361374] conninfra@(opfunc_power_on_internal:241) BT= FM= GPS= WF= CONNINFRA=
[   19.375754] WiFi@C12L1,get_dbg_setting_by_profile() 4242: debug level setting=INDEX0_debug_level not found!!
[   19.385594] WiFi@C12L1,get_dbg_setting_by_profile() 4265: debug option setting=INDEX0_debug_option not found!!
[   19.395640] mt_rbus 0000:00:00.0: runtime IRQ mapping not provided by arch
[   19.409851] mt7981_init()-->
[   19.412757] Use the default iPAiLNA bin image!
[   19.417233] <--mt7981_init()
[   19.420134] RtmpRaDevCtrlInit(): MCS_LUT not used becasue MacTb size(288) > 128!
[   19.427643] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX1
[   19.434963] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX2
[   19.442278] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX3
[   19.449594] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX4
[   19.456908] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX5
[   19.464222] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX6
[   19.471535] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX7
[   19.478849] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX8
[   19.486164] WiFi@C12L1,match_index_by_chipname() 502: not find chip name INDEX9
[   19.493464] WiFi@C12L2,match_index_by_chipname() 507: Not find slot id, back to old rule.
[   19.501729] msta_ifname not found
[   19.512796] -->mtfwd_init(ver:2.0)
[   19.512837] <--
[   19.516831] mtk_warp_proxy: module uses symbols from proprietary module mt_wifi, inheriting taint.
[   19.535697] xt_time: kernel timezone is -0000
[   19.541131] PPP generic driver version 2.4.2
[   19.546009] PPP MPPE Compression module registered
[   19.551309] NET: Registered protocol family 24
[   19.556996] kmodloader: done loading kernel modules from /etc/modules.d/*
» f
» f
« [   20.627785] ##igd_filter_switch:1, old:0, write1
[   20.632538] start igd_filter by role
[   20.637000] -------------------------------------------
[   20.642258] -----------igd fitler inited---------------
[   20.647492] -------------------------------------------
[   20.652716] start igd_filter by role end
» f
« [   20.888064] ubi2: attaching mtd10
[   20.915023] ubi2: scanning is finished
[   20.924499] ubi2: attached mtd10 (name "log", size 7 MiB)
[   20.929941] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   20.936841] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   20.943646] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
[   20.950613] ubi2: good PEBs: 56, bad PEBs: 0, corrupted PEBs: 0
[   20.956542] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
[   20.963775] ubi2: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 1141182494
[   20.972914] ubi2: available PEBs: 0, total reserved PEBs: 56, PEBs reserved for bad PEB handling: 20
[   20.982450] ubi2: background thread "ubi_bgt2d" started, PID 2085
[   21.015025] UBIFS (ubi2:0): Mounting in unauthenticated mode
[   21.020993] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 2140
[   21.053785] UBIFS (ubi2:0): recovery needed
[   21.137405] UBIFS (ubi2:0): recovery completed
[   21.141904] UBIFS (ubi2:0): UBIFS: mounted UBI device 2, volume 0, name "log"
[   21.149041] UBIFS (ubi2:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   21.158947] UBIFS (ubi2:0): FS size: 2793472 bytes (2 MiB, 22 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   21.169025] UBIFS
» f
« (ubi2:0): reserved for root: 131942 bytes (128 KiB)
[   21.175462] UBIFS (ubi2:0): media format: w5/r0 (latest is w5/r0), UUID 51393249-A857-4F63-86B3-BDAC731DA1A1, small LPT model
» f
» f
» f
» f
» f
» f
« [   24.463334] mt753x gsw@0: Port 2 Link is Down
[   24.816655] mtk_soc_eth 15100000.ethernet eth0: Link is Down
» f
« [   24.920189] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   24.928590] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   24.933253] device eth0 entered promiscuous mode
[   24.941908] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.948609] br-lan: port 1(eth0.1) entered blocking state
[   24.954065] br-lan: port 1(eth0.1) entered disabled state
[   24.959668] device eth0.1 entered promiscuous mode
[   24.969945] br-lan: port 1(eth0.1) entered blocking state
[   24.975372] br-lan: port 1(eth0.1) entered forwarding state
[   24.985951] br-lan: port 2(eth0.2) entered blocking state
[   24.991485] br-lan: port 2(eth0.2) entered disabled state
[   25.002768] device eth0.2 entered promiscuous mode
[   25.007744] br-lan: port 2(eth0.2) entered blocking state
[   25.013175] br-lan: port 2(eth0.2) entered forwarding state
[   25.031280] br-lan: port 3(eth0.3) entered blocking state
[   25.036713] br-lan: port 3(eth0.3) entered disabled state
[   25.050099] device eth0.3 entered promiscuous mode
[   25.055085] br-lan: port 3(eth0.3) entered blocking state
[   25.060514] br-lan: port 3(eth0.3) entered forwarding state
[   25.073943] br-lan: port 4(eth1-v6) entered blocking state
[   25.079481] br-lan: port 4(eth1-v6) entered disabled state
[   25.087661] device eth1-v6 entered promiscuous mode
[   25.108667] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/2500base-x link mode
[   25.119272] device eth1 entered promiscuous mode
» f
« [   25.544913] 7981@C01L2,RTMP_COM_IoctlHandle() 1511: -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
[   25.553353] msta_ifname not found
[   25.557474] client_get_axi_slot_id(): wrong BUS_TYPE
[   25.562450] warp_cap_support(): chip_id=7981 is in WHNAT support list
[   25.568911] warp_entry_acquire(): bus slot:0, hook to WARP, entry id=0, entry: 0000000034d379ef
[   25.577608] client_hif_specific_get(): hw->base_phy_addr 0x18000000!!
[   25.584043] client_chip_specific_get(): 0x7981 chip id 0x7981!!
[   25.590070] warp_entry_get_by_pdev(): return entry
[   25.600602] warp_msg_register():warp,pid,3346,id,0,wed_idx,0
[   25.606306] wed_init(0): res_start = 0x15010000, size = 1000, irq=7,base_addr=0xffffffc010fcd000
[   25.615583] wed_ring_init(): wed tx ring init result = 0
[   25.621131] wed_ring_init(): wed rx ring init result = 0
[   25.634359] create wed ok!!!
[   25.637331] wdma_init(): wdma(0) base_addr=0xffffffc010fed800, base_phy_addr=0x15104800
[   25.646173] warp_woif_bus_init_hw(): bus:00000000d5e3e460, txring: 20, pa: 0x00000000461c8000, 0x00000000461c8000, 24, 28, 3c
[   25.657502] warp_woif_bus_init_hw(): bus:00000000d5e3e460, rxring: 50, pa: 0x00000000461ca000, 0x00000000461ca000, 54, 58, 6c
[   25.668862] get_region_info(): wed_idx = 0, base_addr = 0x000000000db6d9d0, size = 0x40000, res.start = 0x47d80000, shared:0
[   25.680138] get_region_info(): wed_idx = 0, base_addr = 0x00000000e2f6ce8c, size = 0x8000, res.start = 0x151e0000, shared:0
[   25.691342] get_region_info(): wed_idx = 0, base_addr = 0x00000000b04717c2, size = 0x240000, res.start = 0x47dc0000, shared:1
[   25.702780] get_region_info(): wed_idx = 0, base_addr = 0x00000000bac7a7d4, size = 0x1000, res.start = 0x15194000, shared:0
[   25.713925] warp_fwdl_mcu_mode(): mcu mode, need fwdl
[   25.784800] ########## WO Firmware ##########
[   25.789189] Chip ID: 0x0000
[   25.792015] ECO version:0
[   25.794643] Version: DEV_000000
[   25.797777] Build date: 20220420202134
[   25.801535] Total region:3
[   25.804249] #################################
[   25.808616] Parsing tailer region 0
[   25.812119]         Target address: 0x151e0000
[   25.815970]         Download size: 20736
[   25.819326] Parsing tailer region 1
[   25.822829]         Target address: 0x47d80000
[   25.826672]         Download size: 86000
[   25.830058] Parsing tailer region 2
[   25.833562]         Target address: 0x47dc0000
[   25.837415]         Download size: 2283984
[   25.843151] warp_fwdl_ready_check_mcu_mode(): waiting for wocpu
[   25.864276] warp_fwdl_ready_check_mcu_mode(): wocpu is ready
[   25.869981] warp_woctrl_init_state(), wo_state: WO_STATE_ENABLE
[   25.875937] wo_proc_init done000000006fde0762
[   25.880504] wo_exep_proc_init done000000006fde0762
[   25.885523] wo_exception_init(0): exp log= 0x00000000d81bbaa3, phy_addr= 0x0000000045ca8000 size= 32768
» f

一脸懵13 发表于 2022-11-10 09:13

恢复出厂再试试?

1689726513 发表于 2022-11-10 12:52

f键和回车键一起按:lol

thunder35 发表于 2022-11-10 14:23

既然你在ttl刷了,直接在控制台更新下uboot就行了啊

pamhss 发表于 2022-11-10 19:28

thunder35 发表于 2022-11-10 14:23
既然你在ttl刷了,直接在控制台更新下uboot就行了啊

请问应该怎么操作呢
我看文章写的是这样的
此款路由器内置的原厂固件为基于mtk-sdk Linux 5.4内核的OpenWrt,uboot和OpenWrt的控制台终端均不可操作,但可以使用TTL进入OpenWrt的failsafe模式,从而开启telnet和uboot控制台。

如果不行只能等web注入开telnet了?

thunder35 发表于 2022-11-10 21:55

thunder35 发表于 2022-11-10 14:23
既然你在ttl刷了,直接在控制台更新下uboot就行了啊


原厂看到这里的时候按下键盘的向下键,如果发现控制不了,建议换一组杜邦线,选ATF FIP箭头那个,然后电脑固定ip,按照里面给出的参数去固定,把uboot文件和tftpd放一起,然后打开tftpd工具,有防火墙提醒要允许,然后文件名字输入和uboot文件名一样,回车他就自动更新uboot了。

pamhss 发表于 2022-11-11 22:17

thunder35 发表于 2022-11-10 21:55
原厂看到这里的时候按下键盘的向下键,如果发现控制不了,建议换一组杜邦线,选ATF FIP箭头那个,然 ...

没用failsafe开出uboot控制台 那就是不行啦:lol

pamhss 发表于 2022-11-11 22:26

thunder35 发表于 2022-11-10 21:55
原厂看到这里的时候按下键盘的向下键,如果发现控制不了,建议换一组杜邦线,选ATF FIP箭头那个,然 ...

可能刚开始TXD没接触好

ryanlee88 发表于 2022-11-15 11:51

请问你的刷好了吗?请教一下,我是卡在这里!不知哪问题!

ryanlee88 发表于 2022-11-15 14:39

ryanlee88 发表于 2022-11-15 11:51
请问你的刷好了吗?请教一下,我是卡在这里!不知哪问题!

搞掂了,原是我的防火墙!

stathouse 发表于 2023-5-30 22:52

如果是路由被官方升级导致的进不去,可以参考这个帖子

360T7官方偷偷升级固件,导致不能刷UBOOT;需降级官方低版,低版固件给需要之人
https://www.right.com.cn/forum/thread-8291745-1-1.html
(出处: 恩山无线论坛)

页: [1]
查看完整版本: 360 T7 进不去failsafe模式 求助