Skip to content

Instantly share code, notes, and snippets.

View kiryl's full-sized avatar

Kirill A. Shutemov kiryl

View GitHub Profile
fffffffffff5343, 0x0}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x3)
mknod(&(0x7f0000021000-0xa)="2e2f636f6e74726f6c00", 0x8, 0x67ca)
signalfd(0xffffffffffffffff, &(0x7f0000043000+0x832)={0x8}, 0x8)
2016/02/04 12:39:44 executing program 2:
mmap(&(0x7f0000000000)=nil, (0x45000), 0x3, 0x32, 0xffffffffffffffff, 0x0)
r0 = dup3(0x1869f, 0x1869f, 0x80000)
getsockopt$ipv6_mreq(r0, 0x29, 0x1d, &(0x7f0000000000)={{0x0, 0x0, 0x0, 0x0}, 0x0}, &(0x7f0000000000)=nil)
perf_event_open(&(0x7f0000001000+0xe0)={0x2, 0x78, 0x11, 0x2, 0x9349, 0x0, 0x8, 0x3, 0x76b5, 0x1, 0x0, 0x3, 0x7, 0xfa, 0xfffffffffffffff7, 0x46c6, 0x3, 0x6, 0x6, 0xffffffffffff5343, 0x0}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x3)
mknod(&(0x7f0000021000-0xa)="2e2f636f6e74726f6c00", 0x8, 0x67ca)
setsockopt$ip_mtu(r0, 0x0, 0xa, &(0x7f0000043000+0xbb1)=0x7, 0x4)
[ 105.600291] ------------[ cut here ]------------^M
[ 105.600650] WARNING: CPU: 0 PID: 17341 at /home/kas/linux/linux/kernel/events/core.c:3778 perf_event_release_kernel+0x4ed/0x5c0()^M
[ 105.601720] CPU: 0 PID: 17341 Comm: syz-executor Not tainted 4.5.0-rc2-00195-g1ad22e42a738-dirty #1224^M
[ 105.602594] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014^M
[ 105.603333] 00000000ffffffff ffff88003bacf8b8 ffffffff81c64010 0000000000000000^M
[ 105.603860] ffff880000129a80 ffffffff82c9bee0 ffff88003bacf8f8 ffffffff810ec289^M
[ 105.604473] ffffffff813a87bd ffffffff82c9bee0 0000000000000ec2 ffff88003b2d3a58^M
[ 105.605272] Call Trace:^M
[ 105.605537] [<ffffffff81c64010>] dump_stack+0x72/0xc2^M
[ 105.606054] [<ffffffff810ec289>] warn_slowpath_common+0xd9/0x140^M
[ 0.000000] Linux version 4.5.0-rc2+ (kas@kshutemo-desk) (gcc version 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5) ) #28 SMP PREEMPT Tue Feb 2 13:11:45 MSK 2016
[ 0.000000] Command line: BOOT_IMAGE=../vmlinuz dolvm rw root=UUID=dc179bdb-77c0-4166-8d43-f828994c99a0 rootdelay=1 intel_mmu=igfx_off iommu=pt drm.debug=14 initrd=../initramfs
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] Linux version 4.5.0-rc2+ (kas@kshutemo-desk) (gcc version 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5) ) #28 SMP PREEMPT Tue Feb 2 13:11:45 MSK 2016
[ 0.000000] Command line: BOOT_IMAGE=../vmlinuz dolvm rw root=UUID=dc179bdb-77c0-4166-8d43-f828994c99a0 rootdelay=1 intel_mmu=igfx_off iommu=pt drm.debug=14 initrd=../initramfs
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Contains local system settings for Portage system
# Please review 'man make.conf' for more information.
# Build-time functionality
# ========================
#
# The USE variable is used to enable optional build-time functionality. For
#define _GNU_SOURCE
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
int main(int argc, char **argv)
{
#!/bin/sh -efu
/sbin/mkfs.ext4 /dev/pmem0
mount -o dax /dev/pmem0 /mnt/
cat /proc/mounts
df -h /mnt/
cd /mnt/
/host/home/kas/var/double-map test
[ 40.292030] BUG: soft lockup - CPU#2 stuck for 22s! [mkfs.ext4:161]
[ 40.292039] Modules linked in:
[ 40.292039] irq event stamp: 108890
[ 40.292039] hardirqs last enabled at (108889): [<ffffffff81745ce0>] restore_args+0x0/0x30
[ 40.292039] hardirqs last disabled at (108890): [<ffffffff81745fea>] apic_timer_interrupt+0x6a/0x80
[ 40.292039] softirqs last enabled at (108888): [<ffffffff81053e1c>] __do_softirq+0x20c/0x270
[ 40.292039] softirqs last disabled at (108883): [<ffffffff81053ffe>] irq_exit+0x8e/0xb0
[ 40.292039] CPU: 2 PID: 161 Comm: mkfs.ext4 Not tainted 3.16.0-rc6-00032-g3dd0de84b6bc #93
[ 40.292039] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 40.292039] task: ffff8800782494d0 ti: ffff880078280000 task.ti: ffff880078280000
[info]
checksum=0xdd544df6
version_name=v0.40.03
complete=true
[addresses]
translation_vector=0x09a20170
language_vector=0x09a20158
creature_vector=0x0992660c
active_creature_vector=0x09926618
[info]
checksum=0xd3460da2
version_name=v0.40.01
complete=true
[addresses]
translation_vector=0x09a1f170
language_vector=0x09a1f158
creature_vector=0x0992560c
active_creature_vector=0x09925618