*BSD News Article 12314


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!manuel.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!gmd.de!fanoe!veit
From: veit@fanoe.gmd.de (Holger Veit)
Subject: Re: Missing info on how to install Codrv Kernel for XFree86
Message-ID: <1993Mar5.082925.23813@gmd.de>
Sender: veit@fanoe (Holger Veit)
Nntp-Posting-Host: fanoe
Organization: GMD - German National Research Center for Computer Science
References:  <RICH.93Mar4234107@omicron.Rice.edu>
Date: Fri, 5 Mar 1993 08:29:25 GMT
Lines: 68

In article <RICH.93Mar4234107@omicron.Rice.edu>, rich@Rice.edu
(Richard Murphey) writes:
|> Several people have asked how to install the codrv kernel and
|> XFree86
|> 1.2 found on agate.berkeley.edu.  README.386BSD didn't tell people
|> how
|> to make the devices.
|> 
|> If you install kernel-1.2.codrv-fix-1.tar.Z, create new /dev
|> entries:
|>   mknod /dev/kbd c 15 0
|>   mknod /dev/vga c 15 128
|>   rm /dev/kbd /dev/vga /dev/pccons
        ^^^^^^^^^^^^^^^^^
You don't want to remove the just created device special files again,
do you?

|> Put /dev/console rather than /dev/vga in /etc/ttys.  With Holger's
|> driver xdm will work with /dev/console even when invoked from
|> /etc/rc.
|> 
|> This will go into README.386BSD and I'll upload a revision to
|> agate soon.  Rich

There is something more to add, which will have importance which the
next
patchkit versions. One of the latest patches reserves empty slots in
conf.c to be filled by addable drivers. The major number 15 is
reserved
for a part of Julian's SCSI driver. Codrv has been assigned the
number
0x15, that is decimal 21. Future releases of codrv will adopt this
convention.

IF YOU HAVE THE PATCHKIT-0.2.1 OR LATER, and compile your kernel
yourself, please
add the necessary cdevsw entry for codrv in slot 0x15 / 21, and make
the
devices in the following way:

rm -f /dev/kbd /dev/vga
mknod /dev/kbd c 21 0
mknod /dev/vga c 21 128

IF YOU USE A PREBUILT KERNEL such as the ones available with
XFree86-1.2:
these kernels probably do not follow the latest convention; please
follow
the instructions in an enclosed README how to create the proper
devices.

This should be added to README.386bsd as well. Rich?

Holger

-- 
         Dr. Holger Veit                   | INTERNET:
Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14
2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14
2342
|  | /   P.O. Box 13 16                    |    Three lines Signature
space
|  |/    Schloss Birlinghoven              |    available for rent.
Nearly
         DW-5205 St. Augustin, Germany     |    unused, good
conditions