What's new

Illegal instruction for every entware app/command on RT-AC86U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

diman82

Occasional Visitor
I get 'Illegal instruction' when running any Entware app/command.
Trying to run the setup script generates the same error.
The problem appeared suddenly, and I'm clueless what can be the cause.

Anyone had the same problem before? I'm using the latest Asus Merlin firmware.
 
I get 'Illegal instruction' when running any Entware app/command.
Trying to run the setup script generates the same error.
The problem appeared suddenly, and I'm clueless what can be the cause.

Anyone had the same problem before? I'm using the latest Asus Merlin firmware.
Entware is installed on the USB. Do a system scan on the USD drive. You can do this form the Main Menu by selecting the USB. In the upper right, you will see an option for Health Scanner. Also, try the command opkg update and/or opkg upgrade.
 
Entware is installed on the USB. Do a system scan on the USD drive. You can do this form the Main Menu by selecting the USB. In the upper right, you will see an option for Health Scanner. Also, try the command opkg update and/or opkg upgrade.

opkg update/upgrade yields the same error, as fdisk command.

Code:
diman82@RT-AC86U:/tmp/home/root# opkg update
Illegal instruction
diman82@RT-AC86U:/tmp/home/root# blkid
/dev/sda3: LABEL="downloads" UUID="01D4358BEFA4ACA0"
/dev/sda2: LABEL="entware" UUID="a56f2e77-6519-d401-a047-2e776519d401"
diman82@RT-AC86U:/tmp/home/root# fs
fsck        fsck.ext2   fsck.ext3   fsck.ext4   fsck.minix  fsck_hfs    fsync
diman82@RT-AC86U:/tmp/home/root# fsck /dev/sda2
fsck (busybox 1.25.1, 2018-10-07 12:44:23 EDT)
fsck: fsck.auto: No such file or directory
diman82@RT-AC86U:/tmp/home/root# fdisk
Illegal instruction
diman82@RT-AC86U:/tmp/home/root#
 
opkg update/upgrade yields the same error, as fdisk command.

Code:
diman82@RT-AC86U:/tmp/home/root# opkg update
Illegal instruction
diman82@RT-AC86U:/tmp/home/root# blkid
/dev/sda3: LABEL="downloads" UUID="01D4358BEFA4ACA0"
/dev/sda2: LABEL="entware" UUID="a56f2e77-6519-d401-a047-2e776519d401"
diman82@RT-AC86U:/tmp/home/root# fs
fsck        fsck.ext2   fsck.ext3   fsck.ext4   fsck.minix  fsck_hfs    fsync
diman82@RT-AC86U:/tmp/home/root# fsck /dev/sda2
fsck (busybox 1.25.1, 2018-10-07 12:44:23 EDT)
fsck: fsck.auto: No such file or directory
diman82@RT-AC86U:/tmp/home/root# fdisk
Illegal instruction
diman82@RT-AC86U:/tmp/home/root#
Looks like an issue with the USB. Run the Health Scanner on the USB.
 
If the USB is USB3 and the router is set to USB3, switch the router to USB2.
 
Interestingly, it has already been selected on 'USB2.0' port. Changed it to USB3.0, but it didn't change a thing..
Tried to run entware-setup.sh and this is the output:

Code:
 =>  Do you wish to install the 64bit version? (y/n) y
 Info:  Installing the 64bit version.

 Info:  Looking for available partitions...
Illegal instruction
 *** Error:  No ext2|ext3|ext4 partitions available. Exiting...
 
My guess is you installed somehow entware for another cpu arch, try to remove entware folder from usb or formatt the drive, reboot router and try to install again.
I didn't specify router model and firmware version.
 
My guess is you installed somehow entware for another cpu arch, try to remove entware folder from usb or formatt the drive, reboot router and try to install again.
I didn't specify router model and firmware version.
Complete partition format, and reinstall WORKED!!
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top