Subject: ahc reset problem
To: None <current-users@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 02/08/1999 11:10:06
There appears to be a problem with the ahc driver and bus resets. This
morning I found the following 1000000 (!) lines in my console log:
sd0(ahc0:0:0): timed out in dataout phase, SCSISIGI == 0x0
ahc0: Issued Channel A Bus Reset #2. 2 SCBs aborted
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
[ about 1000000 identical lines removed]
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 synchronous at 10.0MHz, offset = 0xfahc0: target 1 using
16Bit transfers
ahc0: target 1 synchronous at 10.0MHz, offset = 0x8
ahc0: target 2 using 16Bit transfers
ahc0: target 2 synchronous at 10.0MHz, offset = 0x8
The system is i386/current as of Jan 24, and ahc0 is a Adaptec 2944UW,
which is the differential version of the 2940UW.
Should I send-pr this?
NetBSD 1.3I (WOFFI) #3: Tue Jan 26 16:56:03 EST 1999
root@:/local1/netbsd/netbsd-current/src/sys/arch/i386/compile/WOFFI
cpu0: family 6 model 3 step 4
cpu0: Intel Pentium II (686-class)
real mem = 133824512
avail mem = 111767552
using 2822 buffers containing 16777216 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443LX PCI AGP Controller (PAC) (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP Interface (PAC) (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o enabled, memory enabled
Matrox MGA Millennium II 2164WA-B AG (VGA display) at pci1 dev 0 function 0 not configured
pcib0 at pci0 dev 4 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
pciide0 at pci0 dev 4 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST34342A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 4103MB, 8894 cyl, 15 head, 63 sec, 512 bytes/sect x 8404830 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 4 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
pci_intr_map: no mapping for pin D
uhci0: couldn't map interrupt
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x01) at pci0 dev 4 function 3 not configured
ncr0 at pci0 dev 9 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at irq 7
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets, 8 luns per target
uk0 at scsibus0 targ 3 lun 0: <UMAX, UMAX S-12, V2.1> SCSI2 6/scanner fixed
uk0: unknown device
st0 at scsibus0 targ 4 lun 0: <EXABYTE, EXB-8500SMBANXH1, 0458> SCSI2 1/sequential removable
st0: st0(ncr0:4:0): 4.0 MB/s (250 ns, offset 8)
drive empty
cd0 at scsibus0 targ 5 lun 0: <YAMAHA, CRW4260, 1.0g> SCSI2 5/cdrom removable
ahc0 at pci0 dev 10 function 0
ahc0: interrupting at irq 7
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus1 at ahc0 channel 0: 16 targets, 8 luns per target
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
sd0 at scsibus1 targ 0 lun 0: <QUANTUM, XP34550WD, LXY4> SCSI2 0/direct fixed
sd0: 4341MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
ahc0: target 1 using 16Bit transfers
ahc0: target 1 synchronous at 10.0MHz, offset = 0x8
sd1 at scsibus1 targ 1 lun 0: <QUANTUM, XP34550WD, LXY4> SCSI2 0/direct fixed
sd1: 4341MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
ahc0: target 2 using 16Bit transfers
ahc0: target 2 synchronous at 10.0MHz, offset = 0x8
sd2 at scsibus1 targ 2 lun 0: <QUANTUM, XP34550WD, LXY4> SCSI2 0/direct fixed
sd2: 4341MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
de0 at pci0 dev 11 function 0
de0: interrupting at irq 7
de0: SMC 21041 [10Mb/s] pass 2.1
de0: address 00:e0:29:0e:f7:99
de1 at pci0 dev 12 function 0
de1: interrupting at irq 11
de1: 21140A [10-100Mb/s] pass 2.2
de1: address 00:80:c8:75:55:12
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
com3 at isa0 port 0x2e8-0x2ef irq 9: ns16550a, working fifo
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: generic, 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
isapnp0: read port 0x203
isapnp0: No current device for tag, card 1
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative SB AWE64 PnP Audio: dsp v4.16
midi1 at sb0: <SB MPU-401 UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi2 at opl0: <SB Yamaha OPL3>
joy0 at isapnp0 port 0x200/8
joy0: Creative SB AWE64 PnP Game
joy0: joystick not connected
isapnp0: <Creative SB AWE64 PnP, CTL0022, , WaveTable> port 0x620/4 not configured
apm0 at mainbus0: Power Management spec V1.1 (BIOS mgmt disabled)
APM power mgmt engage (device 1)
: power management disabled (0x10f)
apm0: A/C state: on
apm0: battery charge state: no battery
biomask 40c0 netmask 48c0 ttymask 58c2
de0: enabling 10baseT port
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
de1: enabling 100baseTX port
--
Andreas Wrede Planix, Inc.
andreas@planix.com Networking, System Administration, Consulting
http://www.planix.com Toronto, Ontario, Canada