Re: gbde atttach on sparc64 = kernel panic

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 05 May 2003 09:23:33 +0200
In message <20030504222506.L97149-100000_at_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_at_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.
Received on Sun May 04 2003 - 22:23:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC