Subject: com0 on JavaStation isn't assigned an interrupt
To: None <port-sparc@netbsd.org>
From: Aymeric Vincent <xmimic@free.fr>
List: port-sparc
Date: 12/09/2001 22:12:16
        Hi,

I just got hold of a JavaStation (don't know which precise model, see
dmesg below) and it panics because of "crazy interrupts".

Actually, the problem comes from the serial port emitting interrupts
while no handler for it is registered.

Line
com0 at obio0 slot 0 offset 0x3002f8: ns16550a, working fifo
should also show that interrupt 13 (0xd) is assigned to this chip.

I don't know which probe is to blame (in MI com.c, or in obio code?).
Could someone help me debug this?

If I don't attach com* at obio, I can otherwise successfully boot the
machine to multiuser.

thanks in advance,
 Aymeric

NetBSD 1.5Z (GENERIC) #15: Sun Dec  9 22:03:25 CET 2001
    vincent@fairness:/usr/src/sys/arch/sparc/compile/GENERIC
total memory = 16068 KB
avail memory = 11816 KB
using 226 buffers containing 904 KB of memory
bootpath: /iommu@0,10000000/sbus@0,10001000/ledma@4,8400010/le@4,8c00000
mainbus0 (root): SUNW,JavaStation-1
cpu0 at mainbus0: MB86904 @ 100 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 8087d021
timer0 at obio0 slot 0 offset 0xd00000 delay constant 47
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
slavioconfig at obio0 slot 0 offset 0x800000 not configured
auxreg0 at obio0 slot 0 offset 0x900000
com0 at obio0 slot 0 offset 0x3002f8: ns16550a, working fifo
com0: console
iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
tcx0 at sbus0 slot 2 offset 0x800000 level 5 (ipl 9): SUNW,tcx, 1024 x 768, id 0, rev 2, sense 0 (console)
tcx0: attached to /dev/fb
audiocs0 at sbus0 slot 3 offset 0xc000000 level 9: CS4231A
audio0 at audiocs0: full duplex
ledma0 at sbus0 slot 4 offset 0x8400010: dma rev 2
le0 at ledma0 slot 4 offset 0x8c00000 level 6: address 08:00:20:87:d0:21
le0: 8 receive buffers, 2 transmit buffers
root on le0
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=192.168.0.9 (RARP from 192.168.0.2)
nfs_boot: server_addr=192.168.0.2
nfs_boot: hostname=javastation
nfs_boot: gateway=192.168.0.2
nfs_boot: my_mask=255.255.255.0
root on 192.168.0.2:/usr/hosts/sparc1
root file system type: nfs
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
stray interrupt ipl 0xd pc=0xf01e7280 npc=0xf01e7284 psr=45007c1<S,PS>
panic: crazy interrupts