Subject: Mystical isacfg incantation for DE205?
To: None <port-alpha@netbsd.org>
From: Kevin P. Neal <kpneal@pobox.com>
List: port-alpha
Date: 03/22/2001 00:15:42
Ok, so I have my AXPpci33 here and it actually runs. Good. Now I want
to add a de205 to it (in addition to the PCI ethernet and wide scsi
boards I have).

I need to use isacfg so I don't end up with PCI boards sharing the IRQ
with the de205 (and thereby panicing the kernel). Fine.

I tried this incantation that I got off of the Q web site (on one line):

isacfg -slot 1 -dev 0 -mk -handle DE200-LE -irq0 5 -iobase0 300 
    -membase d0000 -memlen0 10000 -etyp 1 -enadev 1

This gives me the message "ISA table full" and subsequent "isacfg -slot 1"
tries don't show the card. Actually, it is a lot of work when a simple:
isacfg -slot 1 -dev 0 -mk   would suffice (giving the same error).
If I really want to save keystrokes I can fail exactly the same way with
"add_de205".

If I boot a GENERIC kernel then I either get a shared IRQ 5 + panic or
I take all PCI boards out and get a working lc0: 

lc0 at isa0 port 0x300-0x31f iomem 0xd0000-0xd07ff irq 5: DE205-AC
lc0: address 00:00:f8:51:24:12, 128KB RAM, 2KB window

There are two jumpers on the board (W0 and W1) and both are unjumpered.
The board has written on it that this means "EEPROM" (the other choices
are 200, 280, and EISA. EISA?). 

What am I supposed to give to isacfg for this thing to work?

(Come to think of it, should I isacfg the VGA card as well?)

Incidentally, is there some documentation at the big Q site on isacfg
in the SRM? I'm coming up a little short here on what all of those
options mean.

Thanks all.

[ preserving 494704 bytes of netbsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5 (ALPHA-$Revision: 1.127.2.2 $) #0: Wed Mar  7 01:20:19 EST 2001
    kpn@tome.neutralgood.org:/usr/src/sys/arch/alpha/compile/ALPHALIKE
Alpha PC AXPpci33, 166MHz
8192 byte page size, 1 processor.
total memory = 32768 KB
(2024 KB reserved for PROM, 30744 KB used by NetBSD)
avail memory = 22192 KB
using 204 buffers containing 1632 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), LCA-2 (21066 pass 2)
cpu0: VAX FP support, IEEE FP support, Primary Eligible
lca0 at mainbus0
pci0 at lca0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at isa irq 11
scsibus0 at siop0: 8 targets, 8 luns per target
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x03)
isa0 at sio0
lc0 at isa0 port 0x300-0x31f iomem 0xd0000-0xd07ff irq 5: DE205-AC
lc0: address 00:00:f8:51:24:12, 128KB RAM, 2KB window
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
pmsprobe: reset error 5
pmsiprobe: reset error 5
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <MICROP, 1548-15MZ1077801, HZ2P> SCSI1 0/direct fixed
siop0: target 3 now synchronous at 10.0Mhz, offset 8
sd0: 1637 MB, 2112 cyl, 15 head, 105 sec, 512 bytes/sect x 3353426 sectors
cd0 at scsibus0 target 6 lun 0: <DEC, RRD43   (C) DEC, 1084> SCSI2 5/cdrom removable
root on sd0a dumps on sd0b
mountroot: trying nfs...
mountroot: trying ext2fs...
mountroot: trying ntfs...
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying lfs...
mountroot: trying ffs...
readclock: 49/3/22/4/56/31=>985236991 (985236739)
root file system type: ffs
init: copying out path `/sbin/init' 11
wsdisplay0: screen 1 added (80x50, vt100 emulation)
wsdisplay0: screen 2 added (80x50, vt100 emulation)
wsdisplay0: screen 3 added (80x50, vt100 emulation)
wsdisplay0: screen 4 added (80x50, vt100 emulation)
wsdisplay0: screen 5 added (80x50, vt100 emulation)
wsdisplay0: screen 6 added (80x50, vt100 emulation)
wsdisplay0: screen 7 added (80x50, vt100 emulation)
-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/

"It sounded pretty good, but it's hard to tell how it will work out
in practice." -- Dennis Ritchie, ~1977, "Summary of a DEC 32-bit machine"