john ibsuser activity https://gitlab.com/ibsuser 2025-11-15T13:41:49Z tag:gitlab.com,2025-11-15:4815517276 john ibsuser closed issue #2133: Debian sparc64 works on hardware, segfaults in qemu at QEMU / QEMU 2025-11-15T13:41:49Z ibsuser john ibsuser tag:gitlab.com,2025-11-14:4814090095 john ibsuser commented on issue #2133 at QEMU / QEMU 2025-11-14T18:47:18Z ibsuser john ibsuser

image_2025-11-14_214435032

It indeed installed successfully, QEMU 7.2.19

tag:gitlab.com,2025-11-14:4813552719 john ibsuser commented on issue #2133 at QEMU / QEMU 2025-11-14T15:50:37Z ibsuser john ibsuser

It's been over a year since i don't have access to SPARC machines, none of them, so cannot verify, unfortunately

tag:gitlab.com,2024-02-07:3145375588 john ibsuser commented on issue #2133 at QEMU / QEMU 2024-02-07T19:00:43Z ibsuser john ibsuser

Good to hear it got reproduced! As for the 12045, it's the win build provided by Stefan Weil,

tag:gitlab.com,2024-01-28:3120440297 john ibsuser opened issue #2133: Debian sparc64 works on hardware, segfaults in qemu at QEMU / QEMU 2024-01-28T09:23:28Z ibsuser john ibsuser

Host environment

  • Operating system: Windows 8.1, also Ubuntu 22.04.3 LTS

  • OS/kernel version: 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023

  • Architecture:

  • QEMU flavor: qemu-system-sparc64

  • QEMU version: QEMU emulator version 8.2.0 (v8.2.0-12045-g3d58f9b5c5), also 1:6.2+dfsg-2ubuntu6.16

  • QEMU command line:

    ./qemu-system-sparc64 -M sun4u -L C:\qrl\sparc  -nographic -m 2048    -hda C:\qrl\sparc\disk1 -cdrom C:\qrl\sparc\debian-12.0.0-sparc64-NETINST-1.iso

Emulated/Virtualized environment

Description of problem

Steps to reproduce

  1. Start the installer normally (boot cdrom), use guided all disk partition, change ext4 to btrfs for /
  2. Installer always segfaults at the same place while installing base system step:
Jan 28 09:17:48 debootstrap: Setting up mawk (1.3.4.20200120-3.1) ...
Jan 28 09:17:49 debootstrap: update-alternatives:
Jan 28 09:17:49 debootstrap: using /usr/bin/mawk to provide /usr/bin/awk (awk) i
n auto mode
Jan 28 09:17:49 debootstrap:
Jan 28 09:17:54 debootstrap: Selecting previously unselected package debconf.
Jan 28 09:17:54 debootstrap: (Reading database ... 1459 files and directories cu
rrently installed.)
Jan 28 09:17:54 debootstrap: Preparing to unpack .../debconf_1.5.82_all.deb ...
Jan 28 09:17:54 debootstrap: Unpacking debconf (1.5.82) ...
Jan 28 09:17:55 kernel: [ 2994.426867] dpkg-deb[12709]: segfault at ffffffffffff
ffff ip fffff80100a1c3ec (rpc 0000000000000030) sp fffff80102402041 error 1 in l
iblzma.so.5.4.1[fffff80100a00000+2a000]
Jan 28 09:17:55 debootstrap: dpkg-deb: error: <decompress> subprocess was killed
 by signal (Segmentation fault)
Jan 28 09:17:56 debootstrap: dpkg: error processing archive /var/cache/apt/archi
ves/debconf_1.5.82_all.deb (--install):
Jan 28 09:17:56 debootstrap:  dpkg-deb --fsys-tarfile subprocess returned error
exit status 2
Jan 28 09:17:57 debootstrap: Errors were encountered while processing:
Jan 28 09:17:57 debootstrap:  /var/cache/apt/archives/debconf_1.5.82_all.deb
Jan 28 09:18:10 base-installer: error: exiting on error base-installer/debootstr


cd /target/var/cache/apt/archives
# ar x debconf_1.5.82_all.deb
/target/var/cache/apt/archives # unxz data.tar.xz
/target/var/cache/apt/archives # unxz control.tar.xz

another try, to ext2 fs:

Jan 28 10:31:16 debootstrap: Preparing to unpack .../dpkg_1.21.21_sparc64.deb ..
.
Jan 28 10:31:16 debootstrap: Unpacking dpkg (1.21.21) over (1.21.21) ...
Jan 28 10:31:23 kernel: [ 7402.528016] dpkg-deb[20720]: segfault at 7240015 ip f
ffff8010091def4 (rpc 000000006e17c498) sp fffff80103124041 error 1 in liblzma.so
.5.4.1[fffff80100900000+2a000]
Jan 28 10:31:23 debootstrap: dpkg-deb: error: <decompress> subprocess was killed
 by signal (Segmentation fault)
Jan 28 10:31:24 debootstrap: dpkg: error processing archive /var/cache/apt/archi
ves/dpkg_1.21.21_sparc64.deb (--install):
Jan 28 10:31:24 debootstrap:  cannot copy extracted data for './usr/share/doc/dp
kg/changelog.gz' to '/usr/share/doc/dpkg/changelog.gz.dpkg-new': unexpected end
of file or stream

Additional information

All times i've tried under Ubuntu qemu or latest build for Windows it segfaults unpacking package, and i believe it's a misleading error message, since very same ISO installs normally on Sun Fire T1000 machine (sun4v). I've tried also booting FreeBSD-12.4-RELEASE-sparc64-disc1.iso which dies shortly after booting the kernel, but i am more interested in Debian, since it was verified to work on a real hardware. BTW i was able to unpack specified file with "ar x" within installer.

tag:gitlab.com,2020-09-24:919275349 john ibsuser commented on issue #2 at Commons Host / goh 2020-09-24T09:38:19Z ibsuser john ibsuser

7 days site was FUBAR

image
tag:gitlab.com,2020-09-24:919274197 john ibsuser closed issue #2: SSL certificate expired on commons.host at Commons Host / goh 2020-09-24T09:37:45Z ibsuser john ibsuser

@CommonsHost don't you have service monitoring ;) ? pic.twitter.com/sap2r2uG4O

— John117 (@ibsuser) September 16, 2020
tag:gitlab.com,2020-09-18:911583914 john ibsuser commented on issue #2 at Commons Host / goh 2020-09-18T08:03:39Z ibsuser john ibsuser

image

  • Connected to commons.host (139.162.131.245) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: none CApath: /etc/ssl/certs
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
  • TLSv1.3 (IN), TLS handshake, Certificate (11):
  • TLSv1.3 (IN), TLS handshake, CERT verify (15):
  • TLSv1.3 (IN), TLS handshake, Finished (20):
  • TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
  • TLSv1.3 (OUT), TLS handshake, Finished (20):
  • SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
  • ALPN, server accepted to use h2
  • Server certificate:
  • subject: CN=commons.host
  • start date: Jun 15 21:35:32 2020 GMT
  • expire date: Sep 13 21:35:32 2020 GMT
  • issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
  • SSL certificate verify result: certificate has expired (10), continuing anyway.
tag:gitlab.com,2020-09-18:911583125 john ibsuser opened issue #2: SSL certificate expired on commons.host at Commons Host / goh 2020-09-18T08:03:08Z ibsuser john ibsuser

@CommonsHost don't you have service monitoring ;) ? pic.twitter.com/sap2r2uG4O

— John117 (@ibsuser) September 16, 2020