Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 1998 20:24:47 -0500
From:      "Frank Griffith" <frankg@idfw.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   No COM3 after recompiling GENERIC kernel
Message-ID:  <000201bde36d$04c06520$0200a8c0@fast1.dfw.com>

next in thread | raw e-mail | index | archive | help
I am running FreeBSD 2.2.7 on a Pentium 166 PC. I have
a motherboard with 2 on-board serial ports. I can configure
these ports in the CMOS to use COM1 - COM4.

I have two modems, one an internal 56K and an external 33.6.
I want to use the external modem on COM2 and the internal
one on COM3, IRQ 5.  I have successfully used both of these
modems on COM2 on this system. With the external, I simply
plugged into the port on the back of the computer. With the
internal I disabled the onboard COM2 in the CMOS and set the
jumpers to COM2, IRQ 3. No problem with these modems, they
both work well.

So I recompiled my kernel and commented or removed all the
lines that did not pertain to my system being careful to include
the lines for serial ports 1-4.

I set the internal modem's jumper settings are set to COM3, IRQ 5.
When my PC boots I see three (3) addresses in the serial ports
section, 3f8, 2f8 and 3e8. However when I reboot FreeBSD with
the new kernel I still don't have COM3.  When I reboot with -c to
configure the kernel, there are only two serial ports in the visual
menu choices. I then did a MAKEDEV ttyd2 in the /dev folder and
rebooted. The results are still the same. No COM3.

I have included my kernel configuration file below:



- - - > > >  KERNEL CONFIGURATION FILE  - begins here   < < < - - -

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: X09181998FG,v 1.00 1998/08/19 19:12:04 fgriffith Exp $

machine  "i386"
cpu  "I586_CPU"
ident  "X09181998FG"
maxusers 10

options  INET   #InterNETworking
options  FFS   #Berkeley Fast Filesystem
options  PROCFS   #Process filesystem
options  "COMPAT_43"  #Compatible with BSD 4.3 [KEEP THIS!]
options  BOUNCE_BUFFERS  #include support for DMA bounce buffers
options  UCONSOLE  #Allow users to grab the console
options  FAILSAFE  #Be conservative
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor
options         QUOTA

config  kernel root on wd0

controller isa0
controller pci0

controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk  fd0 at fdc0 drive 0
disk  fd1 at fdc0 drive 1
# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it.  Trying to configure
# it on another unit might cause surprises, see PR kern/7176.
tape  ft0 at fdc0 drive 2

options  "CMD640" # work around CMD640 chip deficiency

controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk  wd0 at wdc0 drive 0
disk  wd1 at wdc0 drive 1

controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
disk  wd2 at wdc1 drive 0
disk  wd3 at wdc1 drive 1

options     DPT_MEASURE_PERFORMANCE # Required by DPT driver??

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device  npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

device  sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device  sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device  sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
#device  sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr

device  lpt0 at isa? port? tty irq 7 vector lptintr
#device  lpt1 at isa? port? tty

device  psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

device ed0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector edintr

pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device vn 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip  # Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options  KTRACE  #kernel tracing

# This provides support for System V shared memory.
#
options         SYSVSHM




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201bde36d$04c06520$0200a8c0>