* RE: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
@ 2004-07-21 7:28 ` Jurzitza, Dieter
2004-07-21 8:16 ` Joshua Kwan
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Jurzitza, Dieter @ 2004-07-21 7:28 UTC (permalink / raw)
To: sparclinux
Hi Joshua,
just for ensuring: I was working with the serial console on 2.4.26 without any problems on my U60 / SMP when I was debugging the bootloader issue with Ben Collins.
Thus, your assumption regarding the 2.4.26 should be perfectly right (at least for my machine).
You do not have to test the serial console on 2.4.26.
Take care
Dieter Jurzitza
-----Original Message-----
From: Joshua Kwan [mailto:joshk@triplehelix.org]
Sent: Wednesday, July 21, 2004 8:47 AM
To: sparclinux@vger.kernel.org
Subject: Weird serial problems in 2.6.7
Hi,
I'm currently working on 2.6.7 packages for Debian. Works fine, more or
****
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
2004-07-21 7:28 ` Jurzitza, Dieter
@ 2004-07-21 8:16 ` Joshua Kwan
2004-07-22 16:06 ` Meelis Roos
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Joshua Kwan @ 2004-07-21 8:16 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
On Tue, Jul 20, 2004 at 11:47:05PM -0700, Joshua Kwan wrote:
> eh:HPYMA PICerO 010ae tent 8:0:0:d:3:7
Something else seems to be up. I tried to halt, saw it hanging, opened
another SSH session and decided to strace:
open("/dev/ttyS0", O_WRONLY|O_NONBLOCK|O_LARGEFILE
It seems to be stuck there indefinitely. lsof /dev/ttyS0 returns
nothing. Same for fuser -a /dev/ttyS0.
The plot thickens...
--
Joshua Kwan
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 881 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
2004-07-21 7:28 ` Jurzitza, Dieter
2004-07-21 8:16 ` Joshua Kwan
@ 2004-07-22 16:06 ` Meelis Roos
2004-07-22 16:22 ` Joshua Kwan
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Meelis Roos @ 2004-07-22 16:06 UTC (permalink / raw)
To: sparclinux
JK> eh:HPYMA PICerO 010ae tent 8:0:0:d:3:7
So the same symptoms that I saw were not PC serial problems afterall...
--
Meelis Roos
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (2 preceding siblings ...)
2004-07-22 16:06 ` Meelis Roos
@ 2004-07-22 16:22 ` Joshua Kwan
2004-07-22 17:18 ` Meelis Roos
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Joshua Kwan @ 2004-07-22 16:22 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
On Thu, Jul 22, 2004 at 07:06:12PM +0300, Meelis Roos wrote:
> JK> eh:HPYMA PICerO 010ae tent 8:0:0:d:3:7
>
> So the same symptoms that I saw were not PC serial problems afterall...
It could be a PC problem: the machine on the other end was an i686. But
my SS10's serial output doesn't seem to exhibit the same problems.
I'll try hooking the serial ports on each Sun machine up to each other
tonight and see what happens.
--
Joshua Kwan
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 881 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (3 preceding siblings ...)
2004-07-22 16:22 ` Joshua Kwan
@ 2004-07-22 17:18 ` Meelis Roos
2004-07-22 17:23 ` Ben Collins
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Meelis Roos @ 2004-07-22 17:18 UTC (permalink / raw)
To: sparclinux
> > JK> eh:HPYMA PICerO 010ae tent 8:0:0:d:3:7
> >
> > So the same symptoms that I saw were not PC serial problems afterall...
>
> It could be a PC problem: the machine on the other end was an i686. But
> my SS10's serial output doesn't seem to exhibit the same problems.
I recompiled my PC kernel with PREEMPT and 4Kstacks off and sparc64
serial output is still garbled. The PC has been used as the other end of
serial consoles (with minicom) a lot before so I thinks it's sparc64
serial at fault here.
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (4 preceding siblings ...)
2004-07-22 17:18 ` Meelis Roos
@ 2004-07-22 17:23 ` Ben Collins
2004-07-22 18:19 ` Meelis Roos
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Ben Collins @ 2004-07-22 17:23 UTC (permalink / raw)
To: sparclinux
On Thu, Jul 22, 2004 at 08:18:46PM +0300, Meelis Roos wrote:
> > > JK> eh:HPYMA PICerO 010ae tent 8:0:0:d:3:7
> > >
> > > So the same symptoms that I saw were not PC serial problems afterall...
> >
> > It could be a PC problem: the machine on the other end was an i686. But
> > my SS10's serial output doesn't seem to exhibit the same problems.
>
> I recompiled my PC kernel with PREEMPT and 4Kstacks off and sparc64
> serial output is still garbled. The PC has been used as the other end of
> serial consoles (with minicom) a lot before so I thinks it's sparc64
> serial at fault here.
Do you have some sort of strange serial settings on the sparc64, set on
OBP?
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (5 preceding siblings ...)
2004-07-22 17:23 ` Ben Collins
@ 2004-07-22 18:19 ` Meelis Roos
2004-07-22 22:00 ` Nicolas Boullis
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Meelis Roos @ 2004-07-22 18:19 UTC (permalink / raw)
To: sparclinux
> Do you have some sort of strange serial settings on the sparc64, set on
> OBP?
No:
ttya-ignore-cd=true
ttya-mode–00,8,n,1,-
ttya-rts-dtr-offúlse
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (6 preceding siblings ...)
2004-07-22 18:19 ` Meelis Roos
@ 2004-07-22 22:00 ` Nicolas Boullis
2004-07-23 15:27 ` Meelis Roos
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Nicolas Boullis @ 2004-07-22 22:00 UTC (permalink / raw)
To: sparclinux
On Thu, Jul 22, 2004 at 07:06:12PM +0300, Meelis Roos wrote:
> JK> eh:HPYMA PICerO 010ae tent 8:0:0:d:3:7
>
> So the same symptoms that I saw were not PC serial problems afterall...
Not that sure, since I experienced the same problem between two PC,
while the one acting as the console was under heavy load...
HTH,
Nicolas
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (7 preceding siblings ...)
2004-07-22 22:00 ` Nicolas Boullis
@ 2004-07-23 15:27 ` Meelis Roos
2004-07-23 16:47 ` Marc Zyngier
2004-07-24 11:11 ` Ralph Mitchell
10 siblings, 0 replies; 12+ messages in thread
From: Meelis Roos @ 2004-07-23 15:27 UTC (permalink / raw)
To: sparclinux
>> So the same symptoms that I saw were not PC serial problems afterall...
NB>
NB> Not that sure, since I experienced the same problem between two PC,
NB> while the one acting as the console was under heavy load...
I tried 2.4.27-rc3 on the same Ultra5 and same cable and same PC, serial
console works fine. So it's serial console in 2.6 on U5 it seems.
--
Meelis Roos
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (8 preceding siblings ...)
2004-07-23 15:27 ` Meelis Roos
@ 2004-07-23 16:47 ` Marc Zyngier
2004-07-24 11:11 ` Ralph Mitchell
10 siblings, 0 replies; 12+ messages in thread
From: Marc Zyngier @ 2004-07-23 16:47 UTC (permalink / raw)
To: sparclinux
>>>>> "Meelis" = Meelis Roos <mroos@linux.ee> writes:
Meelis> I tried 2.4.27-rc3 on the same Ultra5 and same cable and same
Meelis> PC, serial console works fine. So it's serial console in 2.6
Meelis> on U5 it seems.
For information, my Netra AX1105 runs fine with 2.6.7 and 2.6.8-rc2
using serial console. Uses sunsu, though.
Looks like it is sunsab-related...
M.
--
Places change, faces change. Life is so very strange.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Weird serial problems in 2.6.7
2004-07-21 6:47 Weird serial problems in 2.6.7 Joshua Kwan
` (9 preceding siblings ...)
2004-07-23 16:47 ` Marc Zyngier
@ 2004-07-24 11:11 ` Ralph Mitchell
10 siblings, 0 replies; 12+ messages in thread
From: Ralph Mitchell @ 2004-07-24 11:11 UTC (permalink / raw)
To: sparclinux
For further information/confirmation, I have an E450 with serial
console, and there was no problem 2.6.7-rc1. However, I just booted
2.6.7 and I'm getting the wierd character problem. At first glance it
looked like it might be parity, but then I'd think it would be more
likely to drop (apparently) random characters, rather than every other
one...
Anyway, it started OK, then went weird, then recovered:
Sun Enterprise 450 (4 X UltraSPARC-II 400MHz), No Keyboard
OpenBoot 3.16, 4096 MB memory installed, Serial #12871523.
POLB u EEBo rm31. 000/11:2
[snip lots of garbage...]
koradsatn.
o.....±.....)..2éj.Ñ..±....J¡½.É. g
Gentoo Linux; http://www.gentoo.org/
Copyright 2001-2004 Gentoo Technologies, Inc.; Distributed under
the GPL
* Mounting proc at /proc... [ ok ]
* Mounting sysfs at /sys... [ ok ]
Seems like all the output that matches the 'dmesg' output was weird,
then it was ok when processing the startup scripts. Once the boot is
complete I can login just fine I have:
CONFIG_SERIAL_SUNSAB=y
CONFIG_SERIAL_SUNSAB_CONSOLE=y
in my .config.
Just wondering - could the kernel just be trying to push characters out
too fast for the chip to handle?
Ralph Mitchell
Marc Zyngier wrote:
>>>>>>"Meelis" = Meelis Roos <mroos@linux.ee> writes:
>>>>>>
>>>>>>
>
>Meelis> I tried 2.4.27-rc3 on the same Ultra5 and same cable and same
>Meelis> PC, serial console works fine. So it's serial console in 2.6
>Meelis> on U5 it seems.
>
>For information, my Netra AX1105 runs fine with 2.6.7 and 2.6.8-rc2
>using serial console. Uses sunsu, though.
>
>Looks like it is sunsab-related...
>
> M.
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread