[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800112: "Unsupported socketcall: 20" when using apt-get under s390 chroot



Hi David,

Sorry about the late reply. I just got back on testing that utilizes
the Debian QEMU chroot's.

Also note that this might be better assigned to qemu-user static (my
apologies if it was mis-classified):

    $ sudo update-binfmts --display
    ...
      interpreter = /usr/bin/qemu-s390x-static
      ...
      package = qemu-user-static

> It would be nice if you could provide a complete set of steps to
> reproduce this, preferably starting with the setup of the chroot itself.

This is the three second tour from https://wiki.debian.org/QemuUserEmulation.

>From the Host:

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

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

Once the host is configured, then:

    // From host
    $ su -
    # chroot debian-s390x
    // Now in guest
    # apt-get locales
    # dpkg-reconfigure locales
    # apt-get install build-essential subversion git emacs-nox

Finally:

    // From guest
    # apt-get update
    0% [Working]Unsupported socketcall: 20
    0% [Working]Unsupported socketcall: 20
    Hit http://httpredir.debian.org unstable InRelease

Jeff


Reply to: