*BSD News Article 16533


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!decwrl!decwrl!netcomsv!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: Re: Compilation of Kernel and a little more..
Message-ID: <almC7nMFM.AAt@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <1u0egj$fnn@news.ysu.edu>
Date: Wed, 26 May 1993 21:59:46 GMT
Lines: 21

In article <1u0egj$fnn@news.ysu.edu> ak793@yfn.ysu.edu (Scott E. Derby) writes:
>
>I have finally been able to compile the kernel source.  I retrieved
>the newer kernel source from sun-lamp along with the new config.
>I have a question though.  Since I placed lpa0 in the config file
>and compiled the kernel, shouldn't I get a lpa0 message when it
>determines what is attached to my machine?  I have a lpt port, 
>and it works fine under DOS.  Also, when I run MAKEDEV, it 
>creates the device, but I get the Device not configured error
>messagewhenever I try to write to it.  MAKEDEV creates it as 25,0.  
>Should I use a different major,minor???
>   Any help would be greatly appreciated.

Try:

lrwxrwxr-x    1 root     wheel           4 Nov  5  1992 /dev/lp -> lpt1
crw-rw-r--    1 root     wheel     16,  48 Mar  6 22:28 /dev/lpt0
crw-rw-r--    1 root     wheel     16,  49 Mar  6 22:29 /dev/lpt1
crw-rw-r--    1 root     wheel     16,  50 Mar  6 22:29 /dev/lpt2

(the name lpt is more-or-less arbitrary)