summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/kernel/1922
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--results/classifier/gemma3:12b/kernel/192221
-rw-r--r--results/classifier/gemma3:12b/kernel/1922617121
-rw-r--r--results/classifier/gemma3:12b/kernel/192288731
3 files changed, 173 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/kernel/1922 b/results/classifier/gemma3:12b/kernel/1922
new file mode 100644
index 00000000..ca2aa9b3
--- /dev/null
+++ b/results/classifier/gemma3:12b/kernel/1922
@@ -0,0 +1,21 @@
+
+loongson3-virt machine fails to bring up secondary CPUs
+Description of problem:
+When booting Debian netboot on `loongson3-virt` machine with SMP, cores other than number 0 fail to come up.  Boot without SMP is successful.
+
+I provided the details of the first combination I tested, but I have also tested on an x86_64 host, as well as with Debian 11 (kernel `5.10.0-22-loongson-3`) on both hosts, with the same results.
+Steps to reproduce:
+1.  `wget https://ftp.debian.org/debian/dists/bookworm/main/installer-mips64el/current/images/loongson-3/netboot/vmlinuz-6.1.0-10-loongson-3`
+2.  `wget https://ftp.debian.org/debian/dists/bookworm/main/installer-mips64el/current/images/loongson-3/netboot/initrd.gz`
+3.  `qemu-system-mips64el -M loongson3-virt -kernel vmlinuz-6.1.0-10-loongson-3 -initrd initrd.gz -append "console=ttyS0" -serial stdio -smp 2`
+Additional information:
+Boot is successful when removing `-smp 2` from command line.  With it present, the following error is in `dmesg` (extends to all other CPUs when a larger SMP value is passed):
+```
+[    2.248229] rcu: Hierarchical SRCU implementation.
+[    2.248446] rcu:     Max phase no-delay instances is 1000.
+[    2.647997] smp: Bringing up secondary CPUs ...
+[    2.749706] Booting CPU#1...
+[    7.093229] CPU1: failed to start
+[    7.096508] smp: Brought up 1 node, 1 CPU
+```
+The boot eventually stalls after this.
diff --git a/results/classifier/gemma3:12b/kernel/1922617 b/results/classifier/gemma3:12b/kernel/1922617
new file mode 100644
index 00000000..c3236f36
--- /dev/null
+++ b/results/classifier/gemma3:12b/kernel/1922617
@@ -0,0 +1,121 @@
+
+qemu-aarch64-static "Illegal instruction" with debootstrap
+
+This is reproducible against QEMU master. I apologize for the long reproduction steps, I tried to distill it down as much as possible.
+
+System info:
+
+# qemu-aarch64-static --version
+qemu-aarch64 version 5.2.91 (v6.0.0-rc1-68-gee82c086ba)
+Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
+
+# cat /etc/os-release
+PRETTY_NAME="Debian GNU/Linux 10 (buster)"
+NAME="Debian GNU/Linux"
+VERSION_ID="10"
+VERSION="10 (buster)"
+VERSION_CODENAME=buster
+ID=debian
+HOME_URL="https://www.debian.org/"
+SUPPORT_URL="https://www.debian.org/support"
+BUG_REPORT_URL="https://bugs.debian.org/"
+
+# head -n 26 /proc/cpuinfo
+processor       : 0
+vendor_id       : GenuineIntel
+cpu family      : 6
+model           : 85
+model name      : Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
+stepping        : 7
+microcode       : 0x5002f01
+cpu MHz         : 1000.716
+cache size      : 22528 KB
+physical id     : 0
+siblings        : 32
+core id         : 0
+cpu cores       : 16
+apicid          : 0
+initial apicid  : 0
+fpu             : yes
+fpu_exception   : yes
+cpuid level     : 22
+wp              : yes
+flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities
+bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit
+bogomips        : 4600.00
+clflush size    : 64
+cache_alignment : 64
+address sizes   : 46 bits physical, 48 bits virtual
+power management:
+
+My reproduction steps:
+
+# apt-get install --no-install-recommends -y \
+    build-essential \
+    ca-certificates \
+    debootstrap \
+    git \
+    libglib2.0-dev \
+    libpixman-1-dev \
+    ninja-build \
+    pkg-config \
+    python3 \
+    zstd
+
+# git clone https://github.com/qemu/qemu
+
+# mkdir qemu/build
+
+# cd qemu/build
+
+# ../configure \
+    --enable-debug \
+    --enable-linux-user \
+    --disable-bsd-user \
+    --disable-werror \
+    --disable-system \
+    --disable-tools \
+    --disable-docs \
+    --disable-gtk \
+    --disable-gnutls \
+    --disable-nettle \
+    --disable-gcrypt \
+    --disable-glusterfs \
+    --disable-libnfs \
+    --disable-libiscsi \
+    --disable-vnc \
+    --disable-kvm \
+    --disable-libssh \
+    --disable-libxml2 \
+    --disable-vde \
+    --disable-sdl \
+    --disable-opengl \
+    --disable-xen \
+    --disable-fdt \
+    --disable-vhost-net \
+    --disable-vhost-crypto \
+    --disable-vhost-user \
+    --disable-vhost-vsock \
+    --disable-vhost-scsi \
+    --disable-tpm \
+    --disable-qom-cast-debug \
+    --disable-capstone \
+    --disable-zstd \
+    --disable-linux-io-uring \
+    --static \
+    --target-list-exclude=hexagon-linux-user
+
+# ninja qemu-aarch64
+
+# install -Dm755 qemu-aarch64 /usr/local/bin/qemu-aarch64-static
+
+# cat <<'EOF' >/proc/sys/fs/binfmt_misc/register
+:qemu-aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-aarch64-static:CF
+EOF
+
+# debootstrap --arch arm64 --foreign buster debian-rootfs
+
+# chroot debian-rootfs /debootstrap/debootstrap --second-stage
+Illegal instruction
+
+This prevents me from building an arm64 Debian image on x86_64. If I am doing something wrong, please let me know. The binary has been uploaded for your convenience.
\ No newline at end of file
diff --git a/results/classifier/gemma3:12b/kernel/1922887 b/results/classifier/gemma3:12b/kernel/1922887
new file mode 100644
index 00000000..d459d45c
--- /dev/null
+++ b/results/classifier/gemma3:12b/kernel/1922887
@@ -0,0 +1,31 @@
+
+STR in Thumb 32 decode problem
+
+Hi 
+
+It seems that QEMU does not have a proper check on the STR instruction in Thumb32 mode.
+
+Specifically, the machine code is 0xf84f0ddd, which is 0b1111 1000 0100 1111 0000 1101 1101 1101. 
+This is an STR (immediate, Thumb) instruction with a T4 encoding scheme.
+
+The symbols is 
+
+Rn = 1111
+Rt = 0000
+P = 1
+U = 0
+W = 1
+
+The decode ASL is below:
+
+if P == ‘1’ && U == ‘1’ && W == ‘0’ then SEE STRT;
+if Rn == ‘1101’ && P == ‘1’ && U == ‘0’ && W == ‘1’ && imm8 == ‘00000100’ then SEE PUSH;
+if Rn == ‘1111’ || (P == ‘0’ && W == ‘0’) then UNDEFINED;
+t = UInt(Rt); n = UInt(Rn); imm32 = ZeroExtend(imm8, 32);
+index = (P == ‘1’); add = (U == ‘1’); wback = (W == ‘1’);
+if t == 15 || (wback && n == t) then UNPREDICTABLE;
+
+When Rn == 1111, it should be an undefined instruction, which should raise SEGILL signal. However, it seems that QEMU does not check this constraint, which should be a bug. Many thanks
+
+Regards
+Muhui
\ No newline at end of file