Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 10:59:27 +0200
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        Rich Bud <rbud@fortean.com>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: natd sig 10 under stable
Message-ID:  <20020516085926.GP4401@cicely5.cicely.de>
In-Reply-To: <20020515221034.S30036-100000@nemesis.fortean.com>
References:  <15586.64342.316609.71281@grasshopper.cs.duke.edu> <20020515221034.S30036-100000@nemesis.fortean.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 15, 2002 at 10:28:37PM -0400, Rich Bud wrote:
> > Please apply this to your system (cd /usr/src/sys; patch < thepatch),
> > rebuild your kernel & reboot to see if your natd problem is fixed.
> 
> That seems to fix the crash, thanks. To answer your earlier 2 emails...
> yes, i have CPUTYPE=ev56 set in /etc/make.conf, and ldwu seems to be the
> winner, if i'm interpreting this correctly:
> 
> Prepatch:
> 
> pid 2704 (natd): unaligned access: va=0x11feb911 pc=0x120008994 ra=0x120008a04 op=0xc
> 
> Postpatch:
> 
> pid 384 (natd): unaligned access: va=0x11feb921 pc=0x120008994 ra=0x120008a04 op=ldwu
> 
> 		Rich
> 
> PS: as a side note, do you know why 'x/i' in gdb does not match the op= in
> the unaligned access line? I get this, pre and post patch:
> 
> (gdb) x/i 0x120008994
> 0x120008994 <AliasHandleQuestion+52>:   ldq     t12,-30184(gp)
> 
> If this isn't a simple answer, don't concern yourself; i was just curious. ;)

The instruction was already fetched, so pc is pointing to the next one.
In many cases pc might be further modified because the cpu has already
following instructions in the pipeline.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020516085926.GP4401>