Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 1997 18:37:38 -0500 (EST)
From:      Mark Schleifer <marks@digex.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        marks@otor.digex.net
Subject:   kern/2409: psm0: unable to set the command byte. psm0 not found at 0x60
Message-ID:  <199701072337.SAA00529@otor.digex.net>
Resent-Message-ID: <199701072340.PAA23791@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2409
>Category:       kern
>Synopsis:       psm0: unable to set the command byte. psm0 not found at 0x60
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan  7 15:40:03 PST 1997
>Last-Modified:
>Originator:     Mark Schleifer
>Organization:
DIGEX
>Release:        FreeBSD 2.2-BETA_A i386
>Environment:

DEC HiNote Ultra II Laptop
Pentium 133MHz
32 MB Ram

>Description:

On Boot: 

psm0: unable to set the command byte. 
psm0 not found at 0x60

Worked under SNAPs and ALPHA.  Seems to be root cause of moused and 
X crashing system.

>How-To-Repeat:

Kernel made with following config file.  This file worked with SNAPs and 
ALPHA after applying PAO patches. Also tried with PSM_NO_RESET with BETA
but that caused the keyboard to lockup at first input request.


#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.70 1996/05/13 04:29:13 nate Exp $
#

machine		"i386"
cpu		"I586_CPU"
ident		OTOR-SCSI
maxusers	32

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		NFS_NOSERVER		#Disable the NFS-server code.
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
#options	SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		COMPAT_LINUX

# These three options provide support for System V Interface
# Definition-style interprocess communication, in the form of shared
# memory, semaphores, and message queues, respectively.
#
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

#
# PERFMON causes the driver for Pentium/Pentium Pro performance counters
# to be compiled.  See perfmon(4) for more information.
#
options		PERFMON

options		MROUTING		# Multicast routing


# laptop-specific configuration
options		LAPTOP

#

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
options		APM_PCCARD_RESUME
options		PCIC_RESUME_RESET

# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with 
#  FAX/Modem PCMCIA card, uncomment this option).
#options	SIO_SUSP_KEEP_PWR

# 0: silence
# 1: simple beep (same as 960414)
# 2: (default) new beep
options		"PCCARD_BEEP=2"

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0		#IDE CD-ROM

# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.



controller	scbus0
device          sd0     #SCSI disks
device		cd0	#Only need one of these, the code dynamically grows

controller      aic0    at isa? port 0x340 bio irq 11 vector aicintr

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
options		XSERVER			# include code for XFree86
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

controller	crd0
device		pcic0	at crd?
device		pcic1	at crd?

controller	crd1
device		pcic2	at crd?
device		pcic3	at crd?

#
# Laptop support (see LINT for more options)
#
# apm: Laptop Advanced Power Management (experimental)
# Notes on APM
#  Some APM implementations will not work with the `statistics clock'
#  enabled, so it's disabled by default if the APM driver is enabled.
#  However, this is not true for all laptops.  Try removing the option
#  APM_BROKEN_STATCLOCK and see if suspend/resume work

device		apm0	at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS


#
# Miscellaneous hardware:
#
# For older notebooks that signal a powerfail condition (external
# power supply dropped, or battery state low) by issuing an NMI:

options		POWERFAIL_NMI	# make it beep instead of panicing


device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
#device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
#device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		lpt1	at isa? port? tty
#device		lpt2	at isa? port? tty

device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr



device ep0 at isa? port 0x300 net irq 7 vector epintr
device wlp0 at isa? port 0x300 net irq 11 vector wlpintr

#device zp0 at isa? port 0x300 net irq 7 iomem 0xd8000 vector zpintr

# joy: joystick

device		joy0	at isa? port "IO_GAME"


# Audio drivers: `snd', `sb', `pas', `gus', `pca'
#
# snd: Voxware sound support code
# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
# sbxvi: SoundBlaster 16
# sbmidi: SoundBlaster 16 MIDI interface

# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
#
# pca: PCM audio through your PC speaker
#
# The i386/isa/sound/sound.doc has more information.

controller	snd0
device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
#device sbxvi0   at isa? drq 5
#device sbmidi0  at isa? port 0x330
device opl0     at isa? port 0x388 conflicts
#device uart0 at isa? port 0x330 irq 5 vector "m6850intr"

# Not controlled by `snd'
device pca0 at isa? port IO_TIMER1 tty

pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	64
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker



>Fix:
	
	

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701072337.SAA00529>