Hello,

after booting a system, first reconfigure is fine.  However from second
onward I see the following in dmesg output once for each subsequent
`guix deploy':

--8<---------------cut here---------------start------------->8---
[   60.262899] ------------[ cut here ]------------
[   60.263408] Trying to vfree() nonexistent vm area (0000000023f59250)
[   60.263745] WARNING: CPU: 2 PID: 1426 at mm/vmalloc.c:3378 
vfree.part.0+0x131/0x2b0
[   60.264050] Modules linked in: cfg80211 8021q garp mrp stp llc 
intel_rapl_msr intel_rapl_common kvm_amd ccp snd_hda_codec_generic ppdev kvm 
iTCO_wdt intel_pmc_bxt iTCO_vendor_support joydev snd_hda_intel irqbypass 
snd_intel_dspcfg snd_intel_sdw_acpi crct10dif_pclmul crc32_pclmul 
polyval_clmulni snd_hda_codec virtio_gpu polyval_generic ghash_clmulni_intel 
sha512_ssse3 virtio_dma_buf snd_hda_core drm_shmem_helper snd_hwdep 
sha256_ssse3 snd_pcm sha1_ssse3 drm_kms_helper aesni_intel crypto_simd cryptd 
snd_timer e1000e input_leds drm snd i2c_i801 parport_pc soundcore ptp psmouse 
i2c_smbus parport lpc_ich i2c_mux pps_core serio_raw pcspkr efi_pstore mac_hid 
qemu_fw_cfg nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink btrfs libcrc32c 
raid6_pq xor virtio_scsi virtio_mmio virtio_rng virtio_console virtio_net 
virtio_blk virtio_balloon virtio_pci virtio_pci_legacy_dev 
virtio_pci_modern_dev virtio_ring virtio isci libsas scsi_transport_sas 
pata_atiixp
[   60.264156]  pata_acpi nls_iso8859_1 wp512 serpent_generic xts dm_crypt 
mmc_block rpmb_core hid_apple hid_generic usbhid hid uas usb_storage ahci 
libahci
[   60.266170] CPU: 2 UID: 0 PID: 1426 Comm: guile Not tainted 6.12.80 #1 
d870c16368f786a82a0a16a8f3e7ce99addd89b4
[   60.266538] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS unknown 
2/2/2022
[   60.266953] RIP: 0010:vfree.part.0+0x131/0x2b0
[   60.266956] Code: f6 31 ff 45 31 c0 45 31 c9 45 31 d2 e9 b3 a4 f2 00 f0 48 
29 05 c8 67 5c 02 eb c3 4c 89 e6 48 c7 c7 10 00 a2 8e e8 5f 80 cf ff <0f> 0b 5b 
41 5c 41 5d 41 5e 41 5f 5d 31 c0 31 d2 31 c9 31 f6 31 ff
[   60.266958] RSP: 0018:ffffd06e4802fa70 EFLAGS: 00010246
[   60.266960] RAX: 0000000000000000 RBX: ffffd06e40131000 RCX: 0000000000000000
[   60.266962] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   60.266963] RBP: ffffd06e4802fa98 R08: 0000000000000000 R09: 0000000000000000
[   60.266964] R10: 0000000000000000 R11: 0000000000000000 R12: ffffd06e40131000
[   60.266965] R13: 0000000000001000 R14: ffff88b8d1144800 R15: 0000000004a39518
[   60.266968] FS:  00007f24432960c0(0000) GS:ffff88ba37900000(0000) 
knlGS:0000000000000000
[   60.266970] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   60.266971] CR2: 00007f243c9da000 CR3: 0000000111c8e000 CR4: 0000000000750ef0
[   60.266974] PKRU: 55555554
[   60.266976] Call Trace:
[   60.266977]  <TASK>
[   60.266981]  vfree+0x2f/0x50
[   60.266984]  ima_add_kexec_buffer+0x99/0x2e0
[   60.266989]  __do_sys_kexec_file_load+0x28e/0x8f0
[   60.266992]  ? putname+0x5f/0x80
[   60.266995]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.266997]  ? kmem_cache_free+0x128/0x480
[   60.274926]  __x64_sys_kexec_file_load+0x24/0x40
[   60.274928]  x64_sys_call+0x1c38/0x22b0
[   60.274931]  do_syscall_64+0x74/0x160
[   60.274934]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274936]  ? arch_exit_to_user_mode_prepare.isra.0+0x1a/0xe0
[   60.274939]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274940]  ? syscall_exit_to_user_mode+0x41/0x140
[   60.274943]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274945]  ? do_syscall_64+0x80/0x160
[   60.274948]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274949]  ? __check_object_size+0x228/0x240
[   60.274952]  ? putname+0x5f/0x80
[   60.274954]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274955]  ? kmem_cache_free+0x128/0x480
[   60.274957]  ? _raw_spin_unlock+0x12/0x50
[   60.274961]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274962]  ? putname+0x5f/0x80
[   60.274964]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274965]  ? do_sys_openat2+0x8d/0xd0
[   60.274967]  ? __handle_mm_fault+0xb21/0xfc0
[   60.274970]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.274972]  ? arch_exit_to_user_mode_prepare.isra.0+0x1a/0xe0
[   60.283984]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.283987]  ? syscall_exit_to_user_mode+0x41/0x140
[   60.283989]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.283991]  ? do_syscall_64+0x80/0x160
[   60.283993]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.283995]  ? __count_memcg_events+0x74/0x120
[   60.283998]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.283999]  ? count_memcg_events.constprop.0+0x2a/0x50
[   60.284002]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.284003]  ? handle_mm_fault+0x231/0x350
[   60.284006]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.284007]  ? arch_exit_to_user_mode_prepare.isra.0+0x1a/0xe0
[   60.284009]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.284011]  ? irqentry_exit_to_user_mode+0x29/0x120
[   60.284013]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.284015]  ? irqentry_exit+0x47/0x60
[   60.284017]  ? srso_alias_return_thunk+0x5/0xfbef5
[   60.284019]  ? exc_page_fault+0x97/0x1b0
[   60.284021]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   60.284024] RIP: 0033:0x7f24433a0849
[   60.291541] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 6f 45 0d 00 f7 d8 64 89 01 48
[   60.291542] RSP: 002b:00007ffd311463a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000140
[   60.291545] RAX: ffffffffffffffda RBX: 00007ffd311463b0 RCX: 00007f24433a0849
[   60.291546] RDX: 00000000000000bd RSI: 000000000000000c RDI: 000000000000000b
[   60.291547] RBP: 00007ffd311463b0 R08: 0000000000000000 R09: 0000000000000006
[   60.291548] R10: 00007f24430849c0 R11: 0000000000000246 R12: 00007ffd31146570
[   60.291549] R13: 0000000000000008 R14: 0000000000000006 R15: 00007f2443184f50
[   60.291553]  </TASK>
[   60.291554] ---[ end trace 0000000000000000 ]---
--8<---------------cut here---------------end--------------->8---

This is on LTS kernel:

Linux testvm 6.12.80 #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux

Is there any way to disable kexec with `guix deploy'?  The warnings are
polluting dmesg output, and since I do not use kexec, would prefer to
just turn it off.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.



Reply via email to