Subject: Re: port-alpha/36628: cdhdtape image panics with memory management trap on Jensen
To: None <tsutsui@NetBSD.org, firstname.lastname@example.org,>
From: Christoph Franzen <ChristophFranzen@gmx.net>
Date: 07/23/2007 14:20:02
The following reply was made to PR port-alpha/36628; it has been noted by GNATS.
From: "Christoph Franzen" <ChristophFranzen@gmx.net>
To: Izumi Tsutsui <email@example.com>
Subject: Re: port-alpha/36628: cdhdtape image panics with memory management trap on Jensen
Date: Mon, 23 Jul 2007 16:18:04 +0200
> > There seems to be something wrong however. The ECU configuration
> > shows the SCSI adapter at IRQ 11 while Netbsd shows EISA IRQ 12.
> Hmm. According to src/sys/dev/eisa/ahb.c, the irq setting
> is stored in AHA-1742 INTDEF register so the ECU should
> set up the card properly but somehow it doesn't.
This is weird. My logs from the July 19th and previous versions of
cdhdtape show the correct IRQ 11. The next version (the one with max.
8 instead of 16 slots), however, shows IRQ 12.
*After* that I've run the ECU (V.1.10 vor SRM) again and configured
the ISA card in the 6th slot according to its jumper settings, just
to be sure that there is no conflict. The GENERIC version which I
installed afterwards also misses the IRQ.
> Does the card work on other OSes (DIGITAL UNIX or Linux)?
I did not try THIS particular card, but I've got three almost
identical Jensen machines, and I checked the host adapter "MCODE"
revisions, they are all "E". The other two machines run well with
Windows NT up to 4.0 and Linux. Linux even did not complain when the
machine's ARC consol "thought" that the ECU should be run again due
to an empty battery, it booted nonetheless.
> One concern is that the EISA config file provided by DEC
> doesn't have "CHOICE" section for IRQ levels while
> the Adaptec one for x86 has it:
If I recall correctly, the Adaptec Version needs an x86 specific
overlay and is therefore unusable on an Alpha.
Thank you for pointing me to the file "ntecuv111a.zip". This is
apparetly the most recent ECU version available (more recent than my
ones here). While this ECU should work, it is not intended for the
SRM console (OSF1/Digital Unix and VMS), but for ARC (Windows NT).
There seem to be differences according to the file I attached below
(which nowadays appears to be available from the Google cache only).
The VMS/Unix version is "ecuopenvmv111a.zip" in the same directory of
the FTP server. Generally, you *can* use both ECU versions from the
SRM as well as from the ARC console, NT and Linux did never complain.
> What "CHOICE" items are shown on the ECU menu for AHA-1742A?
> If there is no IRQ "CHOICE", what happens if you choose
> "BIOS Base Address E8000H" one?
> (it seems to set the ahb INTDEF register irq 11 LEVEL)
The ECU does not allow to choose the interrupt directly, but while
the appropriate item is highlighted, you can enter an "advanced"
window where you can change this setting. There it showed 11 when I
have run the ECU again, also in the window where you can watch all
used resources, 11 was displayed for this slot, 12 was shown as a
I will reconfigure the box with the "new" ECU version 1.11a for
VMS/Unix and investigate further.
Perhaps I'll also swap the controllers of my Jensens just to be sure
that this one is not defective.
There are also rumours that the "MCODE revision E" is buggy, but
almost all x86 EISA machines as well as the NT Alpha machines sold in
Germany used this without a problem, and I never had any difficulties
using these with Linux or NT.
The following file has some information (I hope it "survives"):
<<< SSAG::DISK$ARCH2:[NOTES$LIBRARY.SSAG]ASK_SSAG.NOTE;7 >>>
-< Ask the Storage Architecture Group >-
Note 5599.1 DEC 2000-500 PROBLEM
1 of 1
BLOFLY::SMITHP "Beware the knights who say "NT"..." 244 lines 30-MAY-
-< information... >-
I have attached a v.old Jensen/Culzean support note. Looks like
MUST disable floppy controller and MUST NOT remove the on-board
termination resistors from the 2nd 1742A.
Hope this helps.
Here are some useful snippets of poorly documented or hard-to-find
DECpc AXP 150 / DEC 2000-300 and Culzean / DEC 2000-500 info:
- There are some good notes file containing general Jensen/Culzean
specific info - AYJEN1::JENSEN, EVMS::JENSEN_VMS and DECWET::NTAXP
- The VMS/OSF and NT ECU (EISA Configuration Utility) are almost,
but NOT, the
same. The main difference is in how multiple SCSI adaptors are
While VMS can auto-configure the standard devices (i.e.
plus one SCSI and one Ethernet adaptor) even if the ECU hasn't
been run, the
VMS specific ECU must be used if duplicate adaptors or a graphics
NOTE: It is usually possible to run Windows NT perfectly well
VMS/OSF ECU, although not vice versa.
- Upgrading or reloading the console firmware causes all boot setup
and environment variables to be lost. The customers must write
the settings before up/downgrading so they can be re-entered by
hand - if
they don't, they won't be able to reboot afterwards.
Alternatively, there are a pair of DEC supplied (sometimes!)
SAVEENV.EXE and RESTENV.EXE that can be run from a floppy using
NT menu, and which will save and restore the NT environment part
NVRAM to and from the file FWENV.SAV on a floppy. These utilities
found on node RIPPER:: in the SYS$KITS:[AXP_FIRMWARE.JENSEN]
NOTE: Unless you do the "Set default environment variables" and
configuration" items in the "Set up the system..." menu
run RESTENV, the environment variable for drive A: won't be
and you will have to run RESTENV as
instead of A:RESTENV.EXE.
- The algorithms that VMS & the Jensen/Culzean console firmware use
"controller letters" to adaptor cards when more than one of a
type is present are NOT the same. Unless care is taken when
cards, VMS and the >>> console will have different names for the
device. See EVMS::JENSEN_VMS note 55.8 for details on how to
- Part number PCTAZ-AB (Adaptec 1740A SCSI adapter) is no longer
ordering as an additional SCSI adapter on the Jensen / Culzean.
had the correct firmware version for these systems and is now no
even available - all orders for the PCTAZ-AB are currently being
with a PCTAZ-CB (Adaptec 2740). The PCTAZ-CB is *not* supported
OSF/1 or the firmware (although it can be made to work under
with a lot of fiddling). To obtain an additional SCSI adapter you
now order a PB2HA-SA (Adaptec 1742A) and disable its floppy
NOTE: The installation instructions currently tell you to remove
on-board SCSI terminator packs on all additional SCSI
This is WRONG and should never be done!
- To connect an external SCSI device to the first Adaptec 1742A SCSI
(i.e. the one controlling the internal SCSI devices) in a
the three on-board terminator resistor packs on the SCSI adaptor
removed. However, this should *not* be done on any additional
1742A SCSI adapters.
Once the terminators are removed an external device or a
must always be plugged into the external connector on the 1742A.
- The correct external SCSI terminator for the 174xA's is the 12-
originally used on the DECpc 433W) or the 12-37791-01 (used on the
425ST). The electrically identical 12-33626-01 / H8578-AA used on
DECstation 5000-25 will NOT physically fit.
- There have been multiple revisions of the MCODE firmware on the
174xA SCSI controllers that are used in the Jensen and Culzean
The following should help you know what revision you need and how
identify what you have:
OSF/1 V1.3B will refuse to use any 174xA that doesn't contain rev
higher MCODE, and VMS V1.5-1H1 will do the same unless it sees rev
higher. Windows NT (both Beta and SSB) will work with any rev,
work more reliably with the latest MCODE.
To identify the MCODE rev on a 174xA either do a ">>> SHOW DEVICE"
VMS/OSF console mode, or look at the checksum on the 174xA MCODE
(The EPROM will be marked "MCODE xxxx", where xxxx is the
MCODE rev Checksum Comment
--------- -------- -------
G.2 BCE3 Minimum rev for OSF/1 V1.3B and above
G.1 C3DD Minimum rev for OpenVMS AXP V1.5-1H1 and
G B646 Shipped in DECpc AXP 150 "developer
F B6CF Rare, mostly seen in prototype machines
E B7D6 "Generic" 174xA's have rev E MCODE
A pre-programmed rev G.2 EPROM can be ordered as part number 23-
N.B.: Revisions F, G, G.1 and G.2 were special releases of
provided to Digital by Adaptec to fix bugs found by VMS and
engineering, and are only found in 174xA's sold by DEC
for the Jensen/Culzean. They aren't shipping with "generic"
174xA's and possibly never will. The highest MCODE revision
has released on generic 174xA's is rev E.
There is currently no such thing as rev H MCODE - the
demanding rev H that the OSF/1 install process displays when
encounters old MCODE is in error. The correct rev for OSF/1
(or higher). Also, the revision (usually H) reported when
Intel-based PC with the 174xA's BIOS enabled is the BIOS
not the MCODE revision. The 174xA BIOS is not used at all
on AXP PCs.
- The 174xA's are FAST-SCSI (10MB/sec) capable and if there are any
devices (e.g. an RZ26) the maximum total effective cable length is
The first 1742A already has 1 metre of internal cable, so its
would be 2M. As an example, the BA350 Storageworks box is
equivalent to 0.9
metres of cable so the maximum supported connecting cable length
1M unless you used DWZZA repeaters. I've seen lightly loaded
one or two RZ26's work fine with a 2M cable off the 1742A, but I
want to try it with a fully populated BA350.
- The correct SCSI cable (50-pin micro Honda -> 50 pin CHAMP-
connecting the 174xA to a TK50 (or similar device with the old-
SCSI connectors) is a BC09D-xx (e.g. 3 foot is BC09D-03 and 6 foot
- To temporarily enable the alternate console port (serial port 1)
disconnect the keyboard cable before powering up the system, or
SET CONSOLE SERIAL at the >>> prompt for a more lasting effect.
CONSOLE VGA goes back to the graphic console.) The default setup
baud, 8 bits, no parity, one stop bit. The console terminal must
to send 8 bit control sequences for the arrow keys to work
console mode. The correct serial port to DECconnect adapter plug
NOTE: When using the serial port console there is NO WAY to
CTRL-P and BREAK from halting the system - they are always
- The only graphics card currently supported by VMS V1.5-1H1 and
is the Compaq Qvision 1024E. Windows NT also supports the #9 GXE
there are NO plans to support this card under VMS or OSF! The
and Culzean) graphics support planned for VMS/OSF is for the ATI
Ultra Pro and for low-end standard VGA.
- When using the Qvision graphics card under VMS the SYSGEN
VIRTUALPAGECNT must be set to at least 400,000 to allow the X
map the frame buffer, otherwise it fails with a %SYSTEM-F-VASFULL
- VMS accesses the console, keyboard, mouse and serial ports via
firmware routines and they are thus all OPAx devices - the
numbering is as
OPA0: Serial port 1 when using the alternate console
Graphics head operator window when using the graphics console.
OPA1: *Serial port 2
OPA2: The PC keyboard port
OPA3: The mouse
OPA4: *Serial port 1 when using the graphics console
*Note: As of console firmware V1.2, the built-in serial ports
OPA4:) still don't work when using the graphics console.
work-around you can install a PC4XD-AA serial/parallel
JENSEN_VMS note 61.10
- Other Jensen & Culzean specific VMS device names are as follows:
DVA0: The RX26 2.88MB floppy drive
(HINT: Use "$ INIT/DENS=xx DVA0: <label>" to format floppies,
where xx = ED for 2.88MB, HD for 1.44MB, or DD for 720K)
LRA0: The parallel printer port
GQA0: The Compaq Qvision 1024E card
ERA0: The DE422 Ethernet card
- The V1.2 firmware for the Jensen still has the following
> Support for the 2 serial ports (as OPA4 & OPA1) doesn't work
the graphics card is used as the console (fixed in V1.3).
> Poor mouse performance under VMS (firmware not buffering
mouse data -
fixed in V1.3). OSF and Windows NT don't use the firmware routines
for mouse access and don't have this problem.
> No boot support for the floppy from the VMS/OSF >>> prompt,
is planned as far as I know. However, V1.2 does add a >>> RUNECU
command to allow the ECU utility to be run from floppy under the
- The V1.5-1H1 parallel port driver for the Jensen doesn't work with
and foreign printers, e.g. the DECwriter 95 - see JENSEN_VMS note
details. To be fixed in a later release of the LRDRIVER.
- The Jensen / Culzean systems are currently supplied with PC7XL-AA
PCXAL-AA keyboards, which have the enhanced PC-AT style 101 key
keys. The key combinations required to simulate the extra keys
a DEC standard keyboard are documented on pages 1-3 & 1-4 of the
AXP Version 1.5-1H1 Release Notes and Update Procedures (AV-Q1CRA-
NOTE: As of V1.2 of the firmware, the console commands to set up
keyboards with anything other than US or UK key layouts
>>> SET KEYBOARD SUISSE) don't do anything. This will be
in V1.3 of the firmware.
- The LK450 keyboard (a PC-interface keyboard with the DEC standard
layout and function keys which is ideal for use with VMS or OSF/1
used to DEC keyboards) is not supported by the SSB version of VMS
but updated drivers (SYS$IKBDRIVER.EXE and SYS$INBDRIVER.EXE) can
from BULOVA::ALPHA$KITS:[V15_SSB.UPDATE.V15_1H1] and then placed
- The Jensen/Culzean console has no provision for either low- or
formatting of system disks. The Windows NT installation utility
that the hard disk already have a valid PC-style partition table,
doesn't tell you how to create one and the method isn't documented
ARCINST.EXE is the Microsoft utility which allows you to create
partition table and Windows NT system partition on a Jensen disk
it can be found in the \alpha directory on the AXP Windows NT
To partition a disk and/or configure an NT system partition:
1. Select 'Run a Program from the Boot Menu
2. Run the ARCINST.EXE program which is contained on the
Windows NT distribution CD
Program to Run : cd:\alpha\arcinst.exe
3. Select 'Configure Partitions'
NOTE: If at any stage you make a mistake you can press the
to abort and return to the previous menu level.
4. If you know that there are no existing partitions on the
wish to configure, go to step 5. Otherwise do the
display the existing partitions and, if necessary, delete
all of them. Select 'Delete Partition'. If you have more
disk drive highlight the drive that you wish to configure
Enter. Take great care to select the correct drive as the
convention that ARCINST uses differs from that used by the
console. The list of partitions on the disk will be
you wish to delete a partition select it and press Enter;
press ESC. Repeat step 4 until all unwanted partitions are
NOTE: Only FAT-format partitions of 4MBytes or more may be
5. Select 'Create Partition'. If you have more than one
highlight the one that will contain the partition and
Take care to select the correct drive as the naming
that ARCINST uses differs from that used by the firmware
Type in the size of the partition (the system partition
must be at
least 4 MBytes) and press Enter to create it, followed by
to format it.
During the Windows NT installation the loader file
be installed within the system partition. If you wish, you
ARCINST.EXE to create a further partition (by carrying out
and 5 again) which will hold all of the operating system
partition should be at least 130 MBytes in size). If you
this partition now you will be able to create one during the
NT installation process, but you will have to accept the
(which is all of the remaining disk space).
6. Exit the ARCINST.EXE program back to the Boot Menu.