*BSD News Article 38727


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!gatech!swrinde!pipex!uunet!news.unr.edu!eblood
From: eblood@pogonip.scs.unr.edu (Eric V. Blood)
Subject: FreeBSD 2.0: Custom kernel problems
Message-ID: <D03nwu.39M@news.unr.edu>
Sender: usenet@news.unr.edu
Organization: University of Nevada System
Date: Wed, 30 Nov 1994 21:34:06 GMT
Lines: 65

I have created a custom kernel that takes out a lot of the unwanted stuff.
Everything seems to be working alright except for two problems.  Ones is,
when I login as root with the new kernel intalled, I get:

root login refused on this terminal
Nov 28 10:47:37 winky login: LOGIN root REFUSE on TTY tty??

Also, when I try and start X, I get:

login: Error 23, errno 25: xterm Error 23, errno 25, Inappropriate ioctl for
device

These two problems only occur with the custom kernel.  If I replace the old
one, everything works.  What should I do to correct this or where should I
look for the problem?  Included is a copy of the kernel definition.

WINKY:
machine		"i386"
cpu		"I486_CPU"
ident		WINKY
maxusers	10

options		INET			#InterNETworking
options		FFS			#Berkeley Fast File System
options		PROCFS			#Process filesystem
options		"CD9660"		#CD ISO9660 File System
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
options		"SCSI_DELAY=5"		#Be pessimistic about Joe SCSI device
options		"NCONS=4"		#4 virtual consoles

config		kernel	root on sd0 swap on sd0 and sd1 dumps on sd0

controller	isa0

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

controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr

controller	scbus0

device		sd0
device		sd1

device		st0

device		cd0	#Only need one of these, the code dynamically grows

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		lpt0	at isa? port? tty irq 7 vector lptintr

pseudo-device	loop
pseudo-device	log
pseudo-device	sl	2
pseudo-device	pty	16
pseudo-device	speaker
pseudo-device	gzip		# Exec gzipped a.out's