NetBSD Problem Report #30456
From darcy@dilbert.druid.net Tue Jun 7 17:35:00 2005
Return-Path: <darcy@dilbert.druid.net>
Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35])
by narn.netbsd.org (Postfix) with ESMTP id 1697D63B116
for <gnats-bugs@gnats.NetBSD.org>; Tue, 7 Jun 2005 17:35:00 +0000 (UTC)
Message-Id: <20050607173601.8AC612A6E12@dilbert.druid.net>
Date: Tue, 7 Jun 2005 13:36:01 -0400 (EDT)
From: darcy@NetBSD.org
Reply-To: darcy@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: Devices driver for aac RAID controller is not 64 bit clean
X-Send-Pr-Version: 3.95
>Number: 30456
>Category: kern
>Synopsis: Devices driver for aac RAID controller is not 64 bit clean
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: briggs
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 07 17:35:01 +0000 2005
>Closed-Date: Tue Jun 05 10:56:43 +0000 2007
>Last-Modified: Tue Jun 05 10:56:43 +0000 2007
>Originator: D'Arcy J.M. Cain
>Release: NetBSD 3.99.5 Fri Jun 3 17:07:06 EDT 2005
>Organization:
D'Arcy J.M. Cain <darcy@druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
>Environment:
System: NetBSD dilbert.druid.net 3.99.5 NetBSD 3.99.5 (DILBERT) #0: Fri Jun 3 17:07:06 EDT 2005 door@dilbert.druid.net:/usr/obj/usr/NetBSD/cvs/src/sys/arch/i386/compile/DILBERT i386
Architecture: i386
Machine: i386
>Description:
The aac driver (src/sys/dev/ic/aac.c) does not compile under amd64 and
presumably any 64 bit arch.
>How-To-Repeat:
Go to src directory and run the following (on any arch):
sed 's/^#aac/aac/' sys/arch/amd64/conf/GENERIC > sys/arch/amd64/conf/AACTEST
./build.sh -mamd64 tools
./build.sh -mamd64 kernel=AACTEST
>Fix:
>Release-Note:
>Audit-Trail:
From: "D'Arcy J.M. Cain" <darcy@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30456 CVS commit: src/sys/dev/ic
Date: Mon, 20 Jun 2005 11:37:47 +0000 (UTC)
Module Name: src
Committed By: darcy
Date: Mon Jun 20 11:37:47 UTC 2005
Modified Files:
src/sys/dev/ic: aac.c
Log Message:
Fix some printf statements to make them more portable. Doesn't completely
fix PR kern/30456 but fixes part of it.
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/dev/ic/aac.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "D'Arcy J.M. Cain" <darcy@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30456 CVS commit: src/sys/dev/ic
Date: Mon, 20 Jun 2005 20:40:21 +0000 (UTC)
Module Name: src
Committed By: darcy
Date: Mon Jun 20 20:40:21 UTC 2005
Modified Files:
src/sys/dev/ic: aac.c
Log Message:
Fix another portability issue. Part of PR kern/30456.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/dev/ic/aac.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Jaromir Dolecek <jdolecek@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30456 CVS commit: src/sys/dev/ic
Date: Sat, 26 Nov 2005 21:33:47 +0000 (UTC)
Module Name: src
Committed By: jdolecek
Date: Sat Nov 26 21:33:47 UTC 2005
Modified Files:
src/sys/dev/ic: aac.c
Log Message:
Add some casts to make this compile on amd64 (and perhaps other LP64
architectures). Part of PR kern/30456.
The binary object file on i386 confirmed to be exactly the same before
and after the change.
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/dev/ic/aac.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: kern-bug-people->briggs
Responsible-Changed-By: tls@netbsd.org
Responsible-Changed-When: Sat, 23 Sep 2006 20:46:32 +0000
Responsible-Changed-Why:
Supposedly, briggs is maintaining this driver. ;-)
State-Changed-From-To: open->feedback
State-Changed-By: briggs@netbsd.org
State-Changed-When: Sat, 26 May 2007 12:12:29 +0000
State-Changed-Why:
aacreg.h revision 1.7 and aac.c revision 1.31 compile and boot on
amd64 and provide read/write functionality. The driver has not
been stressed, though. (tested on a Dell CERC SATA controller)
State-Changed-From-To: feedback->closed
State-Changed-By: briggs@netbsd.org
State-Changed-When: Tue, 05 Jun 2007 10:56:43 +0000
State-Changed-Why:
The driver is working well for me on amd64 at this time.
>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.