Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 1997 12:09:22 +0530
From:      koshy@india.hp.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/4071: Writing SCSI tape fails: DMA beyond end of ISA
Message-ID:  <199707100640.XAA24078@palrel3.hp.com>
Resent-Message-ID: <199707100651.XAA10704@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4071
>Category:       kern
>Synopsis:       Accessing /dev/rst0 causes `DMA beyond end of ISA' errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  9 23:50:02 PDT 1997
>Last-Modified:
>Originator:     Joseph Koshy
>Organization:
Hewlett-Packard ISO Bangalore
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

A 32MB machine running -current of July 1st week vintage.  An AHA1542CF
controller as the SCSI adapter, and a HP 2GB DAT drive.

    FreeBSD krill.india.hp.com 3.0-CURRENT FreeBSD 3.0-CURRENT #0:	\
    Tue Jul  8 10:36:25 IST 1997     					\
    root@krill.india.hp.com:/usr/src/sys/compile/KRILL  i386

>Description:

Accessing /dev/rst0 causes I/O's to abort with `DMA beyond end of ISA' errors.

    Jul 10 12:31:32 krill /kernel: aha0: DMA beyond end Of ISA: 0x1f86d08
    Jul 10 12:31:32 krill /kernel: st0: bad request, must be between 0 and 0

The kernel has BOUNCE_BUFFERS configured.  The problem was not present in 
-current kernels of April 1997 vintage.

Disk access to SD0 works OK (touch wood).

Kernel DMESG output:

    Copyright (c) 1992-1997 FreeBSD Inc.
    Copyright (c) 1982, 1986, 1989, 1991, 1993
	    The Regents of the University of California. All rights reserved.
    FreeBSD 3.0-CURRENT #0: Tue Jul  8 10:36:25 IST 1997
	root@krill.india.hp.com:/usr/src/sys/compile/KRILL
    CPU: Pentium (90.00-MHz 586-class CPU)
      Origin = "GenuineIntel"  Id = 0x525  Stepping=5
      Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
    real memory  = 33554432 (32768K bytes)
    avail memory = 30396416 (29684K bytes)
    Probing for devices on PCI bus 0:
    chip0: <Host to PCI bridge (vendor=1004 device=0005)> rev 0x01 on pci0.0.0
    chip1: <PCI to ISA bridge (vendor=1004 device=0006)> rev 0x01 on pci0.1.0
    vga0: <VGA-compatible display device> rev 0x2d int a irq 9 on pci0.5.0
    Probing for devices on the ISA bus:
    sc0 at 0x60-0x6f irq 1 on motherboard
    sc0: VGA color <16 virtual consoles, flags=0x0>
    ed0 at 0x300-0x31f irq 15 on isa
    ed0: address 08:00:09:d9:d3:f9, type HP-PCLAN+ (32-bit regular IO)
    sio0 at 0x3f8-0x3ff irq 4 on isa
    sio0: type 16550A
    sio1 at 0x2f8-0x2ff irq 3 on isa
    sio1: type 16550A
    psm0 at 0x60-0x64 irq 12 on motherboard
    psm0: device ID 0
    fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
    fdc0: NEC 72065B
    fd0: 1.44MB 3.5in
    wdc0 at 0x1f0-0x1f7 irq 14 on isa
    wdc0: unit 0 (wd0): <QUANTUM MAVERICK 540A>
    wd0: 516MB (1057392 sectors), 1049 cyls, 16 heads, 63 S/T, 512 B/S
    aha0 at 0x330-0x333 irq 11 drq 5 on isa
    scbus0 at aha0 bus 0
    st0 at scbus0 target 3 lun 0
    st0: <HP HP35480A 1109> type 1 removable SCSI 2
    st0: Sequential-Access density code 0x13,  drive empty
    sd0 at scbus0 target 4 lun 0
    sd0: <SEAGATE ST32151N HP01> type 0 fixed SCSI 2
    sd0: Direct-Access 2048MB (4194685 512 byte sectors)
    npx0 on motherboard
    npx0: INT 16 interface

And these are some error messages:

    aha0: DMA beyond end Of ISA: 0x194fd08
    st0: bad request, must be between 0 and 0
    aha0: DMA beyond end Of ISA: 0x12d0d08
    st0: bad request, must be between 0 and 0
    aha0: DMA beyond end Of ISA: 0x1f86d08
    st0: bad request, must be between 0 and 0

>How-To-Repeat:

Build a -current kernel with an AHA adapter (other ISA SCSI controllers should
be ok too) and try to access the tape drive.  The machine should have >16MB 
memory.

>Fix:

No workaround/fix known, sorry.


>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707100640.XAA24078>