Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266114

4.3 serial driver crashes with console shortly after boot

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject 4.3 serial driver crashes with console shortly after boot
Date 2015-11-10 01:30 +0100
Message-ID <qt4YW-65g-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

With 4.3 an x86 server is always crashing roughly a minute after boot
in __uart_start/uart_tx_stopped. This is repeatable over multiple boots.

The back trace is
flush_to_ldisc->n_tty_receive_buf2->n_tty_receive_buf_common->
commit_echoes-> uart_flush_chars->uart_start

It seems to follow a bad pointer here 

ffffffff813bbdfa:       f6 80 f4 01 00 00 01    testb  $0x1,0x1f4(%rax)
<---
ffffffff813bbe01:       74 01                   je     ffffffff813bbe04
<__uart_start.isra.1+0x24>

Unfortunately I don't have the contents of RAX which scrolled away,
but since CR2 is 1f4 I suspect it's NUL.

It seems to depend on the order of the console=... arguments on the
kernel command line. With console=tty0 console=ttyS0,115200n8 it
crashes, but when reversing the options it does not crash.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

4.3 serial driver crashes with console shortly after boot Andi Kleen <andi@firstfloor.org> - 2015-11-10 01:30 +0100
  Re: 4.3 serial driver crashes with console shortly after boot Peter Hurley <peter@hurleysoftware.com> - 2015-11-10 03:00 +0100
    Re: 4.3 serial driver crashes with console shortly after boot Andi Kleen <andi@firstfloor.org> - 2015-11-10 23:50 +0100
      Re: 4.3 serial driver crashes with console shortly after boot Andi Kleen <andi@firstfloor.org> - 2015-11-10 23:50 +0100
        Re: 4.3 serial driver crashes with console shortly after boot Peter Hurley <peter@hurleysoftware.com> - 2015-11-11 00:20 +0100
          Re: 4.3 serial driver crashes with console shortly after boot Peter Hurley <peter@hurleysoftware.com> - 2015-11-11 12:20 +0100
            Re: 4.3 serial driver crashes with console shortly after boot Andi Kleen <andi@firstfloor.org> - 2015-11-11 18:00 +0100

csiph-web