public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 8250 serial console fixes -- issue
@ 2006-02-02  1:21 Kumar Gala
  2006-02-02  1:47 ` Alan Cox
  0 siblings, 1 reply; 35+ messages in thread
From: Kumar Gala @ 2006-02-02  1:21 UTC (permalink / raw)
  To: alan; +Cc: rmk+kernel, linux-kernel

This patch introduces an issue for me an embedded PowerPC SoC using the 
8250 driver.

The simple description of my issue is this:  I'm using the serial port for
both a terminal and console.  I run fdisk on a /dev/hda.  Before this
patch I would get the prompt for fdisk immediately.  After this patch I
have to hit return before the prompt is displayed.

I know that's not a lot of info, but just let me know what else you need 
to help debug this.

I'm guessing something about the UARTs on the PowerPC maybe bit a little 
non-standard.

thanks

- kumar


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: 8250 serial console fixes -- issue
@ 2006-02-03 10:00 linux
  0 siblings, 0 replies; 35+ messages in thread
From: linux @ 2006-02-03 10:00 UTC (permalink / raw)
  To: rmk+lkml; +Cc: linux-kernel

>>  - 'r' option has insanely slow CTS timeout. So if a
>>    terminal server is inactive the kernel can take
>>    30 minutes to boot as each character write to the
>>    serial console requires a CTS timeout.
>
> You'd rather we threw away these messages?

It seems to me that The Right Thing to do is, once I've given up on
CTS showing up and just sent the byte anyway, is send all future bytes
without waiting for CTS until CTS shows up again.

In other words, one timeout per falling edge of CTS.

This may be implementable neatly by just saying "fuck it; pretend CTS
is asserted" in the timeout handler if the later real assertion won't
confuse it.

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

end of thread, other threads:[~2006-02-08  1:19 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02  1:21 8250 serial console fixes -- issue Kumar Gala
2006-02-02  1:47 ` Alan Cox
2006-02-02  5:54   ` Kumar Gala
2006-02-02  8:05     ` Kumar Gala
2006-02-02 17:10       ` Kumar Gala
2006-02-03  1:58   ` Glen Turner
2006-02-03  9:40     ` Russell King
2006-02-03 14:27       ` Glen Turner
2006-02-03 16:02         ` Russell King
2006-02-03 17:08           ` Glen Turner
2006-02-03 22:23             ` Russell King
2006-02-04 11:15               ` Russell King
2006-02-04 16:18               ` Krzysztof Halasa
2006-02-04 23:16                 ` Russell King
2006-02-04 23:54                   ` Krzysztof Halasa
2006-02-05  0:00                     ` Russell King
2006-02-05 12:57                       ` Krzysztof Halasa
2006-02-03 17:46           ` Krzysztof Halasa
2006-02-03 22:13             ` Russell King
2006-02-04 16:08               ` Krzysztof Halasa
2006-02-04 23:20                 ` Russell King
2006-02-05  3:12                   ` Glen Turner
2006-02-05 21:26                     ` Krzysztof Halasa
2006-02-06  9:47                     ` Russell King
2006-02-07  3:27                       ` Glen Turner
2006-02-03 15:05       ` Kumar Gala
2006-02-06 20:26       ` Pavel Machek
2006-02-06 20:55         ` Russell King
2006-02-07  4:00           ` Glen Turner
2006-02-07  9:18           ` Pavel Machek
2006-02-07 17:43             ` Russell King
2006-02-07 22:23               ` Krzysztof Halasa
2006-02-08  0:59               ` Junio C Hamano
2006-02-08  1:19                 ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2006-02-03 10:00 linux

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