* ttyS0 versus cua0
@ 1998-09-10 12:02 Paul Tomblin
1998-09-10 17:49 ` Christopher Curtis
` (3 more replies)
0 siblings, 4 replies; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 12:02 UTC (permalink / raw)
To: axp-list
Now this is weird. After my problems with lightning, and taking apart and
putting back together all the cables and reseating all the boards and
everything, the vt220 terminal I have hung off of ttyS0 wasn't working. Even
a simple experiment like "echo foo > /dev/ttyS0" or "stty -a < /dev/ttyS0"
would just hang forever. But doing the same thing to /dev/cua0 worked fine.
And the modem on /dev/cua1 works fine too. So I changed my inittab (for the
first time in years) to start the getty on cua0 instead of ttyS0, and
everything works.
Can anybody explain why cua0 would work when ttyS0 doesn't? I thought they
were basically the exact same kernel driver, but the "cua0" had some extra
locking logic for the benefit of uucp?
This is 2.0.35, and I recompiled it last night to turn off "sync transfers" on
the scsi bus.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread* Re: ttyS0 versus cua0
1998-09-10 12:02 ttyS0 versus cua0 Paul Tomblin
@ 1998-09-10 17:49 ` Christopher Curtis
1998-09-10 17:56 ` Randy Carpenter
1998-09-10 17:57 ` Paul Tomblin
1998-09-10 17:53 ` Michal Jaegermann
` (2 subsequent siblings)
3 siblings, 2 replies; 23+ messages in thread
From: Christopher Curtis @ 1998-09-10 17:49 UTC (permalink / raw)
To: axp-list
On Thu, 10 Sep 1998, Paul Tomblin wrote:
> Can anybody explain why cua0 would work when ttyS0 doesn't? I thought they
Sure can't. You shouldn't be using cua* at all. Maybe you ought to read
linux/Documentation/devices.txt and make sure you have your {maj,min}
numbers all in order and such.
> were basically the exact same kernel driver, but the "cua0" had some extra
> locking logic for the benefit of uucp?
I don't think so. UUCP-style locking deals with something else IIRC. The
difference that I've heard is that one is for dial-in and the other for
dial-out, but because of UUCP-style locking, a dial-out would appear free
when it was really being used by a dial-in. Something like that.
Christopher
^ permalink raw reply [flat|nested] 23+ messages in thread* Re: ttyS0 versus cua0
1998-09-10 17:49 ` Christopher Curtis
@ 1998-09-10 17:56 ` Randy Carpenter
1998-09-10 17:57 ` Paul Tomblin
1 sibling, 0 replies; 23+ messages in thread
From: Randy Carpenter @ 1998-09-10 17:56 UTC (permalink / raw)
To: axp-list
> On Thu, 10 Sep 1998, Paul Tomblin wrote:
>
> > Can anybody explain why cua0 would work when ttyS0 doesn't? I thought they
>
> Sure can't. You shouldn't be using cua* at all. Maybe you ought to read
> linux/Documentation/devices.txt and make sure you have your {maj,min}
> numbers all in order and such.
I can start a "/bin/getty /dev/cua0" and login just fine via serial
console. This does *not* work with /dev/ttyS0. There has to be some
difference...
-Randy
^ permalink raw reply [flat|nested] 23+ messages in thread* Re: ttyS0 versus cua0
1998-09-10 17:49 ` Christopher Curtis
1998-09-10 17:56 ` Randy Carpenter
@ 1998-09-10 17:57 ` Paul Tomblin
1998-09-10 18:00 ` Paul Tomblin
1 sibling, 1 reply; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 17:57 UTC (permalink / raw)
To: axp-list
Quoting Christopher Curtis (ccurtis@ee.fit.edu):
> On Thu, 10 Sep 1998, Paul Tomblin wrote:
>
> > Can anybody explain why cua0 would work when ttyS0 doesn't? I thought they
>
> Sure can't. You shouldn't be using cua* at all. Maybe you ought to read
> linux/Documentation/devices.txt and make sure you have your {maj,min}
> numbers all in order and such.
I rebooted twice (once because of a lightning storm and once because I
recompiled the kernel to change a parameter in the scsi driver). Otherwise
nothing has changed one whit in the last 6 months, including the previous 39
times without a power down or reboot. I didn't touch anything in /dev, and I
didn't touch anything in /etc. I reseated all the cables and everything else.
I checked the settings on the vt220. Still nothing worked. But when I *did*
change /etc/inittab to start the getty on cua0 instead of ttyS0, it worked.
You tell me what changed!
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread* Re: ttyS0 versus cua0
1998-09-10 17:57 ` Paul Tomblin
@ 1998-09-10 18:00 ` Paul Tomblin
0 siblings, 0 replies; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 18:00 UTC (permalink / raw)
To: axp-list
Quoting Paul Tomblin (ptomblin@xcski.com):
> nothing has changed one whit in the last 6 months, including the previous 39
> times without a power down or reboot. I didn't touch anything in /dev, and I
^^^^^
That should be "days". 39 DAYS without a power down or reboot. That's a
record for me, because I started syslogging to another machine - when I syslog
locally, I had to keep rebooting or run without any syslogging.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 12:02 ttyS0 versus cua0 Paul Tomblin
1998-09-10 17:49 ` Christopher Curtis
@ 1998-09-10 17:53 ` Michal Jaegermann
1998-09-10 17:59 ` Paul Tomblin
1998-09-10 18:40 ` ttyS0 versus cua0 Bibek Sahu
1998-09-11 14:04 ` Jeff Sturm
3 siblings, 1 reply; 23+ messages in thread
From: Michal Jaegermann @ 1998-09-10 17:53 UTC (permalink / raw)
To: axp-list
Paul Tomblin wrote:
>
> Can anybody explain why cua0 would work when ttyS0 doesn't?
Probably you managed to change 'clocal' settings on your tty line.
Check with 'stty -a < /dev/ttyS0'.
> I thought they
> were basically the exact same kernel driver, but the "cua0" had some extra
> locking logic for the benefit of uucp?
There are some small differences how they can be opened. It sounds like
you just found one. :-) Indeed, beyond that 'cua?' devices include some
form a very simple-minded locking which does not really work when you go
beyond a very basic usage. For that reason it is considered now a mistake
that they were provided in the first place and in current development
kernels and future 2.2.xx you will get a nastygram in log files every time
when you will try to use one. In the future they will vanish completely.
Michal
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 17:53 ` Michal Jaegermann
@ 1998-09-10 17:59 ` Paul Tomblin
1998-09-10 18:15 ` Michal Jaegermann
1998-09-11 14:29 ` kernel debugger ward
0 siblings, 2 replies; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 17:59 UTC (permalink / raw)
To: axp-list
Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca):
> Paul Tomblin wrote:
> >
> > Can anybody explain why cua0 would work when ttyS0 doesn't?
>
> Probably you managed to change 'clocal' settings on your tty line.
> Check with 'stty -a < /dev/ttyS0'.
'stty -a < /dev/ttyS0' hangs indefinitely. As does 'cat - > /dev/ttyS0'.
Both of those things work fine with cua0. I believe I already mentioned that.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 17:59 ` Paul Tomblin
@ 1998-09-10 18:15 ` Michal Jaegermann
1998-09-10 18:32 ` Paul Tomblin
1998-09-11 10:41 ` Peter Waltenberg
1998-09-11 14:29 ` kernel debugger ward
1 sibling, 2 replies; 23+ messages in thread
From: Michal Jaegermann @ 1998-09-10 18:15 UTC (permalink / raw)
To: axp-list
>
> 'stty -a < /dev/ttyS0' hangs indefinitely.
Hm.
> As does 'cat - > /dev/ttyS0'.
What do you expect from that??? To change settings on /dev/ttyS0 you
still do '.... < /dev/ttyS0'. I know that this is pretty unexpected. :-)
Try 'stty --help | less'.
> Both of those things work fine with cua0.
So what is 'clocal'? You are reading the same port.
Michal
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 18:15 ` Michal Jaegermann
@ 1998-09-10 18:32 ` Paul Tomblin
1998-09-10 18:38 ` Daniel Stringfield
1998-09-11 10:41 ` Peter Waltenberg
1 sibling, 1 reply; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 18:32 UTC (permalink / raw)
To: axp-list
Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca):
> >
> > 'stty -a < /dev/ttyS0' hangs indefinitely.
>
> Hm.
>
> > As does 'cat - > /dev/ttyS0'.
^^^
>
> What do you expect from that??? To change settings on /dev/ttyS0 you
> still do '.... < /dev/ttyS0'. I know that this is pretty unexpected. :-)
> Try 'stty --help | less'.
I'm not doing it to change settings. Last time I checked, you don't change
settings with "cat". It was just a test to see if I was communicating with
the terminal by trying to put some typing out on it. And like I said, it
worked fine with cua0.
> > Both of those things work fine with cua0.
>
> So what is 'clocal'? You are reading the same port.
# stty -a < /dev/cua0
speed 19200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = <undef>;
werase = <undef>; lnext = ^V; flush = ^U; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke
Also, here is the appropriate line from /etc/inittab:
#term:345:respawn:/sbin/getty ttyS0 F19200 vt220
term:345:respawn:/sbin/getty cua0 F19200 vt220
And the appropriate line from /etc/gettydefs
F19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F19200
setserial reports:
# setserial /dev/cua0
/dev/cua0, UART: 16550A, Port: 0x03f8, IRQ: 4, Flags: spd_hi
# setserial /dev/ttyS0
/dev/ttyS0: Device or resource busy
And just to reiterate: I am using exactly the same settings as have worked on
this machine for months. Before that, those same settings worked on my
Intel Linux box since SLS 1.03. (With kernel 0.99.14g).
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread* Re: ttyS0 versus cua0
1998-09-10 18:32 ` Paul Tomblin
@ 1998-09-10 18:38 ` Daniel Stringfield
1998-09-10 18:53 ` Paul Tomblin
0 siblings, 1 reply; 23+ messages in thread
From: Daniel Stringfield @ 1998-09-10 18:38 UTC (permalink / raw)
To: axp-list
On Thu, 10 Sep 1998, Paul Tomblin wrote:
> I'm not doing it to change settings. Last time I checked, you don't change
> settings with "cat". It was just a test to see if I was communicating with
> the terminal by trying to put some typing out on it. And like I said, it
> worked fine with cua0.
The reason why cua0 vs. ttyS0 works is because teh way the kernel handles
these devices. They are the same, but they are for different functions.
(In vs Out, slightly)
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 18:38 ` Daniel Stringfield
@ 1998-09-10 18:53 ` Paul Tomblin
1998-09-12 7:35 ` gkoch
0 siblings, 1 reply; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 18:53 UTC (permalink / raw)
To: axp-list
Quoting Daniel Stringfield (dstringf@fccjmail.fccj.cc.fl.us):
> On Thu, 10 Sep 1998, Paul Tomblin wrote:
>
> > I'm not doing it to change settings. Last time I checked, you don't change
> > settings with "cat". It was just a test to see if I was communicating with
> > the terminal by trying to put some typing out on it. And like I said, it
> > worked fine with cua0.
>
> The reason why cua0 vs. ttyS0 works is because teh way the kernel handles
> these devices. They are the same, but they are for different functions.
> (In vs Out, slightly)
Yeah, but ttyS0 is supposed to be the "good" one, right? And it's certainly
the one that's supposed to be running getty. After all, cua? is going away in
future kernels.
In the old days, you ran modems on cua? (so that in-coming connections could
be recognized and handled along with outgoing connections) and terminals on
ttyS?.
I'm totally frustrated by this whole matter. A system that has been mostly
stable for months suddenly has things stop running properly (one disk drive
and this terminal) just because I shut down overnight, and possibly because I
changed ONE MEASELY LITTLE CONFIG VARIABLE in the kernel.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 18:53 ` Paul Tomblin
@ 1998-09-12 7:35 ` gkoch
0 siblings, 0 replies; 23+ messages in thread
From: gkoch @ 1998-09-12 7:35 UTC (permalink / raw)
To: axp-list
At 02:53 PM 9/10/98 -0400, you wrote:
>Quoting Daniel Stringfield (dstringf@fccjmail.fccj.cc.fl.us):
>> On Thu, 10 Sep 1998, Paul Tomblin wrote:
>>
>> > I'm not doing it to change settings. Last time I checked, you don't
change
>> > settings with "cat". It was just a test to see if I was communicating
with
>> > the terminal by trying to put some typing out on it. And like I said, it
>> > worked fine with cua0.
>>
>> The reason why cua0 vs. ttyS0 works is because teh way the kernel handles
>> these devices. They are the same, but they are for different functions.
>> (In vs Out, slightly)
>
>Yeah, but ttyS0 is supposed to be the "good" one, right? And it's certainly
>the one that's supposed to be running getty. After all, cua? is going
away in
>future kernels.
>
>In the old days, you ran modems on cua? (so that in-coming connections could
>be recognized and handled along with outgoing connections) and terminals on
>ttyS?.
>
>I'm totally frustrated by this whole matter. A system that has been mostly
>stable for months suddenly has things stop running properly (one disk drive
>and this terminal) just because I shut down overnight, and possibly because I
>changed ONE MEASELY LITTLE CONFIG VARIABLE in the kernel.
Have you tries a different terminal or port? Could be the terminal or port
had some damage from Lightning (you mentioned you were hit, right?) and one
signal isn't there that ttys0 expects and cua0 ignores. That has happened
to me with VMS were term settings that once worked, stopped working.
>
>--
>Paul Tomblin, ptomblin@xcski.com.
>"An appointment is an engagement to see someone, while a morningstar is a
>large lump of metal used for viciously crushing skulls. It is important not
>to confuse the two, isn't it, Mr. --?" - Terry Pratchett
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
>
Greg Koch
gkoch@usa.net
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 18:15 ` Michal Jaegermann
1998-09-10 18:32 ` Paul Tomblin
@ 1998-09-11 10:41 ` Peter Waltenberg
1998-09-10 22:43 ` Paul Tomblin
1 sibling, 1 reply; 23+ messages in thread
From: Peter Waltenberg @ 1998-09-11 10:41 UTC (permalink / raw)
To: axp-list
chmod +w /dev/ttyS0 perhaps ?
(Similar problems on x86 boxes.)
Peter
On 10-Sep-98 Michal Jaegermann wrote:
>>
>> 'stty -a < /dev/ttyS0' hangs indefinitely.
>
> Hm.
>
>> As does 'cat - > /dev/ttyS0'.
>
> What do you expect from that??? To change settings on /dev/ttyS0 you
> still do '.... < /dev/ttyS0'. I know that this is pretty unexpected. :-)
> Try 'stty --help | less'.
>
>> Both of those things work fine with cua0.
>
> So what is 'clocal'? You are reading the same port.
>
> Michal
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
----------------------------------
E-Mail: Peter Waltenberg <peterw@dascom.com>
Date: 11-Sep-98
Time: 20:39:54
This message was sent by XFMail
----------------------------------
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-11 10:41 ` Peter Waltenberg
@ 1998-09-10 22:43 ` Paul Tomblin
0 siblings, 0 replies; 23+ messages in thread
From: Paul Tomblin @ 1998-09-10 22:43 UTC (permalink / raw)
To: peterw, axp-list
Quoting Peter Waltenberg (peterw@dascom.com):
> chmod +w /dev/ttyS0 perhaps ?
Nope, perms are exactly the same on ttyS0 and cua0.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread
* kernel debugger
1998-09-10 17:59 ` Paul Tomblin
1998-09-10 18:15 ` Michal Jaegermann
@ 1998-09-11 14:29 ` ward
1 sibling, 0 replies; 23+ messages in thread
From: ward @ 1998-09-11 14:29 UTC (permalink / raw)
To: axp-list
Who succeed in using the kernel debugger kgdb of linux?I always failed
to start it.
ward 1998.9.11
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 12:02 ttyS0 versus cua0 Paul Tomblin
1998-09-10 17:49 ` Christopher Curtis
1998-09-10 17:53 ` Michal Jaegermann
@ 1998-09-10 18:40 ` Bibek Sahu
1998-09-11 14:04 ` Jeff Sturm
3 siblings, 0 replies; 23+ messages in thread
From: Bibek Sahu @ 1998-09-10 18:40 UTC (permalink / raw)
To: axp-list
On Thu, 10 Sep 1998, Paul Tomblin wrote:
> Can anybody explain why cua0 would work when ttyS0 doesn't? I thought they
> were basically the exact same kernel driver, but the "cua0" had some extra
> locking logic for the benefit of uucp?
In theory, it should be. Why it isn't... I dunno. What I do know
is that as of the 2.1 kernel series, the cua devices are considered
obsolete.
[prophet: cvs-gnome]# cat /dev/cua0
tty_io.c: process 25464 (cat) used obsolete /dev/cua0 - update software to
use /dev/ttyS0
[prophet: cvs-gnome]#
- Bob
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-10 12:02 ttyS0 versus cua0 Paul Tomblin
` (2 preceding siblings ...)
1998-09-10 18:40 ` ttyS0 versus cua0 Bibek Sahu
@ 1998-09-11 14:04 ` Jeff Sturm
1998-09-11 14:52 ` Paul Tomblin
1998-09-11 14:55 ` Paul Tomblin
3 siblings, 2 replies; 23+ messages in thread
From: Jeff Sturm @ 1998-09-11 14:04 UTC (permalink / raw)
To: axp-list
On Thu, 10 Sep 1998, Paul Tomblin wrote:
> Now this is weird. After my problems with lightning, and taking apart and
> putting back together all the cables and reseating all the boards and
> everything, the vt220 terminal I have hung off of ttyS0 wasn't working. Even
> a simple experiment like "echo foo > /dev/ttyS0" or "stty -a < /dev/ttyS0"
> would just hang forever. But doing the same thing to /dev/cua0 worked fine.
> And the modem on /dev/cua1 works fine too. So I changed my inittab (for the
> first time in years) to start the getty on cua0 instead of ttyS0, and
> everything works.
>
> Can anybody explain why cua0 would work when ttyS0 doesn't? I thought they
> were basically the exact same kernel driver, but the "cua0" had some extra
> locking logic for the benefit of uucp?
The ttyS0 port by default observes modem control signals, which prevent
open() from completing until CD/DTR (IIRC) is raised. The workaround is
to use "stty -clocal" which configures the port to ignore modem control.
The catch-22 is that "stty -clocal </dev/ttyS0" will hang forever on a
blocking open.
(This brings back painful memories of installing hardwired terminals
before Ethernet was common and Linux ever got out of Finland.)
The terminal *should* raise DTR and activate the port when switched on,
but several things can get in the way: the terminal could be configured
to never raise DTR, the RS/232 cable might be incomplete/malfunctioning
(terminals were often wired with just 3 conductors, RX/TX/GND), or the
serial port could possibly be malfunctioning.
Often I diagnosed these problems with a RS/232 line analyzer. One
favorite trick of mine is to open the serial port with something like "cu -l
ttyS0", type a sentence, and see if it appears on the terminal console.
Normally this works even without modem signals since cu does a non-blocking
open().
One workaround is "stty -clocal" if you can open the port at all (I once
wrote a small C program just to do this). Another is to modify the
cable, shorting together the DSR/DTR/CD pins on the host side only, so it
thinks the terminal is on and ready all the time.
(All my experience with hardwired terminals was back with AIX, HP/UX and
SCO. I have no idea how much of this applies to Linux, since I've never
plugged a terminal into Linux. Boy how I love Ethernet :) )
Jeff
^ permalink raw reply [flat|nested] 23+ messages in thread* Re: ttyS0 versus cua0
1998-09-11 14:04 ` Jeff Sturm
@ 1998-09-11 14:52 ` Paul Tomblin
1998-09-11 14:55 ` Paul Tomblin
1 sibling, 0 replies; 23+ messages in thread
From: Paul Tomblin @ 1998-09-11 14:52 UTC (permalink / raw)
To: axp-list
Quoting Jeff Sturm (jsturm@gatecom.com):
> The ttyS0 port by default observes modem control signals, which prevent
> open() from completing until CD/DTR (IIRC) is raised. The workaround is
> to use "stty -clocal" which configures the port to ignore modem control.
> The catch-22 is that "stty -clocal </dev/ttyS0" will hang forever on a
> blocking open.
Hmmmmmmmmmmm. I have a vague recollection of seeing my wife in the Setup menu
on the vt220 for something (usually it's because the damn thing switches
spontaneoulsy between the mode where the arrow and esc keys works and where
they don't). When I get home tonight, I'll have to check to see if she didn't
accidentally change the modem control settings on the terminal.
Thanks. This is the most useful information anybody has posted in this whole
discussion.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: ttyS0 versus cua0
1998-09-11 14:04 ` Jeff Sturm
1998-09-11 14:52 ` Paul Tomblin
@ 1998-09-11 14:55 ` Paul Tomblin
1 sibling, 0 replies; 23+ messages in thread
From: Paul Tomblin @ 1998-09-11 14:55 UTC (permalink / raw)
To: axp-list
Quoting Jeff Sturm (jsturm@gatecom.com):
> (All my experience with hardwired terminals was back with AIX, HP/UX and
> SCO. I have no idea how much of this applies to Linux, since I've never
> plugged a terminal into Linux. Boy how I love Ethernet :) )
Forgot to mention: I have 6 machines ethernetted together - alpha linux,
intel linux, power mac, old mac, windows 95 and g3 powerbook. But when
somebody just wants to quickly check email and usenet, the vt220 hanging off
the alpha is still the favourite way of doing it. My family uses mutt and
trn, not point and drool, so it's a great solution.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: mystique
@ 1999-04-21 1:47 xeno
1999-04-21 2:40 ` kernel debugger Soohoon Lee
0 siblings, 1 reply; 23+ messages in thread
From: xeno @ 1999-04-21 1:47 UTC (permalink / raw)
To: axp-list
Go tga. It's the only thing with framebuffers that is supported on an
as200.
^ permalink raw reply [flat|nested] 23+ messages in thread
* kernel debugger
1999-04-21 1:47 mystique xeno
@ 1999-04-21 2:40 ` Soohoon Lee
0 siblings, 0 replies; 23+ messages in thread
From: Soohoon Lee @ 1999-04-21 2:40 UTC (permalink / raw)
To: axp-list
Hi there.
I'm looking for a kernel debugger for linux/alpha.
I thought there's no kernel debugger for linux for free.
Yesterday, I found that "aboot" has kgdb option.
but linux/alpha source does not have any gdb related stuffs.
sparc(32/64), ppc, mips has header and codes for gdb.
Who's correct? aboot or source?
doesn't alpha need such codes?
thanks in advance.
^ permalink raw reply [flat|nested] 23+ messages in thread
* kernel debugger
@ 1998-09-11 14:40 ward
0 siblings, 0 replies; 23+ messages in thread
From: ward @ 1998-09-11 14:40 UTC (permalink / raw)
To: axp-list
Who succeed in using the kernel debugger kgdb of linux?I always failed
to start it.
ward 1998.9.11
^ permalink raw reply [flat|nested] 23+ messages in thread
* AS200 4/233 beginner troubles
@ 1998-07-20 16:50 SMS
1998-04-22 0:11 ` kernel debugger ward
0 siblings, 1 reply; 23+ messages in thread
From: SMS @ 1998-07-20 16:50 UTC (permalink / raw)
To: axp-list
Greetings:
I have one of those Onsale bargain AlphaStation 200 4/233 systems and
the Red Hat 5.1 CD kit, and a few (probably lame) questions.
1. I wish to use the SRM console. What do I need to do in the hard
disk (Seagate ST15230WC, another Onsale bargain) partitioning (using
"fdisk", I presume) to make it possible to boot from the hard disk with
no floppy involved?
2. What's the procedure to install the SRM-compatible boot stuff
onto the hard disk?
3. I currently have a fixed-rate monitor which the DEC video card
(ZLXp-E2, PBXGA-BA) likes just fine (switch setting 2, 1280x1024, 60Hz).
The Red Hat installation program (kernel?) quickly buggers this,
requiring a PC-style VGA monitor. Is there any way to get Linux to
leave the video board alone so I can use my chosen monitor for all
purposes?
Feel free to point me to an info reservoir, if all the answers are
already recorded somewhere.
Considering all the wonderful things I've been hearing about Linux
for a commercial environment, I've been surprised by how much trouble
I've had getting this stuff going. (The "man" failure was pretty
depressing, for example.) I wish I could afford VMS for this thing.
I installed the field test V7.2, and it was a joy. The licenses all die
at the end of September, but for $40 I could at least verify that my $5
(used) mouse works. (The "HELP" command did not explode, either.)
DECwindows or not, needless to say, VMS and my monitor get along swell.
But, returning to the real world, any useful responses will be
appreciated.
------------------------------------------------------------------------
Steven M. Schweda (+1) 612-785-2000 ext. 16 (voice)
Provis Corporation (+1) 612-785-2100 (facsimile)
5251 Program Avenue #100 sms@provis.com (e-mail)
Mounds View, MN 55112-4975
^ permalink raw reply [flat|nested] 23+ messages in thread
* kernel debugger
1998-07-20 16:50 AS200 4/233 beginner troubles SMS
@ 1998-04-22 0:11 ` ward
1998-07-22 23:21 ` Wes Bauske
0 siblings, 1 reply; 23+ messages in thread
From: ward @ 1998-04-22 0:11 UTC (permalink / raw)
To: axp-list
Dear Sir,
I build the kernel 2.0.32 with the patch of
"alpha-patches-2.0.32-0.1".The kernel works well when I boot it without
"kgdb=1".When I boot the kernel with "kgdb=1",the machine hang after
print
"turning on virtual addressing and jump to the Linux Kernel"
in the screen
and print
"$T050f:0301020*$aa;le:b03f30*!fcf* ;40:80c7310*fcf* ;41:0* ,j#19"
via serial port(SERIAL_LINE=1,baud=38400)
Can you tell me how to fix it? Thanks.
ward 1997.7.16
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: kernel debugger
1998-04-22 0:11 ` kernel debugger ward
@ 1998-07-22 23:21 ` Wes Bauske
0 siblings, 0 replies; 23+ messages in thread
From: Wes Bauske @ 1998-07-22 23:21 UTC (permalink / raw)
To: axp-list@redhat.com
ward wrote:
>
> Dear Sir,
>
> I build the kernel 2.0.32 with the patch of
> "alpha-patches-2.0.32-0.1".The kernel works well when I boot it without
> "kgdb=1".When I boot the kernel with "kgdb=1",the machine hang after
> print
> "turning on virtual addressing and jump to the Linux Kernel"
> in the screen
>
> and print
> "$T050f:0301020*$aa;le:b03f30*!fcf* ;40:80c7310*fcf* ;41:0* ,j#19"
> via serial port(SERIAL_LINE=1,baud=38400)
>
> Can you tell me how to fix it? Thanks.
>
> ward 1997.7.16
I thought kernel debugging didn't work for Alphas?
Anyone know for sure?
Also, your mail message had the date 4-22-98 so you
ought to fix your date on your system. Your mail
showed up in the middle of my saved mail.
Wes
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~1999-04-21 3:02 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-10 12:02 ttyS0 versus cua0 Paul Tomblin
1998-09-10 17:49 ` Christopher Curtis
1998-09-10 17:56 ` Randy Carpenter
1998-09-10 17:57 ` Paul Tomblin
1998-09-10 18:00 ` Paul Tomblin
1998-09-10 17:53 ` Michal Jaegermann
1998-09-10 17:59 ` Paul Tomblin
1998-09-10 18:15 ` Michal Jaegermann
1998-09-10 18:32 ` Paul Tomblin
1998-09-10 18:38 ` Daniel Stringfield
1998-09-10 18:53 ` Paul Tomblin
1998-09-12 7:35 ` gkoch
1998-09-11 10:41 ` Peter Waltenberg
1998-09-10 22:43 ` Paul Tomblin
1998-09-11 14:29 ` kernel debugger ward
1998-09-10 18:40 ` ttyS0 versus cua0 Bibek Sahu
1998-09-11 14:04 ` Jeff Sturm
1998-09-11 14:52 ` Paul Tomblin
1998-09-11 14:55 ` Paul Tomblin
-- strict thread matches above, loose matches on Subject: below --
1999-04-21 1:47 mystique xeno
1999-04-21 2:40 ` kernel debugger Soohoon Lee
1998-09-11 14:40 ward
1998-07-20 16:50 AS200 4/233 beginner troubles SMS
1998-04-22 0:11 ` kernel debugger ward
1998-07-22 23:21 ` Wes Bauske
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox