Subject: Re: stray interrupts
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Rob Windsor <windsor@warthog.com>
List: port-sparc
Date: 05/03/2001 11:22:40
Verily did "Valeriy E. Ushakov" write:

>> I know this happens on the PC, but I thought it was a PC-only phenomenon.

>> (pulled from dmesg, these transpired in the last 20 days)
>> stray interrupt ipl 0x7 pc=0xf0086e3c npc=0xf0086e40 psr=404001c7<S,PS>
>[...]
>> What does this?  This system is a Sun ss20/85(supersparc, TI) with a
>> sbus HME card.  My Tatung ss20/150(hypersparc) with sbus HME also
>> does the same thing.

> Can you send dmesg with autoconfiguration output?

> I've seen something like this on my JS1/OF.  Its le node has both
> "interrupts" and "intr" properties, but "interrupts" is zero, while
> "intr" is correct.  Before I fixed the code to fall back to "intr" it
> would spam me with "stray interrupt ipl 0x6" - which is the correct
> ipl for le.

Here's one from my 1.5.1_BETA box (still working on building a kernel
on my -current box):

NetBSD 1.5.1_BETA (SUN4M) #31: Thu May  3 11:17:26 CDT 2001
    windsor@pioneer:/usr/src/sys/arch/sparc/compile/SUN4M
total memory = 511 MB
avail memory = 471 MB
using 896 buffers containing 26288 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): TWS,SuperCOMPstation-20SL
cpu0 at mainbus0: RT620/625 @ 150 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu at mainbus0 not configured
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08 (eeprom)
timer0 at obio0 slot 0 offset 0x300000 delay constant 73
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x0, page-size 4096, range 64M
B
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 00:80:3f:f4:14:83
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): rev 2
SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 level 9 not configured
hme0 at sbus0 slot 0 offset 0x8c00000 level 4 (ipl 7): address 00:80:3f:f4:14:83
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cgsix0 at sbus0 slot 2 offset 0x0 level 9: TWS,HERON+, 1152 x 900, rev 11
cgsix0: attached to /dev/fb
eccmemctl0 at mainbus0: version 0x0/0x1
scsibus0: waiting 2 seconds for devices to settle...
probe(esp0:1:0): max sync rate 10.00MB/s
sd1 at scsibus0 target 1 lun 0: <IBM, DNES-309170, SA30> SCSI3 0/direct fixed
sd1: 8748 MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sect x 17916240 sectors
probe(esp0:3:0): max sync rate 10.00MB/s
sd0 at scsibus0 target 3 lun 0: <IBM, DNES-309170, SA30> SCSI3 0/direct fixed
sd0: 8748 MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sect x 17916240 sectors

Rob++
----------------------------------------
Internet: windsor@warthog.com                             __o
Life: Rob@Carrollton.Texas.USA.Earth                    _`\<,_
                                                       (_)/ (_)
The weather is here, wish you were beautiful.