https://autobuilder.yoctoproject.org/main/builders/nightly-rpm/builds/404/steps/Running%20Sanity%20Tests/logs/stdio which failed with this in the logs: Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Initializing cgroup subsys cpuacct Linux version 4.1.2-yocto-standard (pokybuild@centos7-a.osl.yoctoproject.org) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Sun Jul 26 23:00:55 GMT 2015 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC e820: BIOS-provided physical RAM map: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved BIOS-e820: [mem 0x0000000000100000-0x000000000ffdffff] usable BIOS-e820: [mem 0x000000000ffe0000-0x000000000fffffff] reserved BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved Notice: NX (Execute Disable) protection missing in CPU! e820: user-defined physical RAM map: user: [mem 0x0000000000000000-0x000000000009fbff] usable user: [mem 0x000000000009fc00-0x000000000009ffff] reserved user: [mem 0x00000000000f0000-0x00000000000fffff] reserved user: [mem 0x0000000000100000-0x000000000ffdffff] usable user: [mem 0x000000000ffe0000-0x000000000fffffff] reserved user: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved SMBIOS 2.8 present. e820: last_pfn = 0xffe0 max_arch_pfn = 0x100000 found SMP MP-table at [mem 0x000f64b0-0x000f64bf] mapped at [c00f64b0] Scanning 1 areas for low memory corruption init_memory_mapping: [mem 0x00000000-0x000fffff] init_memory_mapping: [mem 0x0f800000-0x0fbfffff] init_memory_mapping: [mem 0x00100000-0x0f7fffff] init_memory_mapping: [mem 0x0fc00000-0x0ffdffff] ACPI: Early table checksum verification disabled ACPI: RSDP 0x00000000000F62C0 000014 (v00 BOCHS ) ACPI: RSDT 0x000000000FFE16B4 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) ACPI: FACP 0x000000000FFE0BDA 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) ACPI: DSDT 0x000000000FFE0040 000B9A (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) ACPI: FACS 0x000000000FFE0000 000040 ACPI: SSDT 0x000000000FFE0C4E 0009B6 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001) ACPI: APIC 0x000000000FFE1604 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) ACPI: HPET 0x000000000FFE167C 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) 0MB HIGHMEM available. 255MB LOWMEM available. mapped low ram: 0 - 0ffe0000 low ram: 0 - 0ffe0000 Zone ranges: DMA [mem 0x0000000000001000-0x0000000000ffffff] Normal [mem 0x0000000001000000-0x000000000ffdffff] HighMem empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000001000-0x000000000009efff] node 0: [mem 0x0000000000100000-0x000000000ffdffff] Initmem setup node 0 [mem 0x0000000000001000-0x000000000ffdffff] Using APIC driver default ACPI: PM-Timer IO Port: 0x608 ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) Using ACPI (MADT) for SMP configuration information ACPI: HPET id: 0x8086a201 base: 0xfed00000 smpboot: Allowing 1 CPUs, 0 hotplug CPUs e820: [mem 0x10000000-0xfffbffff] available for PCI devices Booting paravirtualized kernel on bare hardware clocksource refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 PERCPU: Embedded 19 pages/cpu @cfd49000 s45068 r0 d32756 u77824 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64766 Kernel command line: vga=0 uvesafb.mode_option=640x480-32 root=/dev/hda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 console=tty1 console=ttyS0,115200n8 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Initializing CPU#0 Initializing HighMem for node 0 (00000000:00000000) Memory: 244896K/261624K available (8582K kernel code, 682K rwdata, 2948K rodata, 728K init, 760K bss, 16728K reserved, 0K cma-reserved, 0K highmem) virtual kernel memory layout: fixmap : 0xfff16000 - 0xfffff000 ( 932 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xd07e0000 - 0xff7fe000 ( 752 MB) lowmem : 0xc0000000 - 0xcffe0000 ( 255 MB) .init : 0xc1bf0000 - 0xc1ca6000 ( 728 kB) .data : 0xc1861e91 - 0xc1bee9c0 (3634 kB) .text : 0xc1000000 - 0xc1861e91 (8583 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Preemptible hierarchical RCU implementation. Additional per-CPU info printed with stalls. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 NR_IRQS:2304 nr_irqs:256 16 Console: colour VGA+ 80x25 console [tty1] enabled console [ttyS0] enabled clocksource hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns tsc: Fast TSC calibration failed tsc: Unable to calibrate against PIT tsc: using HPET reference calibration tsc: Detected 3324.824 MHz processor Calibrating delay loop (skipped), value calculated using timer frequency.. 6649.64 BogoMIPS (lpj=3324824) pid_max: default: 32768 minimum: 301 ACPI: Core revision 20150410 ACPI: All ACPI Tables successfully acquired Security Framework initialized Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) Initializing cgroup subsys blkio Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys net_cls Initializing cgroup subsys debug Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 BUG: unable to handle kernel NULL pointer dereference at 00000003 IP: [<c1860649>] common_interrupt+0x9/0x34 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.2-yocto-standard #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 task: c1b4a960 ti: c1b44000 task.ti: c1b44000 EIP: 0060:[<c1860649>] EFLAGS: 00200097 CPU: 0 EIP is at common_interrupt+0x9/0x34 EAX: c1860640 EBX: 0000008d ECX: c1863963 EDX: e58a89d0 ESI: 00000119 EDI: 00000003 EBP: c1b45e78 ESP: c1b45e54 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 CR0: 8005003b CR2: 00000003 CR3: 01cb2000 CR4: 00000690 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: 00000000 DR7: 00000000 Stack: 0000004f c1008930 00000060 00200202 c1b45e78 c1008a75 c1c91f23 00000119 00000000 c1b45fc4 c1008cd4 c109f5c9 00000000 c10704fb c106a11b ffffffff 00000000 0000000a c1b45ea4 c185f565 c1b45edc 00000000 c1c964e9 c1c965aa Call Trace: [<c1008930>] ? add_nops+0x90/0xa0 [<c1008a75>] ? text_poke_early+0x35/0x40 [<c1008cd4>] apply_alternatives+0x254/0x610 [<c109f5c9>] ? __rcu_read_unlock+0x9/0x70 [<c10704fb>] ? preempt_count_sub+0xb/0xc0 [<c106a11b>] ? atomic_notifier_call_chain+0x3b/0x50 [<c185f565>] ? _raw_spin_unlock+0x15/0x30 [<c1860640>] ? irq_entries_start+0x690/0x690 [<c10704fb>] ? preempt_count_sub+0xb/0xc0 [<c1070d4c>] ? preempt_count_add+0xc/0xd0 [<c1070d4c>] ? preempt_count_add+0xc/0xd0 [<c10704fb>] ? preempt_count_sub+0xb/0xc0 [<c10704fb>] ? preempt_count_sub+0xb/0xc0 [<c185f59d>] ? _raw_spin_unlock_irqrestore+0x1d/0x40 [<c1097da9>] ? wake_up_klogd+0x49/0x70 [<c10980dd>] ? console_unlock+0x30d/0x560 [<c10704fb>] ? preempt_count_sub+0xb/0xc0 [<c10704fb>] ? preempt_count_sub+0xb/0xc0 [<c1098590>] ? vprintk_emit+0x260/0x530 [<c10989e1>] ? vprintk_default+0x41/0x60 [<c1857dbf>] ? printk+0x17/0x19 [<c1bf7e09>] ? identify_boot_cpu+0x7b/0x80 [<c1bf6d2d>] alternative_instructions+0x17/0xaf [<c1bf7e6b>] check_bugs+0x33/0xc5 [<c1bf0a88>] start_kernel+0x35e/0x380 [<c1bf02c3>] i386_start_kernel+0x91/0x95 Code: 26 00 6a 91 eb 1c 8d 74 26 00 eb 16 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 8d 90 90 83 04 24 80 fc 6a <00> 0f a0 06 1e 50 55 57 56 52 51 53 ba 7b 00 00 00 8e da 8e c2 EIP: [<c1860649>] common_interrupt+0x9/0x34 SS:ESP 0068:c1b45e54 CR2: 0000000000000003 ---[ end trace 9ea6105998f56d6f ]--- Kernel panic - not syncing: Attempted to kill the idle task! ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
Other builds at the same time with the same kernel worked so its an intermittent issue.
Also present in gcc 4.9.2, https://autobuilder.yoctoproject.org/main/builders/nightly-rpm/builds/420/steps/Running%20Sanity%20Tests/logs/stdio Full log, Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Initializing cgroup subsys cpuacct Linux version 4.1.2-yocto-standard (pokybuild@opensuse131) (gcc version 4.9.3 (GCC) ) #1 SMP PREEMPT Sat Aug 1 12:49:09 GMT 2015 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC e820: BIOS-provided physical RAM map: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved BIOS-e820: [mem 0x0000000000100000-0x000000000ffdffff] usable BIOS-e820: [mem 0x000000000ffe0000-0x000000000fffffff] reserved BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved Notice: NX (Execute Disable) protection missing in CPU! e820: user-defined physical RAM map: user: [mem 0x0000000000000000-0x000000000009fbff] usable user: [mem 0x000000000009fc00-0x000000000009ffff] reserved user: [mem 0x00000000000f0000-0x00000000000fffff] reserved user: [mem 0x0000000000100000-0x000000000ffdffff] usable user: [mem 0x000000000ffe0000-0x000000000fffffff] reserved user: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved SMBIOS 2.8 present. e820: last_pfn = 0xffe0 max_arch_pfn = 0x100000 found SMP MP-table at [mem 0x000f64b0-0x000f64bf] mapped at [c00f64b0] Scanning 1 areas for low memory corruption init_memory_mapping: [mem 0x00000000-0x000fffff] init_memory_mapping: [mem 0x0f800000-0x0fbfffff] init_memory_mapping: [mem 0x00100000-0x0f7fffff] init_memory_mapping: [mem 0x0fc00000-0x0ffdffff] ACPI: Early table checksum verification disabled ACPI: RSDP 0x00000000000F62C0 000014 (v00 BOCHS ) ACPI: RSDT 0x000000000FFE16B4 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) ACPI: FACP 0x000000000FFE0BDA 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) ACPI: DSDT 0x000000000FFE0040 000B9A (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) ACPI: FACS 0x000000000FFE0000 000040 ACPI: SSDT 0x000000000FFE0C4E 0009B6 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001) ACPI: APIC 0x000000000FFE1604 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) ACPI: HPET 0x000000000FFE167C 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) 0MB HIGHMEM available. 255MB LOWMEM available. mapped low ram: 0 - 0ffe0000 low ram: 0 - 0ffe0000 Zone ranges: DMA [mem 0x0000000000001000-0x0000000000ffffff] Normal [mem 0x0000000001000000-0x000000000ffdffff] HighMem empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000001000-0x000000000009efff] node 0: [mem 0x0000000000100000-0x000000000ffdffff] Initmem setup node 0 [mem 0x0000000000001000-0x000000000ffdffff] Using APIC driver default ACPI: PM-Timer IO Port: 0x608 ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) Using ACPI (MADT) for SMP configuration information ACPI: HPET id: 0x8086a201 base: 0xfed00000 smpboot: Allowing 1 CPUs, 0 hotplug CPUs e820: [mem 0x10000000-0xfffbffff] available for PCI devices Booting paravirtualized kernel on bare hardware clocksource refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 PERCPU: Embedded 19 pages/cpu @cfd49000 s45708 r0 d32116 u77824 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64766 Kernel command line: vga=0 uvesafb.mode_option=640x480-32 root=/dev/hda rw mem=256M ip=192.168.7.10::192.168.7.9:255.255.255.0 oprofile.timer=1 rootfstype=ext4 console=tty1 console=ttyS0,115200n8 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Initializing CPU#0 Initializing HighMem for node 0 (00000000:00000000) Memory: 244832K/261624K available (8542K kernel code, 740K rwdata, 2976K rodata, 732K init, 768K bss, 16792K reserved, 0K cma-reserved, 0K highmem) virtual kernel memory layout: fixmap : 0xfff16000 - 0xfffff000 ( 932 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xd07e0000 - 0xff7fe000 ( 752 MB) lowmem : 0xc0000000 - 0xcffe0000 ( 255 MB) .init : 0xc1bfd000 - 0xc1cb4000 ( 732 kB) .data : 0xc1857f20 - 0xc1bfb280 (3724 kB) .text : 0xc1000000 - 0xc1857f20 (8543 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Preemptible hierarchical RCU implementation. Additional per-CPU info printed with stalls. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 NR_IRQS:2304 nr_irqs:256 16 Console: colour VGA+ 80x25 console [tty1] enabled console [ttyS0] enabled clocksource hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns tsc: Fast TSC calibration failed tsc: Unable to calibrate against PIT tsc: using HPET reference calibration tsc: Detected 2925.921 MHz processor Calibrating delay loop (skipped), value calculated using timer frequency.. 5851.84 BogoMIPS (lpj=2925921) pid_max: default: 32768 minimum: 301 ACPI: Core revision 20150410 ACPI: All ACPI Tables successfully acquired Security Framework initialized Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) Initializing cgroup subsys blkio Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys net_cls Initializing cgroup subsys debug Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 BUG: unable to handle kernel NULL pointer dereference at 00000003 IP: [<c18566c9>] common_interrupt+0x9/0x34 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.2-yocto-standard #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 task: c1b48a00 ti: c1b42000 task.ti: c1b42000 EIP: 0060:[<c18566c9>] EFLAGS: 00200097 CPU: 0 EIP is at common_interrupt+0x9/0x34 EAX: c18566c0 EBX: 0000008d ECX: c185a9c3 EDX: e589ea50 ESI: 00000000 EDI: 00000003 EBP: c1b43e74 ESP: c1b43e50 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 CR0: 8005003b CR2: 00000003 CR3: 01cc0000 CR4: 00000690 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: 00000000 DR7: 00000000 Stack: 0000004f c1008990 00000060 00200202 c1b43e74 c1008ad5 c1ca0bc3 00000000 00000000 c1b43fc4 c1008d54 c1d6ade0 c109c369 00000000 c107034b c1069fab ffffffff 00000000 0000000a c1b43ea4 c1855545 00000000 c1b43eba c1ca51a3 Call Trace: [<c1008990>] ? add_nops+0x90/0xa0 [<c1008ad5>] ? text_poke_early+0x35/0x40 [<c1008d54>] apply_alternatives+0x274/0x640 [<c109c369>] ? __rcu_read_unlock+0x9/0x70 [<c107034b>] ? preempt_count_sub+0xb/0xc0 [<c1069fab>] ? atomic_notifier_call_chain+0x3b/0x50 [<c1855545>] ? _raw_spin_unlock+0x15/0x30 [<c18566c0>] ? irq_entries_start+0x690/0x690 [<c1002674>] ? signal_fault+0x4/0xe0 [<c107034b>] ? preempt_count_sub+0xb/0xc0 [<c10737dc>] ? preempt_count_add+0xc/0xa0 [<c10737dc>] ? preempt_count_add+0xc/0xa0 [<c107034b>] ? preempt_count_sub+0xb/0xc0 [<c107034b>] ? preempt_count_sub+0xb/0xc0 [<c185557d>] ? _raw_spin_unlock_irqrestore+0x1d/0x40 [<c1094cf9>] ? wake_up_klogd+0x49/0x70 [<c109500d>] ? console_unlock+0x2ed/0x500 [<c107034b>] ? preempt_count_sub+0xb/0xc0 [<c107034b>] ? preempt_count_sub+0xb/0xc0 [<c109546b>] ? vprintk_emit+0x24b/0x510 [<c10958b1>] ? vprintk_default+0x41/0x60 [<c184df62>] ? printk+0x17/0x19 [<c1c04e9f>] ? identify_boot_cpu+0x7b/0x80 [<c1c03de5>] alternative_instructions+0x17/0xaf [<c1c04efe>] check_bugs+0x30/0xc2 [<c1bfda6a>] start_kernel+0x35e/0x380 [<c1bfd2b7>] i386_start_kernel+0x85/0x89 Code: 26 00 6a 91 eb 1c 8d 74 26 00 eb 16 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 8d 90 90 83 04 24 80 fc 6a <00> 0f a0 06 1e 50 55 57 56 52 51 53 ba 7b 00 00 00 8e da 8e c2 EIP: [<c18566c9>] common_interrupt+0x9/0x34 SS:ESP 0068:c1b43e50 CR2: 0000000000000003 ---[ end trace e0e4a4ab2492c9e7 ]--- Kernel panic - not syncing: Attempted to kill the idle task! ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
Could the guest be trying to do something that is not supported by the (older) host kernel... Is it possible to get the host kernel log from the time this happens? There's a recent example on nightly-deb on fedora21: https://autobuilder.yoctoproject.org/main/builders/nightly-deb/builds/458
Seems to be a known problem into 4.2-rc8 [1], the next patch exists [2] and applies directly know i'm trying to reproduce to make sure that fixes the issue, that exist into 4.1.8. [1] http://www.gossamer-threads.com/lists/linux/kernel/2247855 [2]https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/arch/x86/kernel/alternative.c?id=66c117d7fa2ae429911e60d84bf31a90b2b96189
(In reply to comment #4) > Seems to be a known problem into 4.2-rc8 [1], the next patch exists [2] and > applies directly know i'm trying to reproduce to make sure that fixes the > issue, that exist into 4.1.8. > > > [1] http://www.gossamer-threads.com/lists/linux/kernel/2247855 > [2]https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/ > commit/arch/x86/kernel/alternative. > c?id=66c117d7fa2ae429911e60d84bf31a90b2b96189 Bruce, Can you review this info?
Updated to 4.1.8 so hopefully this is resolved: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c6c093b6f787fb2104cff76924bc6473e65e70d3
Verified, will reopen if happens again.
Happened again with a mut test run, so jethro+some patches. https://autobuilder.yoctoproject.org/main/builders/nightly-ipk/builds/522/steps/Running%20Sanity%20Tests/logs/stdio [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.1.8-yocto-standard (pokybuild@fedora21.osl.yoctoproject.org) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Thu Nov 5 23:22:58 GMT 2015 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 [ 0.000000] Transmeta TransmetaCPU [ 0.000000] UMC UMC UMC UMC [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000000ffdffff] usable [ 0.000000] BIOS-e820: [mem 0x000000000ffe0000-0x000000000fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] Notice: NX (Execute Disable) protection missing in CPU! [ 0.000000] e820: user-defined physical RAM map: [ 0.000000] user: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] user: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] user: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] user: [mem 0x0000000000100000-0x000000000ffdffff] usable [ 0.000000] user: [mem 0x000000000ffe0000-0x000000000fffffff] reserved [ 0.000000] user: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] SMBIOS 2.8 present. [ 0.000000] e820: last_pfn = 0xffe0 max_arch_pfn = 0x100000 [ 0.000000] found SMP MP-table at [mem 0x000f64b0-0x000f64bf] mapped at [c00f64b0] [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff] [ 0.000000] init_memory_mapping: [mem 0x0f800000-0x0fbfffff] [ 0.000000] init_memory_mapping: [mem 0x00100000-0x0f7fffff] [ 0.000000] init_memory_mapping: [mem 0x0fc00000-0x0ffdffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F62C0 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000000FFE16B4 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000000FFE0BDA 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000000FFE0040 000B9A (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000000FFE0000 000040 [ 0.000000] ACPI: SSDT 0x000000000FFE0C4E 0009B6 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: APIC 0x000000000FFE1604 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: HPET 0x000000000FFE167C 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) [ 0.000000] 0MB HIGHMEM available. [ 0.000000] 255MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 0ffe0000 [ 0.000000] low ram: 0 - 0ffe0000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] Normal [mem 0x0000000001000000-0x000000000ffdffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000000ffdffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000000ffdffff] [ 0.000000] Using APIC driver default [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] e820: [mem 0x10000000-0xfffbffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] clocksource refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 19 pages/cpu @cfd49000 s45068 r0 d32756 u77824 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64766 [ 0.000000] Kernel command line: vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda rw mem=256M ip=192.168.7.4::192.168.7.3:255.255.255.0 oprofile.timer=1 rootfstype=ext4 console=tty1 console=ttyS0,115200n8 printk.time=1 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] Initializing HighMem for node 0 (00000000:00000000) [ 0.000000] Memory: 244820K/261624K available (8622K kernel code, 685K rwdata, 2980K rodata, 728K init, 760K bss, 16804K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xfff16000 - 0xfffff000 ( 932 kB) [ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB) [ 0.000000] vmalloc : 0xd07e0000 - 0xff7fe000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xcffe0000 ( 255 MB) [ 0.000000] .init : 0xc1c03000 - 0xc1cb9000 ( 728 kB) [ 0.000000] .data : 0xc186be79 - 0xc1c01780 (3670 kB) [ 0.000000] .text : 0xc1000000 - 0xc186be79 (8623 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS:2304 nr_irqs:256 16 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [tty1] enabled [ 0.000000] console [ttyS0] enabled [ 0.000000] clocksource hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns [ 0.000000] tsc: Fast TSC calibration failed [ 0.000000] tsc: Unable to calibrate against PIT [ 0.000000] tsc: using HPET reference calibration [ 0.000000] tsc: Detected 3324.761 MHz processor [ 0.013413] Calibrating delay loop (skipped), value calculated using timer frequency.. 6649.52 BogoMIPS (lpj=3324761) [ 0.015586] pid_max: default: 32768 minimum: 301 [ 0.016216] ACPI: Core revision 20150410 [ 0.053856] ACPI: All ACPI Tables successfully acquired [ 0.056105] Security Framework initialized [ 0.060639] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.061227] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.082301] Initializing cgroup subsys blkio [ 0.084551] Initializing cgroup subsys memory [ 0.086469] Initializing cgroup subsys devices [ 0.087185] Initializing cgroup subsys freezer [ 0.088176] Initializing cgroup subsys net_cls [ 0.089141] Initializing cgroup subsys debug [ 0.093689] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.094074] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.096000] BUG: unable to handle kernel NULL pointer dereference at 00000003 [ 0.096000] IP: [<c186a609>] common_interrupt+0x9/0x34 [ 0.096000] *pde = 00000000 [ 0.096000] Oops: 0000 [#1] PREEMPT SMP [ 0.096000] Modules linked in: [ 0.096000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.8-yocto-standard #1 [ 0.096000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 [ 0.096000] task: c1b5c960 ti: c1b56000 task.ti: c1b56000 [ 0.096000] EIP: 0060:[<c186a609>] EFLAGS: 00200816 CPU: 0 [ 0.096000] EIP is at common_interrupt+0x9/0x34 [ 0.096000] EAX: c186a600 EBX: 0000008d ECX: c186d963 EDX: e58b2990 [ 0.096000] ESI: 00000119 EDI: 00000003 EBP: c1b57e78 ESP: c1b57e54 [ 0.096000] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 [ 0.096000] CR0: 8005003b CR2: 00000003 CR3: 01cc5000 CR4: 00000690 [ 0.096000] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 0.096000] DR6: 00000000 DR7: 00000000 [ 0.096000] Stack: [ 0.096000] 0000004f c1008810 00000060 00200202 c1b57e78 c1008955 c1ca53fb 00000119 [ 0.096000] 00000000 c1b57fc4 c1008bb4 c105397a c1b57eb0 c186aefd c106a22b ffffffff [ 0.096000] 00000000 0000000a c1b57ea4 c1b57eb8 00000006 00000000 c1ca9a0f c1ca9ad0 [ 0.096000] Call Trace: [ 0.096000] [<c1008810>] ? add_nops+0x90/0xa0 [ 0.096000] [<c1008955>] ? text_poke_early+0x35/0x40 [ 0.096000] [<c1008bb4>] apply_alternatives+0x254/0x610 [ 0.096000] [<c105397a>] ? irq_exit+0x8a/0xa0 [ 0.096000] [<c186aefd>] ? do_IRQ+0x4d/0xe0 [ 0.096000] [<c106a22b>] ? atomic_notifier_call_chain+0x3b/0x50 [ 0.096000] [<c186a600>] ? irq_entries_start+0x690/0x690 [ 0.096000] [<c107061b>] ? preempt_count_sub+0xb/0xc0 [ 0.096000] [<c1070e6c>] ? preempt_count_add+0xc/0xd0 [ 0.096000] [<c1070e6c>] ? preempt_count_add+0xc/0xd0 [ 0.096000] [<c107061b>] ? preempt_count_sub+0xb/0xc0 [ 0.096000] [<c107061b>] ? preempt_count_sub+0xb/0xc0 [ 0.096000] [<c186954d>] ? _raw_spin_unlock_irqrestore+0x1d/0x40 [ 0.096000] [<c1097f29>] ? wake_up_klogd+0x49/0x70 [ 0.096000] [<c109825d>] ? console_unlock+0x30d/0x560 [ 0.096000] [<c107061b>] ? preempt_count_sub+0xb/0xc0 [ 0.096000] [<c107061b>] ? preempt_count_sub+0xb/0xc0 [ 0.096000] [<c1098710>] ? vprintk_emit+0x260/0x530 [ 0.096000] [<c1098b61>] ? vprintk_default+0x41/0x60 [ 0.096000] [<c1861cff>] ? printk+0x17/0x19 [ 0.096000] [<c1c0ae0e>] ? identify_boot_cpu+0x7b/0x80 [ 0.096000] [<c1c09d32>] alternative_instructions+0x17/0xaf [ 0.096000] [<c1c0ae70>] check_bugs+0x33/0xc5 [ 0.096000] [<c1c03a88>] start_kernel+0x35e/0x385 [ 0.096000] [<c1c032c3>] i386_start_kernel+0x91/0x95 [ 0.096000] Code: 26 00 6a 91 eb 1c 8d 74 26 00 eb 16 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 8d 90 90 83 04 24 80 fc 6a <00> 0f a0 06 1e 50 55 57 56 52 51 53 ba 7b 00 00 00 8e da 8e c2 [ 0.096000] EIP: [<c186a609>] common_interrupt+0x9/0x34 SS:ESP 0068:c1b57e54 [ 0.096000] CR2: 0000000000000003 [ 0.096000] ---[ end trace c65e152c5890abfe ]--- [ 0.096000] Kernel panic - not syncing: Attempted to kill the idle task!
*** Bug 8516 has been marked as a duplicate of this bug. ***
Starting to look again into this...
Hi Bruce, The patch [1] wasn't integrated into v4.1.8 tag (i don't know why) it exists into 4.1.y branch [2]. I did a git tag --contains and is only available in 4.3 version. I downloaded the patch [1] and applied directly to our linux-yocto repo and works. Can you backport it?, seems a simple fix. [1] https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/arch/x86/kernel/alternative.c?id=66c117d7fa2ae429911e60d84bf31a90b2b96189 [2] https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/arch/x86/kernel/alternative.c?h=linux-4.1.y
Fixed at, http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=bd29006d2396cd1e22539adbae58a69217cf2977
Not reproducible for more than one month.