Subject: kern/24223: siside - lost interrupt missing interupt from DMA
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <djbarnes@www.netbsd.org, "[at]"@www.netbsd.org,>
List: netbsd-bugs
Date: 01/25/2004 02:50:49
>Number:         24223
>Category:       kern
>Synopsis:       siside - lost interrupt missing interupt from DMA
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 25 02:51:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dave J. Barnes
>Release:        CURRENT 1.6ZG and ZH
>Organization:
>Environment:
NetBSD PapaJohn 1.6ZG NetBSD 1.6ZG (DJB) #0: Sat Dec 27 09:01:50 CST 2003  root@PapaJohn:/usr/src/sys/arch/i386/compile/DJB i386
>Description:
Kernel built with snapshots later than 12/27 give ide halt message.

----
siside0:0:0: lost interrupt
type: ATA tc_bcount 1024 tc_skip:0
siside0:0:0: busmaster DMA error: missing interrupt status=0x20

System hangs after these messages appear.

==================
dmesg of working kernel:
NetBSD 1.6ZG (DJB) #0: Sat Dec 27 09:01:50 CST 2003
        root@PapaJohn:/usr/src/sys/arch/i386/compile/DJB
total memory = 64124 KB
avail memory = 57296 KB
using 827 buffers containing 3308 KB of memory
BIOS32 rev. 0 found at 0xfdb70
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Cyrix 6x86MX (686-class), 208.29 MHz, id 0x600
cpu0: features 80a135<FPU,DE,TSC,MSR,CX8>
cpu0: features 80a135<PGE,CMOV,MMX>
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System 5597/5598 host bridge (rev. 0x02)
pcib0 at pci0 dev 1 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x01)
siside0 at pci0 dev 1 function 1
siside0: Silicon Integrated System 5597/5598 IDE controller (rev. 0xd0)
siside0: bus-master DMA support present
siside0: primary channel configured to compatibility mode
siside0: primary channel interrupting at irq 14
atabus0 at siside0 channel 0
siside0: secondary channel configured to compatibility mode
siside0: secondary channel interrupting at irq 15
atabus1 at siside0 channel 1
fxp0 at pci0 dev 9 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:08:c7:49:bd:d5
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci0 dev 20 function 0: Silicon Integrated System 5597/5598 integrated V
GA (rev. 0x65)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
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
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
wd0 at atabus0 drive 0: <Maxtor 90340D2>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 3242 MB, 6588 cyl, 16 head, 63 sec, 512 bytes/sect x 6640704 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <56X CD-ROM, , VER 5.3> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(siside0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

=====
top of dmesg of broke kernel:
Jan 24 20:15:16 PapaJohn /netbsd: NetBSD 1.6ZH (DJB) #0: Sat Jan 24 10:56:51 CST
 2004
Jan 24 20:15:16 PapaJohn /netbsd:       root@PapaJohn:/usr/src/sys/arch/i386/com
pile/DJB
Jan 24 20:15:16 PapaJohn /netbsd: total memory = 64124 KB
Jan 24 20:15:16 PapaJohn /netbsd: avail memory = 60764 KB
Jan 24 20:15:16 PapaJohn /netbsd: BIOS32 rev. 0 found at 0xfdb70
Jan 24 20:15:16 PapaJohn /netbsd: mainbus0 (root)
Jan 24 20:15:16 PapaJohn /netbsd: cpu0 at mainbus0: (uniprocessor)
Jan 24 20:15:16 PapaJohn /netbsd: cpu0: Cyrix 6x86MX (686-class), 208.29 MHz, id
 0x600
>How-To-Repeat:
rm -r pkgsrc
>Fix:
I roll back to the 12/27 kernel -- no siside messages.
>Release-Note:
>Audit-Trail:
>Unformatted: