summary refs log tree commit diff stats
path: root/gitlab/issues/target_sparc/host_x86/accel_TCG/2133.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_sparc/host_x86/accel_TCG/2133.toml')
-rw-r--r--gitlab/issues/target_sparc/host_x86/accel_TCG/2133.toml63
1 files changed, 63 insertions, 0 deletions
diff --git a/gitlab/issues/target_sparc/host_x86/accel_TCG/2133.toml b/gitlab/issues/target_sparc/host_x86/accel_TCG/2133.toml
new file mode 100644
index 00000000..eac693ae
--- /dev/null
+++ b/gitlab/issues/target_sparc/host_x86/accel_TCG/2133.toml
@@ -0,0 +1,63 @@
+id = 2133
+title = "Debian sparc64 works on hardware, segfaults in qemu"
+state = "opened"
+created_at = "2024-01-28T09:23:28.573Z"
+closed_at = "n/a"
+labels = ["accel: TCG", "host: x86", "hostos: Linux", "hostos: Windows", "target: sparc"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2133"
+host-os = "Windows 8.1, also Ubuntu 22.04.3 LTS"
+host-arch = "- 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"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """"""
+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 = """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."""