Subject: port-alpha/34446: 4.0_BETA kernel panics on Alpha during boot
To: None <port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <jaapb@kerguelen.org>
List: netbsd-bugs
Date: 09/01/2006 12:55:01
>Number:         34446
>Category:       port-alpha
>Synopsis:       4.0_BETA kernel panics on Alpha during boot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 01 12:55:00 +0000 2006
>Originator:     Jaap Boender
>Release:        4.0_BETA
>Organization:
>Environment:
NetBSD courbet.kerguelen.org 4.0_BETA NetBSD 4.0_BETA (COURBET) #1: Fri Sep  1 13:32:54 CEST 2006 root@courbet.kerguelen.org:/usr/obj/sys/arch/alpha/compile/COURBET alpha
>Description:
Booting 4.0_BETA on my Alphaserver 800 fails with a kernel trap:

(...)
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
fatal kernel trap:
CPU 0    trap entry = 0x4 (unaligned access fault)
CPU 0    a0         = 0xfffffe00113e3a66
CPU 0    a1         = 0x2c
CPU 0    a2         = 0x1f
CPU 0    pc         = 0xfffffc00004860e4
CPU 0    ra         = 0xfffffc0000485ffc
CPU 0    pv         = 0xfffffc0000730f80
CPU 0    curlwp    = 0xfffffc002fa95d00
CPU 0        pid = 2, comm = scsibus0
panic: trap

My kernel config:
include         "arch/alpha/conf/std.alpha"
options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary
maxusers 32
options         DEC_1000A       # Corelle etc:  Digital AlphaServer 800/1000A
options         KTRACE                  # System call tracing support
options         SYSTRACE                # System call vetting via systrace(1)
options         NTP                     # kernel PLL for NTP
options         DIAGNOSTIC              # Cheap kernel consistency checks
options         DDB                     # kernel debugger
file-system     FFS             # Fast file system
file-system     MFS             # Memory-based file system
file-system     CD9660          # ISO-9660 CD-ROM FS (w/RockRidge extensions)
file-system     MSDOSFS         # MS-DOS-compatible file system
file-system     KERNFS          # Kernel variable file system (/kern)
file-system     PROCFS          # Process file system (/proc)
options         QUOTA           # UFS quotas
options         FFS_EI          # FFS Endian Independant support
options         SOFTDEP         # FFS soft updates support.
options         NFSSERVER       # Sun NFS-compatible file system server
options         GATEWAY         # packet forwarding
options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IPV6
options         IPSEC           # IP security
options         IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
options         IPFILTER_LOG    # ipmon(8) log support
options         COMPAT_43
options         COMPAT_10
options         COMPAT_11
options         COMPAT_12
options         COMPAT_13
options         COMPAT_14
options         COMPAT_16
options         COMPAT_20
options         COMPAT_30
options         SYSVMSG
options         SYSVSEM
options         SYSVSHM
options         P1003_1B_SEMAPHORE
options         LKM
options         EISAVERBOSE             # recognize "unknown" EISA devices
options         PCIVERBOSE              # recognize "unknown" PCI devices
options         MIIVERBOSE              # verbose PHY autoconfig messages
options         SCSIVERBOSE             # Verbose SCSI errors
options         SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel
options         FONT_GALLANT12x22       # Console font for TC devices
options         WSEMUL_VT100
config          netbsd  root on ? type ?
mainbus0 at     root
cpu*    at      mainbus0
apecs*  at      mainbus?
cia*    at      mainbus?
pci*    at      apecs?
pci*    at      cia?
isp*    at      pci? dev ? function ?           # Qlogic ISP 10x0 SCSI
pceb*   at      pci? dev ? function ?           # Intel PCI-EISA Bridges
rtk*    at      pci? dev ? function ?           # Realtek 8129/8139 Ethernet
tlp*    at      pci? dev ? function ?           # DECchip 21x4x and clones
vga*    at      pci? dev ? function ?           # PCI VGA Graphics
exphy*  at mii? phy ?                   # 3Com internal PHYs
icsphy* at mii? phy ?                   # Integrated Circuit Systems ICS189x
inphy*  at mii? phy ?                   # Intel 82555 PHYs
lxtphy* at mii? phy ?                   # Level One LXT-970 PHYs
gphyter* at mii? phy ?                  # NS83861 Gig-E PHY
nsphy*  at mii? phy ?                   # NS83840 PHYs
qsphy*  at mii? phy ?                   # Quality Semiconductor QS6612 PHYs
sqphy*  at mii? phy ?                   # Seeq 80220/80221/80223 PHYs
tlphy*  at mii? phy ?                   # ThunderLAN PHYs
ukphy*  at mii? phy ?                   # generic unknown PHYs
isa*    at      pceb?
eisa*   at      pceb?
mcclock* at     isa? port 0x70
pckbc*  at      isa?                            # PC keyboard controller
pckbd*  at      pckbc?                          # PC keyboard (kbd port)
pms*    at      pckbc?                          # PS/2-style mouse (aux port)
pcppi*  at      isa?                            # PC prog. periph. interface
spkr0   at      pcppi?                          # IBM BASIC emulation
isabeep0 at     pcppi?                          # "keyboard" beep
midi*   at      pcppi?
com*    at      isa? port 0x3f8 irq 4           # standard serial ports
com*    at      isa? port 0x2f8 irq 3
fdc0    at      isa? port 0x3f0 irq 6 drq 2     # floppy controller
lpt*    at      isa? port 0x3bc irq 7           # standard parallel port
ahb*    at      eisa? slot ?                    # Adaptec 174[024] SCSI (unt.)
ahc*    at      eisa? slot ?                    # Adaptec 274x, aic7770 SCSI
bha*    at      eisa? slot ?                    # BusLogic 7xx SCSI
ep*     at      eisa? slot ?                    # 3COM 3c579 Ethernet (untested)
fea*    at      eisa? slot ?                    # DEC DEFEA FDDI
mlx*    at      eisa? slot ?                    # Mylex DAC960 / DEC SWXCR (unte
sted)
tlp*    at      eisa? slot ?                    # DEC DE-425 Ethernet
depca*  at      eisa? slot ?                    # DEC DE-422 Ethernet
le*     at      depca?
uha*    at      eisa? slot ?                    # UltraStor 24f SCSI (unt.)
scsibus* at     scsi?
cd*     at      scsibus? target ? lun ?         # SCSI CD-ROM drives
sd*     at      scsibus? target ? lun ?         # SCSI disk drives
st*     at      scsibus? target ? lun ?         # SCSI tape drives
fd*     at      fdc? drive ?
wsdisplay*      at      vga?
wskbd*          at      pckbd?
wsmouse*        at      pms?
pseudo-device   crypto                  # opencrypto framework
pseudo-device   bpfilter        16
pseudo-device   ccd             4
pseudo-device   raid            8       # RAIDframe disk driver
options         RAID_AUTOCONFIG         # auto-configuration of RAID components
pseudo-device   ipfilter        1
pseudo-device   loop            1
pseudo-device   md              1
pseudo-device   pty                     # pseudo-terminals
pseudo-device   vnd             4
pseudo-device   gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device   sequencer       1       # MIDI sequencer
pseudo-device   rnd                     # /dev/random and in-kernel generator
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   wsfont
pseudo-device   ksyms                   # /dev/ksyms
>How-To-Repeat:
Boot 4.0_BETA on an Alphaserver 800.
>Fix: