NetBSD Problem Report #1252
From gnats Sat Jul 22 08:24:37 1995
Received: from soncek.uni-mb.si (soncek.uni-mb.si [164.8.1.5]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with SMTP id IAA00776 for <gnats-bugs@gnats.netbsd.org>; Sat, 22 Jul 1995 08:24:35 -0400
Message-Id: <199507221134.NAA00683@amiga.uni-mb.si>
Date: Sat, 22 Jul 1995 13:34:11 +0200
From: Blaz Zupan <blaz.zupan@uni-mb.si>
Reply-To: blaz.zupan@uni-mb.si
To: gnats-bugs@gnats.netbsd.org
Subject: floppy driver not working on certain kernel configurations
X-Send-Pr-Version: 3.2
>Number: 1252
>Category: port-amiga
>Synopsis: floppy driver not working on certain kernel configurations
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 22 08:35:01 +0000 1995
>Closed-Date: Tue Mar 05 17:47:58 +0000 1996
>Last-Modified: Tue Mar 05 17:51:17 +0000 1996
>Originator: Blaz Zupan
>Release: Jul 18 kernel, still present in latest sup
>Organization:
Blaz Zupan, Ljubljanska 19/b, 62000 Maribor, Slovenia
blaz.zupan@uni-mb.si, 2:380/104.40, GMIZO::BLAZ
>Environment:
System: NetBSD amiga.uni-mb.si 1.0A NetBSD 1.0A (VECTOR) #15: Mon Jul 10 11:47:42 MET DST 1995 blaz@amiga.uni-mb.si:/home/src/sys/arch/amiga/compile/VECTOR amiga
>Description:
The floppy driver relies on grfcc setting the master DMA enable bit.
If you compile a kernel without grfcc (f.e. if you use the grfcl driver
and don't need the custom-chip graphics) then the master DMA enable
bit is not set and the floppy driver hangs when you try to access
a floppy.
>How-To-Repeat:
Compile a kernel without grfcc and try to use the floppy driver.
>Fix:
Apply the following patch to /sys/arch/amiga/dev/fd.c:
*** fd.c.orig Wed Jul 5 08:52:38 1995
--- fd.c Thu Jul 6 23:29:19 1995
***************
*** 353,359 ****
/*
* enable disk related interrupts
*/
! custom.dmacon = DMAF_SETCLR | DMAF_DISK;
/* XXX why softint */
custom.intena = INTF_SETCLR |INTF_SOFTINT | INTF_DSKBLK;
ciaa.icr = CIA_ICR_IR_SC | CIA_ICR_FLG;
--- 353,359 ----
/*
* enable disk related interrupts
*/
! custom.dmacon = DMAF_SETCLR | DMAF_MASTER | DMAF_DISK;
/* XXX why softint */
custom.intena = INTF_SETCLR |INTF_SOFTINT | INTF_DSKBLK;
ciaa.icr = CIA_ICR_IR_SC | CIA_ICR_FLG;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: veego
State-Changed-When: Tue Mar 5 12:47:58 EST 1996
State-Changed-Why:
The patch was applied last year
>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.