git bisect start # good: [455c6fdbd219161bd09b1165f11699d6d73de11c] Linux 3.14 git bisect good 455c6fdbd219161bd09b1165f11699d6d73de11c # bad: [b8780c363d808a726a34793caa900923d32b6b80] sched: remove sleep_on() and friends git bisect bad b8780c363d808a726a34793caa900923d32b6b80 saw: [ 0.000000] NR_IRQS:16640 nr_irqs:2728 16 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS2] enabled [ 0.000000] bootconsole [earlyser0] disabled so: git bisect bad ec0159503ae74aeb834e78366bdf4b9663ca1129 now at: [davehans@viggo linux.git]$ git describe v3.14-2505-g158e0d3 booted: [ 65.341622] sr 4:0:0:0: Attached scsi CD-ROM sr0 [ 65.346693] sr 4:0:0:0: Attached scsi generic sg1 type 5 [ 65.874028] random: nonblocking pool is initialized so: git bisect good # good: [158e0d3621683ee0cdfeeba56f0e5ddd97ae984f] Merge tag 'driver-core-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core git bisect good 158e0d3621683ee0cdfeeba56f0e5ddd97ae984f now at: v3.14-rc7-1321-gc4cf6df [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.14.0-rc7-01321-gc4cf6df (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #51 SMP Mon Apr 7 15:47:12 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 booted after kexec! �[ 11.448642] 0000:13:00.0: ttyS2 at I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so vehans@viggo linux.git]$ git bisect good; git describe Bisecting: 696 revisions left to test after this (roughly 9 steps) [7a48837732f87a574ee3e1855927dc250117f565] Merge branch 'for-3.15/core' of git://git.kernel.dk/linux-block now at: v3.14-4450-g7a48837 kexec boot: [ 0.000000] Linux version 3.14.0-04450-g7a48837 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #52 SMP Mon Apr 7 15:50:36 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 hang: [ 0.000000] Spurious LAPIC timer interrupt on cpu 0 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS2] enabled [ 0.000000] bootconsole [earlyser0] disabled so: $ git bisect bad; git bisect log; git describe git bisect bad 7a48837732f87a574ee3e1855927dc250117f565 now at: v3.14-rc6-257-g940ab8f warm reboot: [ 0.000000] Linux version 3.14.0-rc6-00257-g940ab8f (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #53 SMP Mon Apr 7 15:54:13 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.54 [ 0.000000] e820: BIOS-provided physical RAM map: looks OK: [ 0.000000] console [ttyS2] enabled [ 0.000000] bootconsole [earlyser0] disabled 0000:13:00.0: ttyS2 at I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so: [davehans@viggo linux.git]$ git bisect good Bisecting: 183 revisions left to test after this (roughly 8 steps) [2a815b5ac374d670f347f2d3a39db07105715398] [SCSI] vmw_pvscsi: Add support for I/O requests coalescing. from bisect log: git bisect good 940ab8f1ef9369da5b58a1bec6820bfd4a7b9042 now at: v3.14-rc3-357-g2a815b5 jumped ahead to: [davehans@viggo linux.git]$ git checkout ebade5e83^ Previous HEAD position was 2a815b5... [SCSI] vmw_pvscsi: Add support for I/O requests coalescing. HEAD is now at 41d3f09... serial: 8250_pci: change BayTrail default uartclk kexec'd: [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.14.0-rc5-00059-g41d3f09 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #54 SMP Mon Apr 7 16:01:32 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.54 hung: [ 0.000000] ACPI: Core revision 20131218 [ 0.000000] ACPI: All ACPI Tables successfully acquired [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS2] enabled [ 0.000000] bootconsole [earlyser0] disabled so: [davehans@viggo linux.git]$ git bisect bad Bisecting: a merge base must be tested [0414855fdc4a40da05221fc6062cccbc0c30f169] Linux 3.14-rc5 [ 0.000000] Linux version 3.14.0-rc5 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #55 SMP Mon Apr 7 16:05:31 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 booted: [ 0.000000] bootconsole [earlyser0] disabled �[ 9.243037] 0000:13:00.0: ttyS2 at I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so: [davehans@viggo linux.git]$ git bisect good Bisecting: 29 revisions left to test after this (roughly 5 steps) [ef2889f7ffee67f0aed49e854c72be63f1466759] serial: pl011: Move uart_register_driver call to device probe kexec: [ 0.000000] Linux version 3.14.0-rc2-00040-gef2889f (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #56 SMP Mon Apr 7 16:12:32 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 ok: I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so: Bisecting: 14 revisions left to test after this (roughly 4 steps) [63f3a16db915096d7a80a96748adba00feb07a32] vt: detect and ignore OSC codes. kexec: [ 0.000000] Linux version 3.14.0-rc4-00044-g63f3a16 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #57 SMP Mon Apr 7 16:25:11 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 ok: �[ 9.211735] 0000:13:00.0: ttyS2 at I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so: $ git bisect good Bisecting: 7 revisions left to test after this (roughly 3 steps) [45af780a0fcac8fbba0ac740a671b2af80bcf189] serial: imx: Remove init() and exit() platform callbacks kexec: [ 0.000000] Linux version 3.14.0-rc4-00051-g45af780 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #58 SMP Mon Apr 7 16:27:06 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 ... 0000:13:00.0: ttyS2 at I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so: [davehans@viggo linux.git]$ git bisect good Bisecting: 3 revisions left to test after this (roughly 2 steps) [5f5c9ae56c38942623f69c3e6dc6ec78e4da2076] serial_core: Unregister console in uart_remove_one_port() ekxec: [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.14.0-rc4-00055-g5f5c9ae (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #59 SMP Mon Apr 7 16:29:19 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 bad: [ 0.000000] ACPI: Core revision 20131218 [ 0.000000] ACPI: All ACPI Tables successfully acquired [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS2] enabled [ 0.000000] bootconsole [earlyser0] disabled so: [davehans@viggo linux.git]$ git bisect bad Bisecting: 1 revision left to test after this (roughly 1 step) [ddaa603739fea273ca46d71bd1ff8fa06b8b30c6] tty/serial: at91: use dev_err instead of printk warm reboot: [ 0.000000] Linux version 3.14.0-rc4-00053-gddaa603 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #60 SMP Mon Apr 7 16:32:57 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 ok: �[ 9.463181] 0000:13:00.0: ttyS2 at I/O 0x1008 (irq = 18, base_baud = 115200) is a ST16650V2 so:[davehans@viggo linux.git]$ git bisect good Bisecting: 0 revisions left to test after this (roughly 0 steps) [a3c1fa99f4d2a635f6660b946f950d379bc8271c] tty/serial: at91: remove unused open/close hooks kexecd to: [ 0.000000] Linux version 3.14.0-rc4-00054-ga3c1fa9 (davehans@viggo.jf.intel.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #61 SMP Mon Apr 7 16:38:43 PDT 2014 [ 0.000000] Command line: debug console=ttyS2,115200 root=/dev/sda1 earlyprintk=serial,0x1008,115200 ro rootdelay=120 profile=2 nosoftlockup tsc=reliable ip=10.23.232.51 ok, so: ]$ git bisect good 5f5c9ae56c38942623f69c3e6dc6ec78e4da2076 is the first bad commit commit 5f5c9ae56c38942623f69c3e6dc6ec78e4da2076 Author: Geert Uytterhoeven Date: Fri Feb 28 14:21:32 2014 +0100 serial_core: Unregister console in uart_remove_one_port() If the serial port being removed is used as a console, it must also be unregistered from the console subsystem using unregister_console(). uart_ops.release_port() will release resources (e.g. iounmap() the serial port registers), causing a crash on subsequent kernel output if the console is still registered. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman :040000 040000 22b0f4a78bd259875af8b16d36c7bd14d41369c2 758e441eeac1173cc8843dcc3315f47c9ef6f088 Mdrivers [davehans@viggo linux.git]$