public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* tty/ldisc fix in 2.4
@ 2004-12-16  4:42 Horms
  2004-12-16  8:14 ` Marcelo Tosatti
  0 siblings, 1 reply; 7+ messages in thread
From: Horms @ 2004-12-16  4:42 UTC (permalink / raw)
  To: lkml - Kernel Mailing List; +Cc: Alan Cox, Marcelo Tosatti

Hi,


I am unable to find a fix for the tty/ldisc problem (CAN-2004-0814)
in 2.4.28 or 2.4 bitkeeper. I am wondering if anyone can either
point me to what I am missing or indicate if there is a reason
the patch hasn't been included. e.g. it slipped through the cracks.

The last I can find of it is here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0410.3/1750.html

I am just curious, I am quite happy applying Jason Baron's patch.

Thanks

-- 
Horms

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

* Re: tty/ldisc fix in 2.4
  2004-12-16  4:42 tty/ldisc fix in 2.4 Horms
@ 2004-12-16  8:14 ` Marcelo Tosatti
  2004-12-16 11:28   ` Sergey Vlasov
  2004-12-16 15:08   ` Jason Baron
  0 siblings, 2 replies; 7+ messages in thread
From: Marcelo Tosatti @ 2004-12-16  8:14 UTC (permalink / raw)
  To: Horms; +Cc: lkml - Kernel Mailing List, Alan Cox, Sergey Vlasov, Jason Baron

On Thu, Dec 16, 2004 at 01:42:29PM +0900, Horms wrote:
> Hi,

Hi Horms,

> I am unable to find a fix for the tty/ldisc problem (CAN-2004-0814)
> in 2.4.28 or 2.4 bitkeeper. I am wondering if anyone can either
> point me to what I am missing or indicate if there is a reason
> the patch hasn't been included. e.g. it slipped through the cracks.

The patch has not been included in 2.4.28 because it was too late in the 
v2.4.28 cycle for them to be included - they are quite intrusive.

And they there didnt seem stable at the time - but yes - we
should now make an effort to include the locking fixes in 2.4.29. 

> The last I can find of it is here:
> http://www.ussg.iu.edu/hypermail/linux/kernel/0410.3/1750.html

Jason, can you point us at your last patch ? 
Has it been deployed in production ?

> I am just curious, I am quite happy applying Jason Baron's patch.

Sergey, I recall you seeing SieFS breakage due to Jason's patch - 
what was your finding on that?


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

* Re: tty/ldisc fix in 2.4
  2004-12-16  8:14 ` Marcelo Tosatti
@ 2004-12-16 11:28   ` Sergey Vlasov
  2004-12-16 15:08   ` Jason Baron
  1 sibling, 0 replies; 7+ messages in thread
From: Sergey Vlasov @ 2004-12-16 11:28 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Horms, lkml - Kernel Mailing List, Alan Cox, Jason Baron

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

On Thu, Dec 16, 2004 at 06:14:52AM -0200, Marcelo Tosatti wrote:
> Sergey, I recall you seeing SieFS breakage due to Jason's patch - 
> what was your finding on that?

I have found the bug - the call to tty->driver.set_termios in
change_termios() was removed, therefore serial port speed was not set
correctly.  I sent patches fixing this to Jason Baron and to LKML:

http://lkml.org/lkml/2004/11/7/105
http://lkml.org/lkml/2004/11/7/106
http://lkml.org/lkml/2004/11/7/107

But I did not get any reply.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: tty/ldisc fix in 2.4
  2004-12-16  8:14 ` Marcelo Tosatti
  2004-12-16 11:28   ` Sergey Vlasov
@ 2004-12-16 15:08   ` Jason Baron
  2004-12-17  2:28     ` Horms
  2004-12-17 19:52     ` Jason Baron
  1 sibling, 2 replies; 7+ messages in thread
From: Jason Baron @ 2004-12-16 15:08 UTC (permalink / raw)
  To: Marcelo Tosatti
  Cc: Horms, lkml - Kernel Mailing List, Alan Cox, Sergey Vlasov


On Thu, 16 Dec 2004, Marcelo Tosatti wrote:

> On Thu, Dec 16, 2004 at 01:42:29PM +0900, Horms wrote:
> > Hi,
> 
> Hi Horms,
> 
> > I am unable to find a fix for the tty/ldisc problem (CAN-2004-0814)
> > in 2.4.28 or 2.4 bitkeeper. I am wondering if anyone can either
> > point me to what I am missing or indicate if there is a reason
> > the patch hasn't been included. e.g. it slipped through the cracks.
> 
> The patch has not been included in 2.4.28 because it was too late in the 
> v2.4.28 cycle for them to be included - they are quite intrusive.
> 
> And they there didnt seem stable at the time - but yes - we
> should now make an effort to include the locking fixes in 2.4.29. 
> 
> > The last I can find of it is here:
> > http://www.ussg.iu.edu/hypermail/linux/kernel/0410.3/1750.html
> 
> Jason, can you point us at your last patch ? 

the latest one was the last one posted to this list plus Sergey's fixes.  
However, i think it was still missing some driver cleanups. I'll post an
updated patch here.

> Has it been deployed in production ?
> 

It has resolved some real world customer issues.

thanks,

-Jason


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

* Re: tty/ldisc fix in 2.4
  2004-12-16 15:08   ` Jason Baron
@ 2004-12-17  2:28     ` Horms
  2004-12-17 19:52     ` Jason Baron
  1 sibling, 0 replies; 7+ messages in thread
From: Horms @ 2004-12-17  2:28 UTC (permalink / raw)
  To: lkml - Kernel Mailing List
  Cc: Jason Baron, Marcelo Tosatti, Alan Cox, Sergey Vlasov

On Thu, Dec 16, 2004 at 10:08:34AM -0500, Jason Baron wrote:
> 
> On Thu, 16 Dec 2004, Marcelo Tosatti wrote:
> 
> > On Thu, Dec 16, 2004 at 01:42:29PM +0900, Horms wrote:
> > > Hi,
> > 
> > Hi Horms,
> > 
> > > I am unable to find a fix for the tty/ldisc problem (CAN-2004-0814)
> > > in 2.4.28 or 2.4 bitkeeper. I am wondering if anyone can either
> > > point me to what I am missing or indicate if there is a reason
> > > the patch hasn't been included. e.g. it slipped through the cracks.
> > 
> > The patch has not been included in 2.4.28 because it was too late in the 
> > v2.4.28 cycle for them to be included - they are quite intrusive.
> > 
> > And they there didnt seem stable at the time - but yes - we
> > should now make an effort to include the locking fixes in 2.4.29. 
> > 
> > > The last I can find of it is here:
> > > http://www.ussg.iu.edu/hypermail/linux/kernel/0410.3/1750.html
> > 
> > Jason, can you point us at your last patch ? 

> the latest one was the last one posted to this list plus Sergey's fixes.  
> However, i think it was still missing some driver cleanups. I'll post an
> updated patch here.

Hi,

thanks to all for the update. This definately answers my question.
I will watch out for Jason's updated patch.

-- 
Horms

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

* Re: tty/ldisc fix in 2.4
  2004-12-16 15:08   ` Jason Baron
  2004-12-17  2:28     ` Horms
@ 2004-12-17 19:52     ` Jason Baron
  2004-12-18  1:03       ` Marcelo Tosatti
  1 sibling, 1 reply; 7+ messages in thread
From: Jason Baron @ 2004-12-17 19:52 UTC (permalink / raw)
  To: Marcelo Tosatti
  Cc: Horms, lkml - Kernel Mailing List, Alan Cox, Sergey Vlasov


On Thu, 16 Dec 2004, Jason Baron wrote:

> the latest one was the last one posted to this list plus Sergey's fixes.  
> However, i think it was still missing some driver cleanups. I'll post an
> updated patch here.
> 

updated patch at: http://people.redhat.com/~jbaron/tty/2.4-tty-V8.patch.  
This patch adds 'tty_wakeup' and 'tty_ldisc_flush' calls to additional
drivers. It also includes the two patches that Sergey previous posted. 

thanks,

-Jason
  



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

* Re: tty/ldisc fix in 2.4
  2004-12-17 19:52     ` Jason Baron
@ 2004-12-18  1:03       ` Marcelo Tosatti
  0 siblings, 0 replies; 7+ messages in thread
From: Marcelo Tosatti @ 2004-12-18  1:03 UTC (permalink / raw)
  To: Jason Baron; +Cc: Horms, lkml - Kernel Mailing List, Alan Cox, Sergey Vlasov

On Fri, Dec 17, 2004 at 02:52:43PM -0500, Jason Baron wrote:
> 
> On Thu, 16 Dec 2004, Jason Baron wrote:
> 
> > the latest one was the last one posted to this list plus Sergey's fixes.  
> > However, i think it was still missing some driver cleanups. I'll post an
> > updated patch here.
> > 
> 
> updated patch at: http://people.redhat.com/~jbaron/tty/2.4-tty-V8.patch.  
> This patch adds 'tty_wakeup' and 'tty_ldisc_flush' calls to additional
> drivers. It also includes the two patches that Sergey previous posted. 

Its merged. 

[PATCH] Backport v2.6 tty/ldisc locking fixes

I fail to credit you properly on the changelog, sorry: 
I can't change a comment after it has been merged and I did 
a direct "bk import -tpatch". 

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

end of thread, other threads:[~2004-12-18  4:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16  4:42 tty/ldisc fix in 2.4 Horms
2004-12-16  8:14 ` Marcelo Tosatti
2004-12-16 11:28   ` Sergey Vlasov
2004-12-16 15:08   ` Jason Baron
2004-12-17  2:28     ` Horms
2004-12-17 19:52     ` Jason Baron
2004-12-18  1:03       ` Marcelo Tosatti

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