Re: Illegal instrunction while running debootstrap

Michael Krylov <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Indeed it doesn't have CONFIG_MIPS_FPU_EMULATOR enabled in
kernel config.

Thanks!

On Wed, Apr 25, 2018 at 10:51:18PM +0100, James Cowgill wrote:
> Hi,
> 
> On 25/04/18 22:28, Michael Krylov wrote:
> > Hello,
> > 
> > I was trying to debootstrap Debian stretch on a MIPS machine, and 
> > apparently it fails with "Illegal instruction" error.
> > 
> > Would you please tell me what is missing in my proceessor? It's a
> > Mediatek MT7628ANN SoC, here goes cat /proc/cpuinfo output:
> > 
> > root@OpenWrt:/mnt/sda2# cat /proc/cpuinfo 
> > system type		: MediaTek MT7628AN ver:1 eco:2
> > machine			: TP-Link TL-MR3420 v5
> > processor		: 0
> > cpu model		: MIPS 24KEc V5.5
> 
> Does your kernel have FPU emulation enabled? 24KEc does not have an FPU
> so the kernel will need to emulate it. Usually the stock OpenWRT kernels
> are compiled without it and will not run Debian.
> 
> > I was trying both mips and mipsel release, but it seems like mipsel is
> > the correct one (at least ELF architecture ID is the same).  Is it
> > possible to run any Debian release on this machine?
> 
> mipsel should work for you.
> 
> James
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEq9zNqT9shXHTn/gRzNfc0dbmrQAFAlrg/h4ACgkQzNfc0dbm
rQDmnwf+KYHWjcYJVFlg/RPlD1BHObR2yl2Ie9cZGdBGCtTDIGGgjPlMGTCDUE6N
ysjh9fVYvj+BfJasYDqgPHUjHi3MvXDuI163oYGL6qokZ3eL3JSo27L5oQxKSwjL
2yL2qeWirl/ms0PPxZ79EoPByelQO228dUx3bVYO35jI2Kh7LnktvMgfq5dD2q60
ByTvY9KDFM5NxpSRvGQ8lwL4GPWd55EGWOHkN8e8dIoZOCjkET2OuZX8FaUfD30Z
or4X1MrpU80KQ/FlCKBkLm8QgQIhz14+v51fYDziOyX14C+ii1pzGubOEUWpuwhA
OOZMi165sakh5ImI4bmgWqoQR1oSwA==
=owjY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.