Bug#799130: s390 chroot fails with "specification exception insn 0xb9860062b904"

2015-09-16 Thread Jeffrey Walton
Package: qemu-system
Version: 1.1.2+dfsg-6a+deb7u9
Severity: important

-

Attempting to install a QEMU s390 emulator for testing on Debian 7:

$ sudo apt-get install qemu binfmt-support qemu-user-static debootstrap
$ su -

# update-binfmts --display | grep s390
  qemu-s390x (enabled):
   interpreter = /usr/bin/qemu-s390x-static

# qemu-debootstrap --arch=s390x --keyring
/usr/share/keyrings/debian-archive-keyring.gpg
  --variant=buildd --exclude=debfoster unstable debian-s390x
http://ftp.debian.org/debian
  ...

  I: Extracting util-linux...
  I: Extracting liblzma5...
  I: Extracting zlib1g...
  I: Running command: chroot debian-s390x /debootstrap/debootstrap
--second-stage
  specification exception insn 0xb9860062b904
  Illegal instruction

  # chroot debian-s390x/
  specification exception insn 0xb9860062b904
  Illegal instruction

-

# uname -a
Linux debian-7-vm 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 GNU/Linux

-

Today is not my day to get a s390 emulator up and running



Bug#799130: s390 chroot fails with "specification exception insn 0xb9860062b904"

2015-09-16 Thread Michael Tokarev
16.09.2015 10:43, Jeffrey Walton wrote:
> On Wed, Sep 16, 2015 at 3:26 AM, Michael Tokarev  wrote:

>> 16.09.2015 09:20, Jeffrey Walton wrote:
>>> Package: qemu-system
>>> Version: 1.1.2+dfsg-6a+deb7u9
>>> Severity: important
>>
>> Again, this is not qemu-system.  Especially since you install 
>> qemu-user-static,
>> not any of qemu-system* packages:
> 
> Sorry about that Micheal. I kinda knew it was coming from Bug 799120.
> 
> When I search for the package, it shows as being part of qemu-system:
> 
> dpkg --search qemu-system-s390x
> qemu-system ...

Ofcourse, because you're searching for qemu-SYSTEM-s390x.  But you're
using /usr/bin/qemu-s390x-static (that's the one which qemu-debootstrap
installs into chroot), and you install qemu-USER-static which provides
that file.

> And when I use `apt-get show`, it lists the team.
> 
> In the future, should I err to qemu-user? (Obviously I don't quite
> understand things, so I'm happy to do what I am told).

Heh.  I read this like "for any bug I encounter in my life, I've been
told to bug qemu-user" :)  No, please don't, use common sense please :)

Thanks,

/mjt



Bug#799130: s390 chroot fails with "specification exception insn 0xb9860062b904"

2015-09-16 Thread Jeffrey Walton
>> In the future, should I err to qemu-user? (Obviously I don't quite
>> understand things, so I'm happy to do what I am told).
>
> Heh.  I read this like "for any bug I encounter in my life, I've been
> told to bug qemu-user" :)  No, please don't, use common sense please :)
>
OK, will do :)

Forgive my ignorance...

Which Debian list should I go to for troubleshooting it further. I'm
going to need a little assistance in getting things tweaked properly,
and I don't think a bug report is the best place for it.

I'm kinda envious you have a working S/390 environment and I don't.
And I need to do some platform specific testing.

Jeff