Community discussions

MikroTik App
 
mattjhaigh
just joined
Topic Author
Posts: 12
Joined: Sun Aug 14, 2011 9:29 am

Segmentation faults - what?

Sat Jul 07, 2018 11:24 am

I am stuck on my RM3011, and cannot upgrade from the 6.42.1 firmware. Serial console notes 'segmentation faults'

When I upgraded to the firmware, I had to do a netinstall as the router was inoperable after the update. Luckily, with a windows VM, I was able to do the install.

I have tried several times to update the routerboard the normal way, through both Winbox (System > Packages > Update) and also via FTP - but I have not been able to get upgrade to work.

I have a copy of the 6.40 (downgrade) and the latest 6.42.5 .npk stored in the root directory of the router

So I purchased a serial console cable, and I noticed this immediately as the system shutdown.

Stopping services...
WARNING: omitting package routeros-arm-6.40: newer package is already provided
Segmentation faults-arm-6.42.5 [########################################### ]
Restarting system.

Is there any resolution here ?

Router boots normally into 6.42.1 but I cannot get to upgrade - if I use release candidate or current tree - just keeps noting 'segmentation fault'

This is very unusual - and research on the internet, and this forum has no mention of this error - are you able to assist and get my router back up and running with the latest version?

Thank you

Matt
 
pe1chl
Forum Guru
Forum Guru
Posts: 10539
Joined: Mon Jun 08, 2015 12:09 pm

Re: Segmentation faults - what?  [SOLVED]

Sat Jul 07, 2018 12:48 pm

It looks like something has been corrupted.
Proceed as follows:

- make a backup of the router (/system backup save name=)
- make an export of the router (/export file=)
- save these files somewhere outside the router
- download the netinstall tool and put it on some windows machine
- netinstall the router (carefully read the instructions of netinstall)
- restore the backup

When you still have problems, consider resetting to defaults and apply (part of) your export (cut/paste in terminal) to rebuild configuration.