Subject: WSCONSOLE in a DEC3000/300
To: NetBSD Alpha <>
From: Ricardo =?iso-8859-1?Q?N=FA=F1ez?= <>
List: netbsd-users
Date: 09/01/2000 17:06:49
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


I'm new in NetBSD and I'm trying to configure the WSCONSOLE.

Fortunately, the system reboot and worked, but I can use it just through
the ethernet network. I can see the messages in the console but it's
imposible to write there.

I've changed a lot of times /etc/ttys and /etc/wscons.conf. I can't
understand how could they be VT100 or VT220 when in the kernel they are
SUN terminals, and the serial terminal parameter "std.9600" in the
/etc/ttys. I read in one page of the NetBSD docs that there exists the
parameter "WSDISPLAY_DEFAULTSCREENS", but it didn't use it in this

When booting, the system tells me ttyE1 is not configured.

All right, to make a long story short I send you the kernel source, ttys
and wscons.conf.

Thanks a lot.


           Ing. Ricardo Núñez
           Webmaster de la DST
           Universidad Simón Bolívar
Content-Type: text/plain; charset=us-ascii;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;

# $NetBSD: Version 1.1 del kernel DEC3000/300 2000/09/01
# Soporte de consola wscons.
# Generic Alpha kernel.  Enough to get booted, etc., but not much more.

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

maxusers 32

# CPU Support
options 	DEC_3000_300	# Pelican etc:	3000/300*

# Standard system options
options 	KTRACE			# System call tracing support

# Diagnostic/debugging support options
options 	DIAGNOSTIC		# Cheap kernel consistency checks
options 	DDB			# kernel debugger

# File systems
file-system	FFS		# Fast file system
file-system	MFS		# Memory-based file system
file-system	CD9660		# ISO-9660 CD-ROM FS (w/RockRidge extensions)
#file-system	MSDOSFS		# MS-DOS-compatible file system
file-system	NFS		# Sun NFS-compatible file system client
#file-system	KERNFS
#file-system	PROCFS

# File system options
options 	NFSSERVER	# Sun NFS-compatible file system server
#options 	FFS_EI		# FFS Endian Independant support

# Networking options
options 	INET		# Internet protocol suite

# 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

# Misc. options
#options 	EISAVERBOSE		# recognize "unknown" EISA devices
#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

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

mainbus0 at	root
cpu*	at	mainbus0

# TurboChannel host bus adapter support
tcasic*	at	mainbus0

# TurboChannel bus support
tc*	at	tcasic?

# TurboChannel devices
# Conf. original
#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 ?

ioasic* at      tc? slot ? offset ?
mcclock* at     ioasic? offset ?
le*     at      ioasic? offset ?
zsc0    at      ioasic? offset 0x100000
zsc1    at      ioasic? offset 0x180000
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

options         NEW_SCC_DRIVER
zstty*  at      zsc? channel 1                  # serial ports on B channels
zskbd0  at      zsc1 channel 0                  # keyboard port on A channels
zsms0   at      zsc0 channel 0                  # mouse port on A channels

# SCSI bus support
scsibus* at	asc?

# SCSI devices
cd*	at	scsibus? target ? lun ?		# SCSI CD-ROM drives
sd*	at	scsibus? target ? lun ?		# SCSI disk drives
st*	at	scsibus? target ? lun ?		# SCSI tape drives

# Workstation Console attachments
wsdisplay*	at	cfb?
wsdisplay*	at	sfb?
wskbd*		at	zskbd?
wsmouse*	at	zsms?

pseudo-device	bpfilter	16
pseudo-device	ccd		4
#pseudo-device	raid		4		# RAIDframe disk driver
pseudo-device	ipfilter	1
pseudo-device	loop		1
pseudo-device	md		1
pseudo-device	ppp		4
pseudo-device	pty		64
pseudo-device	sl		4
pseudo-device	vnd		4
#pseudo-device	gre		2	# generic L3 over IP tunnel

# UTC -4. Caracas
options RTC_OFFSET=-240

Content-Type: text/plain; charset=us-ascii;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;

#	$NetBSD: ttys,v 1999/04/29 14:30:41 perry Exp $
# name	getty				type	status		comments

# In normal operation, getty on 'console' pseudo-device is disabled, and is
# enabled for the correct 'real' device (e.g. one of the serial ports).

# console pseudo-device
console	"/usr/libexec/getty std.9600"	sun on secure

# Workstation console (framebuffer) ttys
ttyE0	"/usr/libexec/getty sun"	sun on secure
ttyE1	"/usr/libexec/getty std.9600"	sun on secure
ttyE2	"/usr/libexec/getty std.9600"	sun on secure
ttyE3	"/usr/libexec/getty std.9600"	sun on secure

# DEC 3000 Z8530 ("scc") serial ports
ttyB0	"/usr/libexec/getty std.9600"	unknown off secure
ttyB1	"/usr/libexec/getty std.9600"	unknown off secure

# AlphaStation NS16550 ("com") serial ports
ttyC0	"/usr/libexec/getty std.9600"	unknown off secure
ttyC1	"/usr/libexec/getty std.9600"	unknown off secure

# pseudo-ttys
ttyp0	none				network
ttyp1	none				network
ttyp2	none				network
ttyp3	none				network
ttyp4	none				network
ttyp5	none				network
ttyp6	none				network
ttyp7	none				network
ttyp8	none				network
ttyp9	none				network
ttypa	none				network
ttypb	none				network
ttypc	none				network
ttypd	none				network
ttype	none				network
ttypf	none				network
ttyq0	none				network
ttyq1	none				network
ttyq2	none				network
ttyq3	none				network
ttyq4	none				network
ttyq5	none				network
ttyq6	none				network
ttyq7	none				network
ttyq8	none				network
ttyq9	none				network
ttyqa	none				network
ttyqb	none				network
ttyqc	none				network
ttyqd	none				network
ttyqe	none				network
ttyqf	none				network

Content-Type: text/plain; charset=us-ascii;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;

#	$NetBSD: wscons.conf,v 2000/01/15 16:34:00 he Exp $
# workstation console configuration

# fonts to load
#	name	width	height	enc	file
#font	ibm	-	8	ibm	/usr/share/pcvt/fonts/vt220l.808

# Note: "pcvt" encoded fonts are only useful with the "*bf" screen types
#  of the "vga" driver. The kernel must be compiled with the option
#  "WSCONS_SUPPORT_PCVTFONTS" turned on. See vga(4).
#font	pcvt	-	-	pcvt	/usr/share/pcvt/fonts/vt220h.816
#font	pcvt	-	8	pcvt	/usr/share/pcvt/fonts/vt220h.808

# screens to create
#	idx	screen	emul
# Screen 0 is already configured as console in most cases.
#  Uncomment if a serial console is used.
#screen	0	-	vt100
screen	1	-	sun
screen	2	-	sun
screen	3	-	-
#screen	4	-	-
#screen	4	80x25bf	vt100
#screen	5	80x50	vt100