*BSD News Article 1760


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!Germany.EU.net!math.fu-berlin.de!hrz.tu-chemnitz.de!wutcd
From: wutcd@hrz.tu-chemnitz.de (Joerg Wunsch)
Subject: FAQ [Was: csh , getty & vm_fault ( 386bsd )]
Message-ID: <wutcd.709920443@hrz.tu-chemnitz.de>
Sender: bin@hrz.tu-chemnitz.de (Owner of all binaries)
Cc: bugs-386bsd@ms.uky.edu
Organization: tu-chemnitz
References: <1992Jun30.072907.3387@rdg.dec.com>
Date: Tue, 30 Jun 1992 16:07:23 GMT
Lines: 36

pederiva@cobolt.enet.dec.com (My name is...) writes:

>Getty: After compiling the new init.c the machine would come up in multiuser
>just fine, even can log on from the com0 port  ... but then I don't get any
>prompt, nor do I see output of commands - just the errormessage when you
>enter a name that does not exist. Running a 'sh' redirecting all input/output
>to the device I am on eg. sh </dev/com0 1>/dev/com0 2>/dev/com0 n>/dev/com0
>gives me a prompt and I can work just fine. Any Ideas ?
Well, seems that you complain about a general problem which occasionally
occurs but slightly differs from machine to machine. I experienced the
same, but any redirection of file descriptor 1 still failed. Some programs
responded with ``Bad file descriptor'', others didn't do anything. I've
got in mind another voice from netland which stated that syslogd should
have been erroneous, but not so at me. Even when I removed the ``really
login'' stuff from login(1) [i.e. the write to /var/run/utmp etc.], every-
thing seems to be okay. But: trying to give root a password brings up
the old problem?:-( No idea for now, the error must occur anywhere in file
descriptor handling within kernel, I guess. Sorry, didn't get the time to
followup this.

>Additionally, Getty writes just a bunch of garbage to the console instead of
This has been widely discussed here. You should simply use any other termi-
nal descriptor for console than ``std.9600''; as far as I remember right,
``Pc'' will be good.

>vm_fault :
Also well-known. You're running the very first version of kernel. Get the
fixes for kern_execve.c. I hope, they are available e.g. at
f.ms.uky.edu:/pub2/386BSD

	J"org Wunsch
--
J"org Wunsch		         joerg_wunsch%bonnie@hadrian.hrz.tu-chemnitz.de
Textil Computer Design GmbH
R"ahnitzgasse 18, D-O-8060 Dresden
                              If anything can go wrong, it will. (Murphy's Law)