Subject: Adaptec 2940 and `more than N DMA segs'
To: None <port-i386@NetBSD.ORG>
From: Johan Danielsson <joda@pdc.kth.se>
List: port-i386
Date: 06/06/1998 05:15:59
--Multipart_Sat_Jun__6_05:15:59_1998-1
Content-Type: text/plain; charset=US-ASCII


I have an old (well, not brand new) junk pc here that I thought I'd do
something useful with. When running the AFS salvager I get messages
like this:

ahc0: ahc_scsi_cmd: more than 256 DMA segs

and then the salvager process blocks in `disk wait' (the rest of the
system seems ok, so it's quite possible that the block is because of
some bug in the iinc/idec syscalls).

Browsing the mail archive, I can find a few similar problems, see for
instance <199710041314.HAA27008@pluto.plutotech.com> on port-i386 from
October last year. Is it known what is causing these problems, and how
to fix them?

The machine has an Intel PPro something motherboard, and I get these
messages both with the 2940AU that was in the machine, and a 2940UW
that I had laying around (I thought it might have something to do with
some limitation of the former card).

/Johan


--Multipart_Sat_Jun__6_05:15:59_1998-1
Content-Type: text/plain; charset=US-ASCII

Copyright (c) 1996, 1997, 1998
    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 1.3.2 (BUOY) #4: Sat Jun  6 01:36:45 CEST 1998
    root@buoy.pdc.kth.se:/usr/src/sys/arch/i386/compile/BUOY
cpu0: family 6 model 1 step 7
cpu0: Intel Pentium Pro (686-class)
real mem  = 100265984
avail mem = 96862208
using 1249 buffers containing 5115904 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82441FX PCI and Memory Controller (PMC) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not configured
ahc0 at pci0 dev 15 function 0
ahc0: interrupting at irq 11
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc0 channel 0: 16 targets
ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST15230N, 0638> SCSI2 0/direct fixed
sd1: 4095MB, 3992 cyl, 19 head, 110 sec, 512 bytes/sect x 8386733 sectors
ahc0: target 2 synchronous at 10.0MHz, offset = 0xf
sd0 at scsibus0 targ 2 lun 0: <CONNER, CFP2105S  2.14GB, 1524> SCSI2 0/direct fixed
sd0: 2048MB, 3940 cyl, 10 head, 106 sec, 512 bytes/sect x 4194304 sectors
de0 at pci0 dev 17 function 0
de0: interrupting at irq 9
de0: 21140 [10-100Mb/s] pass 1.2
de0: address 00:00:1a:00:03:64
S3 86C864-0 ("Vision864") (VGA prehistoric) at pci0 dev 19 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
cd0 at atapibus0 drive 0: <685A, , 8.3D> type 5 cdrom removable
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: unknown s3, 80 col, color, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
apm0 at mainbus0: Power Management spec V1.1 (BIOS mgmt disabled) (BIOS managing devices)
apm0: A/C state: on
apm0: battery charge state: no battery
biomask 4840 netmask 4a40 ttymask 5ac2
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

--Multipart_Sat_Jun__6_05:15:59_1998-1--