Subject: Installing 1.5 on a DS10
To: None <port-alpha@netbsd.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: port-alpha
Date: 02/07/2001 19:06:34
When I try and boot NetBSD 1.5 on a DS10, I get a panic("trap") as
indicted below (this is from the install kernel, booting off a CD
I made myself - but it is just the NetBSD-1.5 files, and alpha boot
blocks).   This (same CD) has previously successfully installed on
a PC164, so I think the CD itself is OK.

This is the dmesg, as far as it gets...  (since this is an install
kernel, it has no symtab, or anything like that).

Anyone have any idea what may be causing this crash?  (It may be
siop driver related).    I'm a long way away from the system at
the minute, so I am not going to be able to do much in the way of
testing changed code though (would need to get someone to stick
a blank CD in my burner one day, then make a new CD for it, then
get them to move it to the CD on this system nest day, then test it...)

But if a fix is in -current already, or a likely fix is known,
I can probably try it.

kre


Entering netbsd at 0xfffffc00003010c0...
[ netbsd ELF symbol table not valid ]
[ no symbol table formats found ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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.5 (INSTALL) #10: Wed Nov 22 03:15:21 PST 2000
    root@frau-farbissina.shagadelic.org:/amd/swinger/u1/netbsd-1-5/src/sys/arch/alpha/compile/INSTALL
COMPAQ AlphaServer DS10 466 MHz
8192 byte page size, 1 processor.
total memory = 512 MB
(2824 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 465 MB
using 3271 buffers containing 26168 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264-4 (pass 3)
cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 512MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
tsp0: window 2: 0/base 3ff00000/mask 1600000 reinitialized
tsp0: window 3: 0/base fff00000/mask 0 reinitialized
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
sio0 at pci0 dev 7 function 0: vendor 0x10b9 product 0x1533 (rev. 0xc3)
de0 at pci0 dev 9 function 0
de0: interrupting at dec 6600 irq 29
de0: DEC 21143 [10-100Mb/s] pass 4.1
de0: address 08:00:2b:87:56:fc
de0: enabling 100baseTX port
de1 at pci0 dev 11 function 0
de1: interrupting at dec 6600 irq 30
de1: DEC 21143 [10-100Mb/s] pass 4.1
de1: address 08:00:2b:87:56:e7
de1: enabling 10baseT port
pciide0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <Compaq  CRD-8402B, 2000/05/10, 1.03> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at isa irq 14
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
wd0 at pciide0 channel 1 drive 0: <Maxtor 98196H8>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 78167 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 160086528 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pciide0: secondary channel interrupting at isa irq 15
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
siop0 at pci0 dev 14 function 0: Symbios Logic 53c895 (ultra2-wide scsi)
siop0: using on-board RAM
siop0: interrupting at dec 6600 irq 35
scsibus0 at siop0: 16 targets, 8 luns per target
isp0 at pci0 dev 15 function 0
isp0: interrupting at dec 6600 irq 39
isp0: Ultra Mode Capable
isp0: Board Revision 1040B, loaded F/W Revision 4.65.0
isp0: Last F/W revision was 5.57.1
scsibus1 at isp0: 16 targets, 8 luns per target
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
pckbc0 at isa0 port 0x60-0x64
lpt0 at isa0 port 0x3bc-0x3bf irq 7
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
siop0: switching to single-ended mode

fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0         = 0x1
    a1         = 0x1
    a2         = 0x0
    pc         = 0xfffffc000035d0b0
    ra         = 0xfffffc000035d09c
    curproc    = 0xfffffc0000a8aa68
        pid = 0, comm = swapper

panic: trap
Stopped in swapper at   0xfffffc000053a0e4:     ret     zero,(ra)
db> tr
db> 

If relevant, about that time it should have been discovering an
18GB scsi disc (which has Tru64 v 5.1 installed on it, in ADVFS mode)
and a DAT tape drive.

For comparison here are the Tru64 boot messages.

Alpha boot: available memory from 0x14f8000 to 0x1ff3e000
Compaq Tru64 UNIX V5.1 (Rev. 732); Wed Dec 20 09:09:03  2000
physical memory = 512.00 megabytes.
available memory = 490.27 megabytes.
using 1922 buffers containing 15.01 megabytes of memory
Firmware revision: 5.8-10
PALcode: UNIX version 1.79-63
COMPAQ AlphaServer DS10 466 MHz
pci0 (primary bus:0) at nexus
isa0 at pci0
gpc0 at isa0
gpc1 not probed
ace0 at isa0
ace1 at isa0
lp0 at isa0
fdi0 at isa0
fd0 at fdi0 unit 0
tu0: DECchip 21143: Revision: 4.1
tu0: auto negotiation capable device
tu0 at pci0 slot 9
tu0: DEC TULIP (10/100) Ethernet Interface, hardware address: 08-00-2B-87-56-FC
tu0: auto negotiation off: selecting 100BaseTX (UTP) port: half duplex
tu1: DECchip 21143: Revision: 4.1
tu1: auto negotiation capable device
tu1 at pci0 slot 11
tu1: DEC TULIP (10/100) Ethernet Interface, hardware address: 08-00-2B-87-56-E7
tu1: auto negotiation off: selecting 10BaseT (UTP) port: half duplex
ata0 at pci0 slot 13
ata0: ACER M1543C
scsi0 at ata0 slot 0 rad 0
scsi1 at ata0 slot 1 rad 0
itpsa0 at pci0 slot 14
IntraServer ROM Version V2.0 (c)1998
scsi2 at itpsa0 slot 0 rad 0
isp0 at pci0 slot 15
isp0: QLOGIC ISP1040B/V2
isp0: Firmware revision 5.57 (loaded by console)
isp0: Fast RAM timing enabled.
scsi3 at isp0 slot 0 rad 0
Created FRU table binary error log packet
kernel console: ace0
dli: configured
NetRAIN configured.
i2c: Server Management Hardware Present
ATM Subsystem configured with 1 restart threads
ATMUNI: configured
ATMSIG: 3.x (module=uni3x) configured
ILMI: 3.x (module=ilmi) configured
ATM IP: configured
ATM LANE: configured.
ATM IFMP: configured
vm_swap_init: swap is set to eager allocation mode
Checking device naming:
    Passed.
Checking local filesystems
/sbin/ufs_fsck -p
/dev/rdisk/dsk0h: File system unmounted cleanly - no fsck needed
Mounting / (root)
user_cfg_pt: reconfigured
root_mounted_rw: reconfigured
user_cfg_pt: reconfigured
root_mounted_rw: reconfigured
dsfmgr: NOTE: updating kernel basenames and old devnames for system at /
    scp kevm tty00 tty01 lp0 dsk0 tape0 floppy0 cdrom0 dsk1
Mounting local filesystems
exec: /sbin/mount_advfs -F 0x14000 root_domain#root /
root_domain#root on / type advfs (rw)
/proc on /proc type procfs (rw)
exec: /sbin/mount_advfs -F 0x4000 usr_domain#usr /usr
usr_domain#usr on /usr type advfs (rw)
exec: /sbin/mount_advfs -F 0x4000 usr_domain#var /var
usr_domain#var on /var type advfs (rw)
/dev/disk/dsk0h on /space type ufs (rw)
Subsystem hwautoconfig was successfully configured.
Feb  7 22:43:52 update: started