Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Gary A. Allen" <gallen@ironbark.arc.nasa.gov>
To: axp-list@redhat.com
Subject: How I got a Tekram DC-390-F SCSI card to work
Date: Fri, 17 Sep 1999 18:42:52 -0700	[thread overview]
Message-ID: <199909180142.SAA02540@ironbark.arc.nasa.gov> (raw)

I've derived considerable benefit from this newsgroup and long wanted to
provide some sort of "payback".  Now finally, I think(?) I have some
information that many Alpha/Linux users out there might find interesting. 
What I'm going to describe is how I "successfully" installed Linux onto an
Alpha that uses a Tekram DC-390F SCSI card.

---------------------------------------------------------------

This is the machine that I worked on:

Linux version 2.2.5-16  from RedHat Version 6.0
Motherboard AlphaPC 164LX with a Samsung 600 Mhz. Alpha CPU.
1/2 Gbyte of RAM (Viking components part number D3272DC01)
Diamond Fire GL 1000 (TVP4020 Permedia 2) graphics card

After I got the machine up and running Dmesg produced the following data:

gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Booting on EB164 variation LX164 using machine vector LX164
Calibrating delay loop... 595.59 BogoMIPS
Memory: 514840k available
Alpha PCI BIOS32 revision 0.04
SMC FDC37C93X Ultra I/O Controller found @ 0x370
hda: CD-ROM 45X, ATAPI CDROM drive [generic EIDE CDROM]
Uniform CDROM driver Revision: 2.54
ncr53c876-0: rev=0x26, base=0xa801000, io_port=0x8800, irq=19
ncr53c876-0: NCR clock is 40037KHz, 40218KHz
ncr53c876-0: Tekram format NVRAM, ID 7, Fast-20, Parity Checking

[My machine has two SCSI disk drives (always a good idea!)]

Vendor: QUANTUM   Model: FIREBALL SE3.2S   Rev: PJ0A
Type:   Direct-Access                      ANSI SCSI revision: 02

Vendor: QUANTUM   Model: ATLAS IV 9 WLS    Rev: 0808
Type:   Direct-Access                      ANSI SCSI revision: 03

3c59x.c:v0.99L 5/28/99 
eth0: 3Com 3c905B Cyclone 100baseTx at 0x8000,  00:50:da:18:66:a6, IRQ 16

----------------
Main conclusions
----------------

Good news: The Tekram DC-390F is a very cheap, widely available ultrawide
           SCSI card that works reliably once the system is booted.

Bad news:  Getting an Alpha/Linux to boot from the hard disk (without
           using a floppy) with a Tekram DC-390F is very difficult (it's
	   classed as Tier-3 by Redhat for good reason).

Really bad news:  The documentation provided by Redhat in support of installing
                  the Tekram is almost useless.  Much of the on-line data
		  is obsolete and useless.  Your main valid source of
		  information is this newsgroup.

----------------------------------------------------------------------------
What I discovered and ended up doing to get my machine booted from a floppy.
----------------------------------------------------------------------------

You can NOT boot a Tekram DC-390F using the vanilla Alpha-BIOS that comes
shipped with the AlphaPC 164LX motherboard.  The Alpha-BIOS will see the
SCSI card but NOT the hard drives.  The Alpha-BIOS software is broken
because when it fails to see the hard drives, it provides a false
advisory that the SCSI cables are incorrectly configured and then 
provides NO recourse for loading Milo by floppy.  Milo is usually your
friend but in this scenario Milo is not an option.  I observed this
situation with the latest version of Alpha-BIOS so your only option
is to use SRM.

Download the latest SRM from the net or use the version that came on
floppy with the motherboard.  Use the utility provided by Alpha-BIOS to
flash the SRM image from the floppy onto the flash PROM on the motherboard.
I didn't like doing this because I feared trashing the motherboard (they're
expensive).  However this activity is relatively safe.  The BIOS
codes (both SRM and Alpha-BIOS) provide various escape options should you
make a mess of things.  Also there is a fail-safe boot option on the 164LX
motherboard that can be activated by resetting a jumper (never had to do
that, fortunately).

You need to use Red Hat Version 6.0 or download it's equivalent version
from the net.  Lower version numbers probably won't work because they
won't have the Tekram DC-390F driver in the generic kernel.  Get the
"generic.img" and "ramdisk.img" files onto separate floppies using the Dd
commands from a live Linux box.  The images can be found on Disk #1 of the
CD-ROMs that came shipped with Red Hat Version 6.0.

Put the "generic.img" floppy in the drive first and from the SRM console
(you'll see a >>> prompt) type:

       boot dva0 -file vmlinux.gz


The usual boot stuff happens and then it'll ask for the ramdisk.  You then
put in the ramdisk and hit "enter".  From then on it's a straight installation
until you reach the "moment of truth" when you try to boot the newly installed
operating system. Needless to say it won't boot because the SRM is in the way.

Now comes the creative part:

Make sure when you're doing the installation procedure that you know
the SCSI partition name where you installed the root "/" directory.
I strongly advise NOT using Disk Druid which is slightly evil.  Use Fdisk
instead.  Assume the root directory is "/dev/sda1".  After pressing the
Reset button, you see the ">>>" SRM prompt.  Insert the "generic.img"
floppy and type the following:

       boot dva0 -file vmlinux.gz -flags "root=/dev/sda1"

Your system should now boot the newly created operating system.  The
kernel image on the floppy will be your live kernel.

If people express interest, I'll describe how I convinced my machine to
boot directly from the hard disk without using a floppy.

Random commment:  The Permedia graphics card Linux kernel driver that
came shipped with Red Hat Version 6.0 is broken and useless.  If you
build a kernel with that driver then the resultant kernel will crash on
bootup leaving the console showing multicolored bit noise.  You can
use the Permedia graphics card provided you do NOT install the broken
kernel driver.

                              Gary Allen


                 reply	other threads:[~1999-09-18  1:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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