Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.development.system > #234

Crash while TTY layer flushing to Line Discipline

From Dav <guptadavender@gmail.com>
Newsgroups comp.os.linux.development.system
Subject Crash while TTY layer flushing to Line Discipline
Date 2011-07-25 01:17 -0700
Organization http://groups.google.com
Message-ID <7dddc2cb-fa29-4d52-bb26-845fc4a5148e@m5g2000prh.googlegroups.com> (permalink)

Show all headers | View raw


Hi

I am facing the crash while the TTY layer has received some data from
the UART device and trying to flush the data (flush_to_ldisc in
tty_buffer.c) to my customized Line Discipline.
The information in TTY structure about the line discipline functions
( like receive_buf ) getting corrupted and thus resulting in the
calling of wrong entry points / functions and crashing.
Please suggest any pointers to resolve this issue.

Thanks
Davender

Crash Logs:
BUG: unable to handle kernel paging request at 75646f6d
Call Trace:
 [<c12175a9>] ? flush_to_ldisc+0x189/0x270
 [<c1041874>] ? worker_thread+0x104/0x1e0
 [<c1217420>] ? flush_to_ldisc+0x0/0x270
 [<c1045440>] ? autoremove_wake_function+0x0/0x50
 [<c1041770>] ? worker_thread+0x0/0x1e0
 [<c10450e4>] ? kthread+0x74/0x80
 [<c1045070>] ? kthread+0x0/0x80
 [<c10030f6>] ? kernel_thread_helper+0x6/0x10
Code:  Bad EIP value.
EIP: [<75646f6d>] 0x75646f6d SS:ESP 0068:cc489f2c
CR2: 0000000075646f6d
---[ end trace 741b60196a780b38 ]---

Back to comp.os.linux.development.system | Previous | NextNext in thread | Find similar


Thread

Crash while TTY layer flushing to Line Discipline Dav <guptadavender@gmail.com> - 2011-07-25 01:17 -0700
  Re: Crash while TTY layer flushing to Line Discipline Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2011-07-25 14:49 +0300

csiph-web