NetBSD Problem Report #8673

Received: (qmail 6798 invoked from network); 24 Oct 1999 05:14:16 -0000
Message-Id: <199910240514.WAA18008@diy-3-dec-pci-alpha.hrh>
Date: Sat, 23 Oct 1999 22:14:09 -0700 (PDT)
From: Ross Harvey <ross@ghs.com>
Reply-To: ross@ghs.com
To: gnats-bugs@gnats.netbsd.org
Subject: misaligned access in sbdrop()
X-Send-Pr-Version: 3.95

>Number:         8673
>Category:       kern
>Synopsis:       panic: misaligned access in sbdrop()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 23 22:15:00 +0000 1999
>Closed-Date:    Fri Sep 21 06:56:53 +0000 2001
>Last-Modified:  Fri Sep 21 06:56:53 +0000 2001
>Originator:     Ross Harvey
>Release:        1.4K
>Organization:
NetBSD
>Environment:
	NetBSD/alpha 1.4K as of Oct 21 1998
System: NetBSD a3.hrh 1.4K NetBSD 1.4K (GENERIC) #5: Thu Sep 30 11:29:29 PDT 1999 ross@a3.hrh:/usr/src/sys/arch/alpha/compile/GENERIC alpha


>Description:
	Sean Doran (smd@ebone.net) reports a panic on his alpha,
	the root cause was a misaligned access in sbdrop().
	His traceback...

	Note that the pool_get panic is secondary, the real problem is
	the misaligned access in sbdrop().

fatal kernel trap:
panic: pool_get(mbpl): free list modified: magic=0; page 0xfffffc00029ca000;
item addr 0xfffffc00029caa10

Stopped in ssh1 at      cpu_Debugger+0x4:       ret     zero,(ra)
db> t/t
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0xec
_pool_get() at _pool_get+0x89c
tlp_rxintr() at tlp_rxintr+0x2bc
tlp_intr() at tlp_intr+0x8c
alpha_shared_intr_dispatch() at alpha_shared_intr_dispatch+0x3c
sio_iointr() at sio_iointr+0x80
interrupt() at interrupt+0x168
XentInt() at XentInt+0x1c
--- interrupt (from ipl 0) ---
esigcode() at esigcode+0x3c
XentInt() at XentInt+0x1c
--- interrupt ---
alpha_pal_swpipl() at alpha_pal_swpipl+0x4
spl0() at spl0+0x40
printf() at printf+0xd4
trap() at trap+0x574
XentUna() at XentUna+0x20
--- unaligned access fault ---
sbdrop() at sbdrop+0x98
tcp_input() at tcp_input+0x1ecc
ip_input() at ip_input+0x970
ipintr() at ipintr+0xb4
do_sir() at do_sir+0xe0
esigcode() at esigcode+0x2c
--- root of call graph ---

>How-To-Repeat:
	I have no idea, but I've seen this too.
>Fix:
>Release-Note:
>Audit-Trail:

From: Ross Harvey <ross@ghs.com>
To: gnats-bugs@gnats.netbsd.org
Cc:  Subject: Re: kern/8673:
Date: Thu, 28 Oct 1999 13:20:52 -0700 (PDT)

 After consulting with thorpej, we now wonder if the misalign is really the
 root cause. It may actually be just a symptom of mbuf memory mismanagement.
State-Changed-From-To: open->closed 
State-Changed-By: chs 
State-Changed-When: Thu Sep 20 23:55:59 PDT 2001 
State-Changed-Why:  
ross says it hasn't been seen since, most likely fixed. 
>Unformatted:
 Added synopsis. (is)

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.