[boot crash] Re: [GIT PATCH] TTY/serial fixes for .37-rc1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Saturday, November 13, 2010 - 8:10 am

* Greg KH <gregkh@suse.de> wrote:


I think one of these commits is causing the following boot crash in -tip:

Console: colour VGA+ 80x25
BUG: unable to handle kernel NULL pointer dereference at 0000000000000158
IP: [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
PGD 0 
Oops: 0000 [#1] SMP 
last sysfs file: 
CPU 0 
Modules linked in:

Pid: 0, comm: swapper Not tainted 2.6.37-rc1-tip-02017-gba4813e-dirty #62970 /
RIP: 0010:[<ffffffff811ebcb4>]  [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
RSP: 0000:ffffffff8152fd88  EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffffffff8207aa80 RCX: 0000000000002060
RDX: 0000000000000158 RSI: 0000000000000000 RDI: ffffffff8207aa80
RBP: ffffffff8152fdd8 R08: 000000000000000a R09: 000000000001c200
R10: 0000000000000025 R11: ffffffff81cec340 R12: 0000000000000013
R13: ffffffff8152fe08 R14: 0000000000000001 R15: 000000000001c200
FS:  0000000000000000(0000) GS:ffff88003e400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000158 CR3: 000000000153f000 CR4: 00000000000006b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 0, threadinfo ffffffff8152e000, task ffffffff81547020)
Stack:
 ffffffff815567e0 ffffffff8207aa00 0000000000000286 00ffffff8207aa10
 000000000000006e 000000000001c200 ffffffff8207aa80 ffffffff815762c0
 000000000000006e 000000000000006e ffffffff8152fde8 ffffffff811ebf35
Call Trace:
 [<ffffffff811ebf35>] serial8250_set_termios+0x25/0x30
 [<ffffffff811e6663>] uart_set_options+0xf3/0x170
 [<ffffffff81798f55>] serial8250_console_setup+0xa8/0xaf
 [<ffffffff8104ac1a>] register_console+0x22a/0x390
 [<ffffffff81799117>] serial8250_console_init+0x28/0x2c
 [<ffffffff81797a5c>] console_init+0x19/0x2a
 [<ffffffff81778b4d>] start_kernel+0x27d/0x407
 [<ffffffff81778347>] x86_64_start_reservations+0x132/0x136
 [<ffffffff81778451>] x86_64_start_kernel+0x106/0x115
Code: 98 00 00 00 41 f6 45 00 04 0f 85 a8 01 00 00 41 f6 45 08 80 75 07 83 8b 98 00 00 00 01 48 8b 83 a0 00 00 00 48 8d 90 58 01 00 00 <48> 39 90 58 01 00 00 0f 84 17 02 00 00 0f b6 93 c1 01 00 00 89 
RIP  [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
 RSP <ffffffff8152fd88>
CR2: 0000000000000158
---[ end trace a7919e7f17c0a725 ]---
Kernel panic - not syncing: Fatal exception
Pid: 0, comm: swapper Tainted: G      D     2.6.37-rc1-tip-02017-gba4813e-dirty #62970
Call Trace:
 [<ffffffff8139148f>] panic+0x8c/0x19c
 [<ffffffff8104b745>] ? kmsg_dump+0x155/0x170
 [<ffffffff8100f744>] oops_end+0xd4/0xf0
 [<ffffffff81030a50>] no_context+0xf0/0x260
 [<ffffffff81063910>] ? __kernel_text_address+0x40/0x70
 [<ffffffff81030ce5>] __bad_area_nosemaphore+0x125/0x1e0
 [<ffffffff81030dae>] bad_area_nosemaphore+0xe/0x10
 [<ffffffff81031841>] do_page_fault+0x3d1/0x4a0
 [<ffffffff8101867a>] ? save_stack_trace+0x2a/0x50
 [<ffffffff8107810d>] ? __lock_acquire.clone.20+0x6fd/0xab0
 [<ffffffff81395ad5>] page_fault+0x25/0x30
 [<ffffffff811ebcb4>] ? serial8250_do_set_termios+0x1d4/0x430
 [<ffffffff811ebc2d>] ? serial8250_do_set_termios+0x14d/0x430
 [<ffffffff811ebf35>] serial8250_set_termios+0x25/0x30
 [<ffffffff811e6663>] uart_set_options+0xf3/0x170
 [<ffffffff81798f55>] serial8250_console_setup+0xa8/0xaf
 [<ffffffff8104ac1a>] register_console+0x22a/0x390
 [<ffffffff81799117>] serial8250_console_init+0x28/0x2c
 [<ffffffff81797a5c>] console_init+0x19/0x2a
 [<ffffffff81778b4d>] start_kernel+0x27d/0x407
 [<ffffffff81778347>] x86_64_start_reservations+0x132/0x136
 [<ffffffff81778451>] x86_64_start_kernel+0x106/0x115
Rebooting in 1 seconds..Press any key to enter the menu

It crashed almost immediately after i merged Linus's 9457b24a0955 into -tip, we were 
on yesterday's f6614b7bb405 before that - so i think the crash is both pretty 
generic.

Thanks,

	Ingo
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] TTY/serial fixes for .37-rc1, Greg KH, (Fri Nov 12, 2:32 pm)
[PATCH 01/19] tty: the development tree is now done in git, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 02/19] tty: Fix formatting in tty.h, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 03/19] tty: fix warning in synclink driver, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 04/19] nozomi: Fix warning from the previous TIOCGC ..., Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 05/19] 8250: add support for Kouwell KW-L221N-2, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 06/19] tty: prevent DOS in the flush_to_ldisc, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 07/19] drivers/serial/bfin_5xx.c: Fix line continua ..., Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 08/19] SERIAL: blacklist si3052 chip, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 10/19] tty_ldisc: Fix BUG() on hangup, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 11/19] 8250: Fix tcsetattr to avoid ioctl(TIOCMIWAI ..., Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 12/19] amiserial: Remove unused variable icount, Greg Kroah-Hartman, (Fri Nov 12, 2:40 pm)
[PATCH 13/19] vcs: make proper usage of the poll flags, Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[PATCH 14/19] serial: bfin_5xx: always include DMA headers, Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[PATCH 15/19] serial: bfin_5xx: remove redundant SSYNC to ..., Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[PATCH 16/19] serial: bfin_5xx: disable CON_PRINTBUFFER fo ..., Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[PATCH 17/19] serial: bfin_5xx: grab port lock before maki ..., Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[PATCH 18/19] n_gsm: Copy n2 over when configuring via ioc ..., Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[PATCH 19/19] n_gsm: Fix length handling, Greg Kroah-Hartman, (Fri Nov 12, 2:41 pm)
[boot crash] Re: [GIT PATCH] TTY/serial fixes for .37-rc1, Ingo Molnar, (Sat Nov 13, 8:10 am)
Re: [PATCH 10/19] tty_ldisc: Fix BUG() on hangup, Russ Dill, (Tue Dec 7, 2:00 pm)