2015-08-22 13:16:09

by Huang, Ying

[permalink] [raw]
Subject: [lkp] [x86_64] ef7f0d6a6c: BUG: kernel early-boot crashed early console in setup code

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2 ("x86_64: add KASan support")


+-----------------------------------------------------------+------------+------------+
| | 786a895991 | ef7f0d6a6c |
+-----------------------------------------------------------+------------+------------+
| boot_successes | 10 | 0 |
| boot_failures | 1 | 12 |
| BUG:kernel_test_crashed | 1 | |
| BUG:kernel_early-boot_crashed_early_console_in_setup_code | 0 | 12 |
+-----------------------------------------------------------+------------+------------+


This may related to the specific kernel configuration file, which is attached.

early console in setup code

Elapsed time: 20
BUG: kernel early-boot crashed early console in setup code
Linux version 3.19.0-05243-gef7f0d6 #1
Command line: root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-4G-7/bisect_boot-1-debian-x86_64-2015-02-07.cgz-x86_64-randconfig-b0-07260806-ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2-20150810-121762-teagdv-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-b0-07260806 branch=linux-devel/devel-spot-201507260511 commit=ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-b0-07260806/gcc-4.9/ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2/vmlinuz-3.19.0-05243-gef7f0d6 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-4G/debian-x86_64-2015-02-07.cgz/x86_64-randconfig-b0-07260806/gcc-4.9/ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2/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-4G-7::dhcp
qemu-system-x86_64 -enable-kvm -cpu qemu64,+ssse3 -kernel /pkg/linux/x86_64-randconfig-b0-07260806/gcc-4.9/ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2/vmlinuz-3.19.0-05243-gef7f0d6 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-4G-7/bisect_boot-1-debian-x86_64-2015-02-07.cgz-x86_64-randconfig-b0-07260806-ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2-20150810-121762-teagdv-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-b0-07260806 branch=linux-devel/devel-spot-201507260511 commit=ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-b0-07260806/gcc-4.9/ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2/vmlinuz-3.19.0-05243-gef7f0d6 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-4G/debian-x86_64-2015-02-07.cgz/x86_64-randconfig-b0-07260806/gcc-4.9/ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2/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-4G-7::dhcp' -initrd /fs/sde1/initrd-vm-kbuild-4G-7 -m 4096 -smp 4 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::23038-:22 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sde1/disk0-vm-kbuild-4G-7,media=disk,if=virtio -drive file=/fs/sde1/disk1-vm-kbuild-4G-7,media=disk,if=virtio -drive file=/fs/sde1/disk2-vm-kbuild-4G-7,media=disk,if=virtio -drive file=/fs/sde1/disk3-vm-kbuild-4G-7,media=disk,if=virtio -drive file=/fs/sde1/disk4-vm-kbuild-4G-7,media=disk,if=virtio -drive file=/fs/sde1/disk5-vm-kbuild-4G-7,media=disk,if=virtio -drive file=/fs/sde1/disk6-vm-kbuild-4G-7,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-4G-7 -serial file:/dev/shm/kboot/serial-vm-kbuild-4G-7 -daemonize -display none -monitor null



Thanks,
Ying Huang


Attachments:
(No filename) (3.89 kB)
config-3.19.0-05243-gef7f0d6 (79.35 kB)
dmesg.xz (924.00 B)
Download all attachments

2015-08-22 13:31:41

by Andrey Ryabinin

[permalink] [raw]
Subject: Re: [lkp] [x86_64] ef7f0d6a6c: BUG: kernel early-boot crashed early console in setup code

2015-08-22 16:16 GMT+03:00 kernel test robot <[email protected]>:
> FYI, we noticed the below changes on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> commit ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2 ("x86_64: add KASan support")
>
>
> +-----------------------------------------------------------+------------+------------+
> | | 786a895991 | ef7f0d6a6c |
> +-----------------------------------------------------------+------------+------------+
> | boot_successes | 10 | 0 |
> | boot_failures | 1 | 12 |
> | BUG:kernel_test_crashed | 1 | |
> | BUG:kernel_early-boot_crashed_early_console_in_setup_code | 0 | 12 |
> +-----------------------------------------------------------+------------+------------+
>
>
> This may related to the specific kernel configuration file, which is attached.
>

The combination of these 2 configs didn't work at some point:
CONFIG_PHYSICAL_START=0x1000000
CONFIG_KASAN=y

This was fixed in commit 5d5aa3cfca5cf74cd928daf3674642e6004328d1
("x86/kasan: Fix KASAN shadow region page tables")