Subject: wss for AlphaStation 200?
To: None <port-alpha@netbsd.org>
From: Kevin P. Neal <kpneal@pobox.com>
List: port-alpha
Date: 11/04/1999 16:18:04
--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii

Alright, I've got 1.4.1 running on my AlphaStation 200 (233mhz). I've
got the built in audio (wss) but I can't get it working.

I checked the archives and found a post saying that the settings for
wss0 must match what isacfg says. 

Except isacfg doesn't seem to know about the wss0. I think I wiped
the settings accidentally when trying to get booting from a CD-ROM
working (long story, I'll post my defeat later). What are the
magic settings for isacfg so it will recognize the card?

Secondly: I tried to compile a custom kernel with and without sound
support. The kernel with wss0 support (irq 10 like in the man page)
would hang right after printing out the line about the clock. The 
kernel without sound support won't ppp because it says the line is
only 7 bits wide (high bit is always 0).

Huh? Can I do sound and ppp with a custom kernel?

When dinkin with the sound I made sure to not have a conflict in
IRQs, and I don't think the ports clash either.

What'd I do wrong?
-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/

"Nonbelievers found it difficult to defend their position in \ 
    the presense of a working computer." -- a DEC Jensen paper

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.boot"

[ preserving 321040 bytes of netbsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999
    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.4.1 (GENERIC) #0: Mon Aug  9 02:30:53 PDT 1999
    ross@sutekh:/usr/src/sys/arch/alpha/compile/GENERIC
AlphaStation 200 4/233, 233MHz
8192 byte page size, 1 processor.
real mem = 67108864 (2048000 reserved for PROM, 65060864 used by NetBSD)
avail mem = 53403648
using 794 buffers containing 6504448 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064A-0 ()
apecs0 at mainbus0: DECchip 21071 Core Logic chipset
apecs0: DC21071-CA pass 2, 64-bit memory bus
apecs0: DC21071-DA pass 2
pci0 at apecs0 bus 0
pci0: i/o enabled, memory enabled
ncr0 at pci0 dev 6 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at isa irq 11
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets, 8 luns per target
sd0 at scsibus0 targ 0 lun 0: <DEC, RZ28M    (C) DEC, 0568> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 2007MB, 3045 cyl, 16 head, 84 sec, 512 bytes/sect x 4110480 sectors
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST39173N, 6244> SCSI2 0/direct fixed
sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8)
sd1: 8683MB, 7501 cyl, 10 head, 237 sec, 512 bytes/sect x 17783240 sectors
sd2 at scsibus0 targ 3 lun 0: <SEAGATE, ST15230W SUN4.2G, 0738> SCSI2 0/direct fixed
sd2(ncr0:3:0): 10.0 MB/s (100 ns, offset 8)
sd2: 4095MB, 3992 cyl, 19 head, 110 sec, 512 bytes/sect x 8386733 sectors
cd0 at scsibus0 targ 6 lun 0: <DEC, RRD45   (C) DEC, 0436> SCSI2 5/cdrom removable
probe(ncr0:6:1): 4.0 MB/s (250 ns, offset 8)
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
de0 at pci0 dev 11 function 0
de0: interrupting at isa irq 5
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:00:f8:23:5c:7b
ncr1 at pci0 dev 12 function 0: ncr 53c875 fast20 wide scsi
ncr1: interrupting at isa irq 9
ncr1: minsync=25, maxsync=254, maxoffs=16, 128 dwords burst, large dma fifo
ncr1: single-ended, open drain IRQ driver, using on-chip SRAM
ncr1: restart (scsi reset).
scsibus1 at ncr1: 16 targets, 8 luns per target
vga0 at pci0 dev 13 function 0: S3 Trio32/64 (rev. 0x00)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
wscons: wskbd0 glued to wsdisplay0 (console)
root on sd2a dumps on sd2b
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
root file system type: ffs
de0: enabling 10baseT port
IP Filter: initialized.  Default = pass all, Logging = disabled
de0: enabling 10baseT port
de0: abnormal interrupt: receive process stopped

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=TOME

# From: 
# $NetBSD: ALPHA,v 1.94.2.3 1999/07/02 17:37:15 perry Exp $
#
# Kernel for tome.neutralgood.org, AlphaStation 200 4/233.

include	"arch/alpha/conf/std.alpha"

maxusers 64

makeoptions	DEBUG="-g"

# CPU Support
#options 	DEC_2000_300	# "Jensen":	2000/300 (DECpc AXP 150)
options 	DEC_2100_A50	# Avanti etc:	AlphaStation 400, 200, etc.
#options 	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
#options 	DEC_3000_300	# Pelican etc:	3000/300*
#options 	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
#options 	DEC_EB164	# EB164:	AlphaPC 164
#options 	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
#options 	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
#options 	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
#options 	DEC_KN300	# KN300:	AlphaServer 4100
#options 	DEC_550		# Miata:	Digital Personal Workstation
#options 	DEC_1000	# Mikasa etc:	Digital AlphaServer 1000
#options 	DEC_1000A	# Corelle etc:	Digital AlphaServer 800/1000A
#options 	DEC_ALPHABOOK1	# AlphaBook1:	Tadpole/DEC AlphaBook
#options 	DEC_EB66	# EB66:		21066 Evaluation Board
#options	DEC_6600	# EV6:		264DP OEM Board

# Standard system options
options 	KTRACE			# System call tracing support

# Diagnostic/debugging support options
options 	DIAGNOSTIC		# Cheap kernel consistency checks
#options 	DEBUG			# Expensive debugging checks/support
#options 	KMEMSTATS		# Collect kmem usage statistics
options 	DDB			# Kernel Dynamic Debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
options	DDB_ONPANIC=1		# T or F: Drop to ddb on panic

# File systems
file-system	FFS		# Fast file system
file-system	MFS		# Memory-based file system
#file-system	LFS		# Log-structured file system
file-system	CD9660		# ISO-9660 CD-ROM FS (w/RockRidge extensions)
#file-system	ADOSFS		# AmigaDOS-compatible file system
#file-system	MSDOSFS		# MS-DOS-compatible file system
#file-system	EXT2FS		# Linux ext2 file system
file-system	NFS		# Sun NFS-compatible file system client
#file-system	NULLFS		# Null file system layer
#file-system	KERNFS		# Kernel variable file system (/kern)
file-system	FDESC		# File descriptor file system (/dev/fd)
#file-system	PORTAL		# Portal file system
#file-system	UMAPFS		# User-mapping file system layer
#file-system	PROCFS		# Process file system (/proc)
#file-system	UNION		# union file system

# File system options
#options 	QUOTA		# User and group quotas for the FFS
options 	NFSSERVER	# Sun NFS-compatible file system server
#options 	FFS_EI		# FFS Endian Independant support

# Networking options
options 	INET		# Internet protocol suite
#options 	NS		# Xerox NS protocol suite
#options 	ISO,TPIP,EON	# ISO protocol suite
#options 	CCITT,LLC,HDLC	# CCITT protocol suite
#options 	NETATALK	# AppleTalk networking protocols
options 	GATEWAY		# packet forwarding and more mbuf space
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)


# Compatibility with 4.2BSD implementation of TCP/IP.  Not suggested.
#options 	TCP_COMPAT_42

# 4.3BSD compatibility.  Should be optional, but necessary for now.
options 	COMPAT_43

# Binary compatibility with previous versions of NetBSD.
#options 	COMPAT_09
options 	COMPAT_10
options 	COMPAT_11
options 	COMPAT_12
options 	COMPAT_13

# OSF/1 binary compatibility
options 	COMPAT_OSF1

# System V-like message queues
options 	SYSVMSG

# System V-like semaphores
options 	SYSVSEM

# System V-like shared memory
options 	SYSVSHM
options 	SHMMAXPGS=1024		# 1024 pages is the default

# Loadable Kernel Modules
#options 	LKM

# Disable kernel security.
#options 	INSECURE

# Misc. options
#options 	EISAVERBOSE		# recognize "unknown" EISA devices
#options 	EXTENT_DEBUG		# extent alloc/dealloc code debugging
options 	FIX_UNALIGNED_VAX_FP	# fix unaligned VAX FP loads & stores
#options 	NO_KERNEL_RCSIDS	# don't include kernel file RCS IDs
#options 	PCIVERBOSE		# recognize "unknown" PCI devices
options 	SCSIVERBOSE		# Verbose SCSI errors
#options 	TCVERBOSE		# recognize "unknown" TC devices
options 	UCONSOLE		# users can use TIOCCONS (for xconsole)

# The Alpha console firmware network boots using the BOOTP
# protocol, so we ask the NFS code to use BOOTP/DHCP as well,
# in case we have NFS root.
#options 	NFS_BOOT_DHCP		# superset of BOOTP

# WS console uses SUN or VT100 terminal emulation
options 	WSEMUL_VT100
#options 	WSEMUL_SUN

# realtime clock compatible to OSF/1
options 	CLOCK_COMPAT_OSF1

config		netbsd	root on ? type ?
#config		netbsd	root on sd0 type ffs
#config		netbsd	root on ? type nfs

mainbus0 at	root
cpu*	at	mainbus0

# TurboLaser bus support and devices
#tlsb*	at	mainbus0
#gbus*	at	tlsb? node ? offset ?
#tlsbmem* at	tlsb? node ? offset ?
#kft*	at	tlsb? node ? offset ?

# Gbus Devices
#mcclock* at	gbus? offset ?

# MCBUS bus support
#mcbus*	at	mainbus0
#mcmem*	at	mcbus? mid ?

#i2c	at	mcbus?

# EV6 Tsunami Core Logic

#tsc*    at      mainbus0

# TurboChannel host bus adapter support
#tcasic*	at	mainbus0

# TurboChannel bus support
#tc*	at	tcasic?

# TurboChannel devices
#ioasic*	at	tc? slot ? offset ?
#mcclock* at	ioasic? offset ?
#le*	at	ioasic? offset ?
#scc0	at	ioasic? offset ?
#scc1	at	ioasic? offset ?
#tcds*	at	tc? slot ? offset ?
#asc*	at	tcds? chip ?
##cfb*	at	tc? slot ? offset ?
##sfb*	at	tc? slot ? offset ?
#le*	at	tc? slot ? offset ?
#fta*	at	tc? slot ? offset ?		# DEC DEFTA FDDI cards

# PCI host bus adapter support
apecs*	at	mainbus?
#cia*	at	mainbus?
#lca*	at	mainbus?
#dwlpx*	at	kft?
#mcpcia*	at	mcbus? mid ?
#tsp*    at      tsc?

# PCI bus support
pci*	at	apecs?
#pci*	at	cia?
#pci*	at	lca?
#pci*	at	ppb?
#pci*	at	dwlpx?
#pci*	at	mcpcia?
#pci*	at	tsp?

# PCI devices
##adv*	at	pci? dev ? function ?		# AdvanSys SCSI
##adw*	at	pci? dev ? function ?		# AdvanSys Wide SCSI
#ahc*	at	pci? dev ? function ?		# Adaptec [23]94x, aic78x0 SCSI
#bha*	at	pci? dev ? function ?		# BusLogic 9xx SCSI (untested)
#cy*	at	pci? dev ? function ?		# Cyclades Cyclom-Y (untested)
de*	at	pci? dev ? function ?		# 21x4x-based Ethernet
#en*	at	pci? dev ? function ?		# ENI PCI ATM (untested)
#ep*	at	pci? dev ? function ?		# 3COM 3c59x
#ex*	at	pci? dev ? function ?		# 3COM 3c90x[B] Ethernet
#esh*	at	pci? dev ? function ?		# Essential HIPPI card
#epic*	at	pci? dev ? function ?		# SMC EPIC/100 Ethernet
#fpa*	at	pci? dev ? function ?		# DEC DEFPA FDDI
#fxp*	at	pci? dev ? function ?		# Intel EEPRO 10+/100B
#isp*	at	pci? dev ? function ?		# Qlogic ISP 10x0 SCSI
#le*	at	pci? dev ? function ?		# PCI LANCE Ethernet (untested)
ncr*	at	pci? dev ? function ?		# NCR 53c8xx SCSI
#pceb*	at	pci? dev ? function ?		# Intel PCI-EISA Bridges
#pcscp*	at	pci? dev ? function ?		# AMD Am53c974 PCscsi-PCI
#ppb*	at	pci? dev ? function ?		# PCI-PCI Bridges
#pciide*	at	pci? dev ? function ?		# PCI IDE controllers
sio*	at	pci? dev ? function ?		# Intel PCI-ISA Bridges
#tga*	at	pci? dev ? function ?		# DEC ZLXp-E[123] Graphics
#tl*	at	pci? dev ? function ?		# TI ThunderLAN Ethernet
vga*	at	pci? dev ? function ?		# PCI VGA Graphics
#uhci*	at	pci? dev ? function ?		# USB Univ. Host Controller
#ohci*	at	pci? dev ? function ?		# USB Open Host Controller
#eap*	at	pci? dev ? function ?		# Ensoniq AudioPCI
#audio*	at	eap?

# MII/PHY support
#exphy*	at	mii? phy ?
#inphy*	at	mii? phy ?
#nsphy*	at	mii? phy ?
#qsphy*	at	mii? phy ? 
#tlphy*	at	mii? phy ?

# ISA/EISA bus support
#isa*	at	pceb?
#eisa*	at	pceb?
isa*	at	sio?

# ISA devices
mcclock* at	isa? port 0x70
pckbc*	at	isa?				# PC keyboard controller
pckbd*	at	pckbc?				# PC keyboard (kbd port)
pms*	at	pckbc?				# PS/2-style mouse (aux port)
pcppi*	at	isa?				# PC prog. periph. interface
spkr0	at	pcppi?				# IBM BASIC emulation
isabeep0 at	pcppi?				# "keyboard" beep
com*	at	isa? port 0x3f8 irq 4		# standard serial ports
com*	at	isa? port 0x2f8 irq 3
#cs*	at	isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
#ep*	at	isa? port ? irq ?		# 3COM 3c509 Ethernet
fdc0	at	isa? port 0x3f0 irq 6 drq 2	# floppy controller
#lc0	at	isa? port 0x300 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
#lc1	at	isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
#depca0	at	isa? port 0x300 iomem 0xd0000 iosiz 0x10000 irq 5 	# DEPCA
#depca1	at	isa? port 0x200 iomem 0xd8000 iosiz 0x8000 irq 10 	# DEPCA
#le*	at	depca?
lpt*	at	isa? port 0x3bc irq 7		# standard parallel port
#vga*	at	isa?				# ISA (EISA: XXX) VGA
#wdc0	at	isa? port 0x1f0 irq 14		# ST506/ESDI/IDE controllers
#wdc1	at	isa? port 0x170 irq 15
#wss*	at	isa? port 0x530 irq 9 drq 0	# Windows Sound System
#wss0	at	isa? port 0x530 irq 10 drq 0 drq2 1	# Windows Sound System
#wss0	at	isa? port 0x530 irq 10 drq 0 flags 1	# Windows Sound System
#audio*	at	wss?
#midi*	at	wss?
#aha*	at	isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
#aha*	at	isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI
#bha*	at	isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI (unt.)
#bha*	at	isa? port 0x334 irq ? drq ?	# BusLogic [57]4X SCSI (unt.)
#uha*	at	isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI (unt.)
#uha*	at	isa? port 0x334 irq ? drq ?	# UltraStor [13]4f SCSI (unt.)
#satlink0 at	isa? port 0x300 drq 1		# PlanetConnect Satellite receiver.

# EISA devices
#ahb*	at	eisa? slot ?			# Adaptec 174[024] SCSI (unt.)
#ahc*	at	eisa? slot ?			# Adaptec 274x, aic7770 SCSI
#bha*	at	eisa? slot ?			# BusLogic 7xx SCSI
#ep*	at	eisa? slot ?			# 3COM 3c579 Ethernet (untested)
#fea*	at	eisa? slot ?			# DEC DEFEA FDDI
#uha*	at	eisa? slot ?			# UltraStor 24f SCSI (unt.)

# SCSI bus support
#scsibus* at	adv?
#scsibus* at	adw?
#scsibus* at	aha?
#scsibus* at	ahb?
#scsibus* at	ahc?
#scsibus* at	asc?
#scsibus* at	bha?
#scsibus* at	isp?
scsibus* at	ncr?
#scsibus* at	pcscp?
#scsibus* at	uha?

# SCSI devices
cd*	at	scsibus? target ? lun ?		# SCSI CD-ROM drives
#ch*	at	scsibus? target ? lun ?		# SCSI autochangers
sd*	at	scsibus? target ? lun ?		# SCSI disk drives
#se*	at	scsibus? target ? lun ?		# Cabletron SCSI<->Ethernet
#ss*	at	scsibus? target ? lun ?		# SCSI scanners
st*	at	scsibus? target ? lun ?		# SCSI tape drives
#uk*	at	scsibus? target ? lun ?		# SCSI unknown

# ST506/ESDI/IDE devices
#wd*	at	pciide? channel ?
#wd*	at	wdc? drive ?

# ATAPI bus support
#atapibus* at	pciide? channel ?
#atapibus* at	wdc?

# ATAPI devices
#sd*	at	atapibus? drive ?		# ATAPI disk devices
#cd*	at	atapibus? drive ?		# ATAPI CD-ROM devices

# Floppy drives
fd*	at	fdc? drive ?

# USB bus support
#usb*	at	uhci?
#usb*	at	ohci?

# USB hubs
#uhub*	at	usb?
#uhub*	at	uhub? port ?

# USB mice
#ums*	at	uhub? port ?
#wsmouse* at	ums?

# USB keyboards
#ukbd*	at	uhub? port ?
#wskbd*	at	ukbd? console ?

# USB Generic HID devices
#uhid*	at	uhub? port ?

# USB Printers
#ulpt*	at	uhub? port ?

# Workstation Console attachments
#wsdisplay*	at	cfb?
wsdisplay*	at	vga?
#wsdisplay*	at	sfb?
#wsdisplay*	at	tga?
wskbd*		at	pckbd?
wsmouse*	at	pms?

pseudo-device	bpfilter	16
pseudo-device	ccd		4
#pseudo-device	raid		4	# RAIDframe disk driver
pseudo-device	ipfilter	1	# IP filter (firewall) and NAT
#pseudo-device  ipip            2       # IP Encapsulation within IP (RFC 2003)
pseudo-device	loop		1	# Loopback network interface
#pseudo-device	md		1	# Userland memory disk
pseudo-device	ppp		1	# Point-to-Point Protocol
pseudo-device	pty		128	# pseudo-ttys (for network, etc.)
#pseudo-device	sl		4	# SLIP driver
#pseudo-device	strip		4	# Starmode Radio IP (Metricom)
pseudo-device	tun		4	# network tunneling over tty
pseudo-device	vnd		4
#pseudo-device  gre             2       # generic L3 over IP tunnel

# rnd is EXPERIMENTAL
#pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness too

--tThc/1wpZn/ma/RB--