mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ttyACM0: when the device dies, 2.6.30-rc7 dies, too (regression?)
@ 2009-06-01 10:14 Pavel Machek
  2009-06-01 10:25 ` ttyACM0: when the device dies, 2.6.30-rc7 dies, too, strange echo (regression) Pavel Machek
  0 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2009-06-01 10:14 UTC (permalink / raw)
  To: kernel list, Greg KH

Hi!

I believe this worked before; on 2.6.30-rc7, when ttyACM0 dies
(openmoko in bootloader powers off) the notebook I'm running minicom
on dies, too :-(. For the first time, I did not catch any messages,
I'll retry the test on console.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: ttyACM0: when the device dies, 2.6.30-rc7 dies, too, strange echo (regression)
  2009-06-01 10:14 ttyACM0: when the device dies, 2.6.30-rc7 dies, too (regression?) Pavel Machek
@ 2009-06-01 10:25 ` Pavel Machek
  2009-06-01 10:42   ` Oliver Neukum
  0 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2009-06-01 10:25 UTC (permalink / raw)
  To: kernel list, Greg KH; +Cc: Rafael J. Wysocki

Hi!

> I believe this worked before; on 2.6.30-rc7, when ttyACM0 dies
> (openmoko in bootloader powers off) the notebook I'm running minicom
> on dies, too :-(. For the first time, I did not catch any messages,
> I'll retry the test on console.

Nothing useful on the console...

And it gets worse: with 2.6.30-rc7, I only get echo on character N
when I type character N=1. Which is extremely confusing and basically
makes it unusable for interactive work. This definitely worked
before... but it was quite long ago.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: ttyACM0: when the device dies, 2.6.30-rc7 dies, too, strange echo (regression)
  2009-06-01 10:25 ` ttyACM0: when the device dies, 2.6.30-rc7 dies, too, strange echo (regression) Pavel Machek
@ 2009-06-01 10:42   ` Oliver Neukum
  2009-06-01 11:31     ` ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions) Pavel Machek
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver Neukum @ 2009-06-01 10:42 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Greg KH, Rafael J. Wysocki

Am Montag, 1. Juni 2009 12:25:46 schrieb Pavel Machek:
> Hi!
>
> > I believe this worked before; on 2.6.30-rc7, when ttyACM0 dies
> > (openmoko in bootloader powers off) the notebook I'm running minicom
> > on dies, too :-(. For the first time, I did not catch any messages,
> > I'll retry the test on console.
>
> Nothing useful on the console...
>
> And it gets worse: with 2.6.30-rc7, I only get echo on character N
> when I type character N=1. Which is extremely confusing and basically
> makes it unusable for interactive work. This definitely worked
> before... but it was quite long ago.

Do you have any reason to assume these bugs are related? If not,
please keep them separate.

Can you please be more specific what exactly fails?

	Regards
		Oliver


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

* Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)
  2009-06-01 10:42   ` Oliver Neukum
@ 2009-06-01 11:31     ` Pavel Machek
  2009-06-01 12:34       ` Oliver Neukum
  0 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2009-06-01 11:31 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: kernel list, Greg KH, Rafael J. Wysocki

Hi!

First, thanks for quick reply.

> > > I believe this worked before; on 2.6.30-rc7, when ttyACM0 dies
> > > (openmoko in bootloader powers off) the notebook I'm running minicom
> > > on dies, too :-(. For the first time, I did not catch any messages,
> > > I'll retry the test on console.
> >
> > Nothing useful on the console...
> >
> > And it gets worse: with 2.6.30-rc7, I only get echo on character N
> > when I type character N=1. Which is extremely confusing and basically
> > makes it unusable for interactive work. This definitely worked
> > before... but it was quite long ago.

> Do you have any reason to assume these bugs are related? If not,
> please keep them separate.

Well, ok, they are probably two different bugs...

> Can you please be more specific what exactly fails?

...but it is quite easy to test for both of them and they seem to be
introduced in similar timeframe.

Steps to reproduce:

minicom /dev/ttyACM0

Bug #2: try to interactivelly communicate with the other
device. Notice that characters are echoed one character too late. You
type "hello", but only "hell" appears. You press "!", "o" appears. 

Bug #1: while minicom is still connected, pull the USB cable. Machine
locks hard.

Now, both bugs are present in 2.6.28, and 2.6.24-rc8 does not have
either problem.

It would be nice if someone could verify if it also happens with
regular USB modem -- I'm using openmoko to reproduce it.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)
  2009-06-01 11:31     ` ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions) Pavel Machek
@ 2009-06-01 12:34       ` Oliver Neukum
  2009-06-02  9:19         ` Pavel Machek
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver Neukum @ 2009-06-01 12:34 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Greg KH, Rafael J. Wysocki

Am Montag, 1. Juni 2009 13:31:51 schrieb Pavel Machek:
> Steps to reproduce:
>
> minicom /dev/ttyACM0
>
> Bug #2: try to interactivelly communicate with the other
> device. Notice that characters are echoed one character too late. You
> type "hello", but only "hell" appears. You press "!", "o" appears.
>
> Bug #1: while minicom is still connected, pull the USB cable. Machine
> locks hard.

I can replicate neither bug with 2.6.30-rc7. Can you replicate it with
anything but openMOKO?

	Regards
		Oliver


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

* Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)
  2009-06-01 12:34       ` Oliver Neukum
@ 2009-06-02  9:19         ` Pavel Machek
  2009-06-02 13:20           ` Oliver Neukum
  2009-06-02 13:21           ` Oliver Neukum
  0 siblings, 2 replies; 8+ messages in thread
From: Pavel Machek @ 2009-06-02  9:19 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: kernel list, Greg KH, Rafael J. Wysocki

On Mon 2009-06-01 14:34:56, Oliver Neukum wrote:
> Am Montag, 1. Juni 2009 13:31:51 schrieb Pavel Machek:
> > Steps to reproduce:
> >
> > minicom /dev/ttyACM0
> >
> > Bug #2: try to interactivelly communicate with the other
> > device. Notice that characters are echoed one character too late. You
> > type "hello", but only "hell" appears. You press "!", "o" appears.
> >
> > Bug #1: while minicom is still connected, pull the USB cable. Machine
> > locks hard.
> 
> I can replicate neither bug with 2.6.30-rc7. Can you replicate it with
> anything but openMOKO?

So AT commands echo properly on USB modem or something? Bad :-(.

I'm afraid I do not have another ACM device near me. I guess going
through cdc-acm.c 's history would be relevant?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)
  2009-06-02  9:19         ` Pavel Machek
@ 2009-06-02 13:20           ` Oliver Neukum
  2009-06-02 13:21           ` Oliver Neukum
  1 sibling, 0 replies; 8+ messages in thread
From: Oliver Neukum @ 2009-06-02 13:20 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Greg KH, Rafael J. Wysocki

Am Dienstag, 2. Juni 2009 11:19:13 schrieb Pavel Machek:
> On Mon 2009-06-01 14:34:56, Oliver Neukum wrote:
> > Am Montag, 1. Juni 2009 13:31:51 schrieb Pavel Machek:
> > > Steps to reproduce:
> > >
> > > minicom /dev/ttyACM0
> > >
> > > Bug #2: try to interactivelly communicate with the other
> > > device. Notice that characters are echoed one character too late. You
> > > type "hello", but only "hell" appears. You press "!", "o" appears.
> > >
> > > Bug #1: while minicom is still connected, pull the USB cable. Machine
> > > locks hard.
> >
> > I can replicate neither bug with 2.6.30-rc7. Can you replicate it with
> > anything but openMOKO?
>
> So AT commands echo properly on USB modem or something? Bad :-(.

My cell phone echoes back arbitrary strings.

> I'm afraid I do not have another ACM device near me. I guess going
> through cdc-acm.c 's history would be relevant?

A bisection would indeed be very good.

	Regards
		Oliver


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

* Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)
  2009-06-02  9:19         ` Pavel Machek
  2009-06-02 13:20           ` Oliver Neukum
@ 2009-06-02 13:21           ` Oliver Neukum
  1 sibling, 0 replies; 8+ messages in thread
From: Oliver Neukum @ 2009-06-02 13:21 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Greg KH, Rafael J. Wysocki

Am Dienstag, 2. Juni 2009 11:19:13 schrieb Pavel Machek:
> > I can replicate neither bug with 2.6.30-rc7. Can you replicate it with
> > anything but openMOKO?
>
> So AT commands echo properly on USB modem or something? Bad :-(.
>
> I'm afraid I do not have another ACM device near me. I guess going
> through cdc-acm.c 's history would be relevant?

The tty layer was changed a lot, so going only through acm's history
is risky. I suggest you do a full bisection.

	Regards
		Oliver


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

end of thread, other threads:[~2009-06-02 13:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-01 10:14 ttyACM0: when the device dies, 2.6.30-rc7 dies, too (regression?) Pavel Machek
2009-06-01 10:25 ` ttyACM0: when the device dies, 2.6.30-rc7 dies, too, strange echo (regression) Pavel Machek
2009-06-01 10:42   ` Oliver Neukum
2009-06-01 11:31     ` ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions) Pavel Machek
2009-06-01 12:34       ` Oliver Neukum
2009-06-02  9:19         ` Pavel Machek
2009-06-02 13:20           ` Oliver Neukum
2009-06-02 13:21           ` Oliver Neukum

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

Powered by JetHome