public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* kernel lockup due to bad baud rate data
       [not found] <1719676005.1623192.1308182800563.JavaMail.root@sz0140a.emeryville.ca.mail.comcast.net>
@ 2011-06-16  0:09 ` johnlinn
  2011-06-16  0:21   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: johnlinn @ 2011-06-16  0:09 UTC (permalink / raw)
  To: linux-serial

I'm testing with 2.6.39 and our serial driver that's unique to our ARM platform.  I suspect we have a problem with our serial driver but wanted to see if anyone has seen any similar behavior.

When running with 2 serial ports, any input from a serial terminal running at the wrong baud rate (9600 instead of 115.2K) on a 2nd shell (not the console shell) causes the kernel to lock up. It doesn't crash, I'm still trying to understand what it's doing.  I can no longer ping the board as the network was working prior.

I just wanted to make sure there's not any known tty issues related to this.

Thanks,
John

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel lockup due to bad baud rate data
  2011-06-16  0:09 ` kernel lockup due to bad baud rate data johnlinn
@ 2011-06-16  0:21   ` Greg KH
  2011-06-16  8:19     ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2011-06-16  0:21 UTC (permalink / raw)
  To: johnlinn; +Cc: linux-serial

On Thu, Jun 16, 2011 at 12:09:12AM +0000, johnlinn@comcast.net wrote:
> I'm testing with 2.6.39 and our serial driver that's unique to our ARM
> platform.  I suspect we have a problem with our serial driver but
> wanted to see if anyone has seen any similar behavior.
> 
> When running with 2 serial ports, any input from a serial terminal
> running at the wrong baud rate (9600 instead of 115.2K) on a 2nd shell
> (not the console shell) causes the kernel to lock up. It doesn't
> crash, I'm still trying to understand what it's doing.  I can no
> longer ping the board as the network was working prior.
> 
> I just wanted to make sure there's not any known tty issues related to
> this.

There are some odd issues with stuff in this area, care to try 3.0-rc3
and see if the problem is there as well or not?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel lockup due to bad baud rate data
  2011-06-16  0:21   ` Greg KH
@ 2011-06-16  8:19     ` Alan Cox
  2011-06-16 13:31       ` johnlinn
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2011-06-16  8:19 UTC (permalink / raw)
  To: Greg KH; +Cc: johnlinn, linux-serial

On Wed, 15 Jun 2011 17:21:30 -0700
Greg KH <greg@kroah.com> wrote:

> On Thu, Jun 16, 2011 at 12:09:12AM +0000, johnlinn@comcast.net wrote:
> > I'm testing with 2.6.39 and our serial driver that's unique to our ARM
> > platform.  I suspect we have a problem with our serial driver but
> > wanted to see if anyone has seen any similar behavior.
> > 
> > When running with 2 serial ports, any input from a serial terminal
> > running at the wrong baud rate (9600 instead of 115.2K) on a 2nd shell
> > (not the console shell) causes the kernel to lock up. It doesn't
> > crash, I'm still trying to understand what it's doing.  I can no
> > longer ping the board as the network was working prior.
> > 
> > I just wanted to make sure there's not any known tty issues related to
> > this.
> 
> There are some odd issues with stuff in this area, care to try 3.0-rc3
> and see if the problem is there as well or not?

If its driver specific as this seems I'd take a guess on the driver for
the hardware not properly handling framing errors or break so you get an
irq storm or some other failure from the framing error.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel lockup due to bad baud rate data
  2011-06-16  8:19     ` Alan Cox
@ 2011-06-16 13:31       ` johnlinn
  0 siblings, 0 replies; 4+ messages in thread
From: johnlinn @ 2011-06-16 13:31 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-serial, Greg KH

> On Wed, 15 Jun 2011 17:21:30 -0700
> Greg KH <greg@kroah.com> wrote:
> 
> > On Thu, Jun 16, 2011 at 12:09:12AM +0000, johnlinn@comcast.net wrote:
> > > I'm testing with 2.6.39 and our serial driver that's unique to our ARM
> > > platform.  I suspect we have a problem with our serial driver but
> > > wanted to see if anyone has seen any similar behavior.
> > > 
> > > When running with 2 serial ports, any input from a serial terminal
> > > running at the wrong baud rate (9600 instead of 115.2K) on a 2nd shell
> > > (not the console shell) causes the kernel to lock up. It doesn't
> > > crash, I'm still trying to understand what it's doing.  I can no
> > > longer ping the board as the network was working prior.
> > > 
> > > I just wanted to make sure there's not any known tty issues related to
> > > this.
> > 
> > There are some odd issues with stuff in this area, care to try 3.0-rc3
> > and see if the problem is there as well or not?

I'll give it a try if I can get some time today. Thanks for input Greg.

> 
> If its driver specific as this seems I'd take a guess on the driver
> for the hardware not properly handling framing errors or break so you get
> an irq storm or some other failure from the framing error.

I was thinking in the same direction as Alan also.  Appreciate the input.

-- John

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-16 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1719676005.1623192.1308182800563.JavaMail.root@sz0140a.emeryville.ca.mail.comcast.net>
2011-06-16  0:09 ` kernel lockup due to bad baud rate data johnlinn
2011-06-16  0:21   ` Greg KH
2011-06-16  8:19     ` Alan Cox
2011-06-16 13:31       ` johnlinn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox