NetBSD Problem Report #8139
Received: (qmail 16115 invoked from network); 4 Aug 1999 01:31:58 -0000
Message-Id: <199908040131.UAA22710@puddle.plethora.net>
Date: Tue, 3 Aug 1999 20:31:54 -0500 (CDT)
From: Peter Seebach <seebs@puddle.plethora.net>
Reply-To: seebs@puddle.plethora.net
To: gnats-bugs@gnats.netbsd.org
Subject: advansys driver thinks all the world's an i386
X-Send-Pr-Version: 3.95
>Number: 8139
>Category: port-alpha
>Synopsis: advansys driver won't compile on alpha
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-alpha-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 03 18:35:00 +0000 1999
>Closed-Date: Wed Sep 08 20:21:31 +0000 1999
>Last-Modified: Wed Sep 08 20:22:13 +0000 1999
>Originator: Peter Seebach
>Release: 1999/08/03
>Organization:
>Environment:
System: NetBSD puddle.plethora.net 1.4D NetBSD 1.4D (PUDDLE) #0: Wed Jun 30 21:26:48 CDT 1999 seebs@puddle.plethora.net:/usr/src/sys/arch/i386/compile/PUDDLE i386
(Actually, it's really my adjacent Alpha, but that doesn't have email
configured, and it's 1.4I)
>Description:
You can't compile the 'advansys' driver on alpha; it says
../../../../dev/ic/advlib.c:1321: warning: cast from pointer to integer of different size
and of course it's correct; we're converting a pointer to int32, which
may not be portable. ;-)
>How-To-Repeat:
Uncomment the Advansys driver and try to build a kernel on alpha.
>Fix:
I don't know.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: soren
State-Changed-When: Mon Aug 30 17:31:15 PDT 1999
State-Changed-Why:
I suspect this has been fixed by this recent change to advlib.c .
revision 1.11
date: 1999/08/07 07:20:16; author: thorpej; state: Exp; lines: +5 -51
Fix a problem uncovered by attempting to compile on the Alpha: overrun_buf
was being initialized to a KVA, when we really wanted a DMA address. Change
the code to allocate the overrun buffer with the control blocks, and
properly initialize overrun_buf.
Note that overrun_buf cannot actually be shared between all boards; DMA safe
memory could vary from bus to bus.
Garbage-collect two functions which are no longer used because of the
above changes.
Could you confirm whether this makes it work for you?
State-Changed-From-To: feedback->closed
State-Changed-By: soren
State-Changed-When: Wed Sep 8 13:21:31 PDT 1999
State-Changed-Why:
Submitter reports the problem no longer exists.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.