Subject: port-alpha/25912: NetBSD/alpha 2.0_BETA crashes with unaligned access in kernel
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <$0@Ivy.NET>
List: netbsd-bugs
Date: 06/12/2004 15:56:47
>Number:         25912
>Category:       port-alpha
>Synopsis:       crashes with ``unaligned access''
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 12 19:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Miles Nordin
>Release:        NetBSD 2.0_BETA 2004-05-27
>Organization:
Ivy Ministries
>Environment:
	
	
System: NetBSD castrovalva 2.0_BETA NetBSD 2.0_BETA (CASTROVALVA-$Revision: 1.5 $) #0: Mon May 31 18:10:23 EDT 2004 carton@castrovalva:/scratch/src/sys/arch/alpha/compile/CASTROVALVA alpha
Architecture: alpha
Machine: alpha
>Description:
Available on request is 'ps' output from ddb and dumps from savecore.

Script started on Sat Jun 12 18:22:18 2004
db> dmesg 0t400
transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs

CPU 0: fatal kernel trap:

CPU 0    trap entry = 0x4 (unaligned access fault)
CPU 0    a0         = 0xfffffc00deadbf1f
CPU 0    a1         = 0x28
CPU 0    a2         = 0x2
CPU 0    pc         = 0xfffffc000059ed48
CPU 0    ra         = 0xfffffc000059edc8
CPU 0    pv         = 0x0
CPU 0    curlwp    = 0x0

panic: trap
db> t
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x1f8
trap() at netbsd:trap+0x120
XentUna() at netbsd:XentUna+0x20
--- unaligned access fault (from ipl 4) ---
m_freem() at netbsd:m_freem+0x68
udp_input() at netbsd:udp_input+0x190
ip_input() at netbsd:ip_input+0xb88
ipintr() at netbsd:ipintr+0xa0
netintr() at netbsd:netintr+0xd8
softintr_dispatch() at netbsd:softintr_dispatch+0x140
exception_return() at netbsd:exception_return+0x7c
--- root of call graph ---

>How-To-Repeat:
use the system for a while.
crash happened after about half a day of using screen, telnet, and NFS server.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: