qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0
@ 2019-06-28  9:15 DDoSolitary
  2019-06-28 16:04 ` Laurent Vivier
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: DDoSolitary @ 2019-06-28  9:15 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.

Steps to reproduce:

curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"

The init script will automatically download and install an in-memory
Alpine Linux environment. However, with QEMU 4.0, the installation
process will fail with "BAD signature" errors:

(1/20) Installing musl (1.1.22-r2)
ERROR: musl-1.1.22-r2: BAD signature
(2/20) Installing busybox (1.30.1-r2)
ERROR: busybox-1.30.1-r2: BAD signature
(3/20) Installing alpine-baselayout (3.1.2-r0)
Executing alpine-baselayout-3.1.2-r0.pre-install
ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
ERROR: alpine-baselayout-3.1.2-r0: BAD signature
(4/20) Installing openrc (0.41.2-r1)
ERROR: openrc-0.41.2-r1: BAD signature
(5/20) Installing alpine-conf (3.8.3-r0)
ERROR: alpine-conf-3.8.3-r0: BAD signature
(6/20) Installing libcrypto1.1 (1.1.1c-r0)
ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
(7/20) Installing libssl1.1 (1.1.1c-r0)
ERROR: libssl1.1-1.1.1c-r0: BAD signature
(8/20) Installing ca-certificates-cacert (20190108-r0)
ERROR: ca-certificates-cacert-20190108-r0: BAD signature
(9/20) Installing libtls-standalone (2.9.1-r0)
ERROR: libtls-standalone-2.9.1-r0: BAD signature
(10/20) Installing ssl_client (1.30.1-r2)
ERROR: ssl_client-1.30.1-r2: BAD signature
(11/20) Installing zlib (1.2.11-r1)
ERROR: zlib-1.2.11-r1: BAD signature
(12/20) Installing apk-tools (2.10.4-r1)
ERROR: apk-tools-2.10.4-r1: BAD signature
(13/20) Installing busybox-suid (1.30.1-r2)
ERROR: busybox-suid-1.30.1-r2: BAD signature
(14/20) Installing busybox-initscripts (3.1-r7)
ERROR: busybox-initscripts-3.1-r7: BAD signature
(15/20) Installing scanelf (1.2.3-r0)
ERROR: scanelf-1.2.3-r0: BAD signature
(16/20) Installing musl-utils (1.1.22-r2)
ERROR: musl-utils-1.1.22-r2: BAD signature
(17/20) Installing libc-utils (0.7.1-r0)
ERROR: libc-utils-0.7.1-r0: BAD signature
(18/20) Installing alpine-keys (2.1-r2)
ERROR: alpine-keys-2.1-r2: BAD signature
(19/20) Installing alpine-base (3.10.0-r0)
ERROR: alpine-base-3.10.0-r0: BAD signature
(20/20) Installing openssl (1.1.1c-r0)
ERROR: openssl-1.1.1c-r0: BAD signature
20 errors; 0 MiB in 0 packages
ok.
grep: /sysroot/etc/inittab: No such file or directory
/sbin/init not found in new root. Launching emergency recovery shell
Type exit to continue boot.
sh: can't access tty; job control turned off
/ #

If I boot up a disk image created by a previous version of QEMU, crypto
related operations like verifying a RSA signature using the "openssl"
command will also fail.

I didn't see these errors on previous QEMU versions or other
architectures on QEMU 4.0

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: ppc

** Description changed:

  I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.
  
  Steps to reproduce:
  
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
  qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"
  
  The init script will automatically download and install an in-memory
  Alpine Linux environment. However, with QEMU 4.0, the installation
- process will fail with "BAD SIGNATURE" errors:
+ process will fail with "BAD signature" errors:
  
  
-  * Installing packages to root filesystem: fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/ppc64le/APKINDEX.tar.gz
  (1/20) Installing musl (1.1.22-r2)
- ERROR: musl-1.1.22-r2: BAD signature                                                                                    (2/20) Installing busybox (1.30.1-r2)
- ERROR: busybox-1.30.1-r2: BAD signature                                                                                 (3/20) Installing alpine-baselayout (3.1.2-r0)
- Executing alpine-baselayout-3.1.2-r0.pre-install                                                                        ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
- ERROR: alpine-baselayout-3.1.2-r0: BAD signature                                                                        (4/20) Installing openrc (0.41.2-r1)
- ERROR: openrc-0.41.2-r1: BAD signature                                                                                  (5/20) Installing alpine-conf (3.8.3-r0)
- ERROR: alpine-conf-3.8.3-r0: BAD signature                                                                              (6/20) Installing libcrypto1.1 (1.1.1c-r0)
- ERROR: libcrypto1.1-1.1.1c-r0: BAD signature                                                                            (7/20) Installing libssl1.1 (1.1.1c-r0)
- ERROR: libssl1.1-1.1.1c-r0: BAD signature                                                                               (8/20) Installing ca-certificates-cacert (20190108-r0)
- ERROR: ca-certificates-cacert-20190108-r0: BAD signature                                                                (9/20) Installing libtls-standalone (2.9.1-r0)
- ERROR: libtls-standalone-2.9.1-r0: BAD signature                                                                        (10/20) Installing ssl_client (1.30.1-r2)
- ERROR: ssl_client-1.30.1-r2: BAD signature                                                                              (11/20) Installing zlib (1.2.11-r1)
- ERROR: zlib-1.2.11-r1: BAD signature                                                                                    (12/20) Installing apk-tools (2.10.4-r1)
- ERROR: apk-tools-2.10.4-r1: BAD signature                                                                               (13/20) Installing busybox-suid (1.30.1-r2)
- ERROR: busybox-suid-1.30.1-r2: BAD signature                                                                            (14/20) Installing busybox-initscripts (3.1-r7)
- ERROR: busybox-initscripts-3.1-r7: BAD signature                                                                        (15/20) Installing scanelf (1.2.3-r0)
- ERROR: scanelf-1.2.3-r0: BAD signature                                                                                  (16/20) Installing musl-utils (1.1.22-r2)
- ERROR: musl-utils-1.1.22-r2: BAD signature                                                                              (17/20) Installing libc-utils (0.7.1-r0)
- ERROR: libc-utils-0.7.1-r0: BAD signature                                                                               (18/20) Installing alpine-keys (2.1-r2)
- ERROR: alpine-keys-2.1-r2: BAD signature                                                                                (19/20) Installing alpine-base (3.10.0-r0)
- ERROR: alpine-base-3.10.0-r0: BAD signature                                                                             (20/20) Installing openssl (1.1.1c-r0)
- ERROR: openssl-1.1.1c-r0: BAD signature                                                                                 20 errors; 0 MiB in 0 packages
+ ERROR: musl-1.1.22-r2: BAD signature
+ (2/20) Installing busybox (1.30.1-r2)
+ ERROR: busybox-1.30.1-r2: BAD signature
+ (3/20) Installing alpine-baselayout (3.1.2-r0)
+ Executing alpine-baselayout-3.1.2-r0.pre-install
+ ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
+ ERROR: alpine-baselayout-3.1.2-r0: BAD signature
+ (4/20) Installing openrc (0.41.2-r1)
+ ERROR: openrc-0.41.2-r1: BAD signature
+ (5/20) Installing alpine-conf (3.8.3-r0)
+ ERROR: alpine-conf-3.8.3-r0: BAD signature
+ (6/20) Installing libcrypto1.1 (1.1.1c-r0)
+ ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
+ (7/20) Installing libssl1.1 (1.1.1c-r0)
+ ERROR: libssl1.1-1.1.1c-r0: BAD signature
+ (8/20) Installing ca-certificates-cacert (20190108-r0)
+ ERROR: ca-certificates-cacert-20190108-r0: BAD signature
+ (9/20) Installing libtls-standalone (2.9.1-r0)
+ ERROR: libtls-standalone-2.9.1-r0: BAD signature
+ (10/20) Installing ssl_client (1.30.1-r2)
+ ERROR: ssl_client-1.30.1-r2: BAD signature
+ (11/20) Installing zlib (1.2.11-r1)
+ ERROR: zlib-1.2.11-r1: BAD signature
+ (12/20) Installing apk-tools (2.10.4-r1)
+ ERROR: apk-tools-2.10.4-r1: BAD signature
+ (13/20) Installing busybox-suid (1.30.1-r2)
+ ERROR: busybox-suid-1.30.1-r2: BAD signature
+ (14/20) Installing busybox-initscripts (3.1-r7)
+ ERROR: busybox-initscripts-3.1-r7: BAD signature
+ (15/20) Installing scanelf (1.2.3-r0)
+ ERROR: scanelf-1.2.3-r0: BAD signature
+ (16/20) Installing musl-utils (1.1.22-r2)
+ ERROR: musl-utils-1.1.22-r2: BAD signature
+ (17/20) Installing libc-utils (0.7.1-r0)
+ ERROR: libc-utils-0.7.1-r0: BAD signature
+ (18/20) Installing alpine-keys (2.1-r2)
+ ERROR: alpine-keys-2.1-r2: BAD signature
+ (19/20) Installing alpine-base (3.10.0-r0)
+ ERROR: alpine-base-3.10.0-r0: BAD signature
+ (20/20) Installing openssl (1.1.1c-r0)
+ ERROR: openssl-1.1.1c-r0: BAD signature
+ 20 errors; 0 MiB in 0 packages
  ok.
  grep: /sysroot/etc/inittab: No such file or directory
  /sbin/init not found in new root. Launching emergency recovery shell
  Type exit to continue boot.
  sh: can't access tty; job control turned off
  / #
  
  
- If I boot up a disk image created by a previous version QEMU, crypto related operations like verifying a RSA signature using the "openssl" command will also fail.
+ If I boot up a disk image created by a previous version QEMU, crypto
+ related operations like verifying a RSA signature using the "openssl"
+ command will also fail.
  
  I didn't see these errors on previous QEMU versions or other
  architectures on QEMU 4.0

** Description changed:

  I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.
  
  Steps to reproduce:
  
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
  qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"
  
  The init script will automatically download and install an in-memory
  Alpine Linux environment. However, with QEMU 4.0, the installation
  process will fail with "BAD signature" errors:
- 
  
  (1/20) Installing musl (1.1.22-r2)
  ERROR: musl-1.1.22-r2: BAD signature
  (2/20) Installing busybox (1.30.1-r2)
  ERROR: busybox-1.30.1-r2: BAD signature
  (3/20) Installing alpine-baselayout (3.1.2-r0)
  Executing alpine-baselayout-3.1.2-r0.pre-install
  ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
  ERROR: alpine-baselayout-3.1.2-r0: BAD signature
  (4/20) Installing openrc (0.41.2-r1)
  ERROR: openrc-0.41.2-r1: BAD signature
  (5/20) Installing alpine-conf (3.8.3-r0)
  ERROR: alpine-conf-3.8.3-r0: BAD signature
  (6/20) Installing libcrypto1.1 (1.1.1c-r0)
  ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
  (7/20) Installing libssl1.1 (1.1.1c-r0)
  ERROR: libssl1.1-1.1.1c-r0: BAD signature
  (8/20) Installing ca-certificates-cacert (20190108-r0)
  ERROR: ca-certificates-cacert-20190108-r0: BAD signature
  (9/20) Installing libtls-standalone (2.9.1-r0)
  ERROR: libtls-standalone-2.9.1-r0: BAD signature
  (10/20) Installing ssl_client (1.30.1-r2)
  ERROR: ssl_client-1.30.1-r2: BAD signature
  (11/20) Installing zlib (1.2.11-r1)
  ERROR: zlib-1.2.11-r1: BAD signature
  (12/20) Installing apk-tools (2.10.4-r1)
  ERROR: apk-tools-2.10.4-r1: BAD signature
  (13/20) Installing busybox-suid (1.30.1-r2)
  ERROR: busybox-suid-1.30.1-r2: BAD signature
  (14/20) Installing busybox-initscripts (3.1-r7)
  ERROR: busybox-initscripts-3.1-r7: BAD signature
  (15/20) Installing scanelf (1.2.3-r0)
  ERROR: scanelf-1.2.3-r0: BAD signature
  (16/20) Installing musl-utils (1.1.22-r2)
  ERROR: musl-utils-1.1.22-r2: BAD signature
  (17/20) Installing libc-utils (0.7.1-r0)
  ERROR: libc-utils-0.7.1-r0: BAD signature
  (18/20) Installing alpine-keys (2.1-r2)
  ERROR: alpine-keys-2.1-r2: BAD signature
  (19/20) Installing alpine-base (3.10.0-r0)
  ERROR: alpine-base-3.10.0-r0: BAD signature
  (20/20) Installing openssl (1.1.1c-r0)
  ERROR: openssl-1.1.1c-r0: BAD signature
  20 errors; 0 MiB in 0 packages
  ok.
  grep: /sysroot/etc/inittab: No such file or directory
  /sbin/init not found in new root. Launching emergency recovery shell
  Type exit to continue boot.
  sh: can't access tty; job control turned off
  / #
  
- 
- If I boot up a disk image created by a previous version QEMU, crypto
+ If I boot up a disk image created by a previous version of QEMU, crypto
  related operations like verifying a RSA signature using the "openssl"
  command will also fail.
  
  I didn't see these errors on previous QEMU versions or other
  architectures on QEMU 4.0

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1834613

Title:
  Crypto related operations failing on Alpine Linux on QEMU 4.0

Status in QEMU:
  New

Bug description:
  I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.

  Steps to reproduce:

  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
  qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"

  The init script will automatically download and install an in-memory
  Alpine Linux environment. However, with QEMU 4.0, the installation
  process will fail with "BAD signature" errors:

  (1/20) Installing musl (1.1.22-r2)
  ERROR: musl-1.1.22-r2: BAD signature
  (2/20) Installing busybox (1.30.1-r2)
  ERROR: busybox-1.30.1-r2: BAD signature
  (3/20) Installing alpine-baselayout (3.1.2-r0)
  Executing alpine-baselayout-3.1.2-r0.pre-install
  ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
  ERROR: alpine-baselayout-3.1.2-r0: BAD signature
  (4/20) Installing openrc (0.41.2-r1)
  ERROR: openrc-0.41.2-r1: BAD signature
  (5/20) Installing alpine-conf (3.8.3-r0)
  ERROR: alpine-conf-3.8.3-r0: BAD signature
  (6/20) Installing libcrypto1.1 (1.1.1c-r0)
  ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
  (7/20) Installing libssl1.1 (1.1.1c-r0)
  ERROR: libssl1.1-1.1.1c-r0: BAD signature
  (8/20) Installing ca-certificates-cacert (20190108-r0)
  ERROR: ca-certificates-cacert-20190108-r0: BAD signature
  (9/20) Installing libtls-standalone (2.9.1-r0)
  ERROR: libtls-standalone-2.9.1-r0: BAD signature
  (10/20) Installing ssl_client (1.30.1-r2)
  ERROR: ssl_client-1.30.1-r2: BAD signature
  (11/20) Installing zlib (1.2.11-r1)
  ERROR: zlib-1.2.11-r1: BAD signature
  (12/20) Installing apk-tools (2.10.4-r1)
  ERROR: apk-tools-2.10.4-r1: BAD signature
  (13/20) Installing busybox-suid (1.30.1-r2)
  ERROR: busybox-suid-1.30.1-r2: BAD signature
  (14/20) Installing busybox-initscripts (3.1-r7)
  ERROR: busybox-initscripts-3.1-r7: BAD signature
  (15/20) Installing scanelf (1.2.3-r0)
  ERROR: scanelf-1.2.3-r0: BAD signature
  (16/20) Installing musl-utils (1.1.22-r2)
  ERROR: musl-utils-1.1.22-r2: BAD signature
  (17/20) Installing libc-utils (0.7.1-r0)
  ERROR: libc-utils-0.7.1-r0: BAD signature
  (18/20) Installing alpine-keys (2.1-r2)
  ERROR: alpine-keys-2.1-r2: BAD signature
  (19/20) Installing alpine-base (3.10.0-r0)
  ERROR: alpine-base-3.10.0-r0: BAD signature
  (20/20) Installing openssl (1.1.1c-r0)
  ERROR: openssl-1.1.1c-r0: BAD signature
  20 errors; 0 MiB in 0 packages
  ok.
  grep: /sysroot/etc/inittab: No such file or directory
  /sbin/init not found in new root. Launching emergency recovery shell
  Type exit to continue boot.
  sh: can't access tty; job control turned off
  / #

  If I boot up a disk image created by a previous version of QEMU,
  crypto related operations like verifying a RSA signature using the
  "openssl" command will also fail.

  I didn't see these errors on previous QEMU versions or other
  architectures on QEMU 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1834613/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0
  2019-06-28  9:15 [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0 DDoSolitary
@ 2019-06-28 16:04 ` Laurent Vivier
  2019-07-01 20:09 ` [Qemu-devel] [Bug 1834613] " Laurent Vivier
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Laurent Vivier @ 2019-06-28 16:04 UTC (permalink / raw)
  To: Bug 1834613, qemu-devel

On 28/06/2019 11:15, DDoSolitary wrote:
> Public bug reported:
> 
> I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.
> 
> Steps to reproduce:
> 
> curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
> curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
> qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"
> 
> The init script will automatically download and install an in-memory
> Alpine Linux environment. However, with QEMU 4.0, the installation
> process will fail with "BAD signature" errors:
> 
> (1/20) Installing musl (1.1.22-r2)
> ERROR: musl-1.1.22-r2: BAD signature
> (2/20) Installing busybox (1.30.1-r2)
> ERROR: busybox-1.30.1-r2: BAD signature
> (3/20) Installing alpine-baselayout (3.1.2-r0)
> Executing alpine-baselayout-3.1.2-r0.pre-install
> ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
> ERROR: alpine-baselayout-3.1.2-r0: BAD signature
> (4/20) Installing openrc (0.41.2-r1)
> ERROR: openrc-0.41.2-r1: BAD signature
> (5/20) Installing alpine-conf (3.8.3-r0)
> ERROR: alpine-conf-3.8.3-r0: BAD signature
> (6/20) Installing libcrypto1.1 (1.1.1c-r0)
> ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
> (7/20) Installing libssl1.1 (1.1.1c-r0)
> ERROR: libssl1.1-1.1.1c-r0: BAD signature
> (8/20) Installing ca-certificates-cacert (20190108-r0)
> ERROR: ca-certificates-cacert-20190108-r0: BAD signature
> (9/20) Installing libtls-standalone (2.9.1-r0)
> ERROR: libtls-standalone-2.9.1-r0: BAD signature
> (10/20) Installing ssl_client (1.30.1-r2)
> ERROR: ssl_client-1.30.1-r2: BAD signature
> (11/20) Installing zlib (1.2.11-r1)
> ERROR: zlib-1.2.11-r1: BAD signature
> (12/20) Installing apk-tools (2.10.4-r1)
> ERROR: apk-tools-2.10.4-r1: BAD signature
> (13/20) Installing busybox-suid (1.30.1-r2)
> ERROR: busybox-suid-1.30.1-r2: BAD signature
> (14/20) Installing busybox-initscripts (3.1-r7)
> ERROR: busybox-initscripts-3.1-r7: BAD signature
> (15/20) Installing scanelf (1.2.3-r0)
> ERROR: scanelf-1.2.3-r0: BAD signature
> (16/20) Installing musl-utils (1.1.22-r2)
> ERROR: musl-utils-1.1.22-r2: BAD signature
> (17/20) Installing libc-utils (0.7.1-r0)
> ERROR: libc-utils-0.7.1-r0: BAD signature
> (18/20) Installing alpine-keys (2.1-r2)
> ERROR: alpine-keys-2.1-r2: BAD signature
> (19/20) Installing alpine-base (3.10.0-r0)
> ERROR: alpine-base-3.10.0-r0: BAD signature
> (20/20) Installing openssl (1.1.1c-r0)
> ERROR: openssl-1.1.1c-r0: BAD signature
> 20 errors; 0 MiB in 0 packages
> ok.
> grep: /sysroot/etc/inittab: No such file or directory
> /sbin/init not found in new root. Launching emergency recovery shell
> Type exit to continue boot.
> sh: can't access tty; job control turned off
> / #
> 

Fix for that is already included in git master:

2a1224359008 target/ppc: Fix lxvw4x, lxvh8x and lxvb16x

More fix for
8b3b2d75c7c0 ("introduce get_cpu_vsr{l,h}() and set_cpu_vsr{l,h}() helpers for VSR register access") 
are availabe:

77bd8937c03d target/ppc: Fix xvabs[sd]p, xvnabs[sd]p, xvneg[sd]p, xvcpsgn[sd]p
d47a751adab7 target/ppc: Fix xxbrq, xxbrw

And you can also need:

899f08ad1d12 tcg: Fix typos in helper_gvec_sar{8,32,64}v

depending on you host CPU

Thanks,
Laurent


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1834613] Re: Crypto related operations failing on Alpine Linux on QEMU 4.0
  2019-06-28  9:15 [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0 DDoSolitary
  2019-06-28 16:04 ` Laurent Vivier
@ 2019-07-01 20:09 ` Laurent Vivier
  2019-07-03  9:36 ` DDoSolitary
  2019-08-16  5:15 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Laurent Vivier @ 2019-07-01 20:09 UTC (permalink / raw)
  To: qemu-devel

Fix for that is already included in git master:

2a1224359008 target/ppc: Fix lxvw4x, lxvh8x and lxvb16x

More fix for
8b3b2d75c7c0 ("introduce get_cpu_vsr{l,h}() and set_cpu_vsr{l,h}() helpers for VSR register access") 
are availabe:

77bd8937c03d target/ppc: Fix xvabs[sd]p, xvnabs[sd]p, xvneg[sd]p, xvcpsgn[sd]p
d47a751adab7 target/ppc: Fix xxbrq, xxbrw

And you can also need:

899f08ad1d12 tcg: Fix typos in helper_gvec_sar{8,32,64}v

depending on you host CPU

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1834613

Title:
  Crypto related operations failing on Alpine Linux on QEMU 4.0

Status in QEMU:
  New

Bug description:
  I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.

  Steps to reproduce:

  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
  qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"

  The init script will automatically download and install an in-memory
  Alpine Linux environment. However, with QEMU 4.0, the installation
  process will fail with "BAD signature" errors:

  (1/20) Installing musl (1.1.22-r2)
  ERROR: musl-1.1.22-r2: BAD signature
  (2/20) Installing busybox (1.30.1-r2)
  ERROR: busybox-1.30.1-r2: BAD signature
  (3/20) Installing alpine-baselayout (3.1.2-r0)
  Executing alpine-baselayout-3.1.2-r0.pre-install
  ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
  ERROR: alpine-baselayout-3.1.2-r0: BAD signature
  (4/20) Installing openrc (0.41.2-r1)
  ERROR: openrc-0.41.2-r1: BAD signature
  (5/20) Installing alpine-conf (3.8.3-r0)
  ERROR: alpine-conf-3.8.3-r0: BAD signature
  (6/20) Installing libcrypto1.1 (1.1.1c-r0)
  ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
  (7/20) Installing libssl1.1 (1.1.1c-r0)
  ERROR: libssl1.1-1.1.1c-r0: BAD signature
  (8/20) Installing ca-certificates-cacert (20190108-r0)
  ERROR: ca-certificates-cacert-20190108-r0: BAD signature
  (9/20) Installing libtls-standalone (2.9.1-r0)
  ERROR: libtls-standalone-2.9.1-r0: BAD signature
  (10/20) Installing ssl_client (1.30.1-r2)
  ERROR: ssl_client-1.30.1-r2: BAD signature
  (11/20) Installing zlib (1.2.11-r1)
  ERROR: zlib-1.2.11-r1: BAD signature
  (12/20) Installing apk-tools (2.10.4-r1)
  ERROR: apk-tools-2.10.4-r1: BAD signature
  (13/20) Installing busybox-suid (1.30.1-r2)
  ERROR: busybox-suid-1.30.1-r2: BAD signature
  (14/20) Installing busybox-initscripts (3.1-r7)
  ERROR: busybox-initscripts-3.1-r7: BAD signature
  (15/20) Installing scanelf (1.2.3-r0)
  ERROR: scanelf-1.2.3-r0: BAD signature
  (16/20) Installing musl-utils (1.1.22-r2)
  ERROR: musl-utils-1.1.22-r2: BAD signature
  (17/20) Installing libc-utils (0.7.1-r0)
  ERROR: libc-utils-0.7.1-r0: BAD signature
  (18/20) Installing alpine-keys (2.1-r2)
  ERROR: alpine-keys-2.1-r2: BAD signature
  (19/20) Installing alpine-base (3.10.0-r0)
  ERROR: alpine-base-3.10.0-r0: BAD signature
  (20/20) Installing openssl (1.1.1c-r0)
  ERROR: openssl-1.1.1c-r0: BAD signature
  20 errors; 0 MiB in 0 packages
  ok.
  grep: /sysroot/etc/inittab: No such file or directory
  /sbin/init not found in new root. Launching emergency recovery shell
  Type exit to continue boot.
  sh: can't access tty; job control turned off
  / #

  If I boot up a disk image created by a previous version of QEMU,
  crypto related operations like verifying a RSA signature using the
  "openssl" command will also fail.

  I didn't see these errors on previous QEMU versions or other
  architectures on QEMU 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1834613/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1834613] Re: Crypto related operations failing on Alpine Linux on QEMU 4.0
  2019-06-28  9:15 [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0 DDoSolitary
  2019-06-28 16:04 ` Laurent Vivier
  2019-07-01 20:09 ` [Qemu-devel] [Bug 1834613] " Laurent Vivier
@ 2019-07-03  9:36 ` DDoSolitary
  2019-08-16  5:15 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: DDoSolitary @ 2019-07-03  9:36 UTC (permalink / raw)
  To: qemu-devel

@laurent-vivier I just tested the binary built from git master and the
error went away. Thanks.

** Changed in: qemu
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1834613

Title:
  Crypto related operations failing on Alpine Linux on QEMU 4.0

Status in QEMU:
  Fix Committed

Bug description:
  I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.

  Steps to reproduce:

  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
  qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"

  The init script will automatically download and install an in-memory
  Alpine Linux environment. However, with QEMU 4.0, the installation
  process will fail with "BAD signature" errors:

  (1/20) Installing musl (1.1.22-r2)
  ERROR: musl-1.1.22-r2: BAD signature
  (2/20) Installing busybox (1.30.1-r2)
  ERROR: busybox-1.30.1-r2: BAD signature
  (3/20) Installing alpine-baselayout (3.1.2-r0)
  Executing alpine-baselayout-3.1.2-r0.pre-install
  ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
  ERROR: alpine-baselayout-3.1.2-r0: BAD signature
  (4/20) Installing openrc (0.41.2-r1)
  ERROR: openrc-0.41.2-r1: BAD signature
  (5/20) Installing alpine-conf (3.8.3-r0)
  ERROR: alpine-conf-3.8.3-r0: BAD signature
  (6/20) Installing libcrypto1.1 (1.1.1c-r0)
  ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
  (7/20) Installing libssl1.1 (1.1.1c-r0)
  ERROR: libssl1.1-1.1.1c-r0: BAD signature
  (8/20) Installing ca-certificates-cacert (20190108-r0)
  ERROR: ca-certificates-cacert-20190108-r0: BAD signature
  (9/20) Installing libtls-standalone (2.9.1-r0)
  ERROR: libtls-standalone-2.9.1-r0: BAD signature
  (10/20) Installing ssl_client (1.30.1-r2)
  ERROR: ssl_client-1.30.1-r2: BAD signature
  (11/20) Installing zlib (1.2.11-r1)
  ERROR: zlib-1.2.11-r1: BAD signature
  (12/20) Installing apk-tools (2.10.4-r1)
  ERROR: apk-tools-2.10.4-r1: BAD signature
  (13/20) Installing busybox-suid (1.30.1-r2)
  ERROR: busybox-suid-1.30.1-r2: BAD signature
  (14/20) Installing busybox-initscripts (3.1-r7)
  ERROR: busybox-initscripts-3.1-r7: BAD signature
  (15/20) Installing scanelf (1.2.3-r0)
  ERROR: scanelf-1.2.3-r0: BAD signature
  (16/20) Installing musl-utils (1.1.22-r2)
  ERROR: musl-utils-1.1.22-r2: BAD signature
  (17/20) Installing libc-utils (0.7.1-r0)
  ERROR: libc-utils-0.7.1-r0: BAD signature
  (18/20) Installing alpine-keys (2.1-r2)
  ERROR: alpine-keys-2.1-r2: BAD signature
  (19/20) Installing alpine-base (3.10.0-r0)
  ERROR: alpine-base-3.10.0-r0: BAD signature
  (20/20) Installing openssl (1.1.1c-r0)
  ERROR: openssl-1.1.1c-r0: BAD signature
  20 errors; 0 MiB in 0 packages
  ok.
  grep: /sysroot/etc/inittab: No such file or directory
  /sbin/init not found in new root. Launching emergency recovery shell
  Type exit to continue boot.
  sh: can't access tty; job control turned off
  / #

  If I boot up a disk image created by a previous version of QEMU,
  crypto related operations like verifying a RSA signature using the
  "openssl" command will also fail.

  I didn't see these errors on previous QEMU versions or other
  architectures on QEMU 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1834613/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1834613] Re: Crypto related operations failing on Alpine Linux on QEMU 4.0
  2019-06-28  9:15 [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0 DDoSolitary
                   ` (2 preceding siblings ...)
  2019-07-03  9:36 ` DDoSolitary
@ 2019-08-16  5:15 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2019-08-16  5:15 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1834613

Title:
  Crypto related operations failing on Alpine Linux on QEMU 4.0

Status in QEMU:
  Fix Released

Bug description:
  I'm unable to boot the netboot image of Alpine Linux using QEMU 4.0.

  Steps to reproduce:

  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/vmlinuz-vanilla
  curl -O http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/ppc64le/netboot/initramfs-vanilla
  qemu-system-ppc64 -kernel vmlinuz-vanilla -initrd initramfs-vanilla -nographic -append "console=hvc0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/v3.10/main"

  The init script will automatically download and install an in-memory
  Alpine Linux environment. However, with QEMU 4.0, the installation
  process will fail with "BAD signature" errors:

  (1/20) Installing musl (1.1.22-r2)
  ERROR: musl-1.1.22-r2: BAD signature
  (2/20) Installing busybox (1.30.1-r2)
  ERROR: busybox-1.30.1-r2: BAD signature
  (3/20) Installing alpine-baselayout (3.1.2-r0)
  Executing alpine-baselayout-3.1.2-r0.pre-install
  ERROR: alpine-baselayout-3.1.2-r0.pre-install: script exited with error 127
  ERROR: alpine-baselayout-3.1.2-r0: BAD signature
  (4/20) Installing openrc (0.41.2-r1)
  ERROR: openrc-0.41.2-r1: BAD signature
  (5/20) Installing alpine-conf (3.8.3-r0)
  ERROR: alpine-conf-3.8.3-r0: BAD signature
  (6/20) Installing libcrypto1.1 (1.1.1c-r0)
  ERROR: libcrypto1.1-1.1.1c-r0: BAD signature
  (7/20) Installing libssl1.1 (1.1.1c-r0)
  ERROR: libssl1.1-1.1.1c-r0: BAD signature
  (8/20) Installing ca-certificates-cacert (20190108-r0)
  ERROR: ca-certificates-cacert-20190108-r0: BAD signature
  (9/20) Installing libtls-standalone (2.9.1-r0)
  ERROR: libtls-standalone-2.9.1-r0: BAD signature
  (10/20) Installing ssl_client (1.30.1-r2)
  ERROR: ssl_client-1.30.1-r2: BAD signature
  (11/20) Installing zlib (1.2.11-r1)
  ERROR: zlib-1.2.11-r1: BAD signature
  (12/20) Installing apk-tools (2.10.4-r1)
  ERROR: apk-tools-2.10.4-r1: BAD signature
  (13/20) Installing busybox-suid (1.30.1-r2)
  ERROR: busybox-suid-1.30.1-r2: BAD signature
  (14/20) Installing busybox-initscripts (3.1-r7)
  ERROR: busybox-initscripts-3.1-r7: BAD signature
  (15/20) Installing scanelf (1.2.3-r0)
  ERROR: scanelf-1.2.3-r0: BAD signature
  (16/20) Installing musl-utils (1.1.22-r2)
  ERROR: musl-utils-1.1.22-r2: BAD signature
  (17/20) Installing libc-utils (0.7.1-r0)
  ERROR: libc-utils-0.7.1-r0: BAD signature
  (18/20) Installing alpine-keys (2.1-r2)
  ERROR: alpine-keys-2.1-r2: BAD signature
  (19/20) Installing alpine-base (3.10.0-r0)
  ERROR: alpine-base-3.10.0-r0: BAD signature
  (20/20) Installing openssl (1.1.1c-r0)
  ERROR: openssl-1.1.1c-r0: BAD signature
  20 errors; 0 MiB in 0 packages
  ok.
  grep: /sysroot/etc/inittab: No such file or directory
  /sbin/init not found in new root. Launching emergency recovery shell
  Type exit to continue boot.
  sh: can't access tty; job control turned off
  / #

  If I boot up a disk image created by a previous version of QEMU,
  crypto related operations like verifying a RSA signature using the
  "openssl" command will also fail.

  I didn't see these errors on previous QEMU versions or other
  architectures on QEMU 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1834613/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-16  5:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28  9:15 [Qemu-devel] [Bug 1834613] [NEW] Crypto related operations failing on Alpine Linux on QEMU 4.0 DDoSolitary
2019-06-28 16:04 ` Laurent Vivier
2019-07-01 20:09 ` [Qemu-devel] [Bug 1834613] " Laurent Vivier
2019-07-03  9:36 ` DDoSolitary
2019-08-16  5:15 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).