NetBSD Problem Report #24223

Received: (qmail 5452 invoked by uid 605); 25 Jan 2004 02:50:51 -0000
Message-Id: <20040125025049.EB46611152@narn.netbsd.org>
Date: Sun, 25 Jan 2004 02:50:49 +0000 (UTC)
From: djbarnes@ieee.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: djbarnes@ieee.org, garbageout@sbcglobal.net
To: gnats-bugs@gnats.NetBSD.org
Subject: siside - lost interrupt missing interupt from DMA
X-Send-Pr-Version: www-1.0

>Number:         24223
>Category:       kern
>Synopsis:       siside - lost interrupt missing interupt from DMA
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bouyer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 25 02:51:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Thu Dec 31 18:27:48 +0000 2009
>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:

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: djbarnes@ieee.org
Cc: gnats-bugs@gnats.NetBSD.org, netbsd-bugs@netbsd.org
Subject: Re: kern/24223: siside - lost interrupt missing interupt from DMA
Date: Fri, 12 Mar 2004 23:53:25 +0100

 hi,

 On Sun, Jan 25, 2004 at 02:50:49AM +0000, djbarnes@www.netbsd.org wrote:
 > ----
 > 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

 Do you know if the working kernel has siside.c 1.2, or 1.3 ?
 If you don't have the sources, ident /netbsd should tell it.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
Responsible-Changed-From-To: kern-bug-people->bouyer 
Responsible-Changed-By: bouyer 
Responsible-Changed-When: Fri Mar 12 22:54:24 UTC 2004 
Responsible-Changed-Why:  
I'll deal with this. 

From: Gilbert Fernandes <gilbertf@netbsd-fr.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: bouyer@antioche.eu.org, djbarnes@ieee.org
Subject: Re: kern/24223
Date: Sat, 13 Mar 2004 20:50:49 +0000

 i got the same hardware on my shuttle ss51g,
 as a part of my dmesg says :

 pcib0: Silicon Integrated System 85C503 or 5597/5598
   ISA bridge (rev. 0x04)
 siside0 at pci0 dev 2 function 5
 siside0: Silicon Integrated System 96X UDMA6651
   IDE controller (rev. 0x00)
 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

 my working kernel has:

 [3] ident siside.c
 siside.c:
      $NetBSD: siside.c,v 1.5 2004/01/03 22:56:53 thorpej Exp $

 working fine. since you fixed my dma trouble
 manuel (if you recall) i have been tracking
 once per month netbsd on that box and i never
 had the trouble again.

 box is running 1.6ZG dated beginning of
 february 2004 if i recall correctly.

 -- 
 Gilbert Fernandes
State-Changed-From-To: open->feedback 
State-Changed-By: bouyer 
State-Changed-When: Fri Apr 9 20:02:53 UTC 2004 
State-Changed-Why:  
Still waiting for the revision of siside.c which cause problems. 
State-Changed-From-To: feedback->suspended 
State-Changed-By: bouyer 
State-Changed-When: Fri Apr 9 20:27:19 UTC 2004 
State-Changed-Why:  
I don't know how to reach the author: 
----- The following addresses had permanent fatal errors ----- 
<djbarnes@ieee.org> 
(reason: 550 5.1.1 <djbarnes@ieee.org>... User unknown) 


From: Ed <garbageout@sbcglobal.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/24223
Date: Fri, 27 May 2005 16:14:53 -0500

 I see that this problem is in the suspended state because the contact 
 has not repiled.  I have the same problem with my new Averatec 6235-EE1 
 laptop.  I would be happy to serve as the contact for this problem.  As 
 such, I can say that this problem occurs on my laptop with 
 NetBSD-2.0.2.  The revision of siside.c is 1.5.2.1.  I am using the 
 amd64 kernel.  Thank you for your assistance!

State-Changed-From-To: suspended->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 31 Dec 2009 18:27:48 +0000
State-Changed-Why:
"suspended" is no longer the right state for PRs with no submitter contact.
Also, in 2005 someone surfaced to say they have the same problem; I've added
them to the contacts, I think, and maybe they're still around...


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.