*BSD News Article 9628


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6128 ; Tue, 05 Jan 93 05:15:13 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!math.fu-berlin.de!unidui!du9ds3!veit
From: veit@du9ds3.fb9dv.uni-duisburg.de (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: codrv problems..
Date: 7 Jan 93 17:40:12 GMT
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 58
Message-ID: <veit.726428412@du9ds3>
References: <1993Jan6.184438.5175@lgc.com>
Reply-To: veit@du9ds3.fb9dv.uni-duisburg.de
NNTP-Posting-Host: du9ds3.fb9dv.uni-duisburg.de
Keywords: 386BSD, codrv

In <1993Jan6.184438.5175@lgc.com> danson@lgc.com (Doug Anson) writes:

>HI:

>I tried installing the latest codrv package (keycap-0.1.1.tar.Z). I ran into
>several problems with /sys/i386/i386/conf.c. I _REMOVED_ the pc0 interface
>definition from my config file and installed the co0 interface as told by the
>instructions. As a result, I got an unresolved error in /sys/i386/i386/conf.c
>(pcmmap to be specific) when compiling the kernel. 

Ah, you at least didn't read all the instructions. The "missing" comap,
for instance, is one of the documentation bugs found after everyone already 
had a working version ;-). There is a file BUGLIST.151292 which should be in 
the same directory where you found keycap-0.1.1 which lists bugs and corrections
for this version. Some of the corrections may be already corrected in
the distribution you have. Also, the documentation does not explicitly
state that there are some diffs which should also be applied (see below).

>Well, I decided to ifdef the pccons stuff (i.e. if NPC > 0 ...) as is done with
>other drivers in conf.c. I managed to get the kernel recompiled successfully.
>However, In addition, I made the /dev/vga and /dev/kbd as instructed with the
>correct major device numbers coresponding to conf.c. However, my kernel now
>reboots continuously on a syscall panic.

There is a sample file conf.c which gives a hint how your configuration
should look like. In particular take a look at the "co" device, which 
is in slot 15. The major numbers given in the documentation (15/0 and 15/128)
assume that your conf.c has the co device in the same slot.

>I have the 386BSD 0.1 kernel with 1-58 patches applied + pcfs.

In this case, you do not need the tty.h.diff.
But kbd.h.diff, cons.diff, and tty_pty.h.dif are still necessary.

>Any help would be appreciated.
>Doug

>-- 
>-------------------------------------------
>Doug Anson					
>Internet: danson@lgc.com			
>Phone:	  713.560.1274
>FAX:	  713.560.1277
>SNAIL:    Landmark Graphics Corporation LGC	
>	  15150 Memorial Drive
>	  Houston, TX 77079			
>-------------------------------------------

Contact me for further questions (and some special offer!) at my
email address veit@du9ds3.fb9dv.uni-duisburg.de.

Holger

-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.fb9dv.uni-duisburg.de
|__|  /  University of Duisburg  |
|  | /   Dept. of Electr. Eng.   |          "Understand me correctly:
|  |/    Inst. f. Dataprocessing |     I'm NOT the WIZARD OF OS" (Holger)