Date: Fri, 25 Apr 2003 00:22:25 +0200 From: Maxime Henrion <mux@freebsd.org> To: Fred Clift <fclift@verio.net> Cc: freebsd-alpha@freebsd.org Subject: Re: fxp unaligned access Message-ID: <20030424222225.GM21011@elvis.mu.org> In-Reply-To: <20030424105822.X68784-100000@vespa.dmz.orem.verio.net> References: <16040.5549.738597.905251@grasshopper.cs.duke.edu> <20030424105822.X68784-100000@vespa.dmz.orem.verio.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Fred Clift wrote: > On Thu, 24 Apr 2003, Andrew Gallatin wrote: > > > run gdb on the kernel.debug matching your booted kernel and say > > > > (gdb) l *fxp_add_rfabuf+0x80 > > > line 2191 > > 2186 * Get a pointer to the base of the mbuf cluster and move > 2187 * data start past it. > 2188 */ > 2189 rfa = mtod(m, struct fxp_rfa *); > 2190 m->m_data += sc->rfa_size; > 2191 rfa->size = htole16(MCLBYTES - sc->rfa_size - RFA_ALIGNMENT_FUDGE); > 2192 > 2193 /* > 2194 * Initialize the rest of the RFA. Note that since the RFA > 2195 * is misaligned, we cannot store values directly. Instead, Can you, in gdb, go to the fxp_add_rfabuf() frame (use the frame # command) and try this : p sc p rfa Cheers, Maxime
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030424222225.GM21011>