Skip site navigation (1)Skip section navigation (2)
Date:      15 Apr 1997 00:37:40 +0200
From:      sec@42.org (Stefan `Sec` Zehl)
To:        freebsd-questions@freebsd.org
Subject:   2.2.1-RELEASE /dev/console
Message-ID:  <slrn5l5cdk.jpl.sec@matrix.42.org>

next in thread | raw e-mail | index | archive | help
I have yet another problem with 2.2.1-RELEASE :(

I don't have a keyboard attached to my box, and it correctly
recognizes /dev/cuaa0 as its new console.

BUT, when i leave it running for about 1 day - syslogd stops working
- i guess it is because it cant write to /dev/console
because an 'echo test >/dev/console' hangs too.

(i have the terminal on /dev/cuaa0 unplugged because i need it elsewhere)

syslogd -ds says:
quit:/var/log#syslogd -ds
off & running....
init
cfline("*.err;kern.debug;auth.notice;mail.crit          /dev/console", f, "*")
syslogd: /dev/console: Interrupted system call
logmsg: pri 53, flags 4, from quit, msg syslogd: /dev/console: Interrupted system call

attached is my kernel-config-file if it matters (running 2.2-STABLE kernel
from 4 days ago):

I'm really running out of ideas here, since plugging the terminal back 
didn't help anything, and the getty didnt respawn after logout :(

CU,
	Sec

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46.2.6 1995/10/25 17:29:51 jkh Exp $
#

machine		"i386"
cpu		"I486_CPU"
ident		QUIT
maxusers	20
options		CHILD_MAX=128
options		OPEN_MAX=128

options		INET			#InterNETworking
#options 	IPFILTER_LKM		#*** IPFILTER-PATCH *** 3.0.4
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
#options	"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=1"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		MAXCONS=8		# number of virtual consoles
options		"BROKEN_KEYBOARD_RESET"
options		USERCONFIG		#boot -c editor
options		IPDIVERT		#divert sockets
options		"AUTO_EOI_1"

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

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

controller	ncr0

controller	scbus0
device		ch0
device		sd0
device		st0
device		cd0

# syscons is the default console driver, resembling an SCO console
# now it nicely probes :)
#options	COMCONSOLE		#prefer serial console to video console
#options	FORCE_COMCONSOLE	#prefer serial console to video console
# is obsolete
#options	GATEWAY			#internetwork gateway
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

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

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 10 vector siointr
device		sio3	at isa? port "IO_COM4" tty irq 11 vector siointr

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

device		pca0	at isa? port IO_TIMER1 tty

# 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 de0
device ed0 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? disable port 0x280 net irq  5 iomem 0xd8000 vector edintr

pseudo-device	loop	6
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	2
pseudo-device	tun	2
pseudo-device	pty	64
pseudo-device	snp	4
pseudo-device	bpfilter	3
pseudo-device	speaker
pseudo-device	gzip		# Exec gzipped a.out's

-- 
Fuer die Raupe ist es das Ende der Welt,
Fuer den Rest der Welt ist es ein Schmetterling
							    Error 0: No error



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