Attempting to rescue RB4011 with Netinstall, several versions of bootloader and firmware attempted (7.11, 7.12rc1, 6.49.10, 6.40.5) but always the same results:
Press Ctrl+E to enter etherboot mode
Press key within 2 seconds to enter setup..
loading kernel… kernel not found or data is corrupted
Please, check ethernet cable…
trying bootp protocol… OK
Got IP address: 192.168.88.3
resolved mac address 54:E1:AD:B5:AE:52
transfer started … transfer ok, time=3.33s
setting up elf image… OK
jumping to kernel code
[ 2.689509] Internal error: Oops: 17 [#1] SMP ARM
[ 2.694210] CPU: 3 PID: 75 Comm: init Tainted: G W 5.6.3 #2
[ 2.701070] Hardware name: Annapurna Labs Alpine
[ 2.705683] PC is at init_module+0x28/0x1000 [ecnt_eth@0x7f289000]
[ 2.711855] LR is at init_module+0x28/0x1000 [ecnt_eth@0x7f289000]
[ 2.718022] pc : [<7f109028>] lr : [<7f109028>] psr: 60000013
[ 2.724275] sp : bea39e98 ip : 00000000 fp : 00000000
[ 2.729489] r10: 0000017b r9 : bea38000 r8 : 80101204
[ 2.734703] r7 : 8097e3c0 r6 : 00000000 r5 : 00000000 r4 : 00000834
[ 2.741216] r3 : 00000000 r2 : 00000200 r1 : 8099020c r0 : 00000000
[ 2.747731] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 2.754851] Control: 10c5387d Table: 3ea3c06a DAC: 00000051
[ 2.760585] Process init (pid: 75, stack limit = 0x(ptrval))
[ 2.766233] {bea39e9c} 0xffffe000
[ 2.769544] Code: e1a05000 e2844004 f57ff04e eb402237 (e5943000)
[ 2.775645] —[ end trace 2c2567917c4cf524 ]—
[ 2.780254] Kernel panic - not syncing: Fatal exception
sudo ./netinstall-cli -i enp0s31f6 all_packages-arm-7.12rc1.zip
Version: 7.11.2(2023-08-31 14:41:16)
Using Interface: enp0s31f6
Wait for Link-UP on ‘enp0s31f6’… OK
Using Client IP: 192.168.88.3
Using Server IP: 192.168.88.2
Starting PXE server
Waiting for RouterBOARD…
client: C4:AD:34:F8:D0:22
Sending image: arm
sendFile 3469772
Perhaps use the reset button to get it into netinstall mode using the backup bootloader.
And a version of netinstall (or compatible) that looks like a late v6 version.
Since when does netinstall take a zip file full of NPKs instead of a list of unpacked NPKs?
Even if netinstall has an undocumented “unpack zip file and send all contents” feature, why would you want to send all those NPKs instead of picking-and-choosing?
Thanks, I missed that netinstall-cli had different versions. Have attempted with backup bootloader and netinstall-cli version 6:
sudo ./netinstall -a 192.168.88.3 routeros-arm-6.49.10.npk
connect: Network is unreachable
Using server IP: 0.0.0.0
Starting PXE server
Waiting for RouterBOARD...
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
FAILED TO REPLY
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
FAILED TO REPLY
PXE client: C4:AD:34:F8:D0:22
PXE client: C4:AD:34:F8:D0:22
It seems to not work:
AL31400X-140
RouterBOOT backup booter 6.45.8
RB4011iGS+
CPU frequency: 1400 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...
trying bootp protocol... OK
Got IP address: 192.168.88.3
failed to resolve mac address
kernel loading failed
:00000050
AL31400X-140
RouterBOOT booter 7.11.2
RB4011iGS+
CPU frequency: 1400 MHz
Memory size: 1 GiB
NAND size: 512 MiB
Press Ctrl+E to enter etherboot mode
Press any key within 2 seconds to enter setup..
loading kernel... kernel not found or data is corrupted
Please, check ethernet cable...
trying bootp protocol... OK
Got IP address: 192.168.88.3
failed to resolve mac address
kernel loading failed
:00000050
With version 7 and regular bootloader, I seem to get one step further:
sudo ./netinstall-cli -i enp0s31f6 -a 192.168.88.3 routeros-7.11.2-arm.npk
Version: 7.11.2(2023-08-31 14:41:16)
Using Interface: enp0s31f6
Wait for Link-UP on 'enp0s31f6'......... OK
Using Client IP: 192.168.88.3
Using Server IP: 192.168.88.2
Starting PXE server
Waiting for RouterBOARD...
client: C4:AD:34:F8:D0:22
Sending image: arm
sendFile 3469772
client: C4:AD:34:F8:D0:22
Len: 3469772Sending image: arm
sendFile 3469772
client: C4:AD:34:F8:D0:22
Len: 3469772Sending image: arm
sendFile 3469772
client: C4:AD:34:F8:D0:22
But if fails to boot the kernel that was transferred:
AL31400X-140
RouterBOOT booter 7.11.2
RB4011iGS+
CPU frequency: 1400 MHz
Memory size: 1 GiB
NAND size: 512 MiB
Press Ctrl+E to enter etherboot mode
Press any key within 2 seconds to enter setup..
loading kernel... kernel not found or data is corrupted
Please, check ethernet cable...
trying bootp protocol......... OK
Got IP address: 192.168.88.3
resolved mac address 54:E1:AD:B5:AE:52
transfer started .......................... transfer ok, time=3.23s
setting up elf image... OK
jumping to kernel code
[ 2.674297] Internal error: Oops: 17 [#1] SMP ARM
[ 2.678998] CPU: 0 PID: 75 Comm: init Tainted: G W 5.6.3 #2
[ 2.685857] Hardware name: Annapurna Labs Alpine
[ 2.690471] PC is at init_module+0x28/0x1000 [ecnt_eth@0x7f289000]
[ 2.696643] LR is at init_module+0x28/0x1000 [ecnt_eth@0x7f289000]
[ 2.702810] pc : [<7f109028>] lr : [<7f109028>] psr: 60000013
[ 2.709063] sp : bea39e98 ip : 00000000 fp : 00000000
[ 2.714276] r10: 0000017b r9 : bea38000 r8 : 80101204
[ 2.719490] r7 : 8097e3c0 r6 : 00000000 r5 : 00000000 r4 : 00000834
[ 2.726003] r3 : 00000000 r2 : 00000200 r1 : 8099020c r0 : 00000000
[ 2.732517] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 2.739637] Control: 10c5387d Table: 3ea3c06a DAC: 00000051
[ 2.745371] Process init (pid: 75, stack limit = 0x(ptrval))
[ 2.751020] {bea39e9c} 0xffffe000
[ 2.754331] Code: e1a05000 e2844004 f57ff04e eb402237 (e5943000)
[ 2.760436] ---[ end trace d858d8688ac26f98 ]---
[ 2.765045] Kernel panic - not syncing: Fatal exception
[ 2.770265] CPU3: stopping
[ 2.772971] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D W 5.6.3 #2
[ 2.780178] Hardware name: Annapurna Labs Alpine
[ 2.784789] {bf09bf34} _stext+0x97fc/0x4861a8
[ 2.789138] {bf09bf3c} _stext+0x471f60/0x4861a8
[ 2.793661] {bf09bf4c} _stext+0xbf50/0x4861a8
[ 2.798010] {bf09bf64} _stext+0x1ddba4/0x4861a8
[ 2.802532] {bf09bf7c} _stext+0x1acc/0x4861a8
[ 2.806880] Exception stack(0xbf09bf80 to 0xbf09bfc8)
[ 2.811925] bf80: 00000f38 00000000 00000f38 80114440 bf09a000 00000008 80903eac 80903ee8
[ 2.820086] bfa0: 0004406a 412fc0f4 00000000 00000000 00000000 bf09bfd0 80106f80 80106f70
[ 2.828245] bfc0: 60000013 ffffffff
[ 2.831728] {bf09bfcc} _stext+0x6f70/0x4861a8
[ 2.836077] {bf09bfd4} _stext+0x3f240/0x4861a8
[ 2.840514] {bf09bfec} _stext+0x3f4d0/0x4861a8
[ 2.844948] {bf09bff4} 0x10246c
[ 2.848085] CPU2: stopping
[ 2.850791] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D W 5.6.3 #2
[ 2.857998] Hardware name: Annapurna Labs Alpine
[ 2.862608] {bf099f34} _stext+0x97fc/0x4861a8
[ 2.866958] {bf099f3c} _stext+0x471f60/0x4861a8
[ 2.871481] {bf099f4c} _stext+0xbf50/0x4861a8
[ 2.875830] {bf099f64} _stext+0x1ddba4/0x4861a8
[ 2.880352] {bf099f7c} _stext+0x1acc/0x4861a8
[ 2.884700] Exception stack(0xbf099f80 to 0xbf099fc8)
[ 2.889743] 9f80: 00001024 00000000 00001024 80114440 bf098000 00000004 80903eac 80903ee8
[ 2.897905] 9fa0: 0004406a 412fc0f4 00000000 00000000 00000000 bf099fd0 80106f80 80106f70
[ 2.906064] 9fc0: 60000013 ffffffff
[ 2.909547] {bf099fcc} _stext+0x6f70/0x4861a8
[ 2.913896] {bf099fd4} _stext+0x3f240/0x4861a8
[ 2.918332] {bf099fec} _stext+0x3f4d0/0x4861a8
[ 2.922768] {bf099ff4} 0x10246c
[ 2.925904] CPU1: stopping
[ 2.928611] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D W 5.6.3 #2
[ 2.935817] Hardware name: Annapurna Labs Alpine
[ 2.940427] {bf097f34} _stext+0x97fc/0x4861a8
[ 2.944778] {bf097f3c} _stext+0x471f60/0x4861a8
[ 2.949301] {bf097f4c} _stext+0xbf50/0x4861a8
[ 2.953649] {bf097f64} _stext+0x1ddba4/0x4861a8
[ 2.958172] {bf097f7c} _stext+0x1acc/0x4861a8
[ 2.962520] Exception stack(0xbf097f80 to 0xbf097fc8)
[ 2.967564] 7f80: 000013b0 00000000 000013b0 80114440 bf096000 00000002 80903eac 80903ee8
[ 2.975727] 7fa0: 0004406a 412fc0f4 00000000 00000000 00000000 bf097fd0 80106f80 80106f70
[ 2.983887] 7fc0: 60000013 ffffffff
[ 2.987370] {bf097fcc} _stext+0x6f70/0x4861a8
[ 2.991718] {bf097fd4} _stext+0x3f240/0x4861a8
[ 2.996154] {bf097fec} _stext+0x3f4d0/0x4861a8
[ 3.000588] {bf097ff4} 0x10246c
[ 3.003736] Rebooting in 5 seconds..
:00000050
I have seen comments that it will not always work on the first attempt, so I left it running overnight but that didn’t work either. Am I doing something wrong here, or is this 4011 bricked?
Update, version 6 seems to work when using a different network card than Intel, a cheap and awful USB network adapter solved it. And it only works with version 6 of firmware and netinstall, even if the router has a newer bootloader.
The issue is with the vmlinux file that is sent in later versions. I use ISC-DHCP to serve up the image via TFTP. Every image after 7.9.2 fail net-install with “Internal error: Oops: 17 [#1] SMP ARM”. Same on CRS328