Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!hal.com!decwrl!netcomsv!netcom.com!netcomsv!88opensi!ferg
From: ferg@88open.org (John Ferguson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: cant' use COM4 already recompiled kernel
Message-ID: <1993Apr16.152853.9124@88open.org>
Date: 16 Apr 93 15:28:53 GMT
References: <1qlcqrINN1k2@harpo.uccs.edu>
Sender: usenet@88open.org (different spelling of net news)
Organization: 88open Consortium Ltd.
Lines: 39
Originator: ferg@austin
Nntp-Posting-Host: austin
In article <1qlcqrINN1k2@harpo.uccs.edu> jmward@elbert.uccs.edu (Joel M. Ward) writes:
>
> I finally got my system to recognze COM4 after rebuilding the
>kernel. But whwn i look in /dev. i ssee com1 & com2, but no com4!!
>I tried running MAKEDEV com4, but it makes com04...
> Here's the story in more detail:
>
>I started with the system sources patched up to 0.2.2 (the ones at
>bsd386.first.gmd.de)
>
>I added a line in isa.h that said #define IO_COM4 0x2e8 (whick i know
>is the right address)
>I then copied GENERIC_ISA to XERXES (the name of my system) and added
>a new line for com4 that was exactly like the others except it uses irq 2
>(this is also the right irq, & i changed it to avoid irq comfilcts)
>
>Then i ran 'config XERXES'
>Then i ran 'make depend'
>Then i ran 'make'
>Then i copied 386bsd to /
>Then i rebooted
>
>So now, when it boots up, it recognizes com4! I was so happy until i
>tried to use it :) I can't figure out how, since there is no /dev/com4!
>What's going on? am i being totally stupid??
>
>--
> ++Joel;
Just change /dev/com04 to /dev/com4. MAKEDEV should do the right thing
with the mknod major and minor numbers; it just names it differently. Or,
better yet, change MAKEDEV ;-)
ferg
--
=============================================================================
John C. Ferguson 88open Consortium, Ltd. (408) 436-6600
100 Homeland Court suite 800 FAX (408) 436-0725
ferg@88open.org San Jose, CA 95112