[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87bn663u5a.fsf@yhuang-dev.intel.com>
Date: Wed, 23 Mar 2016 08:38:57 +0800
From: kernel test robot <ying.huang@...ux.intel.com>
TO: Yegor Yefremov <yegorslists@...glemail.com>
CC: 0day robot <fengguang.wu@...el.com>
Subject: [lkp] [tty/serial/8250] 9e2a7d9c24: BUG: unable to handle kernel
NULL pointer dereference at 0000000000000008
FYI, we noticed the below changes on
https://github.com/0day-ci/linux yegorslists-googlemail-com/tty-serial-8250-add-MCTRL_GPIO-support/20160322-211617
commit 9e2a7d9c247ff3c90ff8a4086a165a6d141de16f ("tty/serial/8250: use mctrl_gpio helpers")
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:4352 nr_irqs:440 16
[ 0.000000] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[ 0.000000] IP: [<ffffffff817064c5>] mctrl_gpio_set+0x15/0x60
[ 0.000000] PGD 0
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.5.0-next-20160322-00005-g9e2a7d9 #236
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.000000] task: ffffffff8301b540 ti: ffffffff83000000 task.ti: ffffffff83000000
[ 0.000000] RIP: 0010:[<ffffffff817064c5>] [<ffffffff817064c5>] mctrl_gpio_set+0x15/0x60
[ 0.000000] RSP: 0000:ffffffff83003d48 EFLAGS: 00010086
[ 0.000000] RAX: ffffffff826f8a48 RBX: 0000000000000000 RCX: 0000000000000000
[ 0.000000] RDX: 0000000000000008 RSI: 0000000000000002 RDI: 0000000000000000
[ 0.000000] RBP: ffffffff83003da8 R08: 000000000001c200 R09: 000000000000002a
[ 0.000000] R10: 0000000000000000 R11: 0000000000000053 R12: ffffffff8503e2e0
[ 0.000000] R13: 000000000001c200 R14: 0000000000000013 R15: 0000000000000001
[ 0.000000] FS: 0000000000000000(0000) GS:ffff880014c00000(0000) knlGS:0000000000000000
[ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: 0000000000000008 CR3: 0000000003014000 CR4: 00000000000006b0
[ 0.000000] Stack:
[ 0.000000] 0000000000000086 ffffffff83003db0 ffffffff810d9e16 0000000000000000
[ 0.000000] ffffffff816f6e06 0000000000000000 0000000000000000 0000000000000001
[ 0.000000] 0000000000000000 ffffffff83003db0 ffffffff816f3627 ffffffff8503e2e0
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff810d9e16>] ? lock_acquire+0xa6/0xe0
[ 0.000000] [<ffffffff816f6e06>] ? serial8250_do_set_termios+0xf6/0x3f0
[ 0.000000] [<ffffffff816f3627>] ? default_serial_dl_write+0x27/0x30
[ 0.000000] [<ffffffff816f65d3>] serial8250_do_set_mctrl+0xa3/0xb0
[ 0.000000] [<ffffffff816f65f6>] serial8250_set_mctrl+0x16/0x20
[ 0.000000] [<ffffffff816f6fec>] serial8250_do_set_termios+0x2dc/0x3f0
[ 0.000000] [<ffffffff816f7116>] serial8250_set_termios+0x16/0x20
[ 0.000000] [<ffffffff816f1054>] uart_set_options+0xf4/0x150
[ 0.000000] [<ffffffff816f754f>] serial8250_console_setup+0x7f/0x130
[ 0.000000] [<ffffffff816f22c9>] univ8250_console_setup+0x39/0x50
[ 0.000000] [<ffffffff810e4075>] register_console+0x295/0x370
[ 0.000000] [<ffffffff832c4c52>] univ8250_console_init+0x1e/0x28
[ 0.000000] [<ffffffff832c4328>] console_init+0x1c/0x25
[ 0.000000] [<ffffffff83289dc2>] start_kernel+0x2cc/0x44c
[ 0.000000] [<ffffffff83289120>] ? early_idt_handler_array+0x120/0x120
[ 0.000000] [<ffffffff83289354>] x86_64_start_reservations+0x38/0x3a
[ 0.000000] [<ffffffff83289441>] x86_64_start_kernel+0xeb/0xf8
[ 0.000000] Code: ef e8 80 b5 d4 00 5b 41 5c 41 5d 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 8d 57 08 48 c7 c0 48 8a 6f 82 31 ff 48 89 e5 48 83 ec 60 <48> 8b 0a 48 85 c9 74 1d 80 78 04 00 74 17 41 89 f8 4a 89 4c c5
[ 0.000000] RIP [<ffffffff817064c5>] mctrl_gpio_set+0x15/0x60
[ 0.000000] RSP <ffffffff83003d48>
[ 0.000000] CR2: 0000000000000008
[ 0.000000] ---[ end trace 6df90b3c20cfd0c4 ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -kernel /pkg/linux/x86_64-randconfig-i0-201612/gcc-5/9e2a7d9c247ff3c90ff8a4086a165a6d141de16f/vmlinuz-4.5.0-next-20160322-00005-g9e2a7d9 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-quantal-x86_64-2/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-randconfig-i0-201612-9e2a7d9c247ff3c90ff8a4086a165a6d141de16f-20160322-6028-xx10d2-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-i0-201612 branch=linux-devel/devel-catchup-201603222125 commit=9e2a7d9c247ff3c90ff8a4086a165a6d141de16f BOOT_IMAGE=/pkg/linux/x86_64-randconfig-i0-201612/gcc-5/9e2a7d9c247ff3c90ff8a4086a165a6d141de16f/vmlinuz-4.5.0-next-20160322-00005-g9e2a7d9 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-wsx03-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-randconfig-i0-201612/gcc-5/9e2a7d9c247ff3c90ff8a4086a165a6d141de16f/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-lkp-wsx03-quantal-x86_64-2::dhcp drbd.minor_count=8' -initrd /fs/sdc1/initrd-vm-lkp-wsx03-quantal-x86_64-2 -m 360 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-quantal-x86_64-2 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-quantal-x86_64-2 -daemonize -display none -monitor null
Thanks,
Kernel Test Robot
View attachment "config-4.5.0-next-20160322-00005-g9e2a7d9" of type "text/plain" (111012 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (4112 bytes)
Powered by blists - more mailing lists