Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 09:23:33 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        matt <matt@grogged.dyndns.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gbde atttach on sparc64 = kernel panic 
Message-ID:  <37449.1052119413@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 04 May 2003 22:38:18 CDT." <20030504222506.L97149-100000@grogged.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030504222506.L97149-100000@grogged.dyndns.org>, matt writes:
>
>I've been playing with gbde on the latest sparc64 current (last saturday
>anyhow), everytime I try and "gbde attach *devicename*" I get a kernel
>panic - I'm trying to attach gbde to the md() device (which in turn is
>pointed at a file on a ufs1 filesystem).  More details below:
>
>db> trace
>panic() at panic+0x134
>trap() at trap+0x324
>-- memory address not aligned sfar=0xfffff80035cace51 sfsr=0x40029%o7=0xc014bd9c --
>Decode() at Decode+0x34
>MD5Update() at MD5Update+0x94
>g_bde_decode_lock() at g_bde_decode_lock+0x320

Fixed.

MD5Update() assumed word aligned input, it should not.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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