Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 1999 16:59:41 +1100
From:      Gregory Bond <gnb@itga.com.au>
To:        current@freebsd.org
Subject:   SOFTUPDATES hangs keyboard
Message-ID:  <199901040559.QAA25674@lightning.itga.com.au>

next in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_-10978362240
Content-Type: text/plain; charset=us-ascii

Current as at 199901040100UTC (but has happened since 3.0R when I started on 
3.0).

HP KAYAK XA (P-II 400, BX Mboard, Matrox G200 AGP, PS/2 mouse, HP keyboard 
with a bunch of extra buttons.)

This is happening quite consistently.

- boot -s, turn softupdates on on (unmounted) /var.
- ^D to boot multi-user, system comes up.
- Alt-F2 to switch to second vt
- log in as root

>From this point on, the keyboard stops working - perhaps because this is the 
first time a write to /var occurs?

 - Hitting any "normal" key has no effect at all.
 - Alt-Fn will swap to another vt
 - after a bunch of keypresses (dunno if it is the number of 'normal" keys or 
the number of Alt-Fn presses), then beahviour changes again:
	- normal keys still to nothing
	- Alt-Fn keys now elicit a beep just like DOS does when the KB buffer 
is full.

- At this point, the only solution is C-A-Del, boot single user, run fsck on 
the /var partition (usually somewhat mangled), turn off soft updates, ^D to 
start up, and the system is fine.

Very repeatable, very clearly a SOFTUPDATES problem.

Any hints about how I can help fix this?

Config file attached.


--==_Exmh_-10978362240
Content-Type: text/plain ; name="Hellcat"; charset=us-ascii
Content-Description: Hellcat
Content-Disposition: attachment; filename="Hellcat"

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#	$Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $

machine		"i386"
cpu		"I686_CPU"
ident		Hellcat
maxusers	32

options 	"NO_F00F_HACK"			# Got a read P2!!

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
#options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
#options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		SOFTUPDATES

config		kernel	root on wd0

controller	isa0
#controller	eisa0
controller	pci0
controller	pnp0

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
# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it.  Trying to configure
# it on another unit might cause surprises, see PR kern/7176.
#tape		ft0	at fdc0 drive 2

options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 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
#device		wfd0		#IDE Floppy (e.g. LS-120)

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" conflicts tty irq 1 vector scintr
options		MAXCONS=4

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint
#options		XSERVER			# support for X server
#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

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr


device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
#device		sio2	at isa? disable 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		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device xl0

pseudo-device	loop
pseudo-device	ether
#pseudo-device	sl	1
#pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	64
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory.
# (used for XF86 server)
options		SYSVSHM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
pseudo-device	bpfilter	4	#Berkeley packet filter

#device pcm0 at isa? port 0x530 tty irq 5 drq 0 flags 0x13 vector pcmintr
device pcm0 at isa? port 0x220 tty irq 10 drq 1 flags 0x0 vector pcmintr

# joy: joystick
device		joy0	at isa? port "IO_GAME"


--==_Exmh_-10978362240--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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