FYI, we noticed the following commit:
https://github.com/0day-ci/linux
Deepa-Dinamani/Delete-CURRENT_TIME-and-CURRENT_TIME_SEC-macros/20160620-104147
commit c43edc7bd9c06af9a7278101d462eb0ba0299605 ("fs: Replace CURRENT_TIME with
current_time() for inode timestamps")
on test machine: vm-kbuild-yocto-i386: 2 threads qemu-system-i386 -enable-kvm with 320M
memory
caused below changes:
+------------------------------------------------------------+------------+------------+
| | 58b11bff28 | c43edc7bd9 |
+------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 6 | 14 |
| genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) | 6 | |
| genirq:Flags_mismatch_irq | 1 | |
| BUG:unable_to_handle_kernel | 0 | 14 |
| Oops | 0 | 14 |
| EIP_is_at_current_time | 0 | 14 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 14 |
| backtrace:_do_fork | 0 | 14 |
+------------------------------------------------------------+------------+------------+
Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
CPU: Intel QEMU Virtual CPU version 2.4.0 (family: 0x6, model: 0x6, stepping: 0x3)
BUG: unable to handle kernel NULL pointer dereference at 00000450
IP: [<810d76ba>] current_time+0x17/0x2b
*pde = 00000000
Oops: 0000 [#1] DEBUG_PAGEALLOC
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 4.7.0-rc3-next-20160617-00002-gc43edc7 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
task: 8182c600 ti: 81826000 task.ti: 81826000
EIP: 0060:[<810d76ba>] EFLAGS: 00210246 CPU: 0
EIP is at current_time+0x17/0x2b
EAX: 00000000 EBX: 92804dcc ECX: 00000008 EDX: 1b0ef314
ESI: 92804dcc EDI: 81842680 EBP: 81827e0c ESP: 81827dfc
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
CR0: 80050033 CR2: 00000450 CR3: 01922000 CR4: 00000690
Stack:
576775b1 00000000 1b0ef314 92804db0 81827e1c 810ff1ea 92c27800 92c27800
81827e2c 810d6db3 92c27800 8184da40 81827e3c 810d7f57 92c27800 8184da40
81827e4c 810ff40e 92c27800 00000000 81827e58 810ff527 92c27800 81827e70
Call Trace:
[<810ff1ea>] proc_alloc_inode+0x56/0x70
[<810d6db3>] alloc_inode+0x14/0x5f
[<810d7f57>] new_inode_pseudo+0xa/0x40
[<810ff40e>] proc_get_inode+0xc/0xe5
[<810ff527>] proc_fill_super+0x40/0x80
[<810ff71d>] proc_mount+0x93/0xce
[<810c5cf2>] mount_fs+0xe/0x7a
[<810d9dcf>] vfs_kern_mount+0x4b/0xf5
[<810d9e89>] kern_mount_data+0x10/0x21
[<810ff81f>] pid_ns_prepare_proc+0x12/0x21
[<8103ac1d>] alloc_pid+0x233/0x2ea
[<8103c5b4>] ? create_new_namespaces+0x121/0x121
[<810283df>] copy_process+0xc5a/0x1232
[<81501e05>] ? rest_init+0xa2/0xa2
[<812b4b49>] ? acpi_hw_read+0xe9/0x15f
[<81028acc>] _do_fork+0x61/0x28f
[<812b4d37>] ? acpi_hw_register_read+0x4f/0xaf
[<812b5511>] ? acpi_read_bit_register+0x1e/0x3d
[<81501e05>] ? rest_init+0xa2/0xa2
[<81028d16>] kernel_thread+0x1c/0x21
[<81501d7d>] rest_init+0x1a/0xa2
[<818adac9>] start_kernel+0x34e/0x353
[<818ad2b5>] i386_start_kernel+0xa0/0xa4
Code: 00 89 e5 b8 00 1a 84 81 e8 ab 67 f5 ff eb 03 b0 01 c3 5d c3 55 89 e5 53 89 c3 83 ec
0c 8d 45 f0 e8 4a b8 f8 ff 8b 43 1c 8b 55 f8 <8b> 88 50 04 00 00 8b 45 f0 e8 40 6b
f8 ff 83 c4 0c 5b 5d c3 55
EIP: [<810d76ba>] current_time+0x17/0x2b SS:ESP 0068:81827dfc
CR2: 0000000000000450
---[ end trace a8594f352bea28f0 ]---
Kernel panic - not syncing: Fatal exception
FYI, raw QEMU command line is:
qemu-system-i386 -enable-kvm -kernel
/pkg/linux/i386-randconfig-n0-201625/gcc-6/c43edc7bd9c06af9a7278101d462eb0ba0299605/vmlinuz-4.7.0-rc3-next-20160617-00002-gc43edc7
-append 'root=/dev/ram0 user=lkp
job=/lkp/scheduled/vm-kbuild-yocto-i386-29/bisect_boot-1-yocto-minimal-i386.cgz-i386-randconfig-n0-201625-c43edc7bd9c06af9a7278101d462eb0ba0299605-20160620-50311-gdkngs-0.yaml~
ARCH=i386 kconfig=i386-randconfig-n0-201625
branch=linux-review/Deepa-Dinamani/Delete-CURRENT_TIME-and-CURRENT_TIME_SEC-macros/20160620-104147
commit=c43edc7bd9c06af9a7278101d462eb0ba0299605
BOOT_IMAGE=/pkg/linux/i386-randconfig-n0-201625/gcc-6/c43edc7bd9c06af9a7278101d462eb0ba0299605/vmlinuz-4.7.0-rc3-next-20160617-00002-gc43edc7
max_uptime=600
RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-i386/yocto-minimal-i386.cgz/i386-randconfig-n0-201625/gcc-6/c43edc7bd9c06af9a7278101d462eb0ba0299605/0
LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug
sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1
nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200
console=tty0 vga=normal rw ip=::::vm-kbuild-yocto-i386-29::dhcp drbd.minor_count=8'
-initrd /fs/sdg1/initrd-vm-kbuild-yocto-i386-29 -m 320 -smp 2 -device e1000,netdev=net0
-netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime
-drive file=/fs/sdg1/disk0-vm-kbuild-yocto-i386-29,media=disk,if=virtio -pidfile
/dev/shm/kboot/pid-vm-kbuild-yocto-i386-29 -serial
file:/dev/shm/kboot/serial-vm-kbuild-yocto-i386-29 -daemonize -display none -monitor null
Thanks,
Xiaolong