Community discussions

MikroTik App
 
chchiu
just joined
Topic Author
Posts: 5
Joined: Tue Feb 21, 2023 9:12 am

[RB450Gx4] kernel not found or data is corrupted

Tue Feb 21, 2023 1:58 pm

Hello...
My RB450Gx4 is not working.
From the com port, I saw following messages:
RouterBOOT backup booter 6.42

RB450Gx4

CPU frequency: 716 MHz
  Memory size: 1024 MiB
    NAND size: 512 MiB

Press any key within 2 seconds to enter setup..

loading kernel... kernel not found or data is corrupted
Please, check ethernet cable...
I had tried "upgrade firmware over serial port" (xmodem) pass.
But this device still cannot wake up.

I also try to setup Linux DHCP/TFTP for RB450Gx4 boot.
It seem RB450Gx4 don't download image from tftp server.
loading kernel... kernel not found or data is corrupted
trying bootp protocol........................................................................................................................................................................................................... failed
kernel loading failed
Any comments please?

Besides, is this issue related to license key ?

Thanks!
- chchiu
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2865
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: [RB450Gx4] kernel not found or data is corrupted

Tue Feb 21, 2023 2:31 pm

Netinstall?
 
r00t
Long time Member
Long time Member
Posts: 672
Joined: Tue Nov 28, 2017 2:14 am

Re: [RB450Gx4] kernel not found or data is corrupted

Tue Feb 21, 2023 4:36 pm

Yes, try the netinstall. If that doesn't work, LAN port is damaged (can't receive the server) or there is some other problem.
And no, this is no license related..
 
chchiu
just joined
Topic Author
Posts: 5
Joined: Tue Feb 21, 2023 9:12 am

Re: [RB450Gx4] kernel not found or data is corrupted

Tue Mar 07, 2023 12:30 pm

Thanks everyone. I had tried netinstall. But my device still not workable.
Please see below steps.
Image
Image
Image
Image
Image

I also found there is an error when I upgrade the npk file through serial port.
Not sure what does it mean about "invalid upgrade file id" ?
Image
 
User avatar
ID
just joined
Posts: 22
Joined: Tue Dec 26, 2006 10:36 pm

Re: [RB450Gx4] kernel not found or data is corrupted

Tue Mar 07, 2023 12:45 pm

Seems backup bootloader is 6.x and os 7.x so bootloader don't know how to load kernel and keep failing.
Can you try to install router os 6.x or reset bootloader to load main one...
 
chchiu
just joined
Topic Author
Posts: 5
Joined: Tue Feb 21, 2023 9:12 am

Re: [RB450Gx4] kernel not found or data is corrupted

Tue Mar 07, 2023 1:15 pm

Yes, sure. I already tried 6.42, 6.42.10, 6.48.6.
All of them are the same...

I just found one change in 6.42.2.
https://mikrotik.com/download/changelogs

What's new in 6.42.2 (2018-May-17 09:20)
*) filesystem - fixed NAND memory going into read-only mode;

My RB450Gx4 firmware version is 6.42.
I'm afraid my device is in read-only mode.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: [RB450Gx4] kernel not found or data is corrupted

Tue Mar 07, 2023 2:41 pm

I guess that "upgrade firmware over ..." refers to routerboot only and not entire ROS.

So you can try to upgrade routerboot to at least 6.48.6 (latest long-term, I'm pretty confident it can boot ROS v7 kernel).
Download main ROS package. Open it with 7-zip, go into etc folder (inside archive) and extract .fwf file, which is correct for RB450Gx4. Since RB450Gx4 is built around IPQ4019 (or so the block diagram wants us to believe), there are two possible files: ipq4000-6.48.6.fwf and ipq4000L-6.48.6.fwf. The correct FW identification can be seen in /system routerboard, but that obviously implies one has a working device. Hopefully somebody with RB450Gx4 can check and tell you. But if I would have to guess, I'd go with the variant without L in its name ... I have a hAP ac2 and that one runs the "L" variant.
Then upload the .fwf file and hopefully it'll be accepted by router ... which in turn will boot whatever you netinstalled to.

And my guess about why it always starts using backup routerboot: could be that main routerboot is corrupt ... or is it because you're pressing "the" button before applying power to device? This article explains how pressing reset button affects booting of device.
 
chchiu
just joined
Topic Author
Posts: 5
Joined: Tue Feb 21, 2023 9:12 am

Re: [RB450Gx4] kernel not found or data is corrupted

Wed Mar 08, 2023 5:44 am

Yes, I can found there are two fwf in routeros-arm-6.42.10.npk\etc
ipq4000L-6.42.10.fwf
ipq4000-6.42.10.fwf

Not sure how to upload this file to the device?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: [RB450Gx4] kernel not found or data is corrupted

Wed Mar 08, 2023 2:33 pm

As I said, go for a pretty recent ROS package. I seem to remember that there were some problems with booting v7 kernel on devices with ancient routerboot ... so prerequisite for upgrading to v7 on those devices was to update routerboot to something fairly recent. And again, I've no Idea which fwf file is the right one for RB450Gx4. After I wrote my previous post, I went ahead and installed routerboot v7.8 while device still runs ROS 6.49.7 (method is similar, only the way to upload fwf file is different) ... /system routerboard print on my hAP ac2 produces this output:
       routerboard: yes
        board-name: hAP ac^2
             model: RBD52G-5HacD2HnD
     serial-number: <redacted>
     firmware-type: ipq4000L
  factory-firmware: 6.42.3
  current-firmware: 7.8
  upgrade-firmware: 6.49.7
(as you can see, it's mentioning "upgrade firmware" because it's not the same as running even though it's version is lower than of the running one).

Property "firmware-type" corresponds directly with part of fwf file name. The same is true for my RB951G (firmware-type is ar9344, npk for mipsbe platform contains 8 fwf files), so I assume this should be true also for RB450Gx4. It's hard to tell which one is it unless one has access to a working device of same model, npk for arm ROS 7.8 contains 6 fwf files (al2, dx3230L, ipq4000, ipq4000L, ipq5000 and ipq8060).

I'd try to upload fwf file via serial port (just like you tried with npk but it didn't work ... as I already wrote, I believe this option is intended expressly for routerboot firmware files, for ROS one needs netinstall).
 
DanMos79
just joined
Posts: 11
Joined: Wed Jun 03, 2020 1:35 pm
Location: Germany

Re: [RB450Gx4] kernel not found or data is corrupted

Wed Mar 08, 2023 5:18 pm

Hopefully somebody with RB450Gx4 can check and tell you.
Here is the RouterBoard info from my RB450Gx4, hope it helps you.
       routerboard: yes
             model: RB450Gx4
     serial-number: xxxxxxxxxxx
     firmware-type: ipq4000
  factory-firmware: 6.45.8
  current-firmware: 7.8
  upgrade-firmware: 7.8
 
chchiu
just joined
Topic Author
Posts: 5
Joined: Tue Feb 21, 2023 9:12 am

Re: [RB450Gx4] kernel not found or data is corrupted

Fri Mar 10, 2023 5:20 am

Many thanks for everyone!
My RB450Gx4 is workable after upgrade firmware over serial port by using ipq4000-6.42.10.fwf.
first time reboot, I can see the RouterOS has been upgraded to 6.42.10 and use primary booter.
It still show me kernel not found or corrupted.
But after use netinstall to upgrade npk file again.
Device can boot normally.

Thanks for help.

Who is online

Users browsing this forum: quanbau and 45 guests