← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2078790] Re: jammy qemu x86 int3: 0000 [#1] SMP NOPTI

 

jammy:linux-lowlatency-hwe-6.8 6.8.0-44.44.1~22.04.1 qemu-x86 QEMU
Standard PC (i440FX + PIIX, 1996) -> ADT:systemd:upstream-2

5373s --x-- Running TEST-36-NUMAPOLICY --x--
5373s + make -C TEST-36-NUMAPOLICY setup run
5373s make: Entering directory '/tmp/autopkgtest.pW1AKT/build.qvP/src/test/TEST-36-NUMAPOLICY'
5373s Specify build directory with $BUILD_DIR
5373s TEST-36-NUMAPOLICY SETUP: test NUMAPolicy= and NUMAMask= options
5373s Reusing existing cached image /tmp/autopkgtest.pW1AKT/build.qvP/src/test/TEST-36-NUMAPOLICY/../default.img → /tmp/autopkgtest.pW1AKT/build.qvP/src/test/default.img
5373s '/var/tmp/systemd-test.Wk9jIZ/default.img' -> '/tmp/autopkgtest.pW1AKT/build.qvP/src/test/default.img'
5373s I: Masking supporting services
5373s '/var/tmp/systemd-test.Wk9jIZ/root/etc/systemd/system/systemd-hwdb-update.service' -> '/dev/null'
5373s '/var/tmp/systemd-test.Wk9jIZ/root/etc/systemd/system/systemd-journal-catalog-update.service' -> '/dev/null'
5373s '/var/tmp/systemd-test.Wk9jIZ/root/etc/systemd/system/systemd-networkd.service' -> '/dev/null'
5373s '/var/tmp/systemd-test.Wk9jIZ/root/etc/systemd/system/systemd-networkd.socket' -> '/dev/null'
5373s '/var/tmp/systemd-test.Wk9jIZ/root/etc/systemd/system/systemd-resolved.service' -> '/dev/null'
5373s Specify build directory with $BUILD_DIR
5373s TEST-36-NUMAPOLICY RUN: test NUMAPolicy= and NUMAMask= options
5374s + /bin/qemu-system-x86_64 -smp 4 -net none -m 512M -nographic -vga none -kernel /boot/vmlinuz-6.8.0-44-lowlatency -drive format=raw,cache=unsafe,file=/var/tmp/systemd-test.Wk9jIZ/default.img -object memory-backend-ram,id=mem0,size=512M -numa node,memdev=mem0,nodeid=0 -initrd /boot/initrd.img-6.8.0-44-lowlatency -append 'root=/dev/sda1 rw raid=noautodetect rd.luks=0 loglevel=2 init=/lib/systemd/systemd console=ttyS0 selinux=0 SYSTEMD_UNIT_PATH=/usr/lib/systemd/tests/testdata/testsuite-36.units:/usr/lib/systemd/tests/testdata/units: systemd.unit=testsuite.target systemd.wants=testsuite-36.service systemd.wants=end.service'
5374s c[?7lSeaBIOS (version 1.15.0-1)
5384s Booting from ROM..c[?7lLoading, please wait...
5384s Starting version 249.11-0ubuntu3.12
5386s Begin: Loading essential drivers ... done.
5386s Begin: Running /scripts/init-premount ... done.
5386s Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
5387s Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
5387s done.
5387s Begin: Will now check root file system ... fsck from util-linux 2.37.2
5388s [/usr/sbin/fsck.ext4 (1) -- /dev/sda1] fsck.ext4 -a -C0 /dev/sda1
5388s systemd: clean, 2420/115200 files, 46512/115200 blocks
5388s done.
5388s done.
5388s Begin: Running /scripts/local-bottom ... done.
5388s Begin: Running /scripts/init-bottom ... done.
5389s
5389s Welcome to Ubuntu 22.04.4 LTS!
5389s
5390s [  OK  ] Created slice Slice /system/modprobe.
5390s [  OK  ] Created slice Slice /system/serial-getty.
5390s [  OK  ] Created slice User and Session Slice.
5390s [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
5390s [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
5390s [UNSUPP] Starting of Arbitrary Exec…m Automount Point unsupported.
5390s [  OK  ] Reached target Local Encrypted Volumes.
5390s [  OK  ] Reached target Path Units.
5390s [  OK  ] Reached target Slice Units.
5390s [  OK  ] Reached target Swaps.
5390s [  OK  ] Reached target Local Verity Protected Volumes.
5390s [  OK  ] Listening on Process Core Dump Socket.
5390s [  OK  ] Listening on initctl Compatibility Named Pipe.
5390s [  OK  ] Listening on Journal Audit Socket.
5390s [  OK  ] Listening on Journal Socket (/dev/log).
5390s [  OK  ] Listening on Journal Socket.
5390s [  OK  ] Listening on udev Control Socket.
5390s [  OK  ] Listening on udev Kernel Socket.
5390s [  OK  ] Reached target Sockets.
5390s          Mounting Huge Pages File System...
5390s          Mounting POSIX Message Queue File System...
5390s          Mounting Kernel Debug File System...
5390s          Mounting Kernel Trace File System...
5390s          Starting Journal Service...
5391s          Starting Load Kernel Module configfs...
5391s          Starting Load Kernel Module drm...
5391s          Starting Load Kernel Module fuse...
5391s          Starting Load Kernel Modules...
5391s          Starting Remount Root and Kernel File Systems...
5391s          Starting Coldplug All udev Devices...
5391s [  OK  ] Mounted Huge Pages File System.
5391s [  OK  ] Mounted POSIX Message Queue File System.
5391s [  OK  ] Mounted Kernel Debug File System.
5391s [  OK  ] Mounted Kernel Trace File System.
5391s [  OK  ] Finished Load Kernel Module configfs.
5391s [  OK  ] Finished Load Kernel Module drm.
5391s [  OK  ] Finished Load Kernel Module fuse.
5391s          Mounting FUSE Control File System...
5391s          Mounting Kernel Configuration File System...
5391s [  OK  ] Finished Load Kernel Modules.
5391s [  OK  ] Finished Remount Root and Kernel File Systems.
5391s          Starting Load/Save Random Seed...
5391s          Starting Apply Kernel Variables...
5391s          Starting Create System Users...
5391s [  OK  ] Mounted FUSE Control File System.
5391s [  OK  ] Mounted Kernel Configuration File System.
5391s [  OK  ] Finished Load/Save Random Seed.
5391s [  OK  ] Started Journal Service.
5391s          Starting Flush Journal to Persistent Storage...
5391s [  OK  ] Finished Apply Kernel Variables.
5391s [  OK  ] Finished Create System Users.
5391s          Starting Create Static Device Nodes in /dev...
5391s [  OK  ] Finished Flush Journal to Persistent Storage.
5391s [  OK  ] Finished Create Static Device Nodes in /dev.
5391s [  OK  ] Reached target Preparation for Local File Systems.
5391s [  OK  ] Reached target Local File Systems.
5391s          Starting Create Volatile Files and Directories...
5391s          Starting Rule-based Manage…for Device Events and Files...
5391s [  OK  ] Finished Coldplug All udev Devices.
5392s [  OK  ] Finished Create Volatile Files and Directories.
5392s          Starting Record System Boot/Shutdown in UTMP...
5392s [  OK  ] Finished Record System Boot/Shutdown in UTMP.
5392s [  OK  ] Started Rule-based Manager for Device Events and Files.
5392s [  OK  ] Reached target System Initialization.
5392s [  OK  ] Started Daily Cleanup of Temporary Directories.
5392s [  OK  ] Reached target Basic System.
5392s [  OK  ] Reached target Timers.
5392s [  OK  ] Listening on D-Bus System Message Bus Socket.
5392s          Starting /etc/rc.local Compatibility...
5392s          Starting User Login Management...
5392s [   15.916889] rc.local[258]: /etc/rc.local: 2: iptables: not found
5392s [   15.907320] traps: PANIC: double fault, error_code: 0x0
5392s [   15.909893] double fault: 0000 [#1] PREEMPT SMP NOPTI
5392s [   15.909893] CPU: 3 PID: 252 Comm: systemd-udevd Not tainted 6.8.0-44-lowlatency #44.1~22.04.1-Ubuntu
5392s [   15.909893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
5392s [   15.911200] RIP: 0010:kmem_cache_alloc+0x93/0x370
5392s [   15.911200] Code: 52 02 00 00 41 f6 44 24 0b 04 0f 85 46 02 00 00 45 31 d2 4d 85 e4 0f 84 33 02 00 00 0f 1f 44 00 00 48 c7 44 24 10 00 00 00 00 <49> 8b 04 24 65 48 03 05 d1 e0 7b 52 48 8b 50 08 48 83 78 10 00 48
5392s [   15.911200] RSP: 0018:ffffa5d6c03dfbf0 EFLAGS: 4376b202
5392s [   15.911200] RAX: ffff95764376b000 RBX: ffff95764376c000 RCX: 0000000005486003
5392s [   15.911200] RDX: 0000000005540003 RSI: 000000000003cf80 RDI: ffff95764376b000
5392s [   15.911200] RBP: ffffa5d6c03dfc40 R08: 0000000000000000 R09: 0000000000000000
5392s [   15.911200] R10: 0000000000000000 R11: 0000000000000000 R12: ffff95764129f600
5392s [   15.911200] R13: 0000000000000cc0 R14: 0000000000001000 R15: ffffffffad8f1b10
5392s [   15.911200] FS:  000071234826f8c0(0000) GS:ffff95765b180000(0000) knlGS:0000000000000000
5392s [   15.911200] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
5392s [   15.911200] CR2: 000076d1398389c5 CR3: 00000000023c4000 CR4: 00000000000006f0
5392s [   15.911200] Call Trace:
5392s [   15.911200]  <#DF>
5392s [   15.911200]  ? show_regs+0x6d/0x80
5392s [   15.911200]  ? die+0x37/0xa0
5392s [   15.911200]  ? exc_double_fault+0xf2/0x1c0
5392s [   15.911200]  ? asm_exc_double_fault+0x1f/0x30
5392s [   15.911200]  ? getname_flags.part.0+0x30/0x1e0
5392s [   15.911200]  ? kmem_cache_alloc+0x93/0x370
5392s [   15.911200]  </#DF>
5392s [   15.911200]  <TASK>
5392s [   15.911200]  ? do_syscall_64+0x8d/0x170
5392s [   15.911200]  getname_flags.part.0+0x30/0x1e0
5392s [   15.911200]  getname_flags+0x40/0x70
5392s [   15.911200]  user_path_at_empty+0x27/0x70
5392s [   15.911200]  do_faccessat+0x10a/0x2f0
5392s [   15.911200]  __x64_sys_access+0x1c/0x30
5392s [   15.911200]  x64_sys_call+0xa08/0x24b0
5392s [   15.911200]  do_syscall_64+0x81/0x170
5392s [   15.911200]  ? scheduler_tick+0x14e/0x370
5392s [   15.911200]  ? invoke_rcu_core+0x51/0x70
5392s [   15.911200]  ? irqentry_exit+0x20/0x50
5392s [   15.915119]  ? common_interrupt+0x54/0xb0
5392s [   15.915119]  ? asm_common_interrupt+0x27/0x40
5392s [   15.915119]  ? note_gp_changes+0x8f/0xa0
5392s [   15.915119]  ? rcu_core+0x1d2/0x390
5392s [   15.915119]  ? rcu_core_si+0xe/0x20
5392s [   15.915119]  ? handle_softirqs+0xdb/0x340
5392s [   15.915119]  ? irqentry_exit_to_user_mode+0x7e/0x260
5392s [   15.915119]  ? irqentry_exit+0x43/0x50
5392s [   15.915119]  entry_SYSCALL_64_after_hwframe+0x78/0x80
5392s [   15.915119] RIP: 0033:0x71234811494b
5392s [   15.915119] Code: 77 05 c3 0f 1f 40 00 48 8b 15 e1 54 10 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 0f 1f 40 00 f3 0f 1e fa b8 15 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 b1 54 10 00 f7 d8
5392s [   15.915119] RSP: 002b:00007fffb16c6918 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
5392s [   15.915119] RAX: ffffffffffffffda RBX: 00007fffb16c6920 RCX: 000071234811494b
5392s [   15.915119] RDX: 00007fffb16c6937 RSI: 0000000000000000 RDI: 00007fffb16c6920
5392s [   15.915119] RBP: 00007fffb16c69b0 R08: fefefefefefefeff R09: feff5ae353ff6368
5392s [   15.915119] R10: 00007123480b26e0 R11: 0000000000000246 R12: 00007fffb16c6970
5392s [   15.915119] R13: 00007fffb16c6970 R14: 00007fffb16c6970 R15: 00007fffb16c69c0
5392s [   15.915119]  </TASK>
5392s [   15.915119] Modules linked in: btrfs blake2b_generic xor raid6_pq libcrc32c psmouse i2c_piix4 floppy pata_acpi
5392s [   15.915119] ---[ end trace 0000000000000000 ]---
5392s [   15.915119] RIP: 0010:kmem_cache_alloc+0x93/0x370
5392s [   15.915119] Code: 52 02 00 00 41 f6 44 24 0b 04 0f 85 46 02 00 00 45 31 d2 4d 85 e4 0f 84 33 02 00 00 0f 1f 44 00 00 48 c7 44 24 10 00 00 00 00 <49> 8b 04 24 65 48 03 05 d1 e0 7b 52 48 8b 50 08 48 83 78 10 00 48
5392s [   15.915119] RSP: 0018:ffffa5d6c03dfbf0 EFLAGS: 4376b202
5392s [   15.915119] RAX: ffff95764376b000 RBX: ffff95764376c000 RCX: 0000000005486003
5392s [   15.915119] RDX: 0000000005540003 RSI: 000000000003cf80 RDI: ffff95764376b000
5392s [   15.915119] RBP: ffffa5d6c03dfc40 R08: 0000000000000000 R09: 0000000000000000
5392s [   15.915119] R10: 0000000000000000 R11: 0000000000000000 R12: ffff95764129f600
5392s [   15.915119] R13: 0000000000000cc0 R14: 0000000000001000 R15: ffffffffad8f1b10
5392s [   15.915119] FS:  000071234826f8c0(0000) GS:ffff95765b180000(0000) knlGS:0000000000000000
5392s [   15.915119] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
5392s [   15.915119] CR2: 000076d1398389c5 CR3: 00000000023c4000 CR4: 00000000000006f0
5392s [   15.915119] Kernel panic - not syncing: Fatal exception in interrupt
5392s [   15.915119] Kernel Offset: 0x2c400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
5392s [   15.915119] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
25295s autopkgtest [03:19:35]: ERROR: timed out on command "su -s /bin/bash root -c set -e; exec /tmp/autopkgtest.pW1AKT/wrapper.sh --artifacts=/tmp/autopkgtest.pW1AKT/upstream-2-artifacts --chdir=/tmp/autopkgtest.pW1AKT/build.qvP/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=4 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.pW1AKT/upstream-2-stderr --stdout=/tmp/autopkgtest.pW1AKT/upstream-2-stdout --tmp=/tmp/autopkgtest.pW1AKT/autopkgtest_tmp --env=AUTOPKGTEST_NORMAL_USER=ubuntu --env=ADT_NORMAL_USER=ubuntu '--env=ADT_TEST_TRIGGERS=linux-meta-lowlatency-hwe-6.8/6.8.0-44.44.1~22.04.1 linux-lowlatency-hwe-6.8/6.8.0-44.44.1~22.04.1 linux-signed-lowlatency-hwe-6.8/6.8.0-44.44.1~22.04.1' --make-executable=/tmp/autopkgtest.pW1AKT/build.qvP/src/debian/tests/upstream-2 -- /tmp/autopkgtest.pW1AKT/build.qvP/src/debian/tests/upstream-2" (kind: test)
25295s autopkgtest [03:19:35]: test upstream-2: -----------------------]
25295s autopkgtest [03:19:35]: test upstream-2:  - - - - - - - - - - results - - - - - - - - - -
25295s upstream-2           FAIL timed out
25296s autopkgtest [03:19:36]: test boot-smoke: preparing testbed
25348s autopkgtest [03:20:28]: testbed dpkg architecture: amd64
25348s autopkgtest [03:20:28]: testbed apt version: 2.4.12
25348s autopkgtest [03:20:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2078790

Title:
  jammy qemu x86 int3: 0000 [#1] SMP NOPTI

Status in linux-lowlatency-hwe-6.8 package in Ubuntu:
  New
Status in qemu package in Ubuntu:
  New

Bug description:
  jammy:linux-lowlatency-hwe-6.8 6.8.0-44.44.1~22.04.1 qemu-x86 QEMU
  Standard PC (i440FX + PIIX, 1996)

  
  Recently (2024.08.05), I have been seeing this issue with ADT:systemd:upstream-1/2 test in which kernel panics/prints a stack. I have seen this with jammy:linux-lowlatency-hwe-6.8 and jammy:linux-ibm-6.8. Stack trace is different everytime because kernel receives an interrupt, drop what it is doing, and crash when handling the interrupt.

  I think this is an issue with qemu and not kernel. For jammy, we are
  using qemu 6.2 and there are some fixes related to x86 interrupt
  handling in 8.x
  (https://lore.kernel.org/lkml/20230705215008.GD17440@xxxxxxxxxx/T/). I
  propose we create a launchpad bug and trace the issue. If I am
  correct, we shouldn't see this in noble. And we should occasionally
  see this in 5.15 jammy kernels (and more frequently with lowlantecy
  kernels).

  
  Meanwhile see comments below for some stack traces;

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lowlatency-hwe-6.8/+bug/2078790/+subscriptions



References