Subject: AXPpci33 System
To: None <port-alpha@NetBSD.ORG>
From: Jon M. Dugan <jdugan@ncsa.uiuc.edu>
List: port-alpha
Date: 06/11/1998 20:49:52
Hello,

  I recently acquired a AXPpci33 motherboard with a 166MHz CPU, to which I
  added 64 MB of RAM (ECC), an SMC EtherPower 8432BTA (de driver, 10 Mbit
  Combo) and a Seagate ST12400N disk.  The disk had an install of NetBSD 1.3
  from my Multia on it (the Multia is at Starship since it decided to
  misbehave).  At any rate, the machine would crash not too long after boot
  up, sometimes even during booting.  The error it reported was a failed
  machine check (very similiar to the one I give a transcript of later).

  At this point I upgraded the firmware to v1.6.  I got the firmware from
  ftp://ftp.digital.com/pub/DEC/Alpha/firmware/v5.1/decaxppci33/.

  I also switched to a 3c905 ethernet card, since I had seen (although rather
  old) reports of problems with the de driver.

  I tried reinstalling and installed NetBSD 1.3 which failed during the
  install.  I also tried installing NetBSD 1.3.2 and again the I got a machine
  check during the install.  The specific error message is:

    unexpected machine check:

        mces    = 0x1
        vector  = 0x670
        param   = 0xfffffc0000006048
        pc      = 0xfffffc000044e4ac
        ra      = 0xfffffc000044e470
        curproc = 0x0
   
    panic: machine check

  This machine check is similiar to the others I've seen in that the mces and
  vector have been the same for all of them.

  Does anyone have any hints?  I'm pretty much at a loss as to what to try
  next.
 
  Here is a transcript of the install of 1.3.2:

    >>>ü*** keyboard not plugged in...
    starting console on CPU 0
    initialized idle PCB
    initializing semaphores
    initializing heap
    initial heap 1c0c0
    memory low limit = 100000
    heap = 1c0c0, 17fc0
    initializing driver structures
    initializing idle process PID
    XDELTA not enabled.
    initializing file system
    initializing 8259s
    initializing timer data structures
    lowering IPL
    CPU 0 speed is 6.00 ns (167MHz)
    
    Powerup process has started
    CPU ID = 0
    Initialize configuration locks etc.
    Configure the memory
    Initialising ISA/PCI interrupts.
    Configure the PCI Bus
    Start tt class, port (graphics, keyboard, then serial) drivers
    entering idle loop
    change stdin/out/err channels from nl to tt
    Memory size = 64Mbytes
    testing memory from 800000 to 3e16000 ...
    Start driver phase 4
    access NVRAM
    Build this processor's slot in the hwrpb
    Backup Cache size = 256Kb
    Init SCSI class driver
    Start driver phase 5
    AXPpci33 Common Console X4.7-1860, built on Nov  1 1996 at 06:00:01
    >>>show version
    version             	X4.7-1860 Nov  1 1996 06:00:01
    >>>show help
    >>>show dev
    dka600.6.0.6.0             DKA600             SEAGATE ST12400N  8010
    dva0.0.0.0.1               DVA0                               
    pka0.7.0.6.0               PKA0                  SCSI Bus ID 7
    >>>boot dva0
    (boot dva0.0.0.0.1 -flags A)
    block 0 of dva0.0.0.0.1 is a valid boot block
    reading 15 blocks from dva0.0.0.0.1
    bootstrap code read in
    base = 110000, image_start = 0, image_bytes = 1e00
    initializing HWRPB at 2000
    initializing page table at 102000
    initializing machine state
    setting affinity to the primary CPU
    jumping to bootstrap code
    
    NetBSD/Alpha Primary Boot
    ..................Jumping to entry point...
    
    NetBSD/Alpha Secondary Boot, Revision 1.9
    (cgd@notunix, Mon May 11 02:03:30 PDT 1998)
    
    VMS PAL revision: 0x1000400010538
    OSF PAL rev: 0x100090002012d
    Switch to OSF PAL code succeeded.
    
    Boot flags: A
    
    Loading netbsd...
    open netbsd: No such file or directory
    
    Loading netbsd.gz...
    3849336+882560 [85]
    
    Entering netbsd.gz at 0xfffffc0000300f30...
    Copyright (c) 1996, 1997, 1998
        The NetBSD Foundation, Inc.  All rights reserved.
    Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
    
    NetBSD 1.3.2 (INSTALL) #0: Mon May 11 16:09:10 PDT 1998
        cgd@notunix:/udir/cgd/NETBSD/src.1.3.2/sys/arch/alpha/compile/INSTALL
    Alpha PC AXPpci33 ("NoName"), 166MHz
    8192 byte page size, 1 processor.
    real mem = 67108864 (2072576 reserved for PROM, 65036288 used by NetBSD)
    avail mem = 48922624
    using 793 buffers containing 6496256 bytes of memory
    mainbus0 (root)
    cpu0 at mainbus0: ID 0 (primary), 21066 (pass 2)
    lca0 at mainbus0
    pci0 at lca0 bus 0
    ncr0 at pci0 dev 6 function 0: ncr 53c810 fast10 scsi
    ncr0: interrupting at isa irq 11
    ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
    ncr0: single-ended, open drain IRQ driver
    ncr0: restart (scsi reset).
    scsibus0 at ncr0: 8 targets
    sd0 at scsibus0 targ 6 lun 0: <SEAGATE, ST12400N, 8010> SCSI2 0/direct fixed
    sd0: sd0(ncr0:6:0): 10.0 MB/s (100 ns, offset 8)
    2043MB, 2621 cyl, 19 head, 84 sec, 512 bytes/sect x 4184209 sectors
    sio0 at pci0 dev 7 function 0: vendor 0x8086 product 0x0484 (rev. 0x03)
    ep0 at pci0 dev 12 function 0: 3Com 3C905 Ethernet
    ep0: MAC address 00:60:97:db:71:d1
    ep0: 8KB word-wide FIFO, (undefined) Rx:Tx split, mii default mii, autoselect
    ep0: interrupting at isa irq 5
    isa0 at sio0
    com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
    com0: console
    com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
    lpt0 at isa0 port 0x3bc-0x3bf irq 7
    pcppi0 at isa0 port 0x60-0x64
    pcprobe: reset error 1
    pckbd0 at pcppi0
    mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
    md0: internal 2048K image area
    WARNING: can't figure what device matches "DVA 1 0 0 0 0 0 0"
    root on md0a dumps on md0b
    WARNING: preposterous clock chip time
     -- CHECK AND RESET THE DATE!
    root file system type: ffs
    erase ^?, werase ^W, kill ^U, intr ^C
    
    mount_kernfs: : Operation not supported by device
    Welcome to the NetBSD 1.3.2 installation floppy.
    
    enter "install" to install NetBSD,
          "upgrade" to upgrade an existing NetBSD system,
       or "shell" for a shell prompt.
    
    your choice? install
    Welcome to the NetBSD 1.3.2 installation program.
    
    This program is designed to help you put NetBSD on your hard disk,
    in a simple and rational way.  You'll be asked several questions,
    and it would probably be useful to have your disk's hardware
    manual, the installation notes, and a calculator handy.
    
    In particular, you will need to know some reasonably detailed
    information about your disk's geometry, because there is currently
    no way this this program can figure that information out.
    
    As with anything which modifies your hard drive's contents, this
    program can cause SIGNIFICANT data loss, and you are advised
    to make sure your hard drive is backed up before beginning the
    installation process.
    
    Default answers are displyed in brackets after the questions.
    You can hit Control-C at any time to quit, but if you do so at a
    prompt, you may have to hit return.  Also, quitting in the middle of
    installation may leave your system in an inconsistent state.
    
    Proceed with installation? [n] y
    Cool!  Let's get to it...
    
    To do the installation, you'll need to provide some information about
    your disk.
    
    NetBSD can be installed on ST506, ESDI, IDE, or SCSI disks.
    What kind of disk will you be installing on? [SCSI] 
    
    The following sd-type disks are supported by this
    installation procedure:
            sd0 sd1 sd2 sd3
    Note that they may not exist in _your_ machine; the list of
    disks in your machine was printed when the system was booting.
    
    Which disk would like to install on? [sd0] 
    
    Using disk sd0.
    
    What kind of disk is it? (one word please) [mysd] ST12400N
    
    You will now need to provide some information about your disk's
    geometry.  This should either be in the User's Manual for your disk,
    or you should have written down what NetBSD printed when booting.
    (Note that he geometry that's printed at boot time is preferred.)
    
    You may choose to view the initial boot messages for your system
    again right now if you like.
    View the boot messages again? [n] 
    
    
    You will now enter the disk geometry information
    
    Number of bytes per disk sector? [512] 
    Number of disk cylinders? 2621
    Number of disk tracks (heads) per disk cylinder? 19
    Number of disk sectors per disk track? 84
    
    Your disk has a total of 4183116 512 byte sectors,
    arranged as 2621 cylinders which contain 1596 
    sectors (817152 bytes) each.
    
    You can specify partition sizes in cylinders ('c') or sectors ('s').
    What units would you like to use? [cylinders] 
    
    There are 2621 cylinders left to allocate.
    
    Root partition size (in cylinders)? 82
    
    2539 cylinders remaining in NetBSD portion of disk.
    Swap partition size (in cylinders)? 164
    
    You will now have to enter information about any other partitions
    to be created in the NetBSD portion of the disk.  This process will
    be complete when you've filled up all remaining space in the NetBSD
    portion of the disk.
    
    2375 cylinders remaining in NetBSD portion of the disk
    Next partition size (in cylinders)? 164   1314
    Mount point? /usr
    
    1061 cylinders remaining in NetBSD portion of the disk
    Next partition size (in cylinders)? /164    164
    Mount point? /var
    
    897 cylinders remaining in NetBSD portion of the disk
    Next partition size (in cylinders)? 897
    Mount point? /home
    
    THIS IS YOUR LAST CHANCE!!!
    
    Are you SURE you want NetBSD installed on your hard drive? (yes/no) yes
    
    Here we go...
    
    Labeling disk sd0... done.
    Initializing root filesystem, and mounting...
    /dev/rsd0a:     130872 sectors in 82 cylinders of 19 tracks, 84 sectors
            63.9MB in 6 cyl groups (16 c/g, 12.47MB/g, 2688 i/g)
    super-block backups (for fsck -b #) at:
     32, 25664, 51296, 76928, 102560, 128192,
    exec: mount_ffs -o async /dev/sd0a /mnt
    /dev/sd0a on /mnt type ffs (asynchronous, local)
    
    Initializing /usr filesystem, and mounting...
    /dev/rsd0d:     2097144 sectors in 1314 cylinders of 19 tracks, 84 sectors
            1024.0MB in 83 cyl groups (16 c/g, 12.47MB/g, 3072 i/g)
    super-block backups (for fsck -b #) at:
     32, 25664, 51296, 76928, 102560, 128192, 153824, 179456,
     205088, 230720, 256352, 281984, 307616, 333248, 358880, 384512,
     410144, 435776, 461408, 487040, 512672, 538304, 563936, 589568,
     615200, 640832, 666464, 692096, 717728, 743360, 768992, 794624,
     817184, 842816, 868448, 894080, 919712, 945344, 970976, 996608,
     1022240, 1047872, 1073504, 1099136, 1124768, 1150400, 1176032, 1201664,
     1227296, 1252928, 1278560, 1304192, 1329824, 1355456, 1381088, 1406720,
     1432352, 1457984, 1483616, 1509248, 1534880, 1560512, 1586144, 1611776,
     1634336, 1659968, 1685600, 1711232, 1736864, 1762496, 1788128, 1813760,
     1839392, 1865024, 1890656, 1916288, 1941920, 1967552, 1993184, 2018816,
     2044448, 2070080, 2095712,
    exec: mount_ffs -o async /dev/sd0d /mnt/usr
    /dev/sd0d on /mnt/usr type ffs (asynchronous, local)
    
    Initializing /var filesystem, and mounting...
    /dev/rsd0e:     261744 sectors in 164 cylinders of 19 tracks, 84 sectors
            127.8MB in 11 cyl groups (16 c/g, 12.47MB/g, 2944 i/g)
    super-block backups (for fsck -b #) at:
     32, 25664, 51296, 76928, 102560, 128192, 153824, 179456,
     205088, 230720, 256352,
    exec: mount_ffs -o async /dev/sd0e /mnt/var
    /dev/sd0e on /mnt/var type ffs (asynchronous, local)
    
    Initializing /home filesystem, and mounting...
    Warning: inode blocks/cyl group (196) >= data blocks (99) in last
        cylinder group. This implies 1596 sector(s) cannot be allocated.
    /dev/rsd0f:     1430016 sectors in 896 cylinders of 19 tracks, 84 sectors
            698.2MB in 56 cyl groups (16 c/g, 12.47MB/g, 3072 i/g)
    super-block backups (for fsck -b #) at:
     32, 25664, 51296, 76928, 102560, 128192, 153824, 179456,
     205088, 230720, 256352, 281984, 307616, 333248, 358880, 384512,
     410144, 435776, 461408, 487040, 512672, 538304, 563936, 589568,
     615200, 640832, 666464, 692096, 717728, 743360, 768992, 794624,
     817184, 842816, 868448, 894080, 919712, 945344, 970976, 996608,
     1022240, 1047872, 1073504, 1099136, 1124768, 1150400, 1176032, 1201664,
     1227296, 1252928, 1278560, 1304192, 1329824,
    unexpected machine check:
    
        mces    = 0x1
        vector  = 0x670
        param   = 0xfffffc0000006048
        pc      = 0xfffffc000044e4ac
        ra      = 0xfffffc000044e470
        curproc = 0x0
    
    panic: machine check
    syncing disks... done
    
    dump to dev 601 not possible
    rebooting...
    
    
    halted CPU 0
    
    halt code = 5
    HALT instruction executed
    PC = fffffc0000300140

  Thanks!

Jon
-- 
Jon Dugan             |  Network Engineer, NCSA Network Development
jdugan@ncsa.uiuc.edu  |  70 CAB, 605 E Springfield, Champaign, IL 61820
217/244-7715          |  http://www.ncsa.uiuc.edu/people/jdugan