From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 25 08:43:39 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53B1B37B401; Fri, 25 Apr 2003 08:43:39 -0700 (PDT) Received: from gatekeeper.oremut01.us.wh.verio.net (gatekeeper.oremut01.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8564B43F93; Fri, 25 Apr 2003 08:43:36 -0700 (PDT) (envelope-from fclift@verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [10.1.1.10]) by gatekeeper.oremut01.us.wh.verio.net (Postfix) with ESMTP id 685993BF509; Fri, 25 Apr 2003 09:43:28 -0600 (MDT) Received: from vespa.dmz.orem.verio.net (vespa.dmz.orem.verio.net [10.1.1.59]) by mx.dmz.orem.verio.net (8.11.6p2/8.11.6) with ESMTP id h3PFhRF73268; Fri, 25 Apr 2003 09:43:27 -0600 (MDT) Date: Fri, 25 Apr 2003 09:47:55 -0600 (MDT) From: Fred Clift X-X-Sender: To: Andrew Gallatin In-Reply-To: <16040.41592.881674.785194@grasshopper.cs.duke.edu> Message-ID: <20030425094109.T69705-100000@vespa.dmz.orem.verio.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-alpha@freebsd.org Subject: Re: fxp unaligned access X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 15:43:39 -0000 On Thu, 24 Apr 2003, Andrew Gallatin wrote: > > Don't bother to try to get a crashdump, it won't work on a trap > anyway. It will only work on an explicit panic. Oops - didn't read this till after I tried, and indeed, I seem to get a hosed stack or something that makes it so I can't get the desired info... > ) Stopped at fxp_add_rfabuf+0x80: zapnot t0,#0xf3,t0 > > Isn't htole16 just supposed to be a cast to (u_int16_t) on alpha? > It might be interesting to try just using the cast.. I tried this and it didn't help - So, what is the equivalent of 'printf debugging' when doing kernel modules? is there some way to get stuff printed to the console? (Note to Drew - finally got remote serial console set up on this box so I may actually be able to work on this more than once a day for 10 minutes :) Fred -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough.