NetBSD Problem Report #27087

Received: (qmail 9227 invoked by uid 605); 30 Sep 2004 11:39:37 -0000
Message-Id: <20040930113932.5E227252149@narn.netbsd.org>
Date: Thu, 30 Sep 2004 11:39:32 +0000 (UTC)
From: hhako@seagreen.ocn.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: hhako@seagreen.ocn.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: fdc0: can't set up ISA DMA map
X-Send-Pr-Version: www-1.0

>Number:         27087
>Category:       port-alpha
>Synopsis:       fdc0: can't set up ISA DMA map
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thorpej
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 30 11:40:00 +0000 2004
>Closed-Date:    Wed Oct 14 01:05:40 +0000 2020
>Last-Modified:  Wed Oct 14 01:05:40 +0000 2020
>Originator:     Hiroshi Hakoyama
>Release:        NetBSD 2.0_RC1  Sep 29, 2004
>Organization:
NRIFS
>Environment:
NetBSD eco-math20.nrifs.affrc.go.jp 2.0_RC1 NetBSD 2.0_RC1 (GENERIC) #0: Wed Sep 29 06:49:23 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/alpha/OBJ/autobuild/netbsd-2-0/src/sys/arch/alpha/compile/GENERIC alpha

consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.0_RC1 (GENERIC) #0: Wed Sep 29 06:49:23 UTC 2004
        autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/alpha/OBJ/autobuild/netbsd-2-0/src/sys/arch/alpha/compile/GENERIC
API UP1000 699 MHz, s/n 
8192 byte page size, 1 processor.
total memory = 768 MB
(2680 KB reserved for PROM, 765 MB used by NetBSD)
avail memory = 743 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264A-8
cpu0: Architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
irongate0 at mainbus0: AMD 751 Core Logic + AGP Chipset, rev. 37
agp0 at irongate0pci_mem_find: void region
: can't map aperture
pci0 at irongate0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD751 PCI-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
vga0 at pci0 dev 8 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
wsdisplay0 at vga0 (kbdmux ignored): console (80x25, vt100 emulation)
tlp0 at pci0 dev 10 function 0: Lite-On 82C169 Ethernet, pass 2.1
tlp0: interrupting at isa irq 10
tlp0: Ethernet address 00:a0:cc:3a:ee:a6
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
aceride0: bus-master DMA support present
aceride0: primary channel configured to compatibility mode
aceride0: primary channel interrupting at isa irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to compatibility mode
aceride0: secondary channel interrupting at isa irq 15
atabus1 at aceride0 channel 1
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci0 dev 17 function 0 not configured
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux ignored): console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 (mux ignored)
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fdc0: can't set up ISA DMA map
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <IBM-DTLA-307030>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 29314 MB, 59560 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0<3>stray isa irq 15
 drive 1: <Pioneer CD-ROM ATAPI Model DR-944   010, , E1.07> cdrom removable
cd0: 32-bit data port
stray isa irq 15
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
root on wd0a dumps on wd0b
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd0a: DMA error reading fsbn 128 of 128-143 (wd0 bn 128; cn 0 tn 2 sn 2), retrying
wd0: soft error (corrected)
root file system type: ffs

>Description:
In dmesg of 2.0_RC1, 

fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fdc0: can't set up ISA DMA map

In 1.6.2, it was

fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec


>How-To-Repeat:
Reboot the system.
>Fix:
none
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-alpha-maintainer->thorpej
Responsible-Changed-By: thorpej@NetBSD.org
Responsible-Changed-When: Tue, 13 Oct 2020 15:34:30 +0000
Responsible-Changed-Why:
Take.


From: "Jason R Thorpe" <thorpej@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/27087 CVS commit: src/sys/arch/alpha
Date: Wed, 14 Oct 2020 00:59:50 +0000

 Module Name:	src
 Committed By:	thorpej
 Date:		Wed Oct 14 00:59:50 UTC 2020

 Modified Files:
 	src/sys/arch/alpha/alpha: api_up1000.c dec_2000_300.c machdep.c
 	src/sys/arch/alpha/include: alpha.h cpuconf.h vmparam.h
 	src/sys/arch/alpha/jensenio: jensenio_dma.c jenseniovar.h
 	src/sys/arch/alpha/pci: irongate_dma.c irongatevar.h

 Log Message:
 Add a mechanism to allow a platform to optionally shelter some region
 of physical memory from random allocations from the default VM page
 free list.  Use this hook to shelter regions within 0-16MB of physical
 RAM on Jensen and Irongate systems; those platforms do not have SGMAP
 DMA, and so we need to shelter this range so that devices using ISA DMA
 (e.g. floppy controller) have an opportunity to allocate DMA-safe memory.

 PR port-alpha/27087


 To generate a diff of this commit:
 cvs rdiff -u -r1.30 -r1.31 src/sys/arch/alpha/alpha/api_up1000.c
 cvs rdiff -u -r1.19 -r1.20 src/sys/arch/alpha/alpha/dec_2000_300.c
 cvs rdiff -u -r1.367 -r1.368 src/sys/arch/alpha/alpha/machdep.c
 cvs rdiff -u -r1.43 -r1.44 src/sys/arch/alpha/include/alpha.h
 cvs rdiff -u -r1.16 -r1.17 src/sys/arch/alpha/include/cpuconf.h
 cvs rdiff -u -r1.39 -r1.40 src/sys/arch/alpha/include/vmparam.h
 cvs rdiff -u -r1.6 -r1.7 src/sys/arch/alpha/jensenio/jensenio_dma.c
 cvs rdiff -u -r1.5 -r1.6 src/sys/arch/alpha/jensenio/jenseniovar.h
 cvs rdiff -u -r1.7 -r1.8 src/sys/arch/alpha/pci/irongate_dma.c
 cvs rdiff -u -r1.6 -r1.7 src/sys/arch/alpha/pci/irongatevar.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: thorpej@NetBSD.org
State-Changed-When: Wed, 14 Oct 2020 01:05:40 +0000
State-Changed-Why:
Fix committed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.