From owner-freebsd-questions Fri Sep 18 18:33:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA22119 for freebsd-questions-outgoing; Fri, 18 Sep 1998 18:33:14 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.IDFW.COM (imail3.INTERLAND.NET [207.86.246.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA21987 for ; Fri, 18 Sep 1998 18:32:25 -0700 (PDT) (envelope-from frankg@idfw.com) Received: from fast1.dfw.com [207.136.54.37] by mail.IDFW.COM (SMTPD32-4.06) id A99D49A00F0; Fri, 18 Sep 1998 21:32:13 EDT Message-ID: <000201bde36d$04c06520$0200a8c0@fast1.dfw.com> From: "Frank Griffith" To: Subject: No COM3 after recompiling GENERIC kernel Date: Fri, 18 Sep 1998 20:24:47 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 # # # 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