Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* alpha newbie questions
@ 1999-10-06  4:00 aj
  1999-10-06  4:00 ` Marco Benton
  1999-10-07  4:00 ` alpha newbie questions Eberhard Burr
  0 siblings, 2 replies; 11+ messages in thread
From: aj @ 1999-10-06  4:00 UTC (permalink / raw)


i'm new to this alpha thing so i was hoping someone could answer a few
questions that i haven't been able to find answers to yet.

i just installed debian on an sx164 via ftp this morning, but the kernel's a
wee bit outdated at 2.0.36. i want to upgrade to 2.2.12 but i heard
something about linload.exe and milo must be compiled against the same
kernel the as the system. is this true? if so, how would i go about getting
a milo compiled against 2.2.12?
(my system boots from the first fat partition).

my other problem is that i can't boot the system without a keyboard
attached, but it boots ok without a monitor. any suggestions about this?


tia,
aj





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

* Re: alpha newbie questions
  1999-10-06  4:00 alpha newbie questions aj
@ 1999-10-06  4:00 ` Marco Benton
  1999-10-07  4:00   ` alpha newbie questions -> serial port naming Harri Haataja
  1999-10-07  4:00 ` alpha newbie questions Eberhard Burr
  1 sibling, 1 reply; 11+ messages in thread
From: Marco Benton @ 1999-10-06  4:00 UTC (permalink / raw)


to save yourself the trouble of upgrading your kernel and a whole bunch of
subsets, i would upgrade to the latest version of Debian (i'm not a debian
user but i play one on usenet).  it comes with kernel 2.2.  or ftp the new
kernel packages and subsets and update them manually.

as for the booting without a keyboard...  you must setup the OS to accept
serial console logins.  Kernel 2.2 did a better job for serial based
consoles but it is possible with a little hacking for the 2.0 kernels.  edit
/etc/inittab and comment out the mingettys and uncomment the gettys.  you
also have to tell MILO that the console is serial.  here is a sample of my
inittab from my LinuxSparc system (should be the same across platforms):
# Run gettys in standard runlevels
#1:12345:respawn:/sbin/mingetty tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6
1:12345:respawn:/sbin/getty cua0 9600 vt100
2:12345:respawn:/sbin/getty cua1 9600 vt100


AlphaBIOS and milo dont care about what the console is going to.  you can
actually still run AlphaBIOS through the serial port if you really wanted to
(also if you know the control keys to get around).

i would really recommend using the SRM if booting without a keyboard.  but
that's just my preference.

--

Marco Benton
eXpert Systems Solutions
http://www.xssnet.com
"Da Original - Bastard Operator from Hell"
      luser /loo'zr/ n.
      A user; esp. one who is also a loser. ( luser and loser are pronounced
identically.)


aj <newsgroups@x.funky.org> wrote in message
news:KDNK3.64672$3T.394837@news1.rdc1.bc.home.com...
> i'm new to this alpha thing so i was hoping someone could answer a few
> questions that i haven't been able to find answers to yet.
>
> i just installed debian on an sx164 via ftp this morning, but the kernel's
a
> wee bit outdated at 2.0.36. i want to upgrade to 2.2.12 but i heard
> something about linload.exe and milo must be compiled against the same
> kernel the as the system. is this true? if so, how would i go about
getting
> a milo compiled against 2.2.12?
> (my system boots from the first fat partition).
>
> my other problem is that i can't boot the system without a keyboard
> attached, but it boots ok without a monitor. any suggestions about this?
>
>
> tia,
> aj
>
>





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

* Re: alpha newbie questions -> serial port naming
  1999-10-06  4:00 ` Marco Benton
@ 1999-10-07  4:00   ` Harri Haataja
  1999-10-07  4:00     ` aj
  0 siblings, 1 reply; 11+ messages in thread
From: Harri Haataja @ 1999-10-07  4:00 UTC (permalink / raw)


On Wed, 6 Oct 1999, Marco Benton wrote:

> 1:12345:respawn:/sbin/getty cua0 9600 vt100
> 2:12345:respawn:/sbin/getty cua1 9600 vt100

I think Linux users are urged to *only* use the ttyS<n> devices.

-- 
Harri Haataja




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

* Re: alpha newbie questions
  1999-10-06  4:00 alpha newbie questions aj
  1999-10-06  4:00 ` Marco Benton
@ 1999-10-07  4:00 ` Eberhard Burr
  1999-10-07  4:00   ` Michal Jaegermann
  1999-10-07  4:00   ` Bill Zettler
  1 sibling, 2 replies; 11+ messages in thread
From: Eberhard Burr @ 1999-10-07  4:00 UTC (permalink / raw)


"aj" <newsgroups@x.funky.org> writes:


> i just installed debian on an sx164 via ftp this morning, but the kernel's a
> wee bit outdated at 2.0.36. i want to upgrade to 2.2.12 but i heard
> something about linload.exe and milo must be compiled against the same
> kernel the as the system. is this true?

Yup.

>                                  if so, how would i go about getting
> a milo compiled against 2.2.12?
> (my system boots from the first fat partition).

Milo and the kernel it was compiled against must match. once you have
milo booting, you can boot newer kernels with an older Milo. Just grab 
the sources and compile yourself a kernel. Place that kernel in the
same directory, where the older one is and create a new OS selection
in the BIOS. works fine for me. 

HTH,
-- 
Eberhard Burr    check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
                 for PGP Key -- #include <stddisc.h> -- electric cookie follows
When taxes are due, Americans tend to feel quite bled-white and blue.



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

* Re: alpha newbie questions
  1999-10-07  4:00 ` alpha newbie questions Eberhard Burr
  1999-10-07  4:00   ` Michal Jaegermann
@ 1999-10-07  4:00   ` Bill Zettler
  1999-10-07  4:00     ` Eberhard Burr
  1 sibling, 1 reply; 11+ messages in thread
From: Bill Zettler @ 1999-10-07  4:00 UTC (permalink / raw)


Ok, I'll bite. Please explain the logic under which both these statements can be
true:

Eberhard Burr wrote:

> Milo and the kernel it was compiled against must match. once you have
> milo booting, you can boot newer kernels with an older Milo.

Bill




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

* Re: alpha newbie questions
  1999-10-07  4:00 ` alpha newbie questions Eberhard Burr
@ 1999-10-07  4:00   ` Michal Jaegermann
  1999-10-07  4:00   ` Bill Zettler
  1 sibling, 0 replies; 11+ messages in thread
From: Michal Jaegermann @ 1999-10-07  4:00 UTC (permalink / raw)


Eberhard Burr (Eberhard.Burr@gmx.de) wrote:
: "aj" <newsgroups@x.funky.org> writes:


: > i just installed debian on an sx164 via ftp this morning, but the kernel's a
: > wee bit outdated at 2.0.36. i want to upgrade to 2.2.12 but i heard
: > something about linload.exe and milo must be compiled against the same
: > kernel the as the system. is this true?

: Yup.

Definitely not true.  Although current kernels may require relatively
recent milos to perform a correct system setup.  I am not even sure
if you can find "generally accesible" milo compiled against a kernel
from a 2.2 series.  Maybe somebody did that but I still have to see one.
My Alphas are running different 2.2.12 and 2.2.13pre kernels.


: >                                  if so, how would i go about getting
: > a milo compiled against 2.2.12?
: > (my system boots from the first fat partition).

: Milo and the kernel it was compiled against must match.

I think that this is a misunderstanding.  Milo is using a substantial
portion of a kernel sources and has to match a kernel for which it was
writen when you are **recompiling** it and NOT using.  Last time I
looked you needed a setup which would produce ECOFF, and not ELF,
binaries if you planned to recompile (at least with a binary-only
PAL code library).

Yes, in the past it happened that I recompiled some milos when I
neede a recognition of a SCSI controller not supported by available
images.  This was a quite while ago.

  Michal



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

* Re: alpha newbie questions -> serial port naming
  1999-10-07  4:00   ` alpha newbie questions -> serial port naming Harri Haataja
@ 1999-10-07  4:00     ` aj
  1999-10-07  4:00       ` Marco Benton
  1999-10-08  4:00       ` Harri Haataja
  0 siblings, 2 replies; 11+ messages in thread
From: aj @ 1999-10-07  4:00 UTC (permalink / raw)


> > 1:12345:respawn:/sbin/getty cua0 9600 vt100
> > 2:12345:respawn:/sbin/getty cua1 9600 vt100
>
> I think Linux users are urged to *only* use the ttyS<n> devices.

actually, that worked perfectly. now i can put the box in a corner without
kybd or monitor.
aj





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

* Re: alpha newbie questions
  1999-10-07  4:00   ` Bill Zettler
@ 1999-10-07  4:00     ` Eberhard Burr
  0 siblings, 0 replies; 11+ messages in thread
From: Eberhard Burr @ 1999-10-07  4:00 UTC (permalink / raw)


Bill Zettler <bzettler@zettler.com> writes:

> Ok, I'll bite. Please explain the logic under which both these statements can be
> true:
> 
> Eberhard Burr wrote:
> 
> > Milo and the kernel it was compiled against must match. once you have
> > milo booting, you can boot newer kernels with an older Milo.
> 
> Bill


ah, my English is even more confusing than my German is...

What I had in mind saying is, that the milo sources (at least the
version i tried to compile) must match the kernel sources you have
available when you want to compile milo. (at least that's what i
deduced from the error messages). Once you have milo booting one
kernel, it will just as well boot a different kernel since the milo
binary contains the parts of the kernel it was compiled against and
does not use parts of the kernel it is about to boot.

kind Regards,
-- 
Eberhard Burr    check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
                 for PGP Key -- #include <stddisc.h> -- electric cookie follows
Don't be overly suspicious where it's not warranted.



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

* Re: alpha newbie questions -> serial port naming
  1999-10-07  4:00     ` aj
@ 1999-10-07  4:00       ` Marco Benton
  1999-10-08  4:00       ` Harri Haataja
  1 sibling, 0 replies; 11+ messages in thread
From: Marco Benton @ 1999-10-07  4:00 UTC (permalink / raw)



in linux kernel 2.2, you would need to convert the cua0 to ttyS0...
but it'll still work!
--

Marco Benton
eXpert Systems Solutions
http://www.xssnet.com
"Da Original - Bastard Operator from Hell"
      luser /loo'zr/ n.
      A user; esp. one who is also a loser. ( luser and loser are pronounced
identically.)


aj <newsgroups@x.funky.org> wrote in message
news:i05L3.67447$3T.446553@news1.rdc1.bc.home.com...
> > > 1:12345:respawn:/sbin/getty cua0 9600 vt100
> > > 2:12345:respawn:/sbin/getty cua1 9600 vt100
> >
> > I think Linux users are urged to *only* use the ttyS<n> devices.
>
> actually, that worked perfectly. now i can put the box in a corner without
> kybd or monitor.
> aj
>
>





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

* Re: alpha newbie questions -> serial port naming
  1999-10-07  4:00     ` aj
  1999-10-07  4:00       ` Marco Benton
@ 1999-10-08  4:00       ` Harri Haataja
  1999-10-09  4:00         ` Michal Jaegermann
  1 sibling, 1 reply; 11+ messages in thread
From: Harri Haataja @ 1999-10-08  4:00 UTC (permalink / raw)


On Thu, 7 Oct 1999, aj wrote:

> > > 1:12345:respawn:/sbin/getty cua0 9600 vt100
> > > 2:12345:respawn:/sbin/getty cua1 9600 vt100
> >
> > I think Linux users are urged to *only* use the ttyS<n> devices.
> 
> actually, that worked perfectly. now i can put the box in a corner without
> kybd or monitor.

I believe either works. I never said there'd be problems, but I hear this
is the way you *should* do it. References ne1?

-- 
Harri Haataja




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

* Re: alpha newbie questions -> serial port naming
  1999-10-08  4:00       ` Harri Haataja
@ 1999-10-09  4:00         ` Michal Jaegermann
  0 siblings, 0 replies; 11+ messages in thread
From: Michal Jaegermann @ 1999-10-09  4:00 UTC (permalink / raw)


Harri Haataja (blades@yok5174.oulu.fi) wrote:
: On Thu, 7 Oct 1999, aj wrote:

: > > > 1:12345:respawn:/sbin/getty cua0 9600 vt100
: > > > 2:12345:respawn:/sbin/getty cua1 9600 vt100
: > >
: > > I think Linux users are urged to *only* use the ttyS<n> devices.
: > 
: > actually, that worked perfectly. now i can put the box in a corner without
: > kybd or monitor.

: I believe either works. I never said there'd be problems, but I hear this
: is the way you *should* do it. References ne1?

Ok, once again:

 From: "Theodore Y. Ts'o" <tytso@mit.edu>
 To: Tony Nugent <tonyn@sctnugen.ppp.gu.edu.au>
 Cc: linux-net@vger.rutgers.edu, linux-ppp@vger.rutgers.edu
 Subject: Re: /dev/cua? Vs /dev/ttyS? (was: Re: co-existance of pppd and mgetty ?
 )
 Date: Mon, 13 May 1996 19:51:04 +0200
 Status: ROr

    Date:        Mon, 13 May 1996 07:57:09 +1000
    From: Tony Nugent <tonyn@sctnugen.ppp.gu.edu.au>

    Can someone kindly explain the difference between the /dev/cua? and
    /dev/ttyS? devices?

 /dev/ttySxx devices are fully POSIX-compliant TTY devices.  If you are
 only going to be using one set of tty devices, you should be using
 /dev/ttySxx. 

 /dev/cuaXX devices are different from /dev/ttySXX in two ways --- first
 of all, they will allow you to open the device even if CLOCAL is not set
 and the O_NONBLOCK flag was not given to the open device.  This allows
 programs that don't use the POSIX-mondated interface for opening
 /dev/ttySxx devices to be able to use /dev/cuaXX to make outgoing phone
 calls on their modem (cu stands for "callout", and is taken from SunOS).

 The second way in which /dev/cuaXX differs from /dev/ttySXX is that if
 they are used, they will trigger a simplistic kernel-based locking
 scheme:  If /dev/ttySXX is opened by one or more processes, then an
 attempt to open /dev/cuaXX will return EAGAIN.  If /dev/cuaXX is opened
 by one or more processes, then an attempt to open /dev/ttySXX will
 result the open blocking until /dev/cuaXX is closed, and the carrier
 detect line goes high.

 While this will allow for simple lockouts between a user using a modem
 for callout and a getty listening on the line for logins, it doesn't
 work if you need to arbitrate between multiple programs wanting to do
 dialout --- for example, users wanting to do dialout and UUCP.

 I originally implemented the cuaXX/ttySXX lockout mechanism back before
 FSSTND established a standard convention for the use of tty lock files.
 Now that it's there, people should use the tty lock files and not try
 using /dev/cuaXX.  The only reason why /dev/cuaXX hasn't disappeared yet
 is for backwards compatibility reasons.

						 - Ted

As you see from a date this was a while ago and Ted got tired
explaining this over and over again.  What is more important
a co-existence of cuaXX/ttySXX screws up very badly locking in more
complicated situations.  So with kernels from 2.2 series you will
get a warning logged if you try to use /dev/cuaXX.  In 2.4 kernels
this will simply not work.

A corrolary to the above is that with /dev/ttySXX devices only you
need a variant of 'stty' which can open device directly, not through
a shell, and with O_NONBLOCK or you can get stuck without a way of
adjusting flags. OTOH I am using /dev/ttySXX only for a long time
(I do have various programs competing for serial lines) and this was
never a real problem.

 Michal
 



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

end of thread, other threads:[~1999-10-09  4:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-06  4:00 alpha newbie questions aj
1999-10-06  4:00 ` Marco Benton
1999-10-07  4:00   ` alpha newbie questions -> serial port naming Harri Haataja
1999-10-07  4:00     ` aj
1999-10-07  4:00       ` Marco Benton
1999-10-08  4:00       ` Harri Haataja
1999-10-09  4:00         ` Michal Jaegermann
1999-10-07  4:00 ` alpha newbie questions Eberhard Burr
1999-10-07  4:00   ` Michal Jaegermann
1999-10-07  4:00   ` Bill Zettler
1999-10-07  4:00     ` Eberhard Burr

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