Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* AS500: Console and MILO problems
@ 1998-07-21 22:06 Kurt Garloff
  1998-07-22  8:04 ` Jay.Estabrook
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Garloff @ 1998-07-21 22:06 UTC (permalink / raw)
  To: AXP List

Hi,

I still have some problems with our AS500 and want to ask for help again.

I finally suceeded in getting compiled a working kernel.
I used 2.0.34+alpha-patches from gatekeeper. I had to patch
arch/alpha/config.in to allow enabling CONFIG_SRM for an XLT kernel. I
reenabled the xlt_fixup().

Now, it boots the 2.0.34 kernel via SRM/aboot. em86 is working, but the
console is broken now. (It used to work as expected, before, when I used a
RH-51 alcor kernel.) Here's some description of what is wrong:
The console doesn't show colours anymore. After a lot of scrolling, the
screen starts to show random background colours and mess at the bottom of
the screen. Switching between virtual consoles cures this. After switching
VCs, the first ~2000 chars are with white/red (fg/bg), everything else is
white/black.
It happens indepently of the resolution. When using 80x25, the whole screen
is white/red and scrolling gives white/black, on 114x48, only the upper
quarter is white/red.

The VGA is a S3-968. It worked before, so there must be another reason for
the problems. It might be the alpha-patches, the SRM fixup or the compiler
(egcs-1.03a, haifa). Does anybody know what's going on, here?

I'd still like to use ARC for booting in order not to need a floppy.
However, the MILOs produced by Jay do hang on SCSI bus scan. I tried to
build my own MILOs, but these do hang after displaying (from memory)
Swapping to PALCode 0x0 ...

Any ideas, here? How do I get a working MILO? I used milo-2.0.31-pre11
sources, because I didn't find newer ones. How can I compile a working MILO?
Compiler/binutils is egcs-1.03a/2.9.1 again.


Thanks for help and ideas.
-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff


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

* Re: AS500: Console and MILO problems
  1998-07-21 22:06 AS500: Console and MILO problems Kurt Garloff
@ 1998-07-22  8:04 ` Jay.Estabrook
  1998-07-22 17:24   ` Maciej W. Rozycki
  1998-07-23  7:31   ` Kurt Garloff
  0 siblings, 2 replies; 6+ messages in thread
From: Jay.Estabrook @ 1998-07-22  8:04 UTC (permalink / raw)
  To: axp-list


>>> Kurt Garloff said:
> 
> Now, it boots the 2.0.34 kernel via SRM/aboot. em86 is working, but the
> console is broken now. (It used to work as expected, before, when I used a
> RH-51 alcor kernel.) Here's some description of what is wrong:
> The console doesn't show colours anymore. After a lot of scrolling, the
> screen starts to show random background colours and mess at the bottom of
> the screen. Switching between virtual consoles cures this. After switching
> VCs, the first ~2000 chars are with white/red (fg/bg), everything else is
> white/black.
> It happens indepently of the resolution. When using 80x25, the whole screen
> is white/red and scrolling gives white/black, on 114x48, only the upper
> quarter is white/red.
> 
> The VGA is a S3-968. It worked before, so there must be another reason for
> the problems. It might be the alpha-patches, the SRM fixup or the compiler
> (egcs-1.03a, haifa). Does anybody know what's going on, here?

I think it's possible that the patches were installed incorrectly; did you
do essentially the following?

	cd /usr/local/src
	tar xzf /somewhere/linux-2.0.34.tar.gz
	mv linux linux-2.0.34
	cd linux-2.0.34
	zcat /somewhere/alpha-patches-2.0.34-0.1.gz | patch -p1 -E >& ../34.log

The most important steps are 4 and 5; you must first "cd" into the top level
of the source tree, and then tell "patch" to remove the first level directory
names from the files in the diffs. If you miss either of these, you are apt
to miss the creation of critical files in the correct places.

> I'd still like to use ARC for booting in order not to need a floppy.
> However, the MILOs produced by Jay do hang on SCSI bus scan. I tried to
> build my own MILOs, but these do hang after displaying (from memory)
> Swapping to PALCode 0x0 ...

You CANNOT build MILOs with the DEC BIOS emulation under anything but RH 4.2,
at this time!!! And building with the free x86 emulator is quite a problem, as
that code is not up to emulating some of the later VGA BIOSes.

I don't know what the MILO problem with the SCSI is, but one can boot directly
from harddisk under SRM console, so long as the harddisk is partitioned using
a BSD-style partition table (SRM does NOT understand DOS style). Unfortunately,
that may mean reinstalling after redoing the disk partitioning... :-\

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Motherboards - LINUX Project
Digital Equipment Corp.                 (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545  Jay.Estabrook@digital.com
-------------------------------------------------------------------------------



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

* Re: AS500: Console and MILO problems
  1998-07-22  8:04 ` Jay.Estabrook
@ 1998-07-22 17:24   ` Maciej W. Rozycki
  1998-07-24  4:36     ` Jay.Estabrook
  1998-07-23  7:31   ` Kurt Garloff
  1 sibling, 1 reply; 6+ messages in thread
From: Maciej W. Rozycki @ 1998-07-22 17:24 UTC (permalink / raw)
  To: axp-list

On Wed, 22 Jul 1998 Jay.Estabrook@digital.com wrote:

> I don't know what the MILO problem with the SCSI is, but one can boot directly
> from harddisk under SRM console, so long as the harddisk is partitioned using
> a BSD-style partition table (SRM does NOT understand DOS style). Unfortunately,
> that may mean reinstalling after redoing the disk partitioning... :-\

 Oh, come on.  You may change the partitioning scheme from Intel to BSD
on-line using a combination of `fdisk' and `dd'.  Been there, done that.
Just make sure you enter exactly the same numbers for partition offsets
and sizes.

 The exact order is as follows:

1. Read and write down the values displayed by `fdisk'.  Make sure you
have no more than eight real partitions ("extended" does not count as
real).  If you have more than eight partitions then you may ether
sacrifice some of them or use the traditional "backup and restore" method.

2. Quit `fdisk'.

3. Perform `dd if=/dev/zero of=<whole_disk_device> bs=512 count=1'.

4. Start `fdisk' in BSD mode and create a disklabel using values obtained
in step 1.  Omit all extended partitions as they make no sense with BSD
scheme.

5. Congratulations, you now have a BSD-disklabelled hard disk drive.

 The whole process takes usually about ten minutes, including
double-checking of all the numbers, which is highly recommended. ;-) 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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

* Re: AS500: Console and MILO problems
  1998-07-22  8:04 ` Jay.Estabrook
  1998-07-22 17:24   ` Maciej W. Rozycki
@ 1998-07-23  7:31   ` Kurt Garloff
  1 sibling, 0 replies; 6+ messages in thread
From: Kurt Garloff @ 1998-07-23  7:31 UTC (permalink / raw)
  To: axp-list

On Wed, Jul 22, 1998 at 01:04:59PM +0500, Jay.Estabrook@digital.com wrote:
> 
> I think it's possible that the patches were installed incorrectly; did you
> do essentially the following?
> 
> 	cd /usr/local/src
> 	tar xzf /somewhere/linux-2.0.34.tar.gz
> 	mv linux linux-2.0.34
> 	cd linux-2.0.34
> 	zcat /somewhere/alpha-patches-2.0.34-0.1.gz | patch -p1 -E >& ../34.log

I used /usr/src and did not say -E to patch. No rejections by patch,
though.No more differences.

> The most important steps are 4 and 5; you must first "cd" into the top level
> of the source tree, and then tell "patch" to remove the first level directory
> names from the files in the diffs. If you miss either of these, you are apt
> to miss the creation of critical files in the correct places.
> 
> > I'd still like to use ARC for booting in order not to need a floppy.
> > However, the MILOs produced by Jay do hang on SCSI bus scan. I tried to
> > build my own MILOs, but these do hang after displaying (from memory)
> > Swapping to PALCode 0x0 ...
> 
> You CANNOT build MILOs with the DEC BIOS emulation under anything but RH 4.2,
> at this time!!! And building with the free x86 emulator is quite a problem, as
> that code is not up to emulating some of the later VGA BIOSes.

IT's RH51, so this might be the reason for failure. What's the problem?
binutils? gcc? glibc?

> I don't know what the MILO problem with the SCSI is, but one can boot directly
> from harddisk under SRM console, so long as the harddisk is partitioned using
> a BSD-style partition table (SRM does NOT understand DOS style). Unfortunately,
> that may mean reinstalling after redoing the disk partitioning... :-\

I used PC style partition tables, as the system had NT on it. BSD style part
tables are a little bit obscure IMHO, at least the way DUX expects them to be.

So I'm out of luck here.

I think the ARC/MILO problem is IRQ related. ARC reports IRQ numbers which
are the numbers used after SRM/aboot boot and reported by /proc/pci plus 1 !
So, maybe the QLogic ISP SCSI waits for an IRQ ...
You remember that the problem started after upgrading from ARC 4.48 to 4.57.
(I got lots of unexpected intrs before.)

Where can I find older version of ARC for AS500? Maybe it's worth trying.
On the Digital site I found, there were only 4.56 and 4.57.

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff


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

* Re: AS500: Console and MILO problems
  1998-07-22 17:24   ` Maciej W. Rozycki
@ 1998-07-24  4:36     ` Jay.Estabrook
  1998-07-24 15:36       ` Maciej W. Rozycki
  0 siblings, 1 reply; 6+ messages in thread
From: Jay.Estabrook @ 1998-07-24  4:36 UTC (permalink / raw)
  To: axp-list


>>> "Maciej W. Rozycki" said:
> 
>  Oh, come on.  You may change the partitioning scheme from Intel to BSD
> on-line using a combination of `fdisk' and `dd'.  Been there, done that.
> Just make sure you enter exactly the same numbers for partition offsets
> and sizes.

The problem is not usually the partitions and their sizes, but the lack of
space for the bootstrap to be installed in front of the first partition.
How many times have you used "fdisk" DOS-style and started the first
partition NOT in cylinder 1?

>  The whole process takes usually about ten minutes, including
> double-checking of all the numbers, which is highly recommended. ;-) 

Yes, and one can often re-install from a fast SCSI CDROM in less than that.
Fastest I've ever seen is a DP264 (EV6 CPU) with 12X Plextor, less than 3 min
for a full RH 5.0 install... :-) :-) :-)

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Motherboards - LINUX Project
Digital Equipment Corp.                 (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545  Jay.Estabrook@digital.com
-------------------------------------------------------------------------------



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

* Re: AS500: Console and MILO problems
  1998-07-24  4:36     ` Jay.Estabrook
@ 1998-07-24 15:36       ` Maciej W. Rozycki
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej W. Rozycki @ 1998-07-24 15:36 UTC (permalink / raw)
  To: axp-list

On Fri, 24 Jul 1998 Jay.Estabrook@digital.com wrote:

> >  Oh, come on.  You may change the partitioning scheme from Intel to BSD
> > on-line using a combination of `fdisk' and `dd'.  Been there, done that.
> > Just make sure you enter exactly the same numbers for partition offsets
> > and sizes.
> 
> The problem is not usually the partitions and their sizes, but the lack of
> space for the bootstrap to be installed in front of the first partition.

 Well, "SRM Firmware Howto", which hopefully everyone reads before
installing Linux on a SRM equipped Alpha machine, explicitly states that
aboot needs some free space to be left at the beginning of the disk.
Unfortunately, the document does not say that an Intel-style partition
table is incompatible to SRM.

> How many times have you used "fdisk" DOS-style and started the first
> partition NOT in cylinder 1?

 I did so exactly once. ;-)  When I was installing Linux on an Alpha for
the first time I was unaware of the Intel-style partition table
incompatibility.

> >  The whole process takes usually about ten minutes, including
> > double-checking of all the numbers, which is highly recommended. ;-) 
> 
> Yes, and one can often re-install from a fast SCSI CDROM in less than that.
> Fastest I've ever seen is a DP264 (EV6 CPU) with 12X Plextor, less than 3 min
> for a full RH 5.0 install... :-) :-) :-)

 Yeah, if you happened to have a CD.  When using a network install it may
even take a couple of hours (installing across a WAN took about two hours
in my case).

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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

end of thread, other threads:[~1998-07-24 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-21 22:06 AS500: Console and MILO problems Kurt Garloff
1998-07-22  8:04 ` Jay.Estabrook
1998-07-22 17:24   ` Maciej W. Rozycki
1998-07-24  4:36     ` Jay.Estabrook
1998-07-24 15:36       ` Maciej W. Rozycki
1998-07-23  7:31   ` Kurt Garloff

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