Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux
yegorslists-googlemail-com/tty-serial-8250-use-mctrl_gpio-helpers/20160309-190741
commit d294b233a2bdc7abdb5dfa856fc00dc67e96d57a
Author: Yegor Yefremov <yegorslists(a)googlemail.com>
AuthorDate: Wed Mar 9 12:03:14 2016 +0100
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Wed Mar 9 19:07:42 2016 +0800
tty/serial/8250: use mctrl_gpio helpers
This patch permits the usage fo GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI
signals.
Signed-off-by: Yegor Yefremov <yegorslists(a)googlemail.com>
+-------------------------------------------------------+------------+------------+------------+
| | a95fc9c8e5 | d294b233a2 |
d294b233a2 |
+-------------------------------------------------------+------------+------------+------------+
| boot_successes | 84 | 0 | 0
|
| boot_failures | 3 | 13 | 13
|
| BUG:unable_to_handle_kernel | 3 | 13 | 13
|
| Oops | 3 | 13 | 13
|
| EIP_is_at_perf_prepare_sample | 3 | |
|
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 2 | |
|
| backtrace:iterate_dir | 1 | |
|
| backtrace:SyS_getdents64 | 1 | |
|
| Kernel_panic-not_syncing:Fatal_exception | 1 | 13 | 13
|
| WARNING:at_drivers/tty/tty_io.c:#tty_init_dev() | 0 | 13 | 13
|
| EIP_is_at_tty_init_dev | 0 | 13 | 13
|
| backtrace:tty_init_dev | 0 | 13 | 13
|
| backtrace:warn_slowpath_fmt | 0 | 13 | 13
|
| backtrace:do_sys_open | 0 | 13 | 13
|
| backtrace:SyS_open | 0 | 13 | 13
|
| backtrace:kernel_init_freeable | 0 | 13 | 13
|
+-------------------------------------------------------+------------+------------+------------+
[ 8.304454] page_owner is disabled
[ 8.307923] rtc_cmos 00:00: setting system clock to 2016-03-09 19:56:39 UTC
(1457553399)
[ 8.311883] ------------[ cut here ]------------
[ 8.312286] WARNING: CPU: 0 PID: 1 at drivers/tty/tty_io.c:1548
tty_init_dev+0x154/0x290()
[ 8.313091] tty_init_dev: ttyS driver does not set tty->port. This will crash the
kernel later. Fix the driver!
[ 8.313937] Modules linked in:
[ 8.314223] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.5.0-rc4-00223-gd294b23 #904
[ 8.314842] 00000246 00000246 40277d1c 4137c480 40277d44 41b4345c 0000060c 40277d34
[ 8.315576] 4106ff33 4146dcd4 4ad00c10 00000001 00000000 40277d4c 4106ff86 00000009
[ 8.316312] 40277d44 41b436a8 40277d60 40277d7c 4146dcd4 41b4345c 0000060c 41b436a8
[ 8.317048] Call Trace:
[ 8.317259] [<4137c480>] dump_stack+0x8c/0xbc
[ 8.317625] [<4106ff33>] warn_slowpath_common+0xa3/0xd0
[ 8.318064] [<4146dcd4>] ? tty_init_dev+0x154/0x290
[ 8.318468] [<4106ff86>] warn_slowpath_fmt+0x26/0x30
[ 8.318878] [<4146dcd4>] tty_init_dev+0x154/0x290
[ 8.319274] [<4146e5c6>] tty_open+0x7b6/0xa90
[ 8.319640] [<41221ed5>] chrdev_open+0x205/0x2d0
[ 8.320028] [<412177e4>] do_dentry_open+0x544/0x5e0
[ 8.320488] [<41221cd0>] ? cdev_put+0x40/0x40
[ 8.320852] [<4121949a>] vfs_open+0x8a/0x90
[ 8.321208] [<4123246d>] do_last+0xb7d/0x1130
[ 8.321571] [<4122a917>] ? inode_permission+0x67/0xc0
[ 8.321992] [<41232b11>] path_openat+0xf1/0x4c0
[ 8.322375] [<41235229>] do_filp_open+0x69/0x120
[ 8.322762] [<41791b42>] ? _raw_spin_unlock+0x52/0x70
[ 8.323187] [<41249d68>] ? __alloc_fd+0x218/0x2b0
[ 8.323580] [<41219c7d>] do_sys_open+0x35d/0x440
[ 8.323963] [<41219d78>] SyS_open+0x18/0x20
[ 8.324320] [<41e09f1f>] kernel_init_freeable+0x106/0x1aa
[ 8.324769] [<41787469>] kernel_init+0x9/0x150
[ 8.325146] [<41792451>] ret_from_kernel_thread+0x21/0x40
[ 8.325589] [<41787460>] ? rest_init+0xb0/0xb0
[ 8.326675] ---[ end trace a0fa66e39705bc4d ]---
[ 8.327076] BUG: unable to handle kernel NULL pointer dereference at 00000098
git bisect start d294b233a2bdc7abdb5dfa856fc00dc67e96d57a
a95fc9c8e576dc238ad849f65c67e4fd33c01d3b --
# first bad commit: [d294b233a2bdc7abdb5dfa856fc00dc67e96d57a] tty/serial/8250: use
mctrl_gpio helpers
git bisect good a95fc9c8e576dc238ad849f65c67e4fd33c01d3b # 20:02 66+ 3 serial:
8250: describe CONFIG_SERIAL_8250_RSA
# extra tests with DEBUG_INFO
git bisect bad d294b233a2bdc7abdb5dfa856fc00dc67e96d57a # 20:06 0- 66
tty/serial/8250: use mctrl_gpio helpers
# extra tests on HEAD of
linux-review/yegorslists-googlemail-com/tty-serial-8250-use-mctrl_gpio-helpers/20160309-190741
git bisect bad d294b233a2bdc7abdb5dfa856fc00dc67e96d57a # 20:06 0- 13
tty/serial/8250: use mctrl_gpio helpers
# extra tests on tree/branch
linux-review/yegorslists-googlemail-com/tty-serial-8250-use-mctrl_gpio-helpers/20160309-190741
git bisect bad d294b233a2bdc7abdb5dfa856fc00dc67e96d57a # 20:06 0- 13
tty/serial/8250: use mctrl_gpio helpers
# extra tests with first bad commit reverted
git bisect good d232311183c0c28045b797481f732154ee93411b # 20:21 66+ 2 Revert
"tty/serial/8250: use mctrl_gpio helpers"
# extra tests on tree/branch linus/master
git bisect good 7f02bf6b5f5de90b7a331759b5364e41c0f39bf9 # 20:25 61+ 1 Merge
tag 'sound-4.5' of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
# extra tests on tree/branch linux-next/master
git bisect good 7811b4ffc31285e08ee7a6a96a94848c37a43e09 # 20:30 61+ 2 Add
linux-next specific files for 20160309
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-i386.cgz
wget --no-clobber
https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-initrd $initrd
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
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
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation