From owner-freebsd-alpha Tue Jan 26 17:14:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01408 for freebsd-alpha-outgoing; Tue, 26 Jan 1999 17:14:24 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nomis.simon-shapiro.org (nomis.simon-shapiro.org [209.86.126.163]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA01402 for ; Tue, 26 Jan 1999 17:14:20 -0800 (PST) (envelope-from shimon@simon-shapiro.org) Received: (qmail 80010 invoked by uid 1000); 26 Jan 1999 07:20:19 -0000 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 26 Jan 1999 02:20:19 -0500 (EST) X-Face: (&r=uR0&yvh>h^ZL4"-TH61PD}/|Y'~58Z# Gz&BK'&uLAf:2wLb~L7YcWfau{;N(#LR2)\i.l8'ZqVhv~$rNx$]Om6Sv36S'\~5m/U'"i/L)&t$R0&?,)tm0l5xZ!\hZU^yMyCdt!KTcQ376cCkQ^Q_n.GH;Dd-q+ O51^+.K-1Kq?WsP9;cw-Ki+b.iY-5@3!YB5{I$h;E][Xlg*sPO61^5=:5k)JdGet,M|$"lq!1!j_>? $0Yc? Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: freebsd-alpha@FreeBSD.ORG Subject: Alpha Driver Help Requested Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Sorry for the incomplete message. Slip of the trackball :-( ] Hi Y'll I am back to trying to get the DPT drivers to work in FreeBSD on the Alpha. I feel I need some expoert help to get this driver to work. Pogress Summary (current state): * I have upgraded to source tree to 1990114. * This is a pristine source tree, uncontaminated by any of my HAS work. * I have removed most of the assumptions (in the CAM version I am working from) that 32bit integer and a physical address and a pointer are all synonyms. these changes are syntatically kludgy but, for the case in hand (only i386 and alpha on the tree, with i386 being 32bit pointers) they appear correct. Either way, this is not where the problem is. * The driver panics on trap entry 0x4 (unaligned access fault). This happens in the following code snippet: dpt_outl(dpt, HA_WDMAADDR, cmd_busaddr); All the arguments are of the correct type. * Dpt_outl parses as per this macro: #define dpt_outl(dpt, port, value) \ bus_space_write_4((dpt)->tag, (dpt)->bsh, port, value) * I have tried to track what bus_space_write_4 does, and it seems to me it does what it should. I would really like to have this problem licked so I can get the driver working. Quite a bit IRT FreeBSD at my place of employment rides on being able to complete this task. Logistically, I have a dedicated source machine and a dedicate dtest machine, both can be available if one desires to login and try something. Sincerely, Simon Shapiro Research Fellow, Office of Technology ShapiroS@MindSpring.com MindSpring Enterprises, Inc. 404.815.0770 ext. 2057 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message