Subject: X on JavaStation
To: None <port-sparc@netbsd.org>
From: John Oxley <oxo@rucus.ru.ac.za>
List: port-sparc
Date: 11/21/2002 03:24:20
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I have just recently installed NetBSD 1.6_STABLE on my JavaStation. I am
using the boot.net that came with the binaries for sparc.

When I boot up it shows the following

JavaStation
OpenBoot 2.3, 32 MB memory installed
Ethernet address blah

>> NetBSD/sparc Secondary boot, Revision 1.12
>> (autobuiild@tgm.daemon.org, Mon Sep  9 08:12:32 UTC 2002)
Patching OPB3 for SUNW,JavaStation-1
zs: renaming out of the way
su: adding "interrupts"
8042: creating node
Booting /kona
bootp: no reply
Using BOOTPARAMS protocol: ip address 192.168.0.3, hostname marie
root addr=192.168.0.2 path=/export/marie/root

then it boots fine (dmesg attached)

The problem is when I connect a PS/2 keyboard to the keyboard port, all of
the lights ({Num,Caps,Scroll} Lock) stay on permanently, and the
keyboard gives me no response (kernel attached).

When I run 'X' as root, or as a user, I get the same result:

marie# X

Fatal server error:
Cannot open /dev/kbd, error 6

marie# 

Can anyone help me with my problem.

-John

-- 
/~\ The ASCII           ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign     John Oxley
 X  Against HTML        RUCUS Membership Secretary 2003
/ \ Email!              http://rucus.ru.ac.za/~oxo/
                        oxo at rucus dot ru dot ac dot za
--
"Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT."
		-- Thomas Scoville

--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=MARIE

# Kernel config for JavaStation1 (Mr. Coffee)
# $NetBSD: GENERIC,v 1.133 2002/04/25 15:06:37 atatat Exp $
#
# GENERIC machine description file
# 
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include 	"arch/sparc/conf/std.sparc"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision: 1.134 $"

maxusers	32

## System kernel configuration.  See options(4) for more detail.


# Options for variants of the Sun SPARC architecure.
# We currently support three architecture types; at least one is required.
options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.

#options 	PROM_AT_F0
#makeoptions	TEXTADDR=E8004000


## System options specific to the sparc machine type

# Blink the power LED on some machines to indicate the system load.
options 	BLINK

## Use a faster console than the PROM's slow drawing routines.  Not needed
## for headless (no framebuffer) machines.
options 	RASTERCONSOLE		# fast rasterop console
options 	FONT_GALLANT12x22	# the console font
#options 	FONT_BOLD8x16		# a somewhat smaller font
## default console colors: black-on-white; this can be changed
## using the following two options.
#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE

#### System options that are the same for all ports

## Root device configuration: change the ?'s if you are going to use a
## nonstandard root partition (other than where the kernel is booted from)
## and/or nonstandard root type (not ffs or nfs).  Normally this can be
## automagically determined at boot time.

config		netbsd	root on ? type ?

## System call tracing (see ktrace(1)).
options 	KTRACE

## Collect statistics on kernel malloc's and free's.  This does have a
## significant performance hit on slower machines, so it is intended for
## diagnostic use only.
#options 	KMEMSTATS

options 	NEW_PIPE	# fast FreeBSD pipes

## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
#options 	SEMMNI=10	# number of semaphore identifiers
#options 	SEMMNS=60	# number of semaphores in system
#options 	SEMUME=10	# max number of undo entries per process
#options 	SEMMNU=30	# number of undo structures in system
options 	SYSVSHM		# System V shared memory
#options 	SHMMAXPGS=1024	# 1024 pages is the default

## Loadable kernel module support; still under development.
#options 	LKM

#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

## NFS boot options; default on sparc is the bootparam protocol
options 	NFS_BOOT_BOOTPARAM
#options 	NFS_BOOT_BOOTP
#options 	NFS_BOOT_DHCP

#### Debugging options

## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
## serial console break or keyboard reset, where the PROM would normally
## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
options 	DDB			# kernel dynamic debugger
options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'

## You may also use gdb, on another computer connected to this machine over
## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
## the minor device number encodes the PROM enumeration of the serial ports,
## i.e.:
## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
## (Note: ttyc and ttyd are available only on some sun4 models)
#options 	KGDB			# support for kernel gdb
#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
#options 	KGDB_DEVRATE=38400	# baud rate


## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
## such that gdb(1) can be used on a kernel coredump.

#makeoptions	DEBUG="-g"
makeoptions	COPTS="-pipe -mv8 -O2"


## Adds code to the kernel that does internal consistency checks, and will
## cause the kernel to panic if corruption of internal data structures
## is detected.
#options 	DIAGNOSTIC	# extra kernel sanity checking

## Enable (possibly expensive) debugging code that may also display messages
## on the system console
#options 	DEBUG

## `INSECURE' turns off the kernel security level (securelevel = 0 always).
## This allows writing to /dev/mem, loading kernel modules while multi-user,
## and other insecurities good only for development work.  Do not use this
## option on a production machine.
#options 	INSECURE

## Allow non-root users to grab /dev/console with programs such as xconsole.
## `xconsole' therefore does not need setuid root with this option enabled.
#options 	UCONSOLE

## `FDSCRIPTS' allows non-readable but executable scripts by providing a
## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
## opaque file mechanism.  Perl calls this "secure setuid scripts."

#options 	FDSCRIPTS
#options 	SETUIDSCRIPTS

## Options for compatibility with previous releases foreign system binaries.
## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
## additional user-level utilities or system configuration files. See
## compat_sunos(8) and compat_svr4(8).

options 	COMPAT_43	# 4.3BSD system interfaces
#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
options 	COMPAT_14	# NetBSD 1.4 binary compatibility
options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
options 	COMPAT_SVR4	# SunOS 5.x binary compatibility

## File systems.  You probably need at least one of FFS or NFS.
#file-system	FFS		# Berkeley Fast Filesystem
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	KERNFS		# kernel data-structure filesystem
#file-system	NULLFS		# NULL layered filesystem
#file-system 	OVERLAY		# overlay file system
#file-system	MFS		# memory-based filesystem
#file-system	FDESC		# user file descriptor filesystem
#file-system	UMAPFS		# uid/gid remapping filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
#file-system	PORTAL		# portal filesystem (still experimental)
file-system	PROCFS		# /proc
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
#file-system	UNION		# union file system
#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
#file-system	CODA		# Coda File System; also needs vcoda (below)

## File system options.
#options 	NFSSERVER	# Sun NFS-compatible filesystem server
#options 	QUOTA		# FFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	SOFTDEP		# FFS soft updates support.

## Network protocol support.  In most environments, INET is required.
options 	INET		# IP (Internet Protocol) v4
#options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	GATEWAY		# packet forwarding ("router switch")
#options 	MROUTING	# packet forwarding of multicast packets
#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
#options 	NS		# Xerox NS networking
#options 	NSIP		# Xerox NS tunneling over IP
#options 	ISO,TPIP	# OSI networking
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
#options 	NETATALK	# AppleTalk (over Ethernet) protocol
#options 	NTP		# Network Time Protocol in-kernel support
#options 	PPS_SYNC	# Add serial line synchronization for NTP
#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
#options 	PPP_FILTER	# Add active filters for ppp (via bpf)



#### Main bus and CPU .. all systems.
mainbus0 at root
cpu0	at mainbus0

#### Bus types found on SPARC systems.

obio0	at mainbus0				# sun4 and sun4m

iommu0	at mainbus0				# sun4m
sbus0	at iommu0				# sun4m


#### Standard system devices -- all required for a given architecture

## Auxiliary system registers on sun4c and sun4m
auxreg0	at obio0				# sun4m

## Mostek clock found on 4/300, sun4c, and sun4m systems.
## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
clock0	at obio0				# sun4m

## Timer chip found on 4/300, sun4c, and sun4m systems.
timer0	at obio0				# sun4m


#### Serial port configuration

## NS16x50 serial chips and clones.  Present on the
## Sun JavaStation-1 and Tadpole SPARCbook 3
#com0	at obio0                                        # sun4m


#### Disk controllers and disks

## A disk-like interface to files.  Can be used to create floppy, CD,
## miniroot images, etc.

#pseudo-device	vnd	4

## Concatenated and striped disks; with this, you can create a software-based
## disk array similar to a "RAID 0" setup.  See ccd(4).

#pseudo-device	ccd	4

## RAIDframe disk driver: software RAID driver.  See raid(4).

#pseudo-device	raid	8
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
# options	RF_INCLUDE_EVENODD=1
# options	RF_INCLUDE_RAID5_RS=1
# options	RF_INCLUDE_PARITYLOGGING=1
# options	RF_INCLUDE_CHAINDECLUSTER=1
# options	RF_INCLUDE_INTERDECLUSTER=1
# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1


## Memory disk device, used on boot floppies with compressed
## kernel-plus-root-disk images.

#pseudo-device	md	1


#### Network interfaces

## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
## Three flavors of additional SBus ethernets are available.  One attaches
## directly like the sun4c on-board, one uses the ledma device like the
## sun4m on-board, and one uses the lebuffer device.

ledma0		at sbus0 slot ? offset ?		# sun4m on-board
le0		at ledma0				# sun4m on-board

## Loopback network interface; required
pseudo-device	loop

## SLIP and CSLIP interfaces, for IP over a serial line.
#pseudo-device	sl		2

## PPP, the successor to SLIP.  See pppd(8).
#pseudo-device	ppp		2

## PPP over Ethernet (RFC 2516)
#pseudo-device	pppoe

## Starmode Radio IP, a special hardware network device.
#pseudo-device	strip		1

## Network "tunnel" device, allowing protocol stacks to run in the userland.
## This is used by the third-party user-mode "ppp" program, and others.
#pseudo-device	tun		4

## Generic L3 over IP tunnel
#pseudo-device	gre		2	# generic L3 over IP tunnel

## Berkeley Packet Filter, required to run RARPD.  A generic C-language
## interface that allows selective examining of incoming packets.
pseudo-device	bpfilter	8

## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
## one example of the use of the IP Filter.
#pseudo-device	ipfilter

## for IPv6
#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation

## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
#pseudo-device	vlan

#### Audio and video devices

## /dev/audio support (`audioamd' plus `audio')
##
audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
audio0		at audiocs0

## Sun "tcx" accelerated color framebuffer.
tcx0		at sbus? slot ? offset ?


#### Other device configuration

## Pseudo ttys, required for network logins and programs like screen.

pseudo-device	pty			# pseudo-terminals

## Random device, used to implement /dev/random (a source of random noise),
## and generate randomness for some kernel formulae.

pseudo-device	rnd

# a pseudo device needed for Coda	# also needs CODA (above)
#pseudo-device	vcoda		4	# coda minicache <-> venus comm.

--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="marie.dmesg"

[ using 157376 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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.6_STABLE (MARIE) #0: Wed Nov 20 09:44:13 UTC 2002
    oxo@marie:/usr/src/ark/syssrc/sys/arch/sparc/compile/MARIE
total memory = 32452 KB
avail memory = 28160 KB
using 431 buffers containing 1724 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 8087cf78
timer0 at obio0 slot 0 offset 0xd00000: delay constant 47
fakezs at obio0 slot 0 offset 0x100000 level 12 not configured
fakezs at obio0 slot 0 offset 0x0 level 12 not configured
slavioconfig at obio0 slot 0 offset 0x800000 not configured
auxreg0 at obio0 slot 0 offset 0x900000
su at obio0 slot 0 offset 0x3002f8 level 13 not configured
8042 at obio0 slot 0 offset 0x300060 level 13 not configured
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:cf:78
le0: 8 receive buffers, 2 transmit buffers
root on le0
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=192.168.0.3 (RARP from 192.168.0.2)
nfs_boot: server_addr=192.168.0.2
nfs_boot: hostname=marie
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: timeout...
root on reknaw:/export/marie/root
root file system type: nfs

--KsGdsel6WgEHnImy--