qemu: uncaught target signal 11 when chroot into mips64el

陈 璇 <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <TYAP286MB0217D73D9C4C98310690776CFF239@TYAP286MB0217.JPNP286.PROD.OUTLOOK.COM>
Greetings.

Recently I need a mips64el chroot. But qemu crashed with "qemu: uncaught target signal 11 (Segmentation fault) - core dumped  Segmentation fault" after I ran "chroot" command.

My host is Debian sid amd64 on VMWare. Here are the commands which I ranned with outputs .

```console
infinity@debian:~$ sudo apt install binfmt-support qemu-user-static mmdebstrap
...balabala...

infinity@debian:~$ sudo mkdir -p /chroots/sid-mips64el

infinity@debian:~$ sudo mmdebstrap --arch=mips64el sid /chroots/sid-mips64el http://ftp.debian.org/debian
I: automatically chosen mode: root
I: mips64el cannot be executed natively, but transparently using qemu-user binfmt emulation
I: automatically chosen format: directory
I: running apt-get update...
done
I: downloading packages with apt...
done
I: extracting archives...
done
I: installing essential packages...
done
I: installing remaining packages inside the chroot...
done
done
I: cleaning package lists and apt cache...
done
done
I: success in 145.9303 seconds

infinity@debian:~$ sudo chroot /chroots/sid-mips64el
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
```

I did not find core files after this seg fault.

This chroot works well with sbuild. I just cannot chroot into it directly.

From,
Sakura286
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.