Re: stray isa irq ?

Martin Reindl <[email protected]> Sun, 18 Dec 2005 14:23:35 +0100
Newsgroups gmane.os.openbsd.alpha
Organization catai.org
Message-ID <[email protected]>
"J.C. Roberts" <[email protected]> wrote:

> The list archives (misc@ and alpha@) have not been too helpful in
> figuring out issues in my dmesg (attached below). If anyone could drop
> kick me in the right direction for reading materials/source/hints for
> these four issues, I'd appreciate it:
> 
> (0) the "stray isa irq" messages I'm seeing in my dmesg are a bit
> unnerving.

Harmless. The alpha ISA subsystem has some bugs too.

> (1) there seems to be a conflict on IRQ4: tga0 & com0 ?

First, devices can share interrupts. Second the tga is on PCI, the
serial port is on ISA.

> (2) the unknown minor type reported for the processor. The SRM command
> ">>>show config" clearly shows the minor to be 1.

True, but meaningless. What i gather from other src it is only useful to
distinguish between 21066 and 21068 CPUs on some 'Low Cost Alphas'.
Sure we can do better there.

> (3) the warning on Pyxis chip
>   cia0: WARNING: Pyxis pass 1 DMA bug; no bets...

Early Miatas have a bug where DMA access cannot cross page boundaries.
Therefore on the primary PCI bus, PCI read prefetching must be disabled.
Check src/sys/arch/alpha/pci/cia.c:324 for more info.

> 
> Thanks,
> JCR
> 
> ---START-DMESG---------
> [ using 471232 bytes of bsd ELF symbol table ]
> consinit: not using prom console
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights
> reserved.
> Copyright (c) 1995-2005 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
> 
> OpenBSD 3.8 (GENERIC) #587: Sat Sep 10 15:55:00 MDT 2005
>     [email protected]:/usr/src/sys/arch/alpha/compile/GENERIC
> Digital Personal WorkStation 433au, 432MHz
> 8192 byte page size, 1 processor.
> total memory = 268435456 (262144K)
> (1941504 reserved for PROM, 266493952 used by OpenBSD)
> avail memory = 226942976 (221624K)
> using 3253 buffers containing 26648576 bytes (26024K) of memory
> mainbus0 (root)
> cpu0 at mainbus0: ID 0 (primary), 21164A-0 (unknown minor type 0)
> cpu0: Architecture extensions: 1<BWX>
> cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
> cia0: extended capabilities: 1<BWEN>
> cia0: using BWX for PCI config and bus access
> cia0: WARNING: Pyxis pass 1 DMA bug; no bets...
> pci0 at cia0 bus 0
> de0 at pci0 dev 3 function 0 "DEC 21142/3" rev 0x11: dec 550 irq 0
> de0: DEC  pass 1.1 address 00:00:f8:75:37:4d
> pciide0 at pci0 dev 4 function 0 "CMD Technology PCI0646" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, CD-ROM XM-5602B, 1796> SCSI0
> 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 3, DMA mode 1
> pciide0: channel 1 disabled (no drives)
> sio0 at pci0 dev 7 function 0 "Intel 82378IB ISA" rev 0x43
> ppb0 at pci0 dev 8 function 0 "DEC 21052 PCI-PCI" rev 0x01
> pci1 at ppb0 bus 1
> isp0 at pci1 dev 9 function 0 "QLogic ISP1020" rev 0x05: dec 550 irq 16
> scsibus1 at isp0: 16 targets
> sd0 at scsibus1 targ 0 lun 0: <SEAGATE, ST34501W, 0018> SCSI2 0/direct
> fixed
> sd0: 4339MB, 6576 cyl, 8 head, 168 sec, 512 bytes/sec, 8887200 sec total
> tga0 at pci0 dev 11 function 0 "DEC TGA2" rev 0x22: TGA2 pass 2, board
> type PS4d20
> tga0: 1280 x 1024, 32bpp, IBM561 RAMDAC
> tga0: interrupting at dec 550 irq 4
> wsdisplay0 at tga0 mux 1: console (std, vt100 emulation)
> isa0 at sio0
> vga0 at isa0 port 0x3b0/48 iomem 0xa0000/131072
> wsdisplay1 at vga0 mux 1
> wsdisplay1: screen 0-5 added (80x25, vt100 emulation)
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> isabeep0 at pcppi0
> lpt0 at isa0 port 0x3bc/4 irq 7
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mcclock0 at isa0 port 0x70/2: mc146818 or compatible
> stray isa irq 14
> stray isa irq 3
> stray isa irq 4
> root on sd0a swap on sd0b
> rootdev=0x800 rrootdev=0x800 rawdev=0x802
> stray isa irq 4
> stray isa irq 3